@beacon-interactive-systems-llc/beacon-platform-ui 19.2.20 → 19.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles/_fullcalendar.scss +58 -28
- package/styles/_typography.scss +2 -2
package/package.json
CHANGED
|
@@ -12,12 +12,13 @@ $platform_fullcalendar_contrasts: (
|
|
|
12
12
|
fullcalendarOutsideDateLabel: $beacon-gray-300,
|
|
13
13
|
fullcalendarWeekendDateBackground: $beacon-gray-200,
|
|
14
14
|
fullcalendarWeekendDateLabel: $beacon-gray-300,
|
|
15
|
-
fullcalendarTopEventBackground: $beacon-
|
|
15
|
+
fullcalendarTopEventBackground: $beacon-dark-blue-200,
|
|
16
16
|
fullcalendarTopEventAccent: $beacon-cyan-600,
|
|
17
17
|
fullcalendarTopEventList: $beacon-gray-50,
|
|
18
18
|
fullcalendarSubEventBackground: $beacon-orange-100,
|
|
19
19
|
fullcalendarSubEventAccent: $beacon-orange-500,
|
|
20
20
|
fullcalendarSubEventList: $beacon-gray-50,
|
|
21
|
+
fullcalendarEventText: $beacon-black,
|
|
21
22
|
fullcalendarAddButton: $beacon-blue-200,
|
|
22
23
|
fullcalendarAddButtonText: $beacon-white
|
|
23
24
|
),
|
|
@@ -37,9 +38,10 @@ $platform_fullcalendar_contrasts: (
|
|
|
37
38
|
fullcalendarTopEventBackground: $beacon-dark-blue-300,
|
|
38
39
|
fullcalendarTopEventAccent: $beacon-dark-blue-500,
|
|
39
40
|
fullcalendarTopEventList: $beacon-gray-700,
|
|
40
|
-
fullcalendarSubEventBackground: $beacon-orange-
|
|
41
|
+
fullcalendarSubEventBackground: $beacon-orange-200,
|
|
41
42
|
fullcalendarSubEventAccent: $beacon-orange-600,
|
|
42
43
|
fullcalendarSubEventList: $beacon-gray-600,
|
|
44
|
+
fullcalendarEventText: $beacon-black,
|
|
43
45
|
fullcalendarAddButton: $beacon-blue-200,
|
|
44
46
|
fullcalendarAddButtonText: $beacon-gray-300
|
|
45
47
|
),
|
|
@@ -62,6 +64,7 @@ $platform_fullcalendar_contrasts: (
|
|
|
62
64
|
fullcalendarSubEventBackground: $highcontrast-bright-orange-100,
|
|
63
65
|
fullcalendarSubEventAccent: $highcontrast-bright-orange-300,
|
|
64
66
|
fullcalendarSubEventList: $beacon-gray-700,
|
|
67
|
+
fullcalendarEventText: $beacon-black,
|
|
65
68
|
fullcalendarAddButton: $highcontrast-bright-blue-200,
|
|
66
69
|
fullcalendarAddButtonText: $beacon-white
|
|
67
70
|
)
|
|
@@ -154,9 +157,11 @@ $platform_fullcalendar_contrasts: (
|
|
|
154
157
|
}
|
|
155
158
|
|
|
156
159
|
&--label {
|
|
160
|
+
@include font-color--blue;
|
|
157
161
|
@include themify($platform_fullcalendar_contrasts) {
|
|
158
162
|
border: 0.5px solid apply('fullcalendarBorder');
|
|
159
163
|
}
|
|
164
|
+
font-weight: bold;
|
|
160
165
|
padding: 0px 12px;
|
|
161
166
|
}
|
|
162
167
|
|
|
@@ -185,7 +190,7 @@ $platform_fullcalendar_contrasts: (
|
|
|
185
190
|
}
|
|
186
191
|
|
|
187
192
|
// Styling for text header day labels (SUN, MON, etc) and date numbers
|
|
188
|
-
.fc-col-header-cell-cushion, .fc-daygrid-day-number {
|
|
193
|
+
.fc-col-header-cell-cushion, .fc-daygrid-day-number, .fc-timegrid-slot-label-cushion, .fc-timegrid-axis-cushion {
|
|
189
194
|
@include themify($platform_fullcalendar_contrasts) {
|
|
190
195
|
color: apply('fullcalendarDateLabel');
|
|
191
196
|
}
|
|
@@ -202,7 +207,7 @@ $platform_fullcalendar_contrasts: (
|
|
|
202
207
|
}
|
|
203
208
|
|
|
204
209
|
// Style the date boxes
|
|
205
|
-
.fc .fc-daygrid-day {
|
|
210
|
+
.fc .fc-daygrid .fc-daygrid-day {
|
|
206
211
|
height: 116px !important;
|
|
207
212
|
.fc-daygrid-day-frame {
|
|
208
213
|
padding: 8px;
|
|
@@ -278,25 +283,8 @@ $platform_fullcalendar_contrasts: (
|
|
|
278
283
|
margin-bottom: 8px;
|
|
279
284
|
}
|
|
280
285
|
|
|
281
|
-
.fc .fc-event.is-subevent {
|
|
282
|
-
margin-left: 12px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
286
|
.fc-daygrid-event {
|
|
286
|
-
|
|
287
|
-
background: apply('fullcalendarTopEventBackground');
|
|
288
|
-
border: 1px solid apply('fullcalendarTopEventAccent');
|
|
289
|
-
|
|
290
|
-
&.is-subevent {
|
|
291
|
-
background: apply('fullcalendarSubEventBackground');
|
|
292
|
-
border: 1px solid apply('fullcalendarSubEventAccent');
|
|
293
|
-
|
|
294
|
-
span {
|
|
295
|
-
color: $beacon-black;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
padding: 2px 8px;
|
|
287
|
+
min-height: 22px;
|
|
300
288
|
|
|
301
289
|
&:not(.fc-daygrid-block-event) {
|
|
302
290
|
display: flex;
|
|
@@ -317,9 +305,39 @@ $platform_fullcalendar_contrasts: (
|
|
|
317
305
|
top: -6px;
|
|
318
306
|
}
|
|
319
307
|
|
|
308
|
+
.fc-event-main {
|
|
309
|
+
@include themify($platform_fullcalendar_contrasts) {
|
|
310
|
+
color: apply('fullcalendarTopEventAccent');
|
|
311
|
+
}
|
|
312
|
+
display: flex;
|
|
313
|
+
justify-content: space-between;
|
|
314
|
+
font-size: 12px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&.fc-event.is-subevent {
|
|
318
|
+
margin-left: 16px;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.fc-daygrid-event, .fc-timegrid-event {
|
|
323
|
+
@include themify($platform_fullcalendar_contrasts) {
|
|
324
|
+
background: apply('fullcalendarTopEventBackground');
|
|
325
|
+
|
|
326
|
+
&.is-subevent {
|
|
327
|
+
background: apply('fullcalendarSubEventBackground');
|
|
328
|
+
|
|
329
|
+
span {
|
|
330
|
+
color: apply('fullcalendarEventText');
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
border: none;
|
|
335
|
+
border-radius: 5px;
|
|
336
|
+
padding: 2px 8px;
|
|
337
|
+
|
|
320
338
|
span {
|
|
321
339
|
@include themify($platform_fullcalendar_contrasts) {
|
|
322
|
-
color:
|
|
340
|
+
color: apply('fullcalendarEventText');
|
|
323
341
|
}
|
|
324
342
|
font-size: 12px;
|
|
325
343
|
|
|
@@ -331,14 +349,26 @@ $platform_fullcalendar_contrasts: (
|
|
|
331
349
|
justify-self: start;
|
|
332
350
|
}
|
|
333
351
|
}
|
|
352
|
+
}
|
|
334
353
|
|
|
335
|
-
|
|
354
|
+
.fc-timegrid-event {
|
|
355
|
+
box-shadow: none !important;
|
|
356
|
+
margin-right: 4px;
|
|
357
|
+
|
|
358
|
+
.fc-timegrid-slot-label-cushion {
|
|
336
359
|
@include themify($platform_fullcalendar_contrasts) {
|
|
337
|
-
color: apply('
|
|
360
|
+
color: apply('fullcalendarDateLabel');
|
|
338
361
|
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.timegrid-time {
|
|
365
|
+
overflow: hidden;
|
|
366
|
+
text-wrap: nowrap;
|
|
367
|
+
text-overflow: clip;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
&.fc-timegrid-event-short .timegrid-time{
|
|
371
|
+
display: none;
|
|
342
372
|
}
|
|
343
373
|
}
|
|
344
374
|
|
package/styles/_typography.scss
CHANGED
|
@@ -46,8 +46,8 @@ $platform_text_contrasts: (
|
|
|
46
46
|
textDefaultMuted: $beacon-white,
|
|
47
47
|
textDefaultSemiMuted: $beacon-white,
|
|
48
48
|
textDefaultInvert: $beacon-black,
|
|
49
|
-
textBlue: $
|
|
50
|
-
textBlueLight: $
|
|
49
|
+
textBlue: $highcontrast-bright-blue-200,
|
|
50
|
+
textBlueLight: $highcontrast-bright-blue-100,
|
|
51
51
|
textBlueDark: $highcontrast-bright-blue-300,
|
|
52
52
|
textBlueHighlight: $highcontrast-bright-blue-200,
|
|
53
53
|
textBlueDarkHighlight: $beacon-dark-blue-400,
|