calendar style and colours

This commit is contained in:
Tykayn 2021-11-17 15:31:09 +01:00 committed by tykayn
parent 5b1b173b7b
commit 794bbec1a7

View File

@ -270,49 +270,49 @@ mat-checkbox {
padding: 0.5em;
margin: 1em auto;
p-button,
button {
border: solid 1px $primary_color;
border: solid 1px $secondary_color !important;
color: $secondary_color !important;
}
.p-datepicker-buttonbar {
margin-top: 0.5em;
}
.pi-chevron-left:after {
content: '<';
}
.pi-chevron-right:after {
content: '>';
}
.p-datepicker-month {
margin-right: 1em;
}
.p-datepicker-weeknumber span {
border-right: 1px solid $legend_color;
border-right: 1px solid $secondary_color;
}
.p-datepicker-today span {
.p-datepicker-today td span {
font-weight: bold;
border: solid 1px $legend_color;
border: solid 3px $secondary_color;
background: $white;
}
.p-datepicker-calendar td span {
padding: 1em;
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, $legend_color);
background: mix($white, $secondary_color);
color: $white;
transition: all ease 0.2s;
}
}
table td > span {
border-radius: 0.25em;
}
.p-highlight {
background: $legend_color;
color: $white;
border-radius: 100%;
background: $secondary_color !important;
color: $white !important;
}
.p-disabled {
background: $d-grey;
@ -326,7 +326,7 @@ mat-checkbox {
&:nth-of-type(6),
&:nth-of-type(7) {
//border-left: 1px solid $border-color;
background: $grey;
background: $grey-lighter;
}
}
}