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

134 lines
2.4 KiB
SCSS
Raw Normal View History

h2 {
font-size: 1.7rem;
font-weight: bold;
text-transform: uppercase;
}
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
}
}
.table-body div team-template {
2019-10-17 14:06:22 +00:00
display: flex;
justify-content: space-between;
>* {
flex: 1;
width: 50%;
2019-10-21 13:02:12 +00:00
border-bottom: 1px solid $color-228-25-79;
2019-10-21 11:12:04 +00:00
}
>*:nth-child(odd) {
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;
padding: 0 2.2rem;
}
>*:nth-child(even) {
display: flex;
border-right: 1px solid $color-228-25-79;
justify-content: flex-end;
padding: 2.5rem 2.2rem;
2019-10-18 08:26:08 +00:00
}
2019-10-18 13:39:56 +00:00
}
sib-multiple[widget='team-template'] {
2019-10-18 13:39:56 +00:00
label {
display: none;
}
>div>team-template>sib-display>div {
2019-10-18 13:39:56 +00:00
display: grid;
grid-column-gap: 1.6rem;
grid-template-columns: 7vh auto;
grid-template-rows: repeat(2, 5.2vh);
>[name='account.picture'] {
align-items: center;
2019-10-18 13:39:56 +00:00
align-self: center;
background-color: $color-213-20-91;
border-radius: 50%;
display: flex;
2019-10-18 13:39:56 +00:00
grid-column: 1 / span 1;
grid-row: 1 / span 2;
height: 7vh;
justify-content: center;
overflow: hidden;
position: relative;
width: 7vh;
img {
background-color: white;
height: 100%;
left: 0;
object-fit: cover;
position: absolute;
top: 0;
width: 100%;
}
2019-10-18 13:39:56 +00:00
object {
height: 45%;
width: 45%;
2019-10-18 13:39:56 +00:00
}
}
>[name='sup'] {
2019-10-18 13:39:56 +00:00
align-self: end;
display: flex;
grid-column: 2 / span 1;
grid-row: 1 / span 1;
margin-bottom: 0.50rem;
2019-10-18 13:39:56 +00:00
[name='name'] {
2019-10-18 13:39:56 +00:00
font-weight: 600;
}
sib-multiple {
display: flex;
margin-left: 1rem;
2019-10-18 13:39:56 +00:00
[name='groups'] {
@extend %user-role;
2019-10-18 13:39:56 +00:00
}
}
}
>[name='sub'] {
2019-10-18 13:39:56 +00:00
align-self: start;
grid-column: 2 / span 1;
grid-row: 2 / span 1;
margin-top: 0.50rem;
>[name$='profile.city']:not(:empty) {
@include mdi('atom');
align-items: center;
display: flex;
&::before {
color: $color-43-100-50;
margin-right: 0.50rem;
}
}
2019-10-18 13:39:56 +00:00
}
}
2019-10-17 14:06:22 +00:00
}