fix/issue53-backgrond-collections #55

Merged
jorge merged 20 commits from fix/issue53-backgrond-collections into main 2022-03-22 19:57:21 +01:00
2 changed files with 38 additions and 39 deletions
Showing only changes of commit 1becffc86d - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -245,53 +245,52 @@ main {
background-color:$input-background; background-color:$input-background;
} }
} }
.accordion-item.title li {
// @include xy-cell(3);
// @include xy-cell-offset(0);
//}
}
.accordion-title { .accordion-title {
ul,ol{ &.title {
} @include breakpoint(small){
@include breakpoint(small){ li {
.accordion-item.title li { @include xy-cell(3);
@include xy-cell(3); @include xy-cell-offset(0);
@include xy-cell-offset(0); &.title,&.curator,&.collection-name,&.date {
&.title, &::before {content: none;}
&.curator,
&.collection-name,
&.date {
&::before {
content: none;
} }
} }
} }
li { }
&.title, &:not(.title) {
&.curator, @include breakpoint(small){
&.collection-name, li {
&.date { &.title,
@include xy-cell(10); &.curator,
@include xy-cell-offset(2); &.collection-name,
min-height: 1rem; &.date {
&::before { @include xy-cell(10);
display: inline-block; @include xy-cell-offset(2);
color: $medium-gray; min-height: 1rem;
//font-size: $accordion-title-font-size; &::before {
position: absolute; display: inline-block;
left:0; color: $medium-gray;
//font-size: $accordion-title-font-size;
position: absolute;
left:0;
}
} }
} &.title::before {content:"Title";}
&.title::before {content:"Title";} &.curator::before {content:"Artist";}
&.curator::before {content:"Artist";} &.collection-name::before {content:"Collection";}
&.collection-name::before {content:"Collection";} &.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 {
&::before {
content: none;
}
} }
&.title { &.title {
@include xy-cell(4); @include xy-cell(4);