styled list collections accordion in mobile
This commit is contained in:
parent
4f470ec681
commit
025542eab0
File diff suppressed because one or more lines are too long
|
@ -263,17 +263,16 @@ main {
|
||||||
&.date {
|
&.date {
|
||||||
@include xy-cell(10);
|
@include xy-cell(10);
|
||||||
@include xy-cell-offset(2);
|
@include xy-cell-offset(2);
|
||||||
|
&::before {
|
||||||
|
display: inline-block;
|
||||||
|
color: $medium-gray;
|
||||||
|
font-size: $accordion-title-font-size * 0.8;
|
||||||
|
}
|
||||||
|
&.title::before {content:"Title";}
|
||||||
|
&.curator::before {content:"Artist";}
|
||||||
|
&.collection-name::before {content:"Collection";}
|
||||||
|
&.date::before {content:"Date";}
|
||||||
}
|
}
|
||||||
&::before {
|
|
||||||
display: inline-block;
|
|
||||||
color: $medium-gray;
|
|
||||||
font-size: $accordion-title-font-size * 0.8;
|
|
||||||
&.title {content:"Title";}
|
|
||||||
&.curator {content:"Artist";}
|
|
||||||
&.collection-name {content:"Collection";}
|
|
||||||
&.date {content:"Date";}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
@ -281,11 +280,11 @@ main {
|
||||||
//display:inherit;
|
//display:inherit;
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
&::before {
|
&.title,
|
||||||
&.title,
|
&.curator,
|
||||||
&.curator,
|
&.collection-name,
|
||||||
&.collection-name,
|
&.date {
|
||||||
&.date {
|
&::before {
|
||||||
content:"";
|
content:"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue