styled list collections accordion in mobile

This commit is contained in:
jorge 2022-03-22 18:58:46 +01:00
parent 7ab2aaeec5
commit 90569410e0
2 changed files with 18 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -243,6 +243,23 @@ main {
// accordion for colletions list // accordion for colletions list
.accordion-item { .accordion-item {
&.title {
.accordion-title {
@include breakpoint(small){
li {
@include xy-cell(3);
@include xy-cell-offset(0);
&.title,&.curator,&.collection-name,&.date {
&::before {content: none;}
}
.ascToggle{
position:absolute;
padding-left: 0.21rem;
}
}
}
}
}
&:not(.title){ &:not(.title){
&.is-active { &.is-active {
background-color:$input-background; background-color:$input-background;
@ -299,19 +316,6 @@ main {
} }
} }
} }
&.title {
.accordion-title {
@include breakpoint(small){
li {
@include xy-cell(3);
@include xy-cell-offset(0);
&.title,&.curator,&.collection-name,&.date {
&::before {content: none;}
}
}
}
}
}
.accordion-title { .accordion-title {
ul,ol { ul,ol {
margin: 0; margin: 0;