mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
dd6d320654
* BREAKING CHANGE: refactor with Dart Sass (supplement to #741) * chore: update .gitignore to include .vercel and .env*.local * CI: add build script for Hugo site deployment on Vercel * CI: update build script for Hugo site deployment on Vercel * refactor: update SCSS layout styles and introduce page-style mixin * refactor: reorganize SCSS files and improve layout structure * refactor: rename copy button classes and update related styles
51 lines
843 B
SCSS
51 lines
843 B
SCSS
@use "core/functions" as *;
|
|
@use "core/mixins" as *;
|
|
|
|
.details {
|
|
> .details-summary {
|
|
transition: border-radius 0.2s ease 0.2s;
|
|
@include border-radius;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
i.details-icon {
|
|
color: fi-var(global-font-secondary-color);
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
color: fi-var(global-font-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
> .details-content {
|
|
height: 0;
|
|
overflow-y: hidden;
|
|
transition: height 0.5s ease-out;
|
|
}
|
|
|
|
&.open {
|
|
> .details-summary {
|
|
transition: border-radius 0s;
|
|
@include border-radius(top);
|
|
|
|
i.details-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
|
|
> .details-content {
|
|
height: auto;
|
|
@include border-radius(bottom);
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
> .details-summary {
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|