Styling tweaks

This commit is contained in:
Chi Vinh Le
2018-05-04 19:29:05 +02:00
parent 822193bba5
commit 4bc8a167a4
2 changed files with 21 additions and 15 deletions
@@ -5,22 +5,25 @@
border: solid 1px transparent;
box-sizing: border-box;
justify-content: space-between;
margin: 16px 0;
&.editing {
padding: 10px;
border-color: #979797;
background-color: #EDEDED;
.actions {
top: 10px;
right: 10px;
}
.title {
margin-bottom: 1em;
}
}
}
.actions {
position: absolute;
top: 0px;
top: -6px;
right: 0px;
display: flex;
flex-direction: column;
@@ -29,7 +32,7 @@
.title {
color: #202020;
margin: 0 0 20px;
margin: 0;
}
.detailBottomBox {
@@ -1,36 +1,39 @@
.container {
margin-bottom: 20px;
margin-top: 6px;
margin-bottom: 12px;
display: flex;
position: relative;
color: #202020;
padding: 10px;
padding: 5px;
border-radius: 2px;
box-sizing: border-box;
justify-content: space-between;
&.editing {
&.editing {
padding: 10px;
background-color: #EDEDED;
}
}
.content {
flex-grow: 1;
}
}
.actions {
flex-grow: 0;
display: flex;
flex-direction: column;
align-items: center;
}
}
.email {
margin: 0;
}
.username {
.username {
margin-top: 0;
margin-bottom: 4px;
}
}
.button {
border: 1px solid #787d80;
@@ -48,7 +51,7 @@
> i {
font-size: 17px;
}
&:hover {
background-color: #399ee2;
color: white;
@@ -82,13 +85,13 @@
height: 30px;
display: inline-block;
width: 230px;
display: flex;
display: flex;
> .detailLabelIcon {
font-size: 1.2em;
padding: 0 5px;
color: #787D80;
line-height: 30px;
line-height: 30px;
}
&.disabled {
@@ -115,7 +118,7 @@
list-style: none;
margin: 0;
padding: 0;
}
}
.detailItem {
margin-bottom: 12px;