|
1 | 1 | .CalendarWidget |
2 | 2 | $backgroundColor: #254763 |
3 | | - $borderColor: #667E91 |
| 3 | + $borderColor: #e1e1e1 |
4 | 4 | $borderSize: 1px |
5 | 5 |
|
6 | 6 | +widget |
|
24 | 24 | background: none |
25 | 25 | border: none |
26 | 26 | font-size: 140% |
27 | | - color: $halfWhite |
| 27 | + color: $thirdWhite |
28 | 28 | outline: none |
29 | 29 | padding: 0 10px |
30 | 30 | &:hover |
31 | 31 | color: $white |
32 | 32 | .Focus |
33 | 33 | font-size: 120% |
34 | 34 | color: $white |
| 35 | + cursor: pointer |
35 | 36 | .Prev |
36 | 37 | float: left |
37 | 38 | .Next |
|
61 | 62 | left: 0 |
62 | 63 | .Day |
63 | 64 | background: white |
64 | | - border: $borderSize solid $borderColor |
65 | | - &.isCurrentMonth |
66 | | - background: lighten($backgroundColor, 69%) |
| 65 | + border-left: $borderSize solid $borderColor |
| 66 | + border-top: $borderSize solid $borderColor |
| 67 | + &:first-child |
| 68 | + border-left: none |
67 | 69 | &.isCurrentWeek |
68 | | - background: lighten($backgroundColor, 61%) |
| 70 | + background: lighten($backgroundColor, 69%) |
69 | 71 | &.isCurrentDay |
70 | 72 | background: lighten($backgroundColor, 50%) |
71 | | - .isCurrentWeek |
72 | | - .BackgroundCells |
73 | | - .Day |
74 | | - border-top: $borderSize*2 solid darken($borderColor, 10%) |
75 | | - border-bottom: $borderSize*2 solid darken($borderColor, 10%) |
76 | | - &:first-child |
77 | | - border-left: $borderSize*2 solid darken($borderColor, 10%) |
78 | | - &:last-child |
79 | | - border-right: $borderSize*2 solid darken($borderColor, 10%) |
80 | 73 |
|
81 | 74 | .LabelCells |
82 | 75 | display: flex |
|
87 | 80 | bottom: 0 |
88 | 81 | left: 0 |
89 | 82 | .Labels |
90 | | - padding: 5px |
| 83 | + padding: 2px |
91 | 84 | text-align: left |
92 | 85 | .CalendarWeek |
93 | 86 | color: $halfBlack |
94 | 87 | .Date |
95 | 88 | float: right |
| 89 | + padding: 1px 7px |
| 90 | + &.isCurrentDay |
| 91 | + background: $backgroundColor |
| 92 | + color: $white |
| 93 | + border-radius: 20px |
96 | 94 | .Day-1 |
97 | 95 | font-weight: bold |
98 | 96 |
|
99 | 97 | .WeekEvents |
100 | 98 | display: flex |
101 | 99 | flex-direction: column |
102 | 100 | position: absolute |
103 | | - top: 20px |
| 101 | + top: 22px |
104 | 102 | right: 0 |
105 | 103 | bottom: 0 |
106 | 104 | left: 0 |
|
111 | 109 |
|
112 | 110 | .Event |
113 | 111 | background: $backgroundColor |
114 | | - color: $white |
| 112 | + color: $black |
115 | 113 | margin: 1px 2px |
116 | | - padding: 1px 5px |
| 114 | + padding: 1px 8px |
117 | 115 | overflow: hidden |
118 | 116 | text-overflow: ellipsis |
119 | 117 | white-space: nowrap |
| 118 | + text-align: left |
| 119 | + border-color: darken($backgroundColor, 15%) |
| 120 | + border-style: solid |
| 121 | + border-left-width: 0 |
| 122 | + border-right-width: 0 |
| 123 | + border-top-width: 1px |
| 124 | + border-bottom-width: 1px |
120 | 125 |
|
121 | 126 | &.isStarted |
122 | | - border-top-left-radius: 5px |
123 | | - border-bottom-left-radius: 5px |
| 127 | + border-top-left-radius: 8px |
| 128 | + border-bottom-left-radius: 8px |
| 129 | + border-left-width: 1px |
124 | 130 | &.isEnded |
125 | | - border-top-right-radius: 5px |
126 | | - border-bottom-right-radius: 5px |
127 | | - &.isUnconfirmed |
128 | | - $unconfirmedBorderSize: 2px |
129 | | - padding: 1px-$unconfirmedBorderSize 5px-$unconfirmedBorderSize |
130 | | - border-top-style: solid |
131 | | - border-top-width: $unconfirmedBorderSize |
132 | | - border-bottom-style: solid |
133 | | - border-bottom-width: $unconfirmedBorderSize |
134 | | - &.isStarted |
135 | | - border-left-style: solid |
136 | | - border-left-width: $unconfirmedBorderSize |
137 | | - &.isEnded |
138 | | - border-right-style: solid |
139 | | - border-right-width: $unconfirmedBorderSize |
| 131 | + border-top-right-radius: 8px |
| 132 | + border-bottom-right-radius: 8px |
| 133 | + border-right-width: 1px |
0 commit comments