+
-
+
-
@@ -210,20 +238,6 @@ export default {
border: 1px solid $blue;
}
}
- .nav-back {
- grid-area: 1 / 6 / 2 / 7;
- display: flex;
- justify-content: flex-end;
- button {
- &:after {
- content: "";
- position: absolute;
- width: 7px;
- height: 12px;
- background-image: url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.331685 6.00121C0.330445 5.82446 0.399256 5.65442 0.523053 5.52832L5.84499 0.198256C5.97188 0.0713149 6.14397 -8.63821e-08 6.32341 -6.72174e-08C6.50285 -4.80527e-08 6.67495 0.071315 6.80183 0.198256C6.92872 0.325198 7 0.497368 7 0.67689C7 0.856412 6.92872 1.02858 6.80183 1.15552L1.94874 6.00121L6.80183 10.8526C6.92745 10.9796 6.99751 11.1512 6.99662 11.3299C6.99572 11.5085 6.92393 11.6794 6.79705 11.8051C6.67016 11.9308 6.49857 12.0009 6.32003 12C6.14148 11.9991 5.97061 11.9273 5.84499 11.8003L0.526881 6.47601C0.401568 6.34983 0.331375 6.17908 0.331685 6.00121Z' fill='%231574A1'/%3E%3C/svg%3E%0A");
- }
- }
- }
.nav-forward {
grid-area: 1 / 7 / 2 / 8;
display: flex;
@@ -238,7 +252,20 @@ export default {
}
}
}
-
+ .nav-back {
+ grid-area: 1 / 6 / 2 / 7;
+ display: flex;
+ justify-content: flex-end;
+ button {
+ &:after {
+ content: "";
+ position: absolute;
+ width: 7px;
+ height: 12px;
+ background-image: url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.331685 6.00121C0.330445 5.82446 0.399256 5.65442 0.523053 5.52832L5.84499 0.198256C5.97188 0.0713149 6.14397 -8.63821e-08 6.32341 -6.72174e-08C6.50285 -4.80527e-08 6.67495 0.071315 6.80183 0.198256C6.92872 0.325198 7 0.497368 7 0.67689C7 0.856412 6.92872 1.02858 6.80183 1.15552L1.94874 6.00121L6.80183 10.8526C6.92745 10.9796 6.99751 11.1512 6.99662 11.3299C6.99572 11.5085 6.92393 11.6794 6.79705 11.8051C6.67016 11.9308 6.49857 12.0009 6.32003 12C6.14148 11.9991 5.97061 11.9273 5.84499 11.8003L0.526881 6.47601C0.401568 6.34983 0.331375 6.17908 0.331685 6.00121Z' fill='%231574A1'/%3E%3C/svg%3E%0A");
+ }
+ }
+ }
.nav-back,
.nav-forward {
button {
@@ -295,11 +322,15 @@ export default {
}
}
&:checked + label {
- color: $blue;
- //font-weight: 500;
- box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px #1574a1;
- background-color: $blue;
color: $white;
+ background: $blue;
+ box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $blue;
+ &:after {
+ background-color: $white;
+ }
+ + .first-of-month {
+ color: $white;
+ }
}
&:checked + label p,
&:checked + label span {
@@ -333,7 +364,7 @@ export default {
pointer-events: none;
}
- &.highlighted-day {
+ &.selectable-day {
color: $blue;
background-color: $blue-100;
border: 1px solid $blue;
@@ -352,13 +383,9 @@ export default {
}
&.future-day {
-
- }
-
- &.selectable-day {
- &:hover {
- cursor: pointer;
- }
+ color: $gray-550;
+ background-color: transparent;
+ border: 1px solid transparent;
}
span {
@@ -368,14 +395,22 @@ export default {
}
}
- &:hover {
+ &:hover,
+ &:checked {
@include media-breakpoint-up(sm) {
box-shadow: 0 0 0 4px transparent;
background-color: $blue;
color: $white;
+ &:after {
+ background-color: $white;
+ }
}
cursor: pointer;
+ + .first-of-month {
+ color: $white;
+ }
}
+
+ p {
display: none;
}