From 0bcfb7922abfcc02f792e33a1066b7da6781c307 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Tue, 4 Feb 2025 22:13:18 +0100 Subject: [PATCH] fix(NcDateTimePicker): selected time is not readable Signed-off-by: Grigorii K. Shartsev --- src/components/NcDateTimePicker/index.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/NcDateTimePicker/index.scss b/src/components/NcDateTimePicker/index.scss index b2e82008c9..a1ca85ecaa 100644 --- a/src/components/NcDateTimePicker/index.scss +++ b/src/components/NcDateTimePicker/index.scss @@ -413,11 +413,16 @@ .mx-time-option, .mx-time-item { - &.active, - &:hover { + &.active { + background-color: var(--color-primary-element); color: var(--color-primary-element-text); } + &:hover { + background-color: var(--color-background-hover); + color: var(--color-main-text); + } + &.disabled { cursor: not-allowed; opacity: $opacity_disabled;