From 43794de2ca5c82171f6dbd48d38d38d8077b9be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rinc=C3=B3n=20Blanco?= Date: Sun, 18 Dec 2022 04:44:53 +0100 Subject: [PATCH] Add select colours to ts-dropdown (#4448) * Add select colours to ts-dropdown * Ensure readable colour --- static/styles/themes/dark-theme.scss | 7 ++++++- static/styles/themes/default-theme.scss | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/static/styles/themes/dark-theme.scss b/static/styles/themes/dark-theme.scss index a6c4a51ce..acabb95f0 100644 --- a/static/styles/themes/dark-theme.scss +++ b/static/styles/themes/dark-theme.scss @@ -583,7 +583,12 @@ textarea.form-control { } .active { - background-color: #68688e; + background-color: #68688e !important; + } + + .selected { + background-color: #21525f !important; + color: #dddddd !important; } .optgroup-header { diff --git a/static/styles/themes/default-theme.scss b/static/styles/themes/default-theme.scss index 44e3ad3ab..0f5f98e24 100644 --- a/static/styles/themes/default-theme.scss +++ b/static/styles/themes/default-theme.scss @@ -366,6 +366,10 @@ div.argmenuitem span.argdescription { background-color: #f6f6f6; } +.ts-dropdown .selected { + background-color: #dae0e5; +} + .currentCursorPosition { color: #15a3b9; background-color: darken(rgba(248, 249, 250, 0.85), 3%);