@@ -641,6 +641,71 @@ body {
641641 opacity : 0.4 !important ;
642642 }
643643
644+ /* Month/Year Views */
645+ .p-dark .p-datepicker-month-view ,
646+ .p-dark .p-datepicker-year-view {
647+ background : var (--gp-surface-dark ) !important ;
648+ }
649+
650+ .p-dark .p-datepicker-month ,
651+ .p-dark .p-datepicker-year {
652+ color : var (--gp-text-primary ) !important ;
653+ border-radius : var (--gp-radius-small ) !important ;
654+ transition : all 0.2s ease !important ;
655+ }
656+
657+ .p-dark .p-datepicker-month : hover ,
658+ .p-dark .p-datepicker-year : hover {
659+ background : var (--gp-surface-light ) !important ;
660+ color : var (--gp-text-primary ) !important ;
661+ }
662+
663+ .p-dark .p-datepicker-month-selected ,
664+ .p-dark .p-datepicker-year-selected {
665+ background : var (--gp-primary ) !important ;
666+ color : white !important ;
667+ font-weight : 600 !important ;
668+ }
669+
670+ .p-dark .p-datepicker-month .p-disabled ,
671+ .p-dark .p-datepicker-year .p-disabled {
672+ color : var (--gp-text-muted ) !important ;
673+ opacity : 0.4 !important ;
674+ }
675+
676+ /* DatePicker Footer Buttons (Today/Clear) */
677+ .p-dark .p-datepicker-buttonbar {
678+ background : var (--gp-surface-dark ) !important ;
679+ border-top : 1px solid var (--gp-border-dark ) !important ;
680+ gap : var (--gp-spacing-xs ) !important ;
681+ }
682+
683+ .p-dark .p-datepicker-today-button ,
684+ .p-dark .p-datepicker-clear-button {
685+ color : var (--gp-text-primary ) !important ;
686+ border : 1px solid var (--gp-border-dark ) !important ;
687+ background : var (--gp-surface-light ) !important ;
688+ border-radius : var (--gp-radius-small ) !important ;
689+ }
690+
691+ .p-dark .p-datepicker-today-button .p-button-label ,
692+ .p-dark .p-datepicker-clear-button .p-button-label {
693+ color : var (--gp-text-primary ) !important ;
694+ }
695+
696+ .p-dark .p-datepicker-today-button : hover ,
697+ .p-dark .p-datepicker-clear-button : hover {
698+ background : color-mix (in srgb, var (--gp-primary ) 20% , var (--gp-surface-light )) !important ;
699+ border-color : var (--gp-primary-light ) !important ;
700+ color : var (--gp-text-primary ) !important ;
701+ }
702+
703+ .p-dark .p-datepicker-today-button : focus-visible ,
704+ .p-dark .p-datepicker-clear-button : focus-visible {
705+ outline : 2px solid var (--gp-primary-light ) !important ;
706+ outline-offset : 1px !important ;
707+ }
708+
644709 .p-dark .p-datepicker-time-picker {
645710 background : var (--gp-surface-dark ) !important ;
646711 border-color : var (--gp-border-dark ) !important ;
@@ -1441,3 +1506,37 @@ html body .p-dark .p-tooltip .p-tooltip-arrow::before {
14411506 box-shadow : 0 0 0 4px color-mix (in srgb, var (--gp-primary ) 14% , transparent);
14421507 transition : box-shadow 0.2s ease, outline-color 0.2s ease;
14431508}
1509+
1510+ .trip-date-range-panel {
1511+ --p-datepicker-date-width : 2.2rem ;
1512+ --p-datepicker-date-height : 2.2rem ;
1513+ width : min (92vw , 22rem ) !important ;
1514+ min-width : min (92vw , 22rem ) !important ;
1515+ max-width : min (92vw , 22rem ) !important ;
1516+ }
1517+
1518+ .trip-date-range-panel .p-datepicker-calendar-container {
1519+ width : 100% !important ;
1520+ }
1521+
1522+ .trip-date-range-panel .p-datepicker-header {
1523+ padding : var (--gp-spacing-sm ) !important ;
1524+ }
1525+
1526+ .trip-date-range-panel .p-datepicker-day ,
1527+ .trip-date-range-panel .p-datepicker-weekday {
1528+ font-size : 0.95rem !important ;
1529+ }
1530+
1531+ .trip-date-range-panel .p-datepicker-month ,
1532+ .trip-date-range-panel .p-datepicker-year {
1533+ padding : 0.35rem 0.45rem !important ;
1534+ }
1535+
1536+ @media (max-width : 640px ) {
1537+ .trip-date-range-panel {
1538+ width : min (92vw , 19rem ) !important ;
1539+ min-width : min (92vw , 19rem ) !important ;
1540+ max-width : min (92vw , 19rem ) !important ;
1541+ }
1542+ }
0 commit comments