styled list collections accordion in mobile
This commit is contained in:
parent
7ab2aaeec5
commit
90569410e0
File diff suppressed because one or more lines are too long
|
@ -243,6 +243,23 @@ main {
|
|||
|
||||
// accordion for colletions list
|
||||
.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){
|
||||
&.is-active {
|
||||
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 {
|
||||
ul,ol {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in New Issue