mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
8b5315a141
// ignore-for-release
48 lines
964 B
SCSS
48 lines
964 B
SCSS
.details {
|
|
> .details-summary {
|
|
@include border-radius($global-border-radius);
|
|
@include transition(border-radius 0.2s ease 0.2s);
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
i.details-icon {
|
|
color: var(#{$rootPrefix}global-font-secondary-color);
|
|
@include transition(all 0.2s ease);
|
|
|
|
&:hover {
|
|
color: var(#{$rootPrefix}global-font-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
> .details-content {
|
|
height: 0;
|
|
overflow-y: hidden;
|
|
@include transition(height 0.5s ease-out);
|
|
}
|
|
|
|
&.open {
|
|
> .details-summary {
|
|
@include border-radius($global-border-radius $global-border-radius 0 0);
|
|
@include transition(border-radius 0s);
|
|
|
|
i.details-icon {
|
|
@include transform(rotate(90deg));
|
|
}
|
|
}
|
|
|
|
> .details-content {
|
|
height: auto;
|
|
@include border-radius(0 0 $global-border-radius $global-border-radius);
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
> .details-summary {
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|