Skip to content

A platform for community discussion. Free, open, simple.

UX: add active highlight for breadcrumb navigation (#27422)

chapoidc2be1a9bd83
diff --git a/app/assets/stylesheets/common/select-kit/category-drop.scss b/app/assets/stylesheets/common/select-kit/category-drop.scss
index cfdae176144..84e767303ef 100644
--- a/app/assets/stylesheets/common/select-kit/category-drop.scss
+++ b/app/assets/stylesheets/common/select-kit/category-drop.scss
@@ -19,6 +19,13 @@
}
}
+ &.has-selection {
+ .category-drop-header {
+ color: var(--quaternary);
+ border-color: var(--quaternary);
+ }
+ }
+
.select-kit-row {
flex-direction: column;
align-items: flex-start;
diff --git a/app/assets/stylesheets/common/select-kit/tag-drop.scss b/app/assets/stylesheets/common/select-kit/tag-drop.scss
index e295d9ddb71..d5b412fcf6f 100644
--- a/app/assets/stylesheets/common/select-kit/tag-drop.scss
+++ b/app/assets/stylesheets/common/select-kit/tag-drop.scss
@@ -14,6 +14,13 @@
.tag-drop-header {
color: var(--primary-high);
}
+
+ &.has-selection {
+ .tag-drop-header {
+ color: var(--quaternary);
+ border-color: var(--quaternary);
+ }
+ }
}
}
}