mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 14:44:25 +01:00
style(next): rename CSS variable
This commit is contained in:
parent
01004ac425
commit
4ab70fcb8a
@ -191,7 +191,7 @@
|
|||||||
--right-pane-item-hover-color: white;
|
--right-pane-item-hover-color: white;
|
||||||
|
|
||||||
--scrollbar-thumb-color: #fdfdfd5c;
|
--scrollbar-thumb-color: #fdfdfd5c;
|
||||||
--scrollbar-thumb-color-hover: #ffffff7d;
|
--scrollbar-thumb-hover-color: #ffffff7d;
|
||||||
--scrollbar-border-color: unset; /* Deprecated */
|
--scrollbar-border-color: unset; /* Deprecated */
|
||||||
--scrollbar-background-color: unset; /* Deprecated */
|
--scrollbar-background-color: unset; /* Deprecated */
|
||||||
|
|
||||||
|
|||||||
@ -190,7 +190,7 @@
|
|||||||
--right-pane-item-hover-color: inherit;
|
--right-pane-item-hover-color: inherit;
|
||||||
|
|
||||||
--scrollbar-thumb-color: #0000005c;
|
--scrollbar-thumb-color: #0000005c;
|
||||||
--scrollbar-thumb-color-hover: #00000066;
|
--scrollbar-thumb-hover-color: #00000066;
|
||||||
--scrollbar-border-color: unset; /* Deprecated */
|
--scrollbar-border-color: unset; /* Deprecated */
|
||||||
--scrollbar-background-color: unset; /* Deprecated */
|
--scrollbar-background-color: unset; /* Deprecated */
|
||||||
|
|
||||||
|
|||||||
@ -707,7 +707,7 @@ input[type="range"] {
|
|||||||
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
--s-thumb-thickness: var(--scrollbar-thumb-hover-thickness);
|
--s-thumb-thickness: var(--scrollbar-thumb-hover-thickness);
|
||||||
--s-thumb-color: var(--scrollbar-thumb-color-hover);
|
--s-thumb-color: var(--scrollbar-thumb-hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap) */
|
/* Scrollbar's increment/decrement buttons (repurposed as a scrollbar start/end gap) */
|
||||||
@ -724,7 +724,7 @@ input[type="range"] {
|
|||||||
* Firefox scrollbars
|
* Firefox scrollbars
|
||||||
*
|
*
|
||||||
* Unsupported features: --scrollbar-thumb-thickness, --scrollbar-thumb-hover-thickness,
|
* Unsupported features: --scrollbar-thumb-thickness, --scrollbar-thumb-hover-thickness,
|
||||||
* --scrollbar-start-end-gap, --scrollbar-thumb-color-hover.
|
* --scrollbar-start-end-gap, --scrollbar-thumb-hover-color.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
@ -44,7 +44,7 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
|||||||
|
|
||||||
.ck-content pre code {
|
.ck-content pre code {
|
||||||
--scrollbar-thumb-color: gray;
|
--scrollbar-thumb-color: gray;
|
||||||
--scrollbar-thumb-color-hover: gray;
|
--scrollbar-thumb-hover-color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ck-content pre code::-webkit-scrollbar-track,
|
.ck-content pre code::-webkit-scrollbar-track,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user