openaire-theme/less/accordion.less

31 lines
802 B
Plaintext

@accordion-title-padding-vertical: 5px;
@accordion-title-padding-horizontal: 0;
@accordion-title-background: transparent;
@accordion-title-color: @global-emphasis-color;
@accordion-title-hover-color: @global-primary-background;
@accordion-title-font-weight: 600;
@accordion-icon-margin-left: 10px;
.hook-accordion-title() {
padding: @accordion-title-padding-vertical @accordion-title-padding-horizontal;
background: @accordion-title-background;
overflow: hidden;
font-weight: @accordion-title-font-weight;
&::before {
content: "\e145";
font-family: "Material Icons";
font-size: 1.2*@accordion-title-font-size;
margin-left: @accordion-icon-margin-left;
float: right;
}
}
.hook-accordion-misc() {
.uk-open > .uk-accordion-title::before {
content: "\e15b"
}
}