Skip to content

Commit

Permalink
fix(datepicker): fix background color of hover & focus
Browse files Browse the repository at this point in the history
  • Loading branch information
skhamvon authored and dpellier committed Jul 29, 2024
1 parent 39d4592 commit 2b0cf28
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $ods-datepicker-clearable-button-size: input.$ods-input-actions-button-width;
color: var(--ods-color-primary-500);

&:not(.selected):hover {
background-color: var(--ods-color-primary-200);
background-color: var(--ods-color-primary-100);
}
}

Expand All @@ -27,7 +27,7 @@ $ods-datepicker-clearable-button-size: input.$ods-input-actions-button-width;

z-index: 1;
outline-offset: 0;
background-color: inherit;
background-color: var(--ods-color-primary-100);
}

&.selected {
Expand Down Expand Up @@ -142,7 +142,7 @@ $ods-datepicker-clearable-button-size: input.$ods-input-actions-button-width;
color: var(--ods-color-primary-500);

&:hover {
background-color: var(--ods-color-primary-200);
background-color: var(--ods-color-primary-100);
}
}

Expand Down Expand Up @@ -216,7 +216,7 @@ $ods-datepicker-clearable-button-size: input.$ods-input-actions-button-width;
content: '';
}

&:not(.selected) {
&:not(.focused, .selected) {
background-color: inherit;
}
}
Expand Down

0 comments on commit 2b0cf28

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy