styled list collections accordion in mobile
This commit is contained in:
parent
4bd15a3b05
commit
7feb22d1d3
File diff suppressed because one or more lines are too long
|
@ -249,15 +249,13 @@ main {
|
|||
ul,ol{
|
||||
}
|
||||
@include breakpoint(small){
|
||||
li.accordion-item.title {
|
||||
@include xy-cell(3);
|
||||
@include xy-cell-offset(0);
|
||||
&::before{
|
||||
// display:none;
|
||||
}
|
||||
}
|
||||
.accordion-item.title li {
|
||||
// @include xy-cell(3);
|
||||
// @include xy-cell-offset(0);
|
||||
// &::before{
|
||||
// display:none;
|
||||
}
|
||||
li {
|
||||
&:not(.accordion-item.title) {
|
||||
min-heigth: 1rem;
|
||||
&.title,
|
||||
&.curator,
|
||||
|
@ -277,20 +275,16 @@ main {
|
|||
&.curator::before {content:"Artist";}
|
||||
&.collection-name::before {content:"Collection";}
|
||||
&.date::before {content:"Date";}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
li.accordion-item.title {
|
||||
//display:inherit;
|
||||
}
|
||||
li {
|
||||
&.title,
|
||||
&.curator,
|
||||
&.collection-name,
|
||||
&.date {
|
||||
&::before {
|
||||
content:"";
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
&.title {
|
||||
|
|
Loading…
Reference in New Issue