Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(next): tweak the group header for combo box items
Adorian Dorancb65591004ed
diff --git a/src/public/stylesheets/theme-next-dark.css b/src/public/stylesheets/theme-next-dark.cssindex 60da7cdce7..e2813cd124 100644--- a/src/public/stylesheets/theme-next-dark.css+++ b/src/public/stylesheets/theme-next-dark.css@@ -50,6 +50,7 @@--select-focus-text-color: var(--input-text-color);--select-dropdown-text-color: var(--input-text-color);--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");+ --select-group-heading-text-color: gray;--hover-item-text-color: #efefef;--hover-item-background-color: #ffffff24;diff --git a/src/public/stylesheets/theme-next-light.css b/src/public/stylesheets/theme-next-light.cssindex 20b0a461b7..424be79ae2 100644--- a/src/public/stylesheets/theme-next-light.css+++ b/src/public/stylesheets/theme-next-light.css@@ -50,6 +50,7 @@--select-focus-text-color: var(--input-text-color);--select-dropdown-text-color: var(--input-text-color);--select-arrow-svg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='transparent' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");+ --select-group-heading-text-color: gray;--hover-item-text-color: black;--hover-item-background-color: #0000001a;diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.cssindex 010f685e4c..9102d54de9 100644--- a/src/public/stylesheets/theme-next/forms.css+++ b/src/public/stylesheets/theme-next/forms.css@@ -152,4 +152,12 @@ select:focus, select.form-select:focus {option {color: var(--select-dropdown-text-color);+}++optgroup {+ color: var(--select-group-heading-text-color);+ font-size: .75em;+ font-weight: normal;+ font-style: normal;+ line-height: 40px;}\ No newline at end of file