2021-11-18 11:22:44 +01:00
|
|
|
// calendar primeng
|
2021-11-18 11:41:23 +01:00
|
|
|
.calendar {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
.p-datepicker {
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 1em auto;
|
|
|
|
|
|
|
|
.p-datepicker-title,
|
|
|
|
.p-datepicker-calendar thead tr th span {
|
|
|
|
color: $secondary_color !important;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
p-button,
|
|
|
|
button {
|
|
|
|
border: solid 1px $secondary_color !important;
|
|
|
|
color: $secondary_color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-buttonbar {
|
|
|
|
margin-top: 0.5em;
|
2021-11-18 11:41:23 +01:00
|
|
|
button {
|
|
|
|
min-width: 15em;
|
|
|
|
}
|
2021-11-18 11:22:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-month {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-weeknumber span {
|
|
|
|
border-right: 1px solid $secondary_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-today span {
|
|
|
|
font-weight: bold;
|
|
|
|
border: solid 3px $secondary_color !important;
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-datepicker-calendar td span {
|
|
|
|
padding: 1.5em 0.5em;
|
|
|
|
width: 3.5em;
|
|
|
|
transition: all ease 0.5s;
|
|
|
|
background: $white;
|
|
|
|
border: solid 1px $secondary_color;
|
|
|
|
color: $secondary_color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: mix($white, $secondary_color);
|
|
|
|
color: $white;
|
|
|
|
transition: all ease 0.2s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table td > span {
|
|
|
|
border-radius: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-highlight {
|
|
|
|
background: $secondary_color !important;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|