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

36 lines
566 B
SCSS

.accordion-item {
border-bottom: $global-border-archive;
&.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 {
display:inline;
@include xy-cell(3);
text-align:left;
}
}