mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
33 lines
557 B
SCSS
33 lines
557 B
SCSS
.details {
|
|
.details-summary {
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
i.details-icon {
|
|
color: $global-font-secondary-color;
|
|
@include transition(transform 0.2s ease);
|
|
|
|
[theme=dark] & {
|
|
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 {
|
|
max-height: 10000px;
|
|
@include details-transition-close;
|
|
}
|
|
}
|
|
}
|