mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
Add transition to the new tab button
This commit is contained in:
parent
3d8a662903
commit
50cf7d47e7
@ -529,11 +529,15 @@
|
||||
height: var(--new-tab-button-size);
|
||||
background: var(--new-tab-button-background);
|
||||
border-radius: 50%;
|
||||
transition: background-color 200ms ease-out,
|
||||
box-shadow 200ms ease-out;
|
||||
}
|
||||
|
||||
.tab-row-widget .note-new-tab:hover::before {
|
||||
background: var(--new-tab-button-hover-background);
|
||||
box-shadow: var(--new-tab-button-shadow);
|
||||
transition: background-color 100ms ease-in,
|
||||
box-shadow 100ms ease-in;
|
||||
}
|
||||
|
||||
.tab-row-widget .note-new-tab::after {
|
||||
@ -550,10 +554,12 @@
|
||||
font-family: boxicons;
|
||||
font-size: calc(var(--new-tab-button-size) * .75);
|
||||
color: var(--new-tab-button-color);
|
||||
transition: color 200ms ease-out,
|
||||
}
|
||||
|
||||
.tab-row-widget .note-new-tab:hover::after {
|
||||
color: var(--new-tab-button-hover-color);
|
||||
transition: color 100ms ease-in,
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user