From a6b21a85e57b790e216b7e8ed5154329bf16f820 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 3 May 2020 20:24:32 +0200 Subject: [PATCH] Add more theming changes to dropdowns --- .../stylesheets/overrides/_dropdown.scss | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/overrides/_dropdown.scss b/app/assets/stylesheets/overrides/_dropdown.scss index 8579eabe..5c0d58ce 100644 --- a/app/assets/stylesheets/overrides/_dropdown.scss +++ b/app/assets/stylesheets/overrides/_dropdown.scss @@ -1,4 +1,25 @@ -.dropdown-item.active, .dropdown-item:active { - color: RGB(var(--primary-text)); - background-color: var(--primary); +.dropdown-menu { + color: RGB(var(--body-text)); + background-color: var(--raised-bg); + box-shadow: $box-shadow-lg; + border: none; +} + +.dropdown-item { + color: RGB(var(--body-text)); + + &.active, + &:active, + &:active:hover { + color: RGB(var(--primary-text)); + background-color: var(--primary); + } + + &:hover { + background-color: var(--raised-accent); + } +} + +.dropdown-divider { + border-top: 1px solid var(--raised-accent); } \ No newline at end of file