From 794bbec1a7e4da22b68d6c19ec0a7bac962d7b29 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Wed, 17 Nov 2021 15:31:09 +0100 Subject: [PATCH] calendar style and colours --- src/styles/partials/_forms.scss | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/styles/partials/_forms.scss b/src/styles/partials/_forms.scss index 0f25d68f..92fa17fc 100644 --- a/src/styles/partials/_forms.scss +++ b/src/styles/partials/_forms.scss @@ -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; } } }