Add a drop shadow for menus

This commit is contained in:
Adorian Doran
2024-11-19 22:55:44 +02:00
parent 9b5526c99f
commit 4bcca01ff3
3 changed files with 4 additions and 2 deletions

View File

@@ -237,6 +237,7 @@ div.ui-tooltip {
color: var(--menu-text-color) !important;
background-color: var(--menu-background-color) !important;
font-size: inherit;
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
}
.dropdown-menu .disabled {
@@ -1236,5 +1237,4 @@ textarea {
.jump-to-note-results .aa-suggestions {
padding: 1rem;
}
}

View File

@@ -17,6 +17,7 @@
--main-text-color: #ccc;
--main-border-color: #aaa;
--dropdown-border-color: #555;
--dropdown-shadow-opacity: .4;
--accented-background-color: #555;
--more-accented-background-color: #777;

View File

@@ -21,6 +21,7 @@ html {
--main-text-color: black;
--main-border-color: #ccc;
--dropdown-border-color: #ccc;
--dropdown-shadow-opacity: .2;
--accented-background-color: #f5f5f5;
--more-accented-background-color: #ddd;