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-offset(0);
&::before{
display:none;
// display:none;
}
}
li {
&.title,
&.curator,
&.collection-name,
&.date {
@include xy-cell(10);
@include xy-cell-offset(2);
&::before {
display: inline-block;
color: $medium-gray;
//font-size: $accordion-title-font-size;
position: absolute;
left:0;
&:not(.accordion-item.title) {
min-heigth: 1rem;
&.title,
&.curator,
&.collection-name,
&.date {
@include xy-cell(10);
@include xy-cell-offset(2);
&::before {
display: inline-block;
color: $medium-gray;
//font-size: $accordion-title-font-size;
position: absolute;
left:0;
}
}
&.title::before {content:"Title";}
&.curator::before {content:"Artist";}