@beacon-interactive-systems-llc/beacon-platform-ui 19.1.4 → 19.1.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beacon-interactive-systems-llc/beacon-platform-ui",
3
- "version": "19.1.4",
3
+ "version": "19.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
@@ -0,0 +1,138 @@
1
+ $platform_charts_contrasts: (
2
+ light: (
3
+ toolbar: $beacon-white,
4
+ toolbarText: $beacon-black,
5
+ toolbarShadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.12),
6
+ filterChip: $beacon-green-100,
7
+ filterChipText: $beacon-black,
8
+ chartText: $beacon-black,
9
+ ),
10
+ dark: (
11
+ toolbar: $beacon-gray-700,
12
+ toolbarText: $beacon-gray-200,
13
+ toolbarShadow: none,
14
+ filterChip: $beacon-dark-blue-400,
15
+ filterChipText: $beacon-gray-300,
16
+ chartText: $beacon-gray-200,
17
+ ),
18
+ highcontrast: (
19
+ toolbar: $beacon-black,
20
+ toolbarText: $beacon-white,
21
+ toolbarShadow: none,
22
+ filterChip: $highcontrast-bright-green-300,
23
+ filterChipText: $beacon-black,
24
+ chartText: $beacon-white,
25
+ )
26
+ );
27
+
28
+ // Make colors available that will need to be accessed directly in an app
29
+ :root {
30
+ --primary-chart-light: #34B78F; // $beacon-green-500
31
+ --primary-chart-dark: #258367; // $beacon-green-600
32
+ --primary-chart-highcontrast: #00FF0A; // $highcontrast-bright-green-200
33
+ --secondary-chart-light: #009CDE; // $beacon-cyan-500
34
+ --secondary-chart-dark: #9FAAC4; // $beacon-dark-blue-300
35
+ --secondary-chart-highcontrast: #70D4FF; // $highcontrast-bright-blue-100
36
+ }
37
+
38
+ .chart-page-container {
39
+ .page-header-row {
40
+ @include themify($platform_charts_contrasts) {
41
+ background: apply('toolbar');
42
+ box-shadow: apply('toolbarShadow');
43
+ color: apply('toolbarText');
44
+ }
45
+
46
+ display: flex;
47
+ align-items: center;
48
+ height: 53px;
49
+
50
+ &> * {
51
+ margin-right: 24px;
52
+
53
+ &:first-child {
54
+ margin-left: 16px;
55
+ }
56
+ }
57
+
58
+ .filter-container {
59
+ display: flex;
60
+
61
+ .ng-select-container {
62
+ width: auto;
63
+ border: none !important;
64
+ }
65
+ }
66
+ }
67
+
68
+ .page-content {
69
+ .page-options-row {
70
+ display: flex;
71
+ align-items: center;
72
+ height: 53px;
73
+ margin-left: 16px;
74
+ }
75
+
76
+ .page-filtering-row {
77
+ margin-bottom: 12px;
78
+ margin-left: 72px;
79
+
80
+ .filter-chip {
81
+ @include font-size--default-md;
82
+ @include font-weight--semibold;
83
+ @include themify($platform_charts_contrasts) {
84
+ background: apply('filterChip');
85
+ color: apply('filterChipText');
86
+ }
87
+
88
+ border-radius: 2px;
89
+ height: 25px;
90
+ margin-left: 4px;
91
+ padding-left: .25rem;
92
+ padding-right: .25rem;
93
+
94
+ &::after {
95
+ @include font-color--semi-muted;
96
+ content: "close";
97
+ font-family: "Material Icons";
98
+ position: relative;
99
+ text-align: end;
100
+ top: 0.1rem;
101
+ z-index: 99;
102
+ }
103
+ }
104
+ }
105
+
106
+ .chart-container {
107
+ .tick text {
108
+ @include themify($platform_charts_contrasts) {
109
+ fill: apply('chartText')
110
+ }
111
+ @include font-weight--bold;
112
+ }
113
+
114
+ ngx-charts-line-chart {
115
+ .ngx-charts-outer {
116
+ height: 500px;
117
+ }
118
+
119
+ .line-series path.line {
120
+ stroke-width: 2px;
121
+ }
122
+
123
+ path.area {
124
+ fill-opacity: 0.75 !important;
125
+ }
126
+ }
127
+
128
+ .ngx-charts .line-highlight {
129
+ display: block;
130
+ }
131
+
132
+ rect {
133
+ fill-opacity: 0.4 !important;
134
+ }
135
+ }
136
+ }
137
+
138
+ }
@@ -1,413 +1,413 @@
1
- $platform_fullcalendar_contrasts: (
2
- light: (
3
- fullcalendarBorder: $beacon-gray-300,
4
- fullcalendarToolbar: $beacon-white,
5
- fullcalendarTodayMonthBackground: $beacon-gray-100,
6
- fullcalendarToolbarText: $beacon-dark-blue-600,
7
- fullcalendarToolbarSecondaryText: $beacon-gray-600,
8
- fullcalendarToolbarScroll: $beacon-dark-blue-300,
9
- fullcalendarToolbarListview: $beacon-dark-blue-400,
10
- fullcalendarDateLabel: $beacon-dark-blue-400,
11
- fullcalendarOutsideDateBackground: $beacon-gray-100,
12
- fullcalendarOutsideDateLabel: $beacon-gray-300,
13
- fullcalendarWeekendDateBackground: $beacon-gray-200,
14
- fullcalendarWeekendDateLabel: $beacon-gray-300,
15
- fullcalendarTopEventBackground: $beacon-cyan-100,
16
- fullcalendarTopEventAccent: $beacon-cyan-600,
17
- fullcalendarTopEventList: $beacon-gray-50,
18
- fullcalendarSubEventBackground: $beacon-orange-100,
19
- fullcalendarSubEventAccent: $beacon-orange-500,
20
- fullcalendarSubEventList: $beacon-gray-50,
21
- fullcalendarAddButton: $beacon-blue-200,
22
- fullcalendarAddButtonText: $beacon-white
23
- ),
24
- dark: (
25
- fullcalendarBorder: $beacon-gray-200,
26
- fullcalendarToolbar: $beacon-gray-600,
27
- fullcalendarTodayMonthBackground: $beacon-gray-500,
28
- fullcalendarToolbarText: $beacon-dark-blue-200,
29
- fullcalendarToolbarSecondaryText: $beacon-gray-300,
30
- fullcalendarToolbarScroll: $beacon-dark-blue-200,
31
- fullcalendarToolbarListview: $beacon-dark-blue-300,
32
- fullcalendarDateLabel: $beacon-dark-blue-300,
33
- fullcalendarOutsideDateBackground: $beacon-gray-500,
34
- fullcalendarOutsideDateLabel: $beacon-gray-200,
35
- fullcalendarWeekendDateBackground: $beacon-gray-600,
36
- fullcalendarWeekendDateLabel: $beacon-gray-300,
37
- fullcalendarTopEventBackground: $beacon-dark-blue-300,
38
- fullcalendarTopEventAccent: $beacon-dark-blue-500,
39
- fullcalendarTopEventList: $beacon-gray-700,
40
- fullcalendarSubEventBackground: $beacon-orange-400,
41
- fullcalendarSubEventAccent: $beacon-orange-600,
42
- fullcalendarSubEventList: $beacon-gray-600,
43
- fullcalendarAddButton: $beacon-blue-200,
44
- fullcalendarAddButtonText: $beacon-gray-300
45
- ),
46
- highcontrast: (
47
- fullcalendarBorder: $beacon-white,
48
- fullcalendarToolbar: $beacon-black,
49
- fullcalendarTodayMonthBackground: $beacon-gray-700,
50
- fullcalendarToolbarText: $beacon-white,
51
- fullcalendarToolbarSecondaryText: $beacon-dark-blue-100,
52
- fullcalendarToolbarScroll: $beacon-dark-blue-200,
53
- fullcalendarToolbarListview: $highcontrast-bright-blue-300,
54
- fullcalendarDateLabel: $highcontrast-bright-blue-100,
55
- fullcalendarOutsideDateBackground: $beacon-gray-700,
56
- fullcalendarOutsideDateLabel: $beacon-white,
57
- fullcalendarWeekendDateBackground: $beacon-gray-600,
58
- fullcalendarWeekendDateLabel: $beacon-white,
59
- fullcalendarTopEventBackground: $highcontrast-bright-blue-100,
60
- fullcalendarTopEventAccent: $beacon-cyan-600,
61
- fullcalendarTopEventList: $beacon-black,
62
- fullcalendarSubEventBackground: $highcontrast-bright-orange-100,
63
- fullcalendarSubEventAccent: $highcontrast-bright-orange-300,
64
- fullcalendarSubEventList: $beacon-gray-700,
65
- fullcalendarAddButton: $highcontrast-bright-blue-200,
66
- fullcalendarAddButtonText: $beacon-white
67
- )
68
- );
69
-
70
- .fullcalendar-toolbar {
71
- @include themify($platform_fullcalendar_contrasts) {
72
- background: apply('fullcalendarToolbar');
73
- border-top: 1px solid apply('fullcalendarBorder');
74
- border-left: 1px solid apply('fullcalendarBorder');
75
- border-right: 1px solid apply('fullcalendarBorder');
76
- color: apply('fullcalendarToolbarText');
77
- }
78
- border-top-right-radius: 8px;
79
- border-top-left-radius: 8px;
80
- font-size: 14px;
81
- display: flex;
82
- align-items: center;
83
- min-height: 64px;
84
- padding: 11px 16px;
85
-
86
- .today-container {
87
- @include themify($platform_fullcalendar_contrasts) {
88
- border: 0.5px solid apply('fullcalendarBorder');
89
- }
90
- border-radius: 5px;
91
- min-width: 48px;
92
- text-align: center;
93
-
94
- .today-month {
95
- @include themify($platform_fullcalendar_contrasts) {
96
- background: apply('fullcalendarTodayMonthBackground');
97
- color: apply('fullcalendarToolbarSecondaryText');
98
- }
99
- border-top-right-radius: 5px;
100
- border-top-left-radius: 5px;
101
- font-size: 10px;
102
- }
103
-
104
- &:hover {
105
- cursor: pointer;
106
- }
107
- }
108
-
109
- .scroll-container {
110
- display: flex;
111
-
112
- .scroller {
113
- display: flex;
114
- align-items: center;
115
- height: 32px;
116
-
117
- mat-icon {
118
- @include themify($platform_fullcalendar_contrasts) {
119
- color: apply('fullcalendarToolbarScroll');
120
- }
121
- height: 24px;
122
- margin-left: 4px;
123
- width: 24px;
124
- }
125
-
126
- &--left {
127
- @include themify($platform_fullcalendar_contrasts) {
128
- border-top: 0.5px solid apply('fullcalendarBorder');
129
- border-left: 0.5px solid apply('fullcalendarBorder');
130
- border-bottom: 0.5px solid apply('fullcalendarBorder');
131
- }
132
- border-top-left-radius: 5px;
133
- border-bottom-left-radius: 5px;
134
- width: 32px;
135
- }
136
-
137
- &--label {
138
- @include themify($platform_fullcalendar_contrasts) {
139
- border: 0.5px solid apply('fullcalendarBorder');
140
- }
141
- padding: 0px 12px;
142
- }
143
-
144
- &--right {
145
- @include themify($platform_fullcalendar_contrasts) {
146
- border-top: 0.5px solid apply('fullcalendarBorder');
147
- border-right: 0.5px solid apply('fullcalendarBorder');
148
- border-bottom: 0.5px solid apply('fullcalendarBorder');
149
- }
150
- border-top-right-radius: 5px;
151
- border-bottom-right-radius: 5px;
152
- width: 32px;
153
- }
154
- }
155
- }
156
-
157
- .listview-indicator {
158
- @include themify($platform_fullcalendar_contrasts) {
159
- border: 0.5px solid apply('fullcalendarBorder');
160
- background: transparent;
161
- color: apply('fullcalendarToolbarSecondaryText');
162
- }
163
- border-radius: 5px;
164
- padding: 4px 8px;
165
-
166
- &.active {
167
- @include themify($platform_fullcalendar_contrasts) {
168
- background: apply('fullcalendarToolbarListview');
169
- color: apply('fullcalendarToolbar');
170
- }
171
- border: none;
172
- }
173
- }
174
- }
175
-
176
- .fc-theme-standard td, .fc-theme-standard th,
177
- .fc-theme-standard .fc-scrollgrid {
178
- @include themify($platform_fullcalendar_contrasts) {
179
- border-color: apply('fullcalendarBorder');
180
- }
181
- }
182
-
183
- // Styling for text header day labels (SUN, MON, etc) and date numbers
184
- .fc-col-header-cell-cushion, .fc-daygrid-day-number {
185
- @include themify($platform_fullcalendar_contrasts) {
186
- color: apply('fullcalendarDateLabel');
187
- }
188
- font-size: 14px;
189
- font-weight: bold;
190
- text-decoration: none;
191
- }
192
-
193
- // Right align day numbers
194
- .fc .fc-daygrid-day-top, .fc .fc-day-other .fc-daygrid-day-top {
195
- display: flex;
196
- flex-direction: row;
197
- opacity: 1;
198
- }
199
-
200
- // Style the date boxes
201
- .fc .fc-daygrid-day-frame {
202
- min-height: 144px;
203
- padding: 8px;
204
-
205
- &:hover::before {
206
- @include themify($platform_fullcalendar_contrasts) {
207
- background: apply('fullcalendarAddButton');
208
- color: apply('fullcalendarAddButtonText');
209
- }
210
- border-radius: 16px;
211
- content: "add";
212
- cursor: pointer;
213
- display: inline-block;
214
- font-family: "Material Icons";
215
- font-size: 16px;
216
- height: 22px;
217
- position: absolute;
218
- right: 10px;
219
- text-align: center;
220
- width: 22px;
221
- }
222
- }
223
-
224
- .fc .fc-day.fc-day-other, .fc .fc-day.fc-day-past {
225
- @include themify($platform_fullcalendar_contrasts) {
226
- background: apply('fullcalendarOutsideDateBackground');
227
-
228
- .fc-daygrid-day-number {
229
- color: apply('fullcalendarOutsideDateLabel');
230
- }
231
- }
232
-
233
- .fc-event {
234
- color: $beacon-gray-300 !important;
235
- opacity: 0.5;
236
- }
237
- }
238
-
239
- .fc .fc-day.fc-day-today {
240
- background: transparent;
241
-
242
- .fc-daygrid-day-top {
243
- display: flex;
244
- justify-content: space-between;
245
-
246
- &:after {
247
- @include themify($platform_fullcalendar_contrasts) {
248
- color: apply('fullcalendarDateLabel');
249
- }
250
- content: "Today";
251
- font-size: 14px;
252
- }
253
- }
254
- }
255
-
256
- .fc .fc-day.fc-day-sat:not(.fc-col-header-cell) , .fc .fc-day.fc-day-sun:not(.fc-col-header-cell) {
257
- @include themify($platform_fullcalendar_contrasts) {
258
- background: apply('fullcalendarWeekendDateBackground');
259
-
260
- .fc-daygrid-day-number {
261
- color: apply('fullcalendarWeekendDateLabel');
262
- }
263
- }
264
-
265
- .fc-non-business {
266
- background: transparent;
267
- }
268
- }
269
-
270
- // Style events on calendar view
271
- .fc .fc-event.use-platform-spacing {
272
- margin-bottom: 8px;
273
- }
274
-
275
- .fc .fc-event.is-subevent {
276
- margin-left: 12px;
277
- }
278
-
279
- .fc-daygrid-event {
280
- @include themify($platform_fullcalendar_contrasts) {
281
- background: apply('fullcalendarTopEventBackground');
282
- border: 1px solid apply('fullcalendarTopEventAccent');
283
-
284
- &.is-subevent {
285
- background: apply('fullcalendarSubEventBackground');
286
- border: 1px solid apply('fullcalendarSubEventAccent');
287
-
288
- span {
289
- color: $beacon-black;
290
- }
291
- }
292
- }
293
- padding: 2px 8px;
294
-
295
- &:not(.fc-daygrid-block-event) {
296
- display: flex;
297
- justify-content: space-between;
298
- }
299
-
300
- &.is-subevent::before {
301
- @include themify($platform_fullcalendar_contrasts) {
302
- border-left: 3px dotted apply('fullcalendarBorder');
303
- border-bottom: 3px dotted apply('fullcalendarBorder');
304
- }
305
- content: "";
306
- border-bottom-left-radius: 8px;
307
- height: 18px;
308
- width: 12px;
309
- position: absolute;
310
- left: -16px;
311
- top: -6px;
312
- }
313
-
314
- span {
315
- @include themify($platform_fullcalendar_contrasts) {
316
- color: $beacon-black;
317
- }
318
- font-size: 12px;
319
-
320
- &.event-title {
321
- @include font-weight--semibold;
322
- overflow: hidden;
323
- text-overflow: ellipsis;
324
- text-wrap: nowrap;
325
- justify-self: start;
326
- }
327
- }
328
-
329
- .fc-event-main {
330
- @include themify($platform_fullcalendar_contrasts) {
331
- color: apply('fullcalendarTopEventAccent');
332
- }
333
- display: flex;
334
- justify-content: space-between;
335
- font-size: 12px;
336
- }
337
- }
338
-
339
- // Other elements on calendar view
340
- .cal-popover-container {
341
- .popover-arrow {
342
- display: none;
343
- }
344
-
345
- .popover-body {
346
- padding: 8px;
347
- }
348
-
349
- .calendar-popover {
350
- min-width: 238px;
351
- }
352
- }
353
-
354
- @mixin calendar-row-label-styles {
355
- border-top-right-radius: 4px;
356
- border-bottom-left-radius: 4px;
357
- font-size: 10px;
358
- padding: 2px;
359
- position: absolute;
360
- right: 0px;
361
- top: 0px;
362
- }
363
-
364
- .calendar-list-container {
365
- @include themify($platform_fullcalendar_contrasts) {
366
- border: 1px solid apply('fullcalendarBorder');
367
- }
368
- border-radius: 8px;
369
- max-height: calc(100vh - 100px);
370
- overflow-y: scroll;
371
- padding: 11px 16px;
372
-
373
- .calendar-list-header {
374
- font-weight: 500;
375
- margin-bottom: 16px;
376
- }
377
-
378
- .calendar-event-row {
379
- @include themify($platform_fullcalendar_contrasts) {
380
- background: apply('fullcalendarTopEventList');
381
- border: 1px solid apply('fullcalendarBorder');
382
- }
383
- border-radius: 5px;
384
- margin-bottom: 8px;
385
- padding: 8px;
386
- position: relative;
387
-
388
- .calendar-event-title::after {
389
- @include themify($platform_fullcalendar_contrasts) {
390
- background: apply('fullcalendarTopEventBackground');
391
- color: $beacon-black;
392
- }
393
- content: "Event";
394
- @include calendar-row-label-styles();
395
- }
396
-
397
- &.calendar-subevent-row {
398
- @include themify($platform_fullcalendar_contrasts) {
399
- background: apply('fullcalendarSubEventList');
400
- }
401
- margin-left: 12px;
402
-
403
- .calendar-subevent-title::after {
404
- @include themify($platform_fullcalendar_contrasts) {
405
- background: apply('fullcalendarSubEventBackground');
406
- color: $beacon-black;
407
- }
408
- content: "Mission";
409
- @include calendar-row-label-styles();
410
- }
411
- }
412
- }
413
- }
1
+ $platform_fullcalendar_contrasts: (
2
+ light: (
3
+ fullcalendarBorder: $beacon-gray-300,
4
+ fullcalendarToolbar: $beacon-white,
5
+ fullcalendarTodayMonthBackground: $beacon-gray-100,
6
+ fullcalendarToolbarText: $beacon-dark-blue-600,
7
+ fullcalendarToolbarSecondaryText: $beacon-gray-600,
8
+ fullcalendarToolbarScroll: $beacon-dark-blue-300,
9
+ fullcalendarToolbarListview: $beacon-dark-blue-400,
10
+ fullcalendarDateLabel: $beacon-dark-blue-400,
11
+ fullcalendarOutsideDateBackground: $beacon-gray-100,
12
+ fullcalendarOutsideDateLabel: $beacon-gray-300,
13
+ fullcalendarWeekendDateBackground: $beacon-gray-200,
14
+ fullcalendarWeekendDateLabel: $beacon-gray-300,
15
+ fullcalendarTopEventBackground: $beacon-cyan-100,
16
+ fullcalendarTopEventAccent: $beacon-cyan-600,
17
+ fullcalendarTopEventList: $beacon-gray-50,
18
+ fullcalendarSubEventBackground: $beacon-orange-100,
19
+ fullcalendarSubEventAccent: $beacon-orange-500,
20
+ fullcalendarSubEventList: $beacon-gray-50,
21
+ fullcalendarAddButton: $beacon-blue-200,
22
+ fullcalendarAddButtonText: $beacon-white
23
+ ),
24
+ dark: (
25
+ fullcalendarBorder: $beacon-gray-200,
26
+ fullcalendarToolbar: $beacon-gray-600,
27
+ fullcalendarTodayMonthBackground: $beacon-gray-500,
28
+ fullcalendarToolbarText: $beacon-dark-blue-200,
29
+ fullcalendarToolbarSecondaryText: $beacon-gray-300,
30
+ fullcalendarToolbarScroll: $beacon-dark-blue-200,
31
+ fullcalendarToolbarListview: $beacon-dark-blue-300,
32
+ fullcalendarDateLabel: $beacon-dark-blue-300,
33
+ fullcalendarOutsideDateBackground: $beacon-gray-500,
34
+ fullcalendarOutsideDateLabel: $beacon-gray-200,
35
+ fullcalendarWeekendDateBackground: $beacon-gray-600,
36
+ fullcalendarWeekendDateLabel: $beacon-gray-300,
37
+ fullcalendarTopEventBackground: $beacon-dark-blue-300,
38
+ fullcalendarTopEventAccent: $beacon-dark-blue-500,
39
+ fullcalendarTopEventList: $beacon-gray-700,
40
+ fullcalendarSubEventBackground: $beacon-orange-400,
41
+ fullcalendarSubEventAccent: $beacon-orange-600,
42
+ fullcalendarSubEventList: $beacon-gray-600,
43
+ fullcalendarAddButton: $beacon-blue-200,
44
+ fullcalendarAddButtonText: $beacon-gray-300
45
+ ),
46
+ highcontrast: (
47
+ fullcalendarBorder: $beacon-white,
48
+ fullcalendarToolbar: $beacon-black,
49
+ fullcalendarTodayMonthBackground: $beacon-gray-700,
50
+ fullcalendarToolbarText: $beacon-white,
51
+ fullcalendarToolbarSecondaryText: $beacon-dark-blue-100,
52
+ fullcalendarToolbarScroll: $beacon-dark-blue-200,
53
+ fullcalendarToolbarListview: $highcontrast-bright-blue-300,
54
+ fullcalendarDateLabel: $highcontrast-bright-blue-100,
55
+ fullcalendarOutsideDateBackground: $beacon-gray-700,
56
+ fullcalendarOutsideDateLabel: $beacon-white,
57
+ fullcalendarWeekendDateBackground: $beacon-gray-600,
58
+ fullcalendarWeekendDateLabel: $beacon-white,
59
+ fullcalendarTopEventBackground: $highcontrast-bright-blue-100,
60
+ fullcalendarTopEventAccent: $beacon-cyan-600,
61
+ fullcalendarTopEventList: $beacon-black,
62
+ fullcalendarSubEventBackground: $highcontrast-bright-orange-100,
63
+ fullcalendarSubEventAccent: $highcontrast-bright-orange-300,
64
+ fullcalendarSubEventList: $beacon-gray-700,
65
+ fullcalendarAddButton: $highcontrast-bright-blue-200,
66
+ fullcalendarAddButtonText: $beacon-white
67
+ )
68
+ );
69
+
70
+ .fullcalendar-toolbar {
71
+ @include themify($platform_fullcalendar_contrasts) {
72
+ background: apply('fullcalendarToolbar');
73
+ border-top: 1px solid apply('fullcalendarBorder');
74
+ border-left: 1px solid apply('fullcalendarBorder');
75
+ border-right: 1px solid apply('fullcalendarBorder');
76
+ color: apply('fullcalendarToolbarText');
77
+ }
78
+ border-top-right-radius: 8px;
79
+ border-top-left-radius: 8px;
80
+ font-size: 14px;
81
+ display: flex;
82
+ align-items: center;
83
+ min-height: 64px;
84
+ padding: 11px 16px;
85
+
86
+ .today-container {
87
+ @include themify($platform_fullcalendar_contrasts) {
88
+ border: 0.5px solid apply('fullcalendarBorder');
89
+ }
90
+ border-radius: 5px;
91
+ min-width: 48px;
92
+ text-align: center;
93
+
94
+ .today-month {
95
+ @include themify($platform_fullcalendar_contrasts) {
96
+ background: apply('fullcalendarTodayMonthBackground');
97
+ color: apply('fullcalendarToolbarSecondaryText');
98
+ }
99
+ border-top-right-radius: 5px;
100
+ border-top-left-radius: 5px;
101
+ font-size: 10px;
102
+ }
103
+
104
+ &:hover {
105
+ cursor: pointer;
106
+ }
107
+ }
108
+
109
+ .listview-indicator {
110
+ @include themify($platform_fullcalendar_contrasts) {
111
+ border: 0.5px solid apply('fullcalendarBorder');
112
+ background: transparent;
113
+ color: apply('fullcalendarToolbarSecondaryText');
114
+ }
115
+ border-radius: 5px;
116
+ padding: 4px 8px;
117
+
118
+ &.active {
119
+ @include themify($platform_fullcalendar_contrasts) {
120
+ background: apply('fullcalendarToolbarListview');
121
+ color: apply('fullcalendarToolbar');
122
+ }
123
+ border: none;
124
+ }
125
+ }
126
+ }
127
+
128
+ .scroll-container {
129
+ display: flex;
130
+
131
+ .scroller {
132
+ display: flex;
133
+ align-items: center;
134
+ height: 32px;
135
+
136
+ mat-icon {
137
+ @include themify($platform_fullcalendar_contrasts) {
138
+ color: apply('fullcalendarToolbarScroll');
139
+ }
140
+ height: 24px;
141
+ margin-left: 4px;
142
+ width: 24px;
143
+ }
144
+
145
+ &--left {
146
+ @include themify($platform_fullcalendar_contrasts) {
147
+ border-top: 0.5px solid apply('fullcalendarBorder');
148
+ border-left: 0.5px solid apply('fullcalendarBorder');
149
+ border-bottom: 0.5px solid apply('fullcalendarBorder');
150
+ }
151
+ border-top-left-radius: 5px;
152
+ border-bottom-left-radius: 5px;
153
+ width: 32px;
154
+ }
155
+
156
+ &--label {
157
+ @include themify($platform_fullcalendar_contrasts) {
158
+ border: 0.5px solid apply('fullcalendarBorder');
159
+ }
160
+ padding: 0px 12px;
161
+ }
162
+
163
+ &--right {
164
+ @include themify($platform_fullcalendar_contrasts) {
165
+ border-top: 0.5px solid apply('fullcalendarBorder');
166
+ border-right: 0.5px solid apply('fullcalendarBorder');
167
+ border-bottom: 0.5px solid apply('fullcalendarBorder');
168
+ }
169
+ border-top-right-radius: 5px;
170
+ border-bottom-right-radius: 5px;
171
+ width: 32px;
172
+ }
173
+ }
174
+ }
175
+
176
+ .fc-theme-standard td, .fc-theme-standard th,
177
+ .fc-theme-standard .fc-scrollgrid {
178
+ @include themify($platform_fullcalendar_contrasts) {
179
+ border-color: apply('fullcalendarBorder');
180
+ }
181
+ }
182
+
183
+ // Styling for text header day labels (SUN, MON, etc) and date numbers
184
+ .fc-col-header-cell-cushion, .fc-daygrid-day-number {
185
+ @include themify($platform_fullcalendar_contrasts) {
186
+ color: apply('fullcalendarDateLabel');
187
+ }
188
+ font-size: 14px;
189
+ font-weight: bold;
190
+ text-decoration: none;
191
+ }
192
+
193
+ // Right align day numbers
194
+ .fc .fc-daygrid-day-top, .fc .fc-day-other .fc-daygrid-day-top {
195
+ display: flex;
196
+ flex-direction: row;
197
+ opacity: 1;
198
+ }
199
+
200
+ // Style the date boxes
201
+ .fc .fc-daygrid-day-frame {
202
+ min-height: 144px;
203
+ padding: 8px;
204
+
205
+ &:hover::before {
206
+ @include themify($platform_fullcalendar_contrasts) {
207
+ background: apply('fullcalendarAddButton');
208
+ color: apply('fullcalendarAddButtonText');
209
+ }
210
+ border-radius: 16px;
211
+ content: "add";
212
+ cursor: pointer;
213
+ display: inline-block;
214
+ font-family: "Material Icons";
215
+ font-size: 16px;
216
+ height: 22px;
217
+ position: absolute;
218
+ right: 10px;
219
+ text-align: center;
220
+ width: 22px;
221
+ }
222
+ }
223
+
224
+ .fc .fc-day.fc-day-other, .fc .fc-day.fc-day-past {
225
+ @include themify($platform_fullcalendar_contrasts) {
226
+ background: apply('fullcalendarOutsideDateBackground');
227
+
228
+ .fc-daygrid-day-number {
229
+ color: apply('fullcalendarOutsideDateLabel');
230
+ }
231
+ }
232
+
233
+ .fc-event {
234
+ color: $beacon-gray-300 !important;
235
+ opacity: 0.5;
236
+ }
237
+ }
238
+
239
+ .fc .fc-day.fc-day-today {
240
+ background: transparent;
241
+
242
+ .fc-daygrid-day-top {
243
+ display: flex;
244
+ justify-content: space-between;
245
+
246
+ &:after {
247
+ @include themify($platform_fullcalendar_contrasts) {
248
+ color: apply('fullcalendarDateLabel');
249
+ }
250
+ content: "Today";
251
+ font-size: 14px;
252
+ }
253
+ }
254
+ }
255
+
256
+ .fc .fc-day.fc-day-sat:not(.fc-col-header-cell) , .fc .fc-day.fc-day-sun:not(.fc-col-header-cell) {
257
+ @include themify($platform_fullcalendar_contrasts) {
258
+ background: apply('fullcalendarWeekendDateBackground');
259
+
260
+ .fc-daygrid-day-number {
261
+ color: apply('fullcalendarWeekendDateLabel');
262
+ }
263
+ }
264
+
265
+ .fc-non-business {
266
+ background: transparent;
267
+ }
268
+ }
269
+
270
+ // Style events on calendar view
271
+ .fc .fc-event.use-platform-spacing {
272
+ margin-bottom: 8px;
273
+ }
274
+
275
+ .fc .fc-event.is-subevent {
276
+ margin-left: 12px;
277
+ }
278
+
279
+ .fc-daygrid-event {
280
+ @include themify($platform_fullcalendar_contrasts) {
281
+ background: apply('fullcalendarTopEventBackground');
282
+ border: 1px solid apply('fullcalendarTopEventAccent');
283
+
284
+ &.is-subevent {
285
+ background: apply('fullcalendarSubEventBackground');
286
+ border: 1px solid apply('fullcalendarSubEventAccent');
287
+
288
+ span {
289
+ color: $beacon-black;
290
+ }
291
+ }
292
+ }
293
+ padding: 2px 8px;
294
+
295
+ &:not(.fc-daygrid-block-event) {
296
+ display: flex;
297
+ justify-content: space-between;
298
+ }
299
+
300
+ &.is-subevent::before {
301
+ @include themify($platform_fullcalendar_contrasts) {
302
+ border-left: 3px dotted apply('fullcalendarBorder');
303
+ border-bottom: 3px dotted apply('fullcalendarBorder');
304
+ }
305
+ content: "";
306
+ border-bottom-left-radius: 8px;
307
+ height: 18px;
308
+ width: 12px;
309
+ position: absolute;
310
+ left: -16px;
311
+ top: -6px;
312
+ }
313
+
314
+ span {
315
+ @include themify($platform_fullcalendar_contrasts) {
316
+ color: $beacon-black;
317
+ }
318
+ font-size: 12px;
319
+
320
+ &.event-title {
321
+ @include font-weight--semibold;
322
+ overflow: hidden;
323
+ text-overflow: ellipsis;
324
+ text-wrap: nowrap;
325
+ justify-self: start;
326
+ }
327
+ }
328
+
329
+ .fc-event-main {
330
+ @include themify($platform_fullcalendar_contrasts) {
331
+ color: apply('fullcalendarTopEventAccent');
332
+ }
333
+ display: flex;
334
+ justify-content: space-between;
335
+ font-size: 12px;
336
+ }
337
+ }
338
+
339
+ // Other elements on calendar view
340
+ .cal-popover-container {
341
+ .popover-arrow {
342
+ display: none;
343
+ }
344
+
345
+ .popover-body {
346
+ padding: 8px;
347
+ }
348
+
349
+ .calendar-popover {
350
+ min-width: 238px;
351
+ }
352
+ }
353
+
354
+ @mixin calendar-row-label-styles {
355
+ border-top-right-radius: 4px;
356
+ border-bottom-left-radius: 4px;
357
+ font-size: 10px;
358
+ padding: 2px;
359
+ position: absolute;
360
+ right: 0px;
361
+ top: 0px;
362
+ }
363
+
364
+ .calendar-list-container {
365
+ @include themify($platform_fullcalendar_contrasts) {
366
+ border: 1px solid apply('fullcalendarBorder');
367
+ }
368
+ border-radius: 8px;
369
+ max-height: calc(100vh - 100px);
370
+ overflow-y: scroll;
371
+ padding: 11px 16px;
372
+
373
+ .calendar-list-header {
374
+ font-weight: 500;
375
+ margin-bottom: 16px;
376
+ }
377
+
378
+ .calendar-event-row {
379
+ @include themify($platform_fullcalendar_contrasts) {
380
+ background: apply('fullcalendarTopEventList');
381
+ border: 1px solid apply('fullcalendarBorder');
382
+ }
383
+ border-radius: 5px;
384
+ margin-bottom: 8px;
385
+ padding: 8px;
386
+ position: relative;
387
+
388
+ .calendar-event-title::after {
389
+ @include themify($platform_fullcalendar_contrasts) {
390
+ background: apply('fullcalendarTopEventBackground');
391
+ color: $beacon-black;
392
+ }
393
+ content: "Event";
394
+ @include calendar-row-label-styles();
395
+ }
396
+
397
+ &.calendar-subevent-row {
398
+ @include themify($platform_fullcalendar_contrasts) {
399
+ background: apply('fullcalendarSubEventList');
400
+ }
401
+ margin-left: 12px;
402
+
403
+ .calendar-subevent-title::after {
404
+ @include themify($platform_fullcalendar_contrasts) {
405
+ background: apply('fullcalendarSubEventBackground');
406
+ color: $beacon-black;
407
+ }
408
+ content: "Mission";
409
+ @include calendar-row-label-styles();
410
+ }
411
+ }
412
+ }
413
+ }
@@ -11,6 +11,7 @@
11
11
  @import "bootstrap-datepicker";
12
12
  @import "buttons";
13
13
  @import "calendar";
14
+ @import "charts";
14
15
  @import "checkboxes";
15
16
  @import "forms";
16
17
  @import "filters";