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 85 additions and 85 deletions
Showing only changes of commit 7ab2aaeec5 - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -240,29 +240,14 @@ main {
flex-direction: column;
align-items: center;
}
// accordion for colletions list
.accordion-item {
&:not(.title).is-active {
&:not(.title){
&.is-active {
background-color:$input-background;
}
}
.accordion-item.title li {
// @include xy-cell(3);
// @include xy-cell-offset(0);
//}
}
.accordion-title {
&.title {
@include breakpoint(small){
li {
@include xy-cell(3);
@include xy-cell-offset(0);
&.title,&.curator,&.collection-name,&.date {
&::before {content: none;}
}
}
}
}
&:not(.title) {
@include breakpoint(small){
li {
&.title,
@ -275,7 +260,6 @@ main {
&::before {
display: inline-block;
color: $medium-gray;
//font-size: $accordion-title-font-size;
position: absolute;
left:0;
}
@ -295,12 +279,9 @@ main {
min-height:unset;
&::before {
content: none;
// content:"";
}
}
&.title::before {content:"";}
&.curator::before {content:"";}
&.collection-name::before {content:"";}
&.date::before {content:"";}
&.title {
@include xy-cell(4);
}
@ -318,6 +299,24 @@ main {
}
}
}
&.title {
.accordion-title {
@include breakpoint(small){
li {
@include xy-cell(3);
@include xy-cell-offset(0);
&.title,&.curator,&.collection-name,&.date {
&::before {content: none;}
}
}
}
}
}
.accordion-title {
ul,ol {
margin: 0;
}
}
.accordion-content {
padding-top: 0;
section {
@ -356,6 +355,7 @@ main {
}
}
}
}
// end collections category
// partners