Arc-hive-omeka-theme/asset/scss/components/_accordion.scss

52 lines
885 B
SCSS

.accordion-item {
border-bottom: $global-border-archive;
&:not(.title).is-active {
background-color:$input-background;
}
&:first-of-type {
max-height: 5rem;
.is-active{
max-height: 5rem;
padding:0;
}
.accordion-title::before{
content:'';
}
a {
color: black;
&:hover,&:active,&:focus{
color: black;
cursor: not-allowed;
}
}
}
}
.accordion-title {
ul,ol {
list-style: none;
@include xy-grid;
}
li {
@include xy-cell(3);
display:inline;
text-align:left;
.title {
@include xy-cell(5);
//width: calc(40% - 1.25rem);
}
.curator {
@include xy-cell(4);
//width: calc(30% - 1.25rem);
}
.collection-name {
@include xy-cell(2);
//width: calc(20% - 1.25rem);
}
.date {
@include xy-cell(1);
//width: calc(10% - 1.25rem);
}
}
}