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
1 changed files with 18 additions and 18 deletions

View File

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