Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/core/auth/auth.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ describe('AuthService test', () => {
beforeEach(() => {
mockStore = TestBed.inject(MockStore);
authService = TestBed.inject(AuthService);
mockStore.overrideSelector(getAuthenticationToken, token);
mockStore.overrideSelector(isAuthenticated, true);
mockStore.refreshState();
storage = (authService as any).storage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@if (active$ | async) {
<div class="facet-filter d-block mb-3 p-3"
[class.filter-active]="(appliedFilters$ | async)?.length > 0"
[id]="regionId" [attr.aria-labelledby]="toggleId" [ngClass]="{ 'focus': focusBox }" role="region">
<button (click)="toggle()" (focusin)="focusBox = true" (focusout)="focusBox = false"
class="filter-name d-flex" [attr.aria-controls]="regionId" [id]="toggleId"
Expand Down
1 change: 1 addition & 0 deletions src/styles/_bootstrap_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ $warning: #ec9433 !default; // Orange
$danger: #cf4444 !default; // Red
$light: #f8f9fa !default; // As Bootstrap $gray-100
$dark: darken(#2b4e72, 17%) !default; // Blue gray (darker)
$highlightColor: rgba(30, 111, 144, 0.3) !default; // $info color with 0.3 opacity

// Add new semantic colors here (you don't need to add existing semantic colors)
$global-custom-semantic-colors: (
Expand Down
2 changes: 2 additions & 0 deletions src/styles/_bootstrap_variables_mapping.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@

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

--bs-highlight-color: #{$highlightColor};

}

// Some Bootstrap CSS variables are tied to classes
Expand Down
2 changes: 2 additions & 0 deletions src/styles/_global-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -573,3 +573,5 @@ ngb-tooltip-window {
mask-size: contain;
background-color: currentColor;
}

ds-search-filter .facet-filter.filter-active { background-color: var(--bs-highlight-color); }