2021-02-18 21:44:01 +01:00
|
|
|
.details {
|
|
|
|
.details-summary {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i.details-icon {
|
|
|
|
color: $global-font-secondary-color;
|
|
|
|
@include transition(transform 0.2s ease);
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
|
|
|
max-height: 0;
|
|
|
|
overflow-y: hidden;
|
|
|
|
@include details-transition-open;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
i.details-icon {
|
|
|
|
@include transform(rotate(90deg));
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
2022-08-14 19:01:21 +02:00
|
|
|
max-height: 10000px;
|
2021-02-18 21:44:01 +01:00
|
|
|
@include details-transition-close;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|