mirror of
https://github.com/mathuo/dockview
synced 2025-02-19 06:35:45 +00:00
Merge pull request #860 from mathuo/859-added-support-for-sash-delay-and-duration-customization
859 added support for sash delay and duration customization
This commit is contained in:
commit
773bf5a53c
@ -117,15 +117,16 @@
|
||||
-ms-user-select: none; // IE 10 and IE 11
|
||||
touch-action: none;
|
||||
|
||||
&:not(.disabled):active {
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
background-color: var(--dv-active-sash-color, transparent);
|
||||
}
|
||||
|
||||
&:not(.disabled):active,
|
||||
&:not(.disabled):hover {
|
||||
background-color: var(--dv-active-sash-color, transparent);
|
||||
transition: background-color 0.1s ease-in-out;
|
||||
transition-delay: 0.5s;
|
||||
transition-property: background-color;
|
||||
transition-timing-function: ease-in-out;
|
||||
transition-duration: var(
|
||||
--dv-active-sash-transition-duration,
|
||||
0.1s
|
||||
);
|
||||
transition-delay: var(--dv-active-sash-transition-delay, 0.5s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,8 @@
|
||||
--dv-icon-hover-background-color: rgba(90, 93, 94, 0.31);
|
||||
--dv-floating-box-shadow: 8px 8px 8px 0px rgba(83, 89, 93, 0.5);
|
||||
--dv-overlay-z-index: 999;
|
||||
--dv-active-sash-transition-duration: 0.1s;
|
||||
--dv-active-sash-transition-delay: 0.5s;
|
||||
}
|
||||
|
||||
@mixin dockview-theme-dark-mixin {
|
||||
|
Loading…
Reference in New Issue
Block a user