mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
Add transitions for tabs
This commit is contained in:
parent
a0e01fef67
commit
1d95fb3931
@ -471,6 +471,12 @@
|
|||||||
|
|
||||||
.tab-row-widget .note-tab .note-tab-wrapper {
|
.tab-row-widget .note-tab .note-tab-wrapper {
|
||||||
height: var(--tab-height) !important;
|
height: var(--tab-height) !important;
|
||||||
|
transition: background 75ms ease-in,
|
||||||
|
box-shadow 75ms ease-in;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-row-widget .note-tab .note-tab-wrapper:hover {
|
||||||
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-row-widget .note-tab:nth-child(1) {
|
.tab-row-widget .note-tab:nth-child(1) {
|
||||||
@ -485,6 +491,8 @@
|
|||||||
.tab-row-widget .note-tab[active] .note-tab-wrapper {
|
.tab-row-widget .note-tab[active] .note-tab-wrapper {
|
||||||
box-shadow: var(--active-tab-shadow);
|
box-shadow: var(--active-tab-shadow);
|
||||||
font-weight: unset !important;
|
font-weight: unset !important;
|
||||||
|
transition: background 150ms ease-out,
|
||||||
|
box-shadow 300ms ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-row-widget-is-sorting .note-tab-drag-handle {
|
.tab-row-widget-is-sorting .note-tab-drag-handle {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user