From e35967ee084a1cba8ed7bc893209bd69200ca3ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 May 2023 16:15:12 +0200 Subject: Fix primeng calendar style --- client/src/sass/primeng-custom.scss | 54 +++---------------------------------- 1 file changed, 3 insertions(+), 51 deletions(-) (limited to 'client') diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index a721663ea..e288a3866 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -302,6 +302,9 @@ body .p-datepicker .p-datepicker-header .p-datepicker-title select:focus { outline-offset: 0; box-shadow: 0 0 0 0.2em pvar(--mainColorLightest); } +body .p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month { + @include margin-right(0.5rem); +} body .p-datepicker table { font-size: 14px; margin: 0.857em 0 0 0; @@ -752,57 +755,6 @@ p-table { } } -// PrimeNG calendar tweaks -p-calendar .p-datepicker { - a { - @include disable-default-a-behaviour; - } - - .p-datepicker-header { - - .p-datepicker-year { - @include margin-left(5px); - } - - .p-datepicker-next { - @include chevron-right-default; - - color: #000 !important; - text-align: end; - - .pi.pi-chevron-right { - display: none !important; - } - } - - .p-datepicker-prev { - @include chevron-left-default; - - color: #000 !important; - text-align: start; - - .pi.pi-chevron-left { - display: none !important; - } - } - } - - .p-timepicker { - - .pi.pi-chevron-up { - @include chevron-up-default; - - color: #000 !important; - } - - .pi.pi-chevron-down { - @include chevron-down-default; - - color: #000 !important; - } - } -} - p-tablecheckbox:hover div .p-checkbox-box { box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2); } -- cgit v1.2.3