2020-04-25 21:25:10 +02:00
|
|
|
.details {
|
|
|
|
.details-summary {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
i.details-icon {
|
|
|
|
color: $global-font-secondary-color;
|
|
|
|
@include transition(transform 0.2s ease);
|
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
[theme=dark] & {
|
2020-04-25 21:25:10 +02:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
|
|
|
max-height: 0;
|
|
|
|
overflow-y: hidden;
|
2020-04-27 19:38:22 +02:00
|
|
|
@include details-transition-open;
|
2020-04-25 21:25:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
i.details-icon {
|
2020-04-27 19:38:22 +02:00
|
|
|
@include transform(rotate(90deg));
|
2020-04-25 21:25:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.details-content {
|
2022-05-16 15:57:03 +02:00
|
|
|
max-height: 10000px;
|
2020-04-27 19:38:22 +02:00
|
|
|
@include details-transition-close;
|
2020-04-25 21:25:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|