Skip to content

Commit 0913b8e

Browse files
committed
Fix for collapsed sidebar filter facets should indicate if a value is selected.
1 parent 77731af commit 0913b8e

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/styles/_bootstrap_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ $warning: #ec9433 !default; // Orange
4040
$danger: #cf4444 !default; // Red
4141
$light: #f8f9fa !default; // As Bootstrap $gray-100
4242
$dark: darken(#2b4e72, 17%) !default; // Blue gray (darker)
43+
$highlightColor: rgba(30, 111, 144, 0.3) !default; // $info color with 0.3 opacity
4344

4445
// Add new semantic colors here (you don't need to add existing semantic colors)
4546
$global-custom-semantic-colors: (

src/styles/_bootstrap_variables_mapping.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191

9292
--bs-border-radius-lg: #{$bs-border-radius-lg};
9393

94+
--bs-highlight-color: #{$highlightColor};
95+
9496
}
9597

9698
// Some Bootstrap CSS variables are tied to classes

src/styles/_global-styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,3 +559,5 @@ ngb-tooltip-window {
559559
// We use underline to discern link from text as we can't make color lighter on a white bg
560560
text-decoration: underline;
561561
}
562+
563+
ds-search-filter .facet-filter:has([type="checkbox"]:checked) { background: var(--bs-highlight-color); }

0 commit comments

Comments
 (0)