styled list collections accordion in mobile

This commit is contained in:
jorge 2022-03-22 17:26:37 +01:00
parent 4f470ec681
commit 025542eab0
2 changed files with 15 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@ -263,17 +263,16 @@ main {
&.date { &.date {
@include xy-cell(10); @include xy-cell(10);
@include xy-cell-offset(2); @include xy-cell-offset(2);
&::before {
display: inline-block;
color: $medium-gray;
font-size: $accordion-title-font-size * 0.8;
}
&.title::before {content:"Title";}
&.curator::before {content:"Artist";}
&.collection-name::before {content:"Collection";}
&.date::before {content:"Date";}
} }
&::before {
display: inline-block;
color: $medium-gray;
font-size: $accordion-title-font-size * 0.8;
&.title {content:"Title";}
&.curator {content:"Artist";}
&.collection-name {content:"Collection";}
&.date {content:"Date";}
}
} }
} }
@include breakpoint(medium){ @include breakpoint(medium){
@ -281,11 +280,11 @@ main {
//display:inherit; //display:inherit;
} }
li { li {
&::before { &.title,
&.title, &.curator,
&.curator, &.collection-name,
&.collection-name, &.date {
&.date { &::before {
content:""; content:"";
} }
} }