simplify hover highlight to an underline

This commit is contained in:
tophf 2022-09-15 12:57:01 +03:00
parent 1594b4dcd8
commit f5397b8aec
2 changed files with 5 additions and 4 deletions

View File

@ -64,14 +64,15 @@
max-width: none; max-width: none;
flex-grow: 1; flex-grow: 1;
} }
.checkmate { .entry .checkmate {
flex-shrink: 0; flex-shrink: 0;
} }
.style-name-link { .style-name-link {
width: 100%; width: 100%;
word-break: break-word;
} }
.entry .style-name:hover { .style-name:hover .style-name-link {
background: linear-gradient(to right, hsla(180, 50%, 30%, 0.2), hsla(180, 20%, 10%, 0.05) 50%, transparent); text-decoration: underline;
} }
.entry.enabled .style-name:hover .style-name-link { .entry.enabled .style-name:hover .style-name-link {
color: var(--accent-1); color: var(--accent-1);

View File

@ -164,7 +164,7 @@ a:hover {
margin-top: .25em; margin-top: .25em;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.style-name a, .style-edit-link { .entry a:not(:hover) {
text-decoration: none; text-decoration: none;
} }
.style-name span, .style-name span,