Browse Source

Fix primeng calendar style

develop
Chocobozzz 4 days ago
parent
commit
e35967ee08
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 51 deletions
  1. +3
    -51
      client/src/sass/primeng-custom.scss

+ 3
- 51
client/src/sass/primeng-custom.scss View File

@@ -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);
}


Loading…
Cancel
Save