styled list collections accordion in mobile

This commit is contained in:
jorge 2022-03-22 17:20:14 +01:00
parent a16a30f70c
commit 4f470ec681
2 changed files with 21 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -250,7 +250,11 @@ main {
} }
@include breakpoint(small){ @include breakpoint(small){
li.accordion-item.title { li.accordion-item.title {
//display:none; @include xy-cell(3);
@include xy-cell-offset(0);
&::before{
display:none;
}
} }
li { li {
&.title, &.title,
@ -259,16 +263,16 @@ main {
&.date { &.date {
@include xy-cell(10); @include xy-cell(10);
@include xy-cell-offset(2); @include xy-cell-offset(2);
&::after {
display: inline-block;
color: $medium-gray;
font-size: $accordion-title-font-size * 0.8;
}
} }
&.title::after {content:"Title";} &::before {
&.curator::after {content:"Artist";} display: inline-block;
&.collection-name::after {content:"Collection";} color: $medium-gray;
&.date::after {content:"Date";} font-size: $accordion-title-font-size * 0.8;
&.title {content:"Title";}
&.curator {content:"Artist";}
&.collection-name {content:"Collection";}
&.date {content:"Date";}
}
} }
} }
@ -277,12 +281,12 @@ main {
//display:inherit; //display:inherit;
} }
li { li {
&.title, &::before {
&.curator, &.title,
&.collection-name, &.curator,
&.date { &.collection-name,
&::after { &.date {
display:none; content:"";
} }
} }
&.title { &.title {