Skip to content

Build your personal knowledge base with Trilium Notes

style(next): fix the up / down buttons of the "Find in text" input box

Adorian Doran4efc86b9a3fc
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css
index 5c92497f29..e2e5c71e14 100644
--- a/src/public/stylesheets/theme-next/forms.css
+++ b/src/public/stylesheets/theme-next/forms.css
@@ -216,6 +216,7 @@ input::selection,
.input-group button,
.input-group a {
display: flex;
+ align-items: center;
--bs-border-width: 0;
--accented-background-color: transparent;
background: transparent;
@@ -228,15 +229,21 @@ input::selection,
.input-group button:hover,
.input-group a:hover {
--muted-text-color: var(--input-action-button-hover);
+ color: var(--input-action-button-hover);
}
.input-group button:focus-visible,
.input-group a:focus-visible {
+ box-shadow: unset;
outline: transparent;
border: transparent;
text-shadow: 0 0 3px var(--input-action-button-hover);
}
+.input-group button:active {
+ background: transparent !important;
+}
+
.input-group a.disabled {
opacity: .5;
/* Workaround to set the "background" property. */