m2.nz/themes/LoveIt/assets/css/_partial/_details.scss

34 lines
557 B
SCSS
Raw Normal View History

2022-05-08 06:47:31 +00:00
.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 {
2024-04-07 02:32:03 +00:00
max-height: 10000px;
2022-05-08 06:47:31 +00:00
@include details-transition-close;
}
}
}