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";}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
li {
|
||||
&.title,&.curator,&.collection-name,&.date {
|
||||
&::before {content: none;}
|
||||
}
|
||||
&.title {
|
||||
@include xy-cell(4);
|
||||
}
|
||||
&.curator {
|
||||
@include xy-cell(4);
|
||||
}
|
||||
&.collection-name {
|
||||
@include xy-cell(2);
|
||||
}
|
||||
&.date {
|
||||
@include xy-cell(shrink);
|
||||
margin-left: auto; //aligns to right
|
||||
@include breakpoint(medium){
|
||||
li {
|
||||
&.title,
|
||||
&.curator,
|
||||
&.collection-name,
|
||||
&.date {
|
||||
min-height:unset;
|
||||
&::before {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
&.title::before {content:"";}
|
||||
&.curator::before {content:"";}
|
||||
&.collection-name::before {content:"";}
|
||||
&.date::before {content:"";}
|
||||
&.title {
|
||||
@include xy-cell(4);
|
||||
}
|
||||
&.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