styled list collections accordion in mobile

This commit is contained in:
jorge 2022-03-22 17:38:55 +01:00
parent 47107fafd0
commit 4bd15a3b05
2 changed files with 17 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -253,22 +253,25 @@ main {
@include xy-cell(3); @include xy-cell(3);
@include xy-cell-offset(0); @include xy-cell-offset(0);
&::before{ &::before{
display:none; // display:none;
} }
} }
li { li {
&.title, &:not(.accordion-item.title) {
&.curator, min-heigth: 1rem;
&.collection-name, &.title,
&.date { &.curator,
@include xy-cell(10); &.collection-name,
@include xy-cell-offset(2); &.date {
&::before { @include xy-cell(10);
display: inline-block; @include xy-cell-offset(2);
color: $medium-gray; &::before {
//font-size: $accordion-title-font-size; display: inline-block;
position: absolute; color: $medium-gray;
left:0; //font-size: $accordion-title-font-size;
position: absolute;
left:0;
}
} }
&.title::before {content:"Title";} &.title::before {content:"Title";}
&.curator::before {content:"Artist";} &.curator::before {content:"Artist";}