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){
li.accordion-item.title {
//display:none;
@include xy-cell(3);
@include xy-cell-offset(0);
&::before{
display:none;
}
}
li {
&.title,
@ -259,16 +263,16 @@ main {
&.date {
@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";}
&::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";}
}
}
}
@ -277,12 +281,12 @@ main {
//display:inherit;
}
li {
&.title,
&.curator,
&.collection-name,
&.date {
&::after {
display:none;
&::before {
&.title,
&.curator,
&.collection-name,
&.date {
content:"";
}
}
&.title {