2021-11-18 11:22:44 +01:00
|
|
|
// calendar primeng
|
2021-11-18 11:41:23 +01:00
|
|
|
.calendar {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-12-06 12:25:39 +01:00
|
|
|
|
2021-12-09 11:48:42 +01:00
|
|
|
p-calendar,
|
|
|
|
.p-calendar {
|
|
|
|
display: block !important;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 90vw;
|
|
|
|
}
|
2022-02-09 15:56:34 +01:00
|
|
|
|
2021-12-17 17:47:57 +01:00
|
|
|
.p-dialog {
|
|
|
|
.title {
|
|
|
|
color: $primary_color;
|
|
|
|
}
|
|
|
|
}
|
2022-02-09 15:56:34 +01:00
|
|
|
|
2021-11-18 11:22:44 +01:00
|
|
|
.p-datepicker {
|
2022-02-09 15:56:34 +01:00
|
|
|
padding: 0 !important;
|
2021-11-18 11:22:44 +01:00
|
|
|
margin: 1em auto;
|
2021-12-09 11:48:42 +01:00
|
|
|
border: 0;
|
|
|
|
|
|
|
|
tbody,
|
|
|
|
thead,
|
|
|
|
tfoot tr,
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
border: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
|
2022-02-09 15:56:34 +01:00
|
|
|
.p-datepicker-header {
|
|
|
|
padding: 0 !important;
|
|
|
|
button.p-datepicker-prev,
|
|
|
|
button.p-datepicker-next {
|
|
|
|
border: solid 1px $d-primary !important;
|
|
|
|
border-radius: 0.25rem !important;
|
|
|
|
width: 54px !important;
|
|
|
|
height: 54px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-18 11:22:44 +01:00
|
|
|
.p-datepicker-title,
|
|
|
|
.p-datepicker-calendar thead tr th span {
|
2022-02-09 15:56:34 +01:00
|
|
|
color: $d-primary-intense;
|
2021-11-18 11:22:44 +01:00
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
2022-02-09 15:56:34 +01:00
|
|
|
.p-datepicker-calendar thead tr th span {
|
|
|
|
color: $d-primary;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
|
|
|
|
p-button,
|
|
|
|
button {
|
2021-12-06 12:51:37 +01:00
|
|
|
color: $primary_color !important;
|
2021-12-09 11:48:42 +01:00
|
|
|
|
2021-12-06 12:51:37 +01:00
|
|
|
&:hover {
|
|
|
|
color: $white !important;
|
|
|
|
background: $secondary_color !important;
|
|
|
|
border-color: $secondary_color !important;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-buttonbar {
|
|
|
|
margin-top: 0.5em;
|
2021-12-06 12:25:39 +01:00
|
|
|
|
2021-11-18 11:41:23 +01:00
|
|
|
button {
|
2021-12-09 11:48:42 +01:00
|
|
|
min-width: 5em;
|
2021-11-18 11:41:23 +01:00
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-month {
|
|
|
|
margin-right: 1em;
|
2022-02-09 15:56:34 +01:00
|
|
|
color: $d-primary-intense;
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-weeknumber span {
|
2021-12-06 12:51:37 +01:00
|
|
|
border-right: 1px solid $primary_color;
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-today span {
|
|
|
|
font-weight: bold;
|
2021-12-06 12:51:37 +01:00
|
|
|
border: solid 3px $primary_color !important;
|
2021-11-18 11:22:44 +01:00
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
|
2021-12-06 12:25:39 +01:00
|
|
|
.p-datepicker-calendar {
|
2021-12-09 11:48:42 +01:00
|
|
|
td {
|
|
|
|
width: $cell-size;
|
2021-12-14 11:22:23 +01:00
|
|
|
padding: 0.15rem 0.25rem;
|
2021-12-09 11:48:42 +01:00
|
|
|
}
|
|
|
|
|
2021-12-06 12:25:39 +01:00
|
|
|
td span,
|
|
|
|
.p-ripple {
|
2021-12-09 11:48:42 +01:00
|
|
|
margin: 0;
|
2021-12-13 18:39:21 +01:00
|
|
|
padding: 0.25em;
|
2021-12-09 11:48:42 +01:00
|
|
|
width: $cell-size;
|
|
|
|
height: $cell-size;
|
2021-12-06 12:25:39 +01:00
|
|
|
transition: all ease 0.5s;
|
|
|
|
background: $white;
|
2021-12-06 12:51:37 +01:00
|
|
|
border: solid 1px $primary_color;
|
|
|
|
color: $primary_color;
|
2021-11-18 11:22:44 +01:00
|
|
|
|
2021-12-06 12:25:39 +01:00
|
|
|
&:hover {
|
2021-12-06 12:51:37 +01:00
|
|
|
background: $primary_color !important;
|
2021-12-06 12:25:39 +01:00
|
|
|
color: $white;
|
|
|
|
transition: all ease 0.2s;
|
|
|
|
}
|
2022-02-09 15:56:34 +01:00
|
|
|
|
2021-12-21 14:58:31 +01:00
|
|
|
&.p-disabled {
|
|
|
|
@extend .striked-background;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table td > span {
|
|
|
|
border-radius: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-highlight {
|
2021-12-06 12:51:37 +01:00
|
|
|
background: $primary_color !important;
|
2021-11-18 11:22:44 +01:00
|
|
|
color: $white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-disabled {
|
|
|
|
background: $d-grey;
|
|
|
|
color: $grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-other-month {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
// weekend days
|
|
|
|
tr > td {
|
|
|
|
&:nth-of-type(6),
|
|
|
|
&:nth-of-type(7) {
|
|
|
|
//border-left: 1px solid $border-color;
|
|
|
|
background: $bg-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-09 11:48:42 +01:00
|
|
|
|
|
|
|
.p-datepicker-buttonbar {
|
|
|
|
.p-button {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
2022-02-09 15:56:34 +01:00
|
|
|
|
2021-12-09 11:48:42 +01:00
|
|
|
.p-datepicker-header,
|
|
|
|
.p-datepicker .p-datepicker-buttonbar {
|
|
|
|
border: 0 !important;
|
|
|
|
}
|