From af7ff17f8d6265e46e72938a21ae8aaa2ec4ece4 Mon Sep 17 00:00:00 2001 From: Denys Mishunov <dmishunov@gitlab.com> Date: Thu, 27 May 2021 13:20:55 +0200 Subject: [PATCH] Split-styling top items with and without subitems --- .../contextual_sidebar_variant.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/framework/contextual_sidebar_refactoring/contextual_sidebar_variant.scss b/app/assets/stylesheets/framework/contextual_sidebar_refactoring/contextual_sidebar_variant.scss index 04b97b2acd77..d8c079f6e633 100644 --- a/app/assets/stylesheets/framework/contextual_sidebar_refactoring/contextual_sidebar_variant.scss +++ b/app/assets/stylesheets/framework/contextual_sidebar_refactoring/contextual_sidebar_variant.scss @@ -210,9 +210,12 @@ &.active { > a { - background-color: $indigo-900-alpha-008; font-weight: $gl-font-weight-bold; } + + > a:not(.has-sub-items) { + background-color: $indigo-900-alpha-008; + } } } -- GitLab