css: refactoring & fixing - day 1
This commit is contained in:
1
src/styles/layout/circle-profile/_index.scss
Normal file
1
src/styles/layout/circle-profile/_index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import 'circle-profile';
|
80
src/styles/layout/circle-profile/circle-profile.scss
Normal file
80
src/styles/layout/circle-profile/circle-profile.scss
Normal file
@ -0,0 +1,80 @@
|
||||
#circle-profile {
|
||||
min-height: 100%;
|
||||
|
||||
.block-group > div {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
sib-display > div {
|
||||
align-items: center;
|
||||
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
|
||||
display: grid;
|
||||
font-size: 1.6rem;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
height: auto;
|
||||
justify-items: center;
|
||||
margin: 1rem 0.5rem 1rem 0;
|
||||
position: relative;
|
||||
padding-right: 1rem;
|
||||
padding-top: 1rem;
|
||||
text-align: center;
|
||||
width: 14em;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.24);
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
> div[name='teammate-img'] {
|
||||
background-color: $color-215-9-73;
|
||||
border-radius: 50%;
|
||||
grid-column: 1 / span 2;
|
||||
grid-row: 1 / span 2;
|
||||
height: 6vh;
|
||||
overflow: hidden;
|
||||
width: 6vh;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
div[name='teammate-name'] {
|
||||
grid-column: 3 / span 2;
|
||||
grid-row: 1 / span 1;
|
||||
}
|
||||
|
||||
> div[name='teammate-pseudonym'] {
|
||||
align-self: start;
|
||||
font-size: 1.2rem;
|
||||
grid-column: 3 / span 2;
|
||||
grid-row: 2 / span 1;
|
||||
}
|
||||
|
||||
> sib-display-value[name='teammate-profile'] {
|
||||
color: $color-216-4-22;
|
||||
display: block;
|
||||
font-size: 1.2rem;
|
||||
grid-column: 1 / span 2;
|
||||
grid-row: 3 / span 1;
|
||||
}
|
||||
|
||||
> sib-display-value[name='teammate-contact'] {
|
||||
color: $color-244-73-62;
|
||||
font-size: 1.2rem;
|
||||
justify-self: stretch;
|
||||
grid-column: 3 / span 2;
|
||||
grid-row: 3 / span 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
src/styles/layout/job-offers/_index.scss
Normal file
1
src/styles/layout/job-offers/_index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import 'job-offers.scss';
|
163
src/styles/layout/job-offers/job-offers.scss
Normal file
163
src/styles/layout/job-offers/job-offers.scss
Normal file
@ -0,0 +1,163 @@
|
||||
#job-offers {
|
||||
|
||||
.plus-button {
|
||||
@extend .howto;
|
||||
background-color: $color-43-100-50;
|
||||
color: $color-0-0-100;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.icon-plus {
|
||||
font-size: 20px;
|
||||
justify-content: center;
|
||||
margin: 0.5rem 0.5rem 0.5rem 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#offers-list {
|
||||
@extend .grid-layer;
|
||||
|
||||
>sib-form {
|
||||
grid-column-start: start;
|
||||
grid-column-end: middle;
|
||||
grid-row-start: start;
|
||||
grid-row-end: middle;
|
||||
}
|
||||
|
||||
>div {
|
||||
grid-column-start: start;
|
||||
grid-column-end: end;
|
||||
grid-row-start: middle;
|
||||
grid-row-end: end;
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
>sib-display {
|
||||
@include window-style-modal();
|
||||
display: block;
|
||||
font-size: 1.5rem;
|
||||
margin: 1.7rem 0;
|
||||
padding: 3.4rem;
|
||||
/*&:nth-child(odd) {
|
||||
background-color: $color-210-25-95;
|
||||
}*/
|
||||
|
||||
[name='user-thumb'] {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin: -0.25em;
|
||||
|
||||
>* {
|
||||
margin: 0.25em;
|
||||
}
|
||||
|
||||
[name='author.first_name'] {
|
||||
color: $color-0-0-29;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
sib-multiple[name$='groups'] {
|
||||
display: flex;
|
||||
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
>* {
|
||||
@extend %user-role;
|
||||
}
|
||||
}
|
||||
|
||||
sib-display-img {
|
||||
background-color: $color-0-0-100;
|
||||
border-radius: 50%;
|
||||
height: 4.25rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 4.25rem;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[name='creationDate'] {
|
||||
display: block;
|
||||
margin-bottom: 0.7rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
[name='title'] {
|
||||
@extend h3;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
[name='description'] {
|
||||
display: block;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1.6rem;
|
||||
}
|
||||
|
||||
[name='skills'] {
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
[name='send'] {
|
||||
color: $color-244-73-62;
|
||||
font-size: 1.3rem;
|
||||
float: right;
|
||||
|
||||
>sib-link {
|
||||
cursor: pointer;
|
||||
@include icon('speech');
|
||||
|
||||
&::before {
|
||||
font-size: 1.5rem;
|
||||
margin-right: 1.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[name='status'] {
|
||||
float: right;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: -0.25em;
|
||||
|
||||
>* {
|
||||
margin: 0.25em;
|
||||
}
|
||||
|
||||
strong {
|
||||
background-color: $color-244-73-62;
|
||||
border: none;
|
||||
border-radius: 100em;
|
||||
color: $color-0-0-100;
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
padding: 0.85rem 1.7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
1
src/styles/layout/member-chat/_index.scss
Normal file
1
src/styles/layout/member-chat/_index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import 'member-chat.scss';
|
3
src/styles/layout/member-chat/member-chat.scss
Normal file
3
src/styles/layout/member-chat/member-chat.scss
Normal file
@ -0,0 +1,3 @@
|
||||
#member-chat {
|
||||
width: 100%;
|
||||
}
|
2
src/styles/layout/members/_index.scss
Normal file
2
src/styles/layout/members/_index.scss
Normal file
@ -0,0 +1,2 @@
|
||||
@import 'members';
|
||||
@import 'member-profile';
|
143
src/styles/layout/members/member-profile.scss
Normal file
143
src/styles/layout/members/member-profile.scss
Normal file
@ -0,0 +1,143 @@
|
||||
#member-profile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
|
||||
#member-info {
|
||||
background-color: $color-0-0-100;
|
||||
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
|
||||
margin: 2rem 1rem 5rem 2rem;
|
||||
min-height: 100vh;
|
||||
|
||||
div[name='member-profile__bio'] {
|
||||
border-bottom: 1px solid $color-221-51-90;
|
||||
display: grid;
|
||||
grid-template-areas: "avatar name status"
|
||||
"avatar pseudo status"
|
||||
"avatar bio status"
|
||||
"avatar list button";
|
||||
grid-template-columns: 1fr 2fr 1fr;
|
||||
padding: 4.5rem;
|
||||
|
||||
div[name='member-img'] {
|
||||
grid-area: avatar;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
max-width: 90% !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[name='member-profile'] {
|
||||
align-items: flex-start;
|
||||
align-self: end;
|
||||
display: flex;
|
||||
grid-area: name;
|
||||
|
||||
> sib-display-value[name^='user.'] {
|
||||
color: $color-216-4-22;
|
||||
font-weight: bold;
|
||||
@extend h1;
|
||||
}
|
||||
|
||||
> sib-multiple[name$='groups'] {
|
||||
display: flex;
|
||||
padding-left: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
sib-display-value[name='user.username'] {
|
||||
grid-area: pseudo;
|
||||
|
||||
&::before {
|
||||
content: '@';
|
||||
}
|
||||
}
|
||||
|
||||
sib-display-value[name='bio'] {
|
||||
grid-area: bio;
|
||||
}
|
||||
|
||||
div[name='infos'] {
|
||||
grid-area: list;
|
||||
|
||||
@extend %member-info;
|
||||
}
|
||||
|
||||
member-status[name$='available']{
|
||||
align-self: flex-end;
|
||||
color: $color-244-73-62;
|
||||
grid-area: status;
|
||||
justify-self: flex-end;
|
||||
|
||||
span {
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-weight: 600;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
span.status-one {
|
||||
@include ci('awareness');
|
||||
|
||||
&::before {
|
||||
border-bottom: 2px solid $color-43-100-50;
|
||||
font-size: 7.3rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
span.status-two {
|
||||
@include ci('armor');
|
||||
|
||||
&::before {
|
||||
border-bottom: 2px solid $color-43-100-50;
|
||||
font-size: 7.3rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sib-action[name='send'] {
|
||||
align-self: flex-end;
|
||||
grid-area: button;
|
||||
justify-self: flex-end;
|
||||
}
|
||||
|
||||
[next=member-chat] {
|
||||
@include icon('speech');
|
||||
border: 1px solid $color-244-73-62;
|
||||
border-radius: 2em;
|
||||
color: $color-244-73-62;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
justify-self: end;
|
||||
padding: 0.6em 1.5em 0.4em;
|
||||
|
||||
&::before {
|
||||
font-size: 25px;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div[name='member-profile__skills'] {
|
||||
padding: 4.5rem;
|
||||
|
||||
& ~ div[name='member-profile__skills'] {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
231
src/styles/layout/members/members.scss
Normal file
231
src/styles/layout/members/members.scss
Normal file
@ -0,0 +1,231 @@
|
||||
%member-info {
|
||||
|
||||
sib-multiple[name^='user.'],
|
||||
> member-info > div,
|
||||
> sib-display-value {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0;
|
||||
margin-top: 1.7rem;
|
||||
|
||||
&::before {
|
||||
color: $color-43-100-50;
|
||||
padding: 0 0.6em 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
[name$='city'] * {
|
||||
@include mdi('atom');
|
||||
}
|
||||
|
||||
[name$='email'] * {
|
||||
@include mdi('email-outline');
|
||||
}
|
||||
|
||||
[name$='phone'] * {
|
||||
@include mdi('cellphone-iphone');
|
||||
}
|
||||
|
||||
[name="foaf:homepage"]:not(:empty) {
|
||||
@include mdi('link-variant');
|
||||
}
|
||||
}
|
||||
|
||||
.how-link {
|
||||
@extend .howto;
|
||||
background-color: $color-0-0-100;
|
||||
color: $color-216-4-22;
|
||||
flex-wrap: nowrap;
|
||||
.icon-idea {
|
||||
background-color: $color-46-100-67;
|
||||
border-radius: 100%;
|
||||
justify-content: center;
|
||||
margin-right: 1.2rem;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
}
|
||||
}
|
||||
|
||||
#members-list {
|
||||
@extend .grid-layer;
|
||||
|
||||
#members-list__content {
|
||||
@extend .grid-layer;
|
||||
|
||||
nav {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
font-size: 2.4rem;
|
||||
justify-content: center;
|
||||
|
||||
button {
|
||||
color: $color-210-25-95;
|
||||
|
||||
&:before {
|
||||
color: $color-216-4-22;
|
||||
@include icon('arrow-left-circle');
|
||||
}
|
||||
|
||||
&:disabled::before {
|
||||
color: $color-215-6-63;
|
||||
}
|
||||
}
|
||||
|
||||
button:nth-of-type(2) {
|
||||
order: 1;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 2.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
& > sib-form {
|
||||
grid-column-start: start;
|
||||
grid-column-end: middle;
|
||||
grid-row-start: start;
|
||||
grid-row-end: middle;
|
||||
}
|
||||
|
||||
& > div,
|
||||
& > nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
grid-column-start: start;
|
||||
grid-column-end: end;
|
||||
margin-bottom: 1.7rem;
|
||||
}
|
||||
|
||||
& > div {
|
||||
justify-content: space-between;
|
||||
|
||||
&:first-of-type {
|
||||
color: $color-0-0-29;
|
||||
font-weight: bold;
|
||||
justify-content: center;
|
||||
margin: 3.75rem 0;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
border-top: 1px solid $color-0-0-85;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
left: 0;
|
||||
margin: 0 auto;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
span {
|
||||
background-color: $color-210-25-95;
|
||||
padding: 0 60px;
|
||||
}
|
||||
}
|
||||
|
||||
> sib-display {
|
||||
background-color: white;
|
||||
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.14);
|
||||
color: $color-210-4-50;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-flow: column wrap;
|
||||
margin-bottom: 2.5rem;
|
||||
padding-bottom: 2rem;
|
||||
@media(min-width: 56rem) {
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
sib-multiple[name$='groups'] {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
min-height: 3.4rem;
|
||||
padding-left: 2.6rem;
|
||||
padding-right: 2.6rem;
|
||||
padding-top: 1.3rem;
|
||||
|
||||
> * {
|
||||
margin: 0.3rem;
|
||||
}
|
||||
}
|
||||
|
||||
div[name='header'] {
|
||||
border-bottom: 1px solid $color-210-25-95;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0.85rem 0 3.4rem;
|
||||
|
||||
>*:not(member-picture) {
|
||||
display: flex;
|
||||
flex-basis: content;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
member-picture {
|
||||
background-color: $color-0-0-100;
|
||||
border-radius: 50%;
|
||||
height: 28vh;
|
||||
margin: 1.7rem auto;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 28vh;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
[name='user.name'] {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
@extend h1;
|
||||
}
|
||||
|
||||
sib-display-value[name$='bio'] {
|
||||
display: flex;
|
||||
flex-basis: 3.5em;
|
||||
line-height: 1.6;
|
||||
margin: 2.5rem 0;
|
||||
padding: 0 6.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
[next=member-chat] {
|
||||
align-self: center;
|
||||
border: 1px solid $color-244-73-62;
|
||||
border-radius: 3.4rem;
|
||||
color: $color-244-73-62;
|
||||
font-size: 1.8rem;
|
||||
font-weight: bold;
|
||||
padding: 1rem 2.55rem 0.7rem;
|
||||
@include icon('speech');
|
||||
|
||||
&::before {
|
||||
font-size: 2.5rem;
|
||||
padding-right: 0.85rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div[name='infos'] {
|
||||
padding: 0 1.7rem;
|
||||
|
||||
@extend %member-info;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
src/styles/layout/project-profile/_index.scss
Normal file
1
src/styles/layout/project-profile/_index.scss
Normal file
@ -0,0 +1 @@
|
||||
@import 'project-profile'
|
239
src/styles/layout/project-profile/project-profile.scss
Normal file
239
src/styles/layout/project-profile/project-profile.scss
Normal file
@ -0,0 +1,239 @@
|
||||
#project-profile {
|
||||
|
||||
[name^='block-']:not([name='block-title']) {
|
||||
margin-top: 5.1rem;
|
||||
|
||||
[name^='label-'] {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin-bottom: 1.4rem;
|
||||
text-transform: uppercase;
|
||||
@extend h2;
|
||||
}
|
||||
|
||||
sib-display-value:not(:first-of-type),
|
||||
ul,
|
||||
[name*='job'] {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
[name='block-title'] {
|
||||
border-bottom: 1px solid $color-221-51-90;
|
||||
display: flex;
|
||||
padding-bottom: 3.4rem;
|
||||
|
||||
> * {
|
||||
color: $color-216-4-22;
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
padding-right: 0.85rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
> [name^='const-'] {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
> sib-display-value[name='name'] {
|
||||
padding-left: 0.85rem;
|
||||
}
|
||||
|
||||
> :nth-child(5) {
|
||||
color: $color-233-18-29;
|
||||
font-weight: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[name='entitled'] {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
> :nth-last-child(-n+2) {
|
||||
color: $color-213-4-50;
|
||||
font-size: 1.6rem;
|
||||
font-weight: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
[name='infos'] {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
[name='description'] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
[name='block-logo'] {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
height: 8.5vh;
|
||||
position: relative;
|
||||
text-align: end;
|
||||
width: 15vw;
|
||||
}
|
||||
}
|
||||
|
||||
[name='businessProvider'] {
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
|
||||
li {
|
||||
|
||||
&:first-child {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
span {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#clientBox {
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 1.7rem;
|
||||
max-width: 100%;
|
||||
|
||||
> * {
|
||||
border: 1px solid $color-221-51-90;
|
||||
flex: 1 1 auto;
|
||||
justify-content: space-between;
|
||||
margin: 0 -0.1rem -0.1rem 0;
|
||||
min-width: 25vw;
|
||||
padding: 0;
|
||||
|
||||
h5 {
|
||||
margin-left: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
font-size: 1.5rem;
|
||||
list-style: none;
|
||||
margin: -2.04rem 0 3.74rem -2.04rem;
|
||||
|
||||
li {
|
||||
|
||||
span {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
li {
|
||||
|
||||
span {
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-top: 2.4em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:first-child) {
|
||||
padding-left: 5.1rem;
|
||||
|
||||
li {
|
||||
margin-bottom: 1.7rem;
|
||||
|
||||
&:last-child {
|
||||
margin-top: 2.2rem;
|
||||
}
|
||||
|
||||
&::before {
|
||||
color: $color-43-100-50;
|
||||
font-size: 2.2rem;
|
||||
padding: 0 1rem 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[name='block-team'] {
|
||||
|
||||
> 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user