mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
style(next)/formatting toolbar: show the focus rectangle only when it is necessary
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
--ck-color-button-on-background: transparent;
|
||||
--ck-color-button-on-hover-background: var(--hover-item-background-color);
|
||||
|
||||
--ck-focus-ring: 1px solid transparent; /* TODO: Find a solution to keep it visible in an elegant way */
|
||||
--ck-focus-ring: 1px solid transparent;
|
||||
--ck-color-focus-border: var(--input-focus-outline-color);
|
||||
--ck-focus-outer-shadow: none;
|
||||
--ck-focus-disabled-outer-shadow: none;
|
||||
@@ -54,6 +54,11 @@
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
/* Focus visible */
|
||||
.ck.ck-toolbar .ck-button:focus-visible {
|
||||
--ck-focus-ring: 1px solid var(--input-focus-outline-color);
|
||||
}
|
||||
|
||||
/*
|
||||
* Dropdowns
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user