feat: Change common classes
- Remove %hidden placeholder - Rename hide class to di_none - Add op_hide and op_show classes - Add config variables for transition with op_* classes
This commit is contained in:
parent
ec93121d4a
commit
9f3797f651
2 changed files with 9 additions and 3 deletions
|
|
@ -20,12 +20,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
%hidden {
|
||||
.di_none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hide {
|
||||
@extend %hidden;
|
||||
.op_hide {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.op_show {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.space_even_auto {
|
||||
|
|
|
|||
|
|
@ -223,6 +223,8 @@ $duration_double: $duration_basic * 2;
|
|||
$duration_long: 2s !default;
|
||||
$timing_basic: ease-out !default;
|
||||
$transition_best: flex 500ms cubic-bezier(0, 0, 0.2, 1.4), background 800ms ease;
|
||||
$transition_hide: opacity $duration_long;
|
||||
$transition_show: opacity $duration_double;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue