styled list collections accordion in mobile
This commit is contained in:
parent
1becffc86d
commit
1eeac2565d
File diff suppressed because one or more lines are too long
|
@ -286,24 +286,34 @@ main {
|
||||||
&.date::before {content:"Date";}
|
&.date::before {content:"Date";}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
@include breakpoint(medium){
|
||||||
@include breakpoint(medium){
|
li {
|
||||||
li {
|
&.title,
|
||||||
&.title,&.curator,&.collection-name,&.date {
|
&.curator,
|
||||||
&::before {content: none;}
|
&.collection-name,
|
||||||
}
|
&.date {
|
||||||
&.title {
|
min-height:unset;
|
||||||
@include xy-cell(4);
|
&::before {
|
||||||
}
|
content: none;
|
||||||
&.curator {
|
}
|
||||||
@include xy-cell(4);
|
}
|
||||||
}
|
&.title::before {content:"";}
|
||||||
&.collection-name {
|
&.curator::before {content:"";}
|
||||||
@include xy-cell(2);
|
&.collection-name::before {content:"";}
|
||||||
}
|
&.date::before {content:"";}
|
||||||
&.date {
|
&.title {
|
||||||
@include xy-cell(shrink);
|
@include xy-cell(4);
|
||||||
margin-left: auto; //aligns to right
|
}
|
||||||
|
&.curator {
|
||||||
|
@include xy-cell(4);
|
||||||
|
}
|
||||||
|
&.collection-name {
|
||||||
|
@include xy-cell(2);
|
||||||
|
}
|
||||||
|
&.date {
|
||||||
|
@include xy-cell(shrink);
|
||||||
|
margin-left: auto; //aligns to right
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue