From 6f1fcab2d81caedd96d9404386bc92f9884c30ce Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Fri, 30 Mar 2018 20:56:33 +0200 Subject: Bug 1363672 - Add step support to date picker --- toolkit/themes/shared/datetimeinputpickers.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'toolkit/themes') diff --git a/toolkit/themes/shared/datetimeinputpickers.css b/toolkit/themes/shared/datetimeinputpickers.css index a0c046f6f..42f2bc517 100644 --- a/toolkit/themes/shared/datetimeinputpickers.css +++ b/toolkit/themes/shared/datetimeinputpickers.css @@ -232,12 +232,14 @@ button.month-year.active::after { color: var(--weekend-outside-font-color); } -.days-view > .out-of-range { +.days-view > .out-of-range, +.days-view > .off-step { color: var(--weekday-disabled-font-color); background: var(--disabled-fill-color); } -.days-view > .out-of-range.weekend { +.days-view > .out-of-range.weekend, +.days-view > .off-step.weekend { color: var(--weekend-disabled-font-color); } @@ -245,7 +247,8 @@ button.month-year.active::after { font-weight: bold; } -.days-view > .out-of-range::before { +.days-view > .out-of-range::before, +.days-view > .off-step::before { display: none; } @@ -341,7 +344,7 @@ button.month-year.active::after { } .spinner-container > .spinner:not(.scrolling) > div.selection, -.calendar-container .days-view > div.selection:not(.out-of-range) { +.calendar-container .days-view > div.selection { color: var(--selected-font-color); } -- cgit v1.2.3