mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 00:59:55 +01:00
style/text editor/links: tweak
This commit is contained in:
@@ -653,7 +653,8 @@ body a.tn-link:focus-visible,
|
||||
}
|
||||
|
||||
body a.tn-link:hover,
|
||||
.use-tn-links a:hover {
|
||||
.use-tn-links a:hover,
|
||||
.use-tn-links a.ck-widget_selected {
|
||||
box-shadow: 0 0 0 4px var(--link-hover-background);
|
||||
--background: var(--link-hover-background);
|
||||
color: var(--link-hover-color);
|
||||
|
||||
@@ -670,14 +670,26 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
||||
color: var(--main-text-color);
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
.ck-content a.ck-widget {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.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;
|
||||
background: var(--link-hover-background);
|
||||
}
|
||||
|
||||
/* Reference link */
|
||||
|
||||
.ck-content a.reference-link,
|
||||
.ck-content a.reference-link:hover {
|
||||
/* Apply underline only to the span inside the link so it can follow the
|
||||
* target note's user defined color */
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ck-content a.reference-link > span {
|
||||
|
||||
Reference in New Issue
Block a user