mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 06:27:25 +00:00
Animate opacity on layer group collapse
This commit is contained in:
@@ -41,10 +41,11 @@
|
|||||||
max-height: 50px;
|
max-height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@include vendor-prefix(flex-direction, row)
|
@include vendor-prefix(flex-direction, row);
|
||||||
|
opacity: 1;
|
||||||
|
|
||||||
transition: max-height 0.1s ease-in;
|
-webkit-transition: opacity 600ms, visibility 600ms;
|
||||||
transition: padding 0.05s ease-in;
|
transition: opacity 600ms, visibility 600ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-icon-action svg {
|
&-icon-action svg {
|
||||||
@@ -71,8 +72,8 @@
|
|||||||
max-height: 0px;
|
max-height: 0px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
transition: max-height 0.1s ease-out;
|
opacity: 0;
|
||||||
transition: padding 0.1s ease-out;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item-group-last {
|
&-item-group-last {
|
||||||
|
|||||||
Reference in New Issue
Block a user