hubl/src/styles/layout/circle-profile/circle-edit.scss

120 lines
2.1 KiB
SCSS
Raw Normal View History

2019-10-21 13:02:12 +00:00
.table-header {
2019-10-18 08:26:08 +00:00
background: $color-228-25-79;
color: white;
2019-10-17 14:06:22 +00:00
display: flex;
justify-content: space-around;
2019-10-18 08:26:08 +00:00
font-size: 1.6rem;
2019-10-21 11:12:04 +00:00
font-weight: 600;
text-align: center;
2019-10-17 14:06:22 +00:00
>*{
flex: 1;
width: 50%;
padding: 1rem;
border-right: 1px solid $color-228-25-79;
2019-10-18 08:26:08 +00:00
}
>*:first-of-type {
border-right: 1px solid white;
2019-10-17 14:06:22 +00:00
}
}
2019-10-21 13:02:12 +00:00
.table-body>div {
2019-10-17 14:06:22 +00:00
display: flex;
justify-content: space-between;
>* {
flex: 1;
width: 50%;
}
2019-10-18 08:26:08 +00:00
2019-10-21 13:02:12 +00:00
/*>*:nth-child(even) {
2019-10-21 11:12:04 +00:00
display: flex;
2019-10-21 13:02:12 +00:00
}*/
/*>*:nth-child(odd) {
border-left: 1px solid $color-228-25-79;
}*/
circle-team-template {
display: block;
border-bottom: 1px solid $color-228-25-79;
border-left: 1px solid $color-228-25-79;
2019-10-21 11:12:04 +00:00
}
2019-10-21 13:02:12 +00:00
circle-delete-template {
display: block;
border-bottom: 1px solid $color-228-25-79;
2019-10-18 08:26:08 +00:00
border-left: 1px solid $color-228-25-79;
2019-10-21 13:02:12 +00:00
border-right: 1px solid $color-228-25-79;
2019-10-18 08:26:08 +00:00
}
2019-10-18 13:39:56 +00:00
}
sib-multiple {
label {
display: none;
}
>team-template[name='members'] {
display: grid;
grid-column-gap: 1.6rem;
grid-template-columns: 7vh auto;
grid-template-rows: repeat(2, 5.2vh);
>sib-display:first-child {
align-self: center;
grid-column: 1 / span 1;
grid-row: 1 / span 2;
div {
background-color: $color-0-0-100;
border-radius: 50%;
height: 7vh;
overflow: hidden;
position: relative;
width: 7vh;
img {
height: 100%;
left: 0;
object-fit: cover;
position: absolute;
top: 0;
width: 100%;
}
}
}
>div:nth-child(2) {
align-self: end;
display: flex;
grid-column: 2 / span 1;
grid-row: 1 / span 1;
span {
align-self: center;
font-weight: 600;
}
span~sib-display {
>div {
display: flex;
margin-left: 1rem;
sib-multiple [name='name'] {
@extend %user-role;
}
}
}
}
>span:nth-child(3) {
align-self: start;
grid-column: 2 / span 1;
grid-row: 2 / span 1;
}
}
2019-10-17 14:06:22 +00:00
}