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{
|
ul,ol{
|
||||||
}
|
}
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
|
li.accordion-item.title {
|
||||||
|
//display:none;
|
||||||
|
}
|
||||||
li {
|
li {
|
||||||
&.title,
|
&.title,
|
||||||
&.curator,
|
&.curator,
|
||||||
&.collection-name,
|
&.collection-name,
|
||||||
&.date {
|
&.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){
|
@include breakpoint(medium){
|
||||||
|
li.accordion-item.title {
|
||||||
|
//display:inherit;
|
||||||
|
}
|
||||||
li {
|
li {
|
||||||
|
&.title,
|
||||||
|
&.curator,
|
||||||
|
&.collection-name,
|
||||||
|
&.date {
|
||||||
|
&::after {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
&.title {
|
&.title {
|
||||||
@include xy-cell(4);
|
@include xy-cell(4);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue