Compare commits

..

No commits in common. "41eb169bfb5af8b9ae1144240cab884280484ed7" and "0ffc4250a0d1cafb5c5c06072e88bb91c25b7330" have entirely different histories.

3 changed files with 72 additions and 137 deletions

3
.gitignore vendored
View File

@ -2,6 +2,5 @@
bower_components bower_components
node_modules node_modules
npm-debug.log npm-debug.log
_
index* index*
index*.html index.html

File diff suppressed because one or more lines are too long

View File

@ -240,85 +240,26 @@ main {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
// accordion for colletions list
.accordion-item { .accordion-item {
&.title { &:not(.title).is-active {
.accordion-title {
@include breakpoint(small){
li {
@include xy-cell(3);
@include xy-cell-offset(0);
&.title,&.curator,&.collection-name,&.date {
&::before {content: none;}
}
&.date {
margin-left: auto;
}
.ascToggle{
position:absolute;
padding-left: 0.21rem;
}
}
}
@include breakpoint(medium){
li {
&.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
}
}
}
}
}
&:not(.title){
&.is-active {
background-color:$input-background; background-color:$input-background;
} }
}
.accordion-title { .accordion-title {
ul,ol{
}
@include breakpoint(small){ @include breakpoint(small){
li { li {
&.title, &.title,
&.curator, &.curator,
&.collection-name, &.collection-name,
&.date { &.date {
@include xy-cell(10); @include xy-cell(auto);
@include xy-cell-offset(2);
min-height: 1rem;
&::before {
display: inline-block;
color: $medium-gray;
position: absolute;
left:0;
} }
} }
&.title::before {content:"Title";}
&.curator::before {content:"Artist";}
&.collection-name::before {content:"Collection";}
&.date::before {content:"Date";}
}
} }
@include breakpoint(medium){ @include breakpoint(medium){
li { li {
&.title,
&.curator,
&.collection-name,
&.date {
min-height:unset;
&::before {
content: none;
// content:"";
}
}
&.title { &.title {
@include xy-cell(4); @include xy-cell(4);
} }
@ -335,25 +276,22 @@ main {
} }
} }
} }
}
.accordion-title {
ul,ol {
margin: 0;
}
}
.accordion-content { .accordion-content {
padding-top: 0; padding-top: 0;
section { section {
@include xy-grid; @include xy-grid;
padding-top: 0;
padding-bottom: 0;
@include breakpoint(small){ @include breakpoint(small){
padding: 0;
figure { figure {
@include xy-cell(12); @include xy-cell(12);
margin-left:0;
margin-right:0;
} }
p { p {
@include xy-cell(12); @include xy-cell(12);
position: relative; position: relative;
padding-top: $global-padding * 1; padding: $global-padding;
padding-bottom: $global-padding * 3; padding-bottom: $global-padding * 3;
.button { .button {
position:absolute; position:absolute;
@ -365,18 +303,16 @@ main {
@include breakpoint(medium){ @include breakpoint(medium){
figure { figure {
@include xy-cell(4); @include xy-cell(4);
@include xy-gutters; margin-left: 0;
} }
p { p {
@include xy-cell(8); @include xy-cell(8);
padding-top: 0;
} }
} }
@include breakpoint(large){ @include breakpoint(large){
} }
} }
} }
}
} }
// end collections category // end collections category