From 99cf091774f7a2aa879579d1f8d52535786c3c58 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 29 Mar 2018 15:20:47 +0200 Subject: [PATCH] FIX: do not lighten color when no selection for cat and tag drops --- app/assets/stylesheets/common/select-kit/category-drop.scss | 4 ++++ app/assets/stylesheets/common/select-kit/tag-drop.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/assets/stylesheets/common/select-kit/category-drop.scss b/app/assets/stylesheets/common/select-kit/category-drop.scss index 201ce200b5d..70f21e78145 100644 --- a/app/assets/stylesheets/common/select-kit/category-drop.scss +++ b/app/assets/stylesheets/common/select-kit/category-drop.scss @@ -40,6 +40,10 @@ font-size: $font-0; transition: none; + &.is-none .selected-name { + color: inherit; + } + .badge-wrapper { margin-right: 0; } diff --git a/app/assets/stylesheets/common/select-kit/tag-drop.scss b/app/assets/stylesheets/common/select-kit/tag-drop.scss index 48c114f3031..566cf296fdd 100644 --- a/app/assets/stylesheets/common/select-kit/tag-drop.scss +++ b/app/assets/stylesheets/common/select-kit/tag-drop.scss @@ -11,6 +11,10 @@ font-size: $font-0; transition: none; + &.is-none .selected-name { + color: inherit; + } + .d-icon { opacity: 1; font-size: $font-0;