mirror of
https://github.com/zadam/trilium.git
synced 2026-07-19 18:11:13 +02:00
style/links: improve the selection outline
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
--link-color: #95c3d9;
|
||||
--link-hover-background: #75c2e324;
|
||||
--link-hover-color: var(--link-color);
|
||||
--link-selection-outline-color: #75c2e385;
|
||||
|
||||
--hover-item-text-color: #efefef;
|
||||
--hover-item-background-color: #ffffff16;
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
--link-color: #0076af;
|
||||
--link-hover-background: #3c7fa017;
|
||||
--link-hover-color: var(--link-color);
|
||||
--link-selection-outline-color: #95c3d9db;
|
||||
|
||||
--hover-item-text-color: black;
|
||||
--hover-item-background-color: #0000001a;
|
||||
|
||||
@@ -678,8 +678,8 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
||||
|
||||
.ck-content a.ck-widget.ck-widget_selected,
|
||||
.ck-content a.ck-link_selected {
|
||||
outline: 2px solid var(--input-focus-outline-color);
|
||||
outline-offset: 2px;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 2px var(--link-selection-outline-color);
|
||||
background: var(--link-hover-background);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user