... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
// Variables for colors and sizes |
2 | 2 |
$border-color: #ddd; |
3 |
-$event-bg-color: #2591ad, #b61b56; |
|
3 |
+$event-bg-color: #265573, #a7e4f2, #f2811d, #f24607, #a62508; |
|
4 | 4 |
$event-border-color: darken(nth($event-bg-color,1),20%); |
5 | 5 |
$event-border-width: 1px; |
6 |
-$event-color: #fff; |
|
6 |
+$event-color: #fff, #000, #fff, #fff, #fff; |
|
7 | 7 |
$hour-line-color: #999; |
8 | 8 |
$column-line-color: #e9e9e9; |
9 | 9 |
$time-color: #666; |
... | ... |
@@ -127,7 +127,7 @@ $row-amount: 96; |
127 | 127 |
@include animate-zoom; |
128 | 128 |
|
129 | 129 |
&:nth-child(even) { |
130 |
- background-color: #f6f6ff; |
|
130 |
+ background-color: #f7f7f7; |
|
131 | 131 |
} |
132 | 132 |
|
133 | 133 |
.cell-placeholder { |
... | ... |
@@ -159,25 +159,34 @@ $row-amount: 96; |
159 | 159 |
box-sizing: border-box; |
160 | 160 |
border-radius: 5px; |
161 | 161 |
background-color: nth($event-bg-color, 1); |
162 |
- border: $event-border-color $event-border-width solid; |
|
162 |
+ border: darken(nth($event-bg-color,1),20%) $event-border-width solid; |
|
163 | 163 |
padding: 3px; |
164 |
- color: $event-color; |
|
164 |
+ color: nth($event-color, 1); |
|
165 | 165 |
font-size: 12px; |
166 |
- display: flex; |
|
166 |
+ //display: flex; |
|
167 | 167 |
} |
168 | 168 |
.event-title { |
169 |
+ margin: -3px -3px 5px; |
|
170 |
+ padding: 0 3px; |
|
169 | 171 |
white-space: normal; |
170 | 172 |
overflow-wrap: break-word; |
171 | 173 |
word-wrap: break-word; |
172 |
- &:after { |
|
174 |
+ /*&:after { |
|
173 | 175 |
content: ","; |
174 | 176 |
margin-inline-end: 4px; |
175 |
- } |
|
177 |
+ }*/ |
|
176 | 178 |
} |
177 | 179 |
|
178 | 180 |
@for $i from 1 through length($event-bg-color) { |
179 | 181 |
&:nth-child(#{length($event-bg-color)}n+#{$i}) .event-cell { |
180 |
- background: nth($event-bg-color, $i) |
|
182 |
+ background: lighten(nth($event-bg-color, $i), 15%); |
|
183 |
+ border-color: darken(nth($event-bg-color,$i),20%); |
|
184 |
+ color: nth($event-color,$i); |
|
185 |
+ |
|
186 |
+ .event-title { |
|
187 |
+ background: nth($event-bg-color, $i); |
|
188 |
+ |
|
189 |
+ } |
|
181 | 190 |
} |
182 | 191 |
} |
183 | 192 |
} |