2022-10-12 15:58:10 +02:00
|
|
|
@accordion-border: @global-border;
|
|
|
|
@accordion-border-width: @global-border-width;
|
|
|
|
@accordion-padding-bottom: 20px;
|
|
|
|
|
2022-10-31 12:31:15 +01:00
|
|
|
@accordion-title-font-size: @global-large-font-size;
|
2023-03-22 15:07:27 +01:00
|
|
|
@accordion-title-font-size-s: @global-font-size;
|
2022-06-17 18:46:35 +02:00
|
|
|
@accordion-title-padding-vertical: 5px;
|
|
|
|
@accordion-title-padding-horizontal: 0;
|
|
|
|
@accordion-title-background: transparent;
|
|
|
|
@accordion-title-color: @global-emphasis-color;
|
2023-03-22 15:07:27 +01:00
|
|
|
@accordion-title-hover-color: @accordion-title-color;
|
2022-06-17 18:46:35 +02:00
|
|
|
@accordion-title-font-weight: 600;
|
|
|
|
|
|
|
|
@accordion-icon-margin-left: 10px;
|
2022-10-12 15:58:10 +02:00
|
|
|
@accordion-icon-color: @global-primary-background;
|
|
|
|
|
2023-03-22 15:07:27 +01:00
|
|
|
@accordion-content-font-size: @global-font-size;
|
|
|
|
@accordion-content-font-size-s: @global-small-font-size;
|
|
|
|
|
2022-10-12 15:58:10 +02:00
|
|
|
.uk-accordion > * {
|
|
|
|
padding-bottom: @accordion-padding-bottom;
|
|
|
|
border-bottom: @accordion-border-width solid @accordion-border;
|
|
|
|
}
|
2022-06-17 18:46:35 +02:00
|
|
|
|
|
|
|
.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 {
|
2023-03-22 15:07:27 +01:00
|
|
|
content: "\e5cf";
|
2022-06-17 18:46:35 +02:00
|
|
|
font-family: "Material Icons";
|
2023-03-22 15:07:27 +01:00
|
|
|
font-size: 1.5em;
|
2022-07-19 10:04:23 +02:00
|
|
|
line-height: inherit;
|
2022-06-17 18:46:35 +02:00
|
|
|
margin-left: @accordion-icon-margin-left;
|
2023-03-22 15:07:27 +01:00
|
|
|
margin-top: -0.3em;
|
2022-06-17 18:46:35 +02:00
|
|
|
float: right;
|
2022-10-12 15:58:10 +02:00
|
|
|
color: @accordion-icon-color;
|
2022-06-17 18:46:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-03-22 15:07:27 +01:00
|
|
|
.hook-accordion-content() {
|
|
|
|
font-size: @accordion-content-font-size;
|
|
|
|
margin-right: 1.5*@accordion-title-font-size;
|
|
|
|
}
|
|
|
|
|
2022-06-17 18:46:35 +02:00
|
|
|
.hook-accordion-misc() {
|
2023-03-22 15:07:27 +01:00
|
|
|
@media(max-width: @breakpoint-small-max) {
|
|
|
|
.uk-accordion-title {
|
|
|
|
font-size: @accordion-title-font-size-s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uk-accordion-content {
|
|
|
|
font-size: @accordion-content-font-size-s;
|
|
|
|
margin-right: 1.5*@accordion-title-font-size-s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-17 18:46:35 +02:00
|
|
|
.uk-open > .uk-accordion-title::before {
|
2023-03-22 15:07:27 +01:00
|
|
|
content: "\e5ce"
|
2022-06-17 18:46:35 +02:00
|
|
|
}
|
|
|
|
}
|