mod list collections accordion in mobile
This commit is contained in:
parent
02039acb15
commit
a16a30f70c
File diff suppressed because one or more lines are too long
|
@ -249,17 +249,42 @@ main {
|
|||
ul,ol{
|
||||
}
|
||||
@include breakpoint(small){
|
||||
li.accordion-item.title {
|
||||
//display:none;
|
||||
}
|
||||
li {
|
||||
&.title,
|
||||
&.curator,
|
||||
&.collection-name,
|
||||
&.date {
|
||||
@include xy-cell(12);
|
||||
@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";}
|
||||
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
li.accordion-item.title {
|
||||
//display:inherit;
|
||||
}
|
||||
li {
|
||||
&.title,
|
||||
&.curator,
|
||||
&.collection-name,
|
||||
&.date {
|
||||
&::after {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
&.title {
|
||||
@include xy-cell(4);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue