@@ -39,6 +39,7 @@ input.vfc-single-input {
39
39
background-color : $mirage
40
40
}
41
41
}
42
+
42
43
.vfc-single-input {
43
44
border-color : $astronaut ;
44
45
background-color : $mirage
@@ -60,65 +61,98 @@ input.vfc-single-input {
60
61
}
61
62
62
63
.vfc-months-container {
63
- height : 100% ;
64
64
display : flex ;
65
- flex-direction : column ;
65
+ flex-direction : row ;
66
+ justify-content : center ;
66
67
67
- .vfc-navigation-buttons {
68
- .vfc-top-date {
69
- text-align : center ;
70
- font-size : 21px ;
71
- font-weight : bold ;
72
- margin : 0 ;
68
+ .vfc-content {
69
+ width : 45% ;
70
+ height : 50% ;
71
+ position : absolute ;
72
+ z-index : 1000 ;
73
+ background-color : $licorice ;
74
+ border : 1px solid ;
75
+ border-radius : 5px ;
76
+ top : 55px ;
77
+ color : $white ;
78
+ padding : 5px 0 ;
73
79
80
+ .vfc-navigation-buttons {
74
81
div {
75
- margin : 20px 20px ;
76
- }
82
+ margin : 10px 10px ;
77
83
84
+ .vfc-arrow-left , .vfc-arrow-right {
85
+ border-color : $white ;
86
+ width : 8px ;
87
+ height : 8px ;
88
+ cursor : pointer ;
78
89
79
- & .vfc-underline {
80
- cursor : pointer ;
81
- text-decoration : underline dotted #66b3cc ;
90
+ & :hover {
91
+ border-color : $pictionBlue ;
92
+ }
93
+ }
82
94
}
83
- }
84
- }
85
95
86
- .vfc-months {
87
- flex : 1 1 75% ;
88
- padding : 0 ;
89
- display : flex ;
90
- flex-wrap : wrap ;
91
- justify-content : space-between ;
96
+ .vfc-top-date {
97
+ text-align : center ;
98
+ font-size : 18px ;
99
+ font-weight : bold ;
100
+ margin : 0 ;
101
+ display : flex ;
102
+ flex-direction : row ;
103
+ justify-content : center ;
104
+
105
+ .vfc-popover-caret {
106
+ content : " " ;
107
+ position : absolute ;
108
+ display : block ;
109
+ width : 12px ;
110
+ height : 12px ;
111
+ border-top : inherit ;
112
+ border-left : inherit ;
113
+ background : inherit ;
114
+ z-index : -1 ;
115
+ background-color : $licorice ;
116
+ transform : translateY (-40% ) rotate (45deg );
117
+ top : 0 ;
118
+ }
92
119
93
- div .vfc-item {
94
- border-top : 1px solid #d4d4d4 ;
95
- flex : 1 ;
96
- flex-basis : 30% ;
97
- // height: 69px;
98
- display : flex ;
99
- justify-content : center ;
100
- flex-direction : column ;
101
- text-align : center ;
102
- outline-style : none ;
103
120
104
- & :hover {
105
- background-color : rgba ( 113 , 113 , 113 , 0.3 ) ;
106
- transition : background-color 0.2 s ease-in-out ;
107
- cursor : pointer ;
121
+ & .vfc-underline {
122
+ cursor : pointer ;
123
+ text-decoration : underline dotted $royalblue ;
124
+ }
108
125
}
126
+ }
109
127
110
- & .vfc-selected {
111
- background-color : #66b3cc ;
112
- color : #fff ;
113
- text-shadow : 0 -1px 0 rgba (0 , 0 , 0 , 0.25 );
114
- font-weight : 700 ;
128
+ .vfc-months {
129
+ flex : 1 1 75% ;
130
+ padding : 0 ;
131
+ display : flex ;
132
+ flex-wrap : wrap ;
133
+ justify-content : space-between ;
115
134
116
- & :nth-last-child (3 ) {
117
- border-radius : 0 0 0 5px ;
135
+ div .vfc-item {
136
+ flex : 1 ;
137
+ flex-basis : 30% ;
138
+ margin : 3px ;
139
+ display : flex ;
140
+ justify-content : center ;
141
+ flex-direction : column ;
142
+ text-align : center ;
143
+ outline-style : none ;
144
+ border-radius : 5px ;
145
+
146
+ & :hover {
147
+ background-color : rgba (113 , 113 , 113 , 0.3 );
148
+ transition : background-color 0.2s ease-in-out ;
149
+ cursor : pointer ;
118
150
}
119
151
120
- & :last-child {
121
- border-radius : 0 0 5px ;
152
+ & .vfc-selected {
153
+ background-color : $pictionBlue ;
154
+ color : #fff ;
155
+ text-shadow : 0 -1px 0 rgba (0 , 0 , 0 , 0.25 );
122
156
}
123
157
}
124
158
}
@@ -389,13 +423,23 @@ input.vfc-single-input {
389
423
font-size : 18px ;
390
424
font-weight : normal ;
391
425
392
- & .vfc-cursor-pointer {
393
- cursor : pointer ;
394
- }
426
+ a {
427
+ text-decoration : unset ;
428
+ margin : 0 2px ;
429
+ color : $black ;
395
430
396
- & .vfc-underline {
397
- cursor : pointer ;
398
- text-decoration : underline #66b3cc ;
431
+ & .vfc-cursor-pointer {
432
+ cursor : pointer ;
433
+ }
434
+
435
+ & .vfc-underline {
436
+ cursor : pointer ;
437
+ text-decoration : underline $royalblue ;
438
+
439
+ & .vfc-underline-active {
440
+ text-decoration-color : $black ;
441
+ }
442
+ }
399
443
}
400
444
}
401
445
}
@@ -613,10 +657,6 @@ input.vfc-single-input {
613
657
& .vfc-dark {
614
658
background-color : $mirage ;
615
659
616
- .vfc-top-date {
617
- color : $white
618
- }
619
-
620
660
.vfc-navigation-buttons {
621
661
div {
622
662
.vfc-arrow-right , .vfc-arrow-left {
@@ -636,8 +676,16 @@ input.vfc-single-input {
636
676
& .vfc-content {
637
677
h2 {
638
678
& .vfc-top-date {
639
- & .vfc-underline {
640
- text-decoration : underline $pictionBlue ;
679
+ a {
680
+ color : $white ;
681
+
682
+ & .vfc-underline {
683
+ text-decoration : underline $pictionBlue ;
684
+
685
+ & .vfc-underline-active {
686
+ text-decoration-color : $white ;
687
+ }
688
+ }
641
689
}
642
690
}
643
691
}
@@ -711,26 +759,39 @@ input.vfc-single-input {
711
759
712
760
713
761
.vfc-months-container {
714
- .vfc-navigation-buttons {
715
- .vfc-top-date {
716
- & .vfc-underline {
717
- text-decoration : underline dotted #66b3cc ;
762
+ .vfc-content {
763
+ background-color : $white ;
764
+
765
+ .vfc-navigation-buttons {
766
+ .vfc-arrow-left , .vfc-arrow-right {
767
+ border-color : $black ;
718
768
}
719
- }
720
- }
721
769
722
- .vfc-months {
723
- div .vfc-item {
724
- color : $white ;
725
- border-top : 1px solid #d4d4d4 ;
770
+ .vfc-top-date {
771
+ color : $black ;
726
772
727
- & :hover {
728
- background-color : rgba (113 , 113 , 113 , 0.3 );
773
+ .vfc-popover-caret {
774
+ background-color : $white ;
775
+ }
776
+
777
+ & .vfc-underline {
778
+ text-decoration : underline dotted #66b3cc ;
779
+ }
729
780
}
781
+ }
730
782
731
- & .vfc-selected {
732
- background-color : $pictionBlue ;
733
- color : #fff ;
783
+ .vfc-months {
784
+ div .vfc-item {
785
+ color : $black ;
786
+
787
+ & :hover {
788
+ background-color : rgba (113 , 113 , 113 , 0.3 );
789
+ }
790
+
791
+ & .vfc-selected {
792
+ background-color : $pictionBlue ;
793
+ color : #fff ;
794
+ }
734
795
}
735
796
}
736
797
}
0 commit comments