update: frameworkisation of user-thumb
This commit is contained in:
@ -4,36 +4,4 @@
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.block {
|
||||
|
||||
/* peut-être à mettre dans main.scss */
|
||||
.user-thumb>div {
|
||||
@extend %user-thumb__grid;
|
||||
|
||||
>.user-thumb__picture {
|
||||
@extend %user-thumb__picture;
|
||||
}
|
||||
|
||||
>[name='sup'] {
|
||||
@extend %user-thumb__grid-sup;
|
||||
|
||||
.user-thumb__name {
|
||||
@extend %user-thumb__name;
|
||||
}
|
||||
|
||||
.tag-admin:not(:empty) {
|
||||
@extend %tag-admin;
|
||||
}
|
||||
}
|
||||
|
||||
>[name='sub'] {
|
||||
@extend %user-thumb__grid-inf;
|
||||
|
||||
>.user-thumb__city:not(:empty) {
|
||||
@extend %user-thumb__city;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,39 +49,6 @@
|
||||
width: 15vw;
|
||||
}
|
||||
|
||||
.user-thumb>div {
|
||||
/* Maybe move it in main.scss. /!\ some fields are different */
|
||||
@extend %user-thumb__grid;
|
||||
|
||||
>.user-thumb__picture {
|
||||
@extend %user-thumb__picture;
|
||||
}
|
||||
|
||||
>[name='sup'] {
|
||||
@extend %user-thumb__grid-sup;
|
||||
|
||||
.user-thumb__name {
|
||||
@extend %user-thumb__name;
|
||||
}
|
||||
|
||||
.tag-admin:not(:empty) {
|
||||
@extend %tag-admin;
|
||||
}
|
||||
}
|
||||
|
||||
>[name='sub'] {
|
||||
@extend %user-thumb__grid-inf;
|
||||
|
||||
>.user-thumb__city:not(:empty) {
|
||||
@extend %user-thumb__city;
|
||||
}
|
||||
|
||||
>.user-thumb__lead:not(:empty) {
|
||||
@extend %user-thumb__lead;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
|
Reference in New Issue
Block a user