mod list collections accordion in mobile

This commit is contained in:
jorge 2022-03-22 17:12:16 +01:00
parent 02039acb15
commit a16a30f70c
2 changed files with 27 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -249,17 +249,42 @@ main {
ul,ol{ ul,ol{
} }
@include breakpoint(small){ @include breakpoint(small){
li.accordion-item.title {
//display:none;
}
li { li {
&.title, &.title,
&.curator, &.curator,
&.collection-name, &.collection-name,
&.date { &.date {
@include xy-cell(12); @include xy-cell(10);
@include xy-cell-offset(2);
&::after {
display: inline-block;
color: $medium-gray;
font-size: $accordion-title-font-size * 0.8;
}
} }
&.title::after {content:"Title";}
&.curator::after {content:"Artist";}
&.collection-name::after {content:"Collection";}
&.date::after {content:"Date";}
} }
} }
@include breakpoint(medium){ @include breakpoint(medium){
li.accordion-item.title {
//display:inherit;
}
li { li {
&.title,
&.curator,
&.collection-name,
&.date {
&::after {
display:none;
}
}
&.title { &.title {
@include xy-cell(4); @include xy-cell(4);
} }