mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-03 21:52:13 +00:00
Add theme
This commit is contained in:
parent
e11c3f7f7d
commit
7589ad1190
2580 changed files with 52545 additions and 4 deletions
33
themes/LoveIt/assets/css/_partial/_details.scss
Normal file
33
themes/LoveIt/assets/css/_partial/_details.scss
Normal file
|
@ -0,0 +1,33 @@
|
|||
.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: $MAX_LENGTH;
|
||||
@include details-transition-close;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue