@beacon-interactive-systems-llc/beacon-platform-ui 17.11.14 → 17.12.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beacon-interactive-systems-llc/beacon-platform-ui",
3
- "version": "17.11.14",
3
+ "version": "17.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
@@ -1,121 +1,150 @@
1
- $platform_checkbox_contrasts: (
2
- light: (
3
- checkboxList: $beacon-dark-blue-500,
4
- checkboxStandalone: $beacon-dark-blue-400,
5
- checkboxStandaloneCheck: $beacon-white,
6
- ),
7
- dark: (
8
- checkboxList: $beacon-dark-blue-300,
9
- checkboxStandalone: $beacon-gray-400,
10
- checkboxStandaloneCheck: $beacon-black,
11
- ),
12
- highcontrast: (
13
- checkboxList: $highcontrast-bright-blue-300,
14
- checkboxStandalone: $beacon-white,
15
- checkboxStandaloneCheck: $beacon-black,
16
- )
17
- );
18
-
19
- .mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,
20
- .mat-mdc-list-option .mdc-checkbox:active:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,
21
- .mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background {
22
- @include themify($platform_checkbox_contrasts) {
23
- border-color: apply('checkboxList');
24
- background: apply('checkboxList');
25
-
26
- .mat-ripple-element {
27
- background: apply('checkboxList');
28
- }
29
- }
30
- }
31
-
32
- .mat-mdc-list-option
33
- .mdc-checkbox
34
- .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background {
35
- @include themify($platform_checkbox_contrasts) {
36
- border-color: apply('checkboxList');
37
- }
38
- }
39
-
40
- .platform-checkbox {
41
- .mat-ripple-element {
42
- @include themify($platform_checkbox_contrasts) {
43
- background: apply('checkboxList') !important;
44
- }
45
- }
46
- }
47
-
48
- // Selection list: grouping of checkbox options
49
- .platform-selection-list {
50
- .platform-list-option {
51
- padding-left: 0 !important;
52
- padding-right: 0 !important;
53
- height: 40px !important;
54
-
55
- .mdc-checkbox__native-control:checked~.mdc-checkbox__background {
56
- @include themify($platform_checkbox_contrasts) {
57
- border-color: apply('checkboxList') !important;
58
- background-color: apply('checkboxList') !important;
59
- }
60
- }
61
- }
62
- }
63
-
64
- // Checkbox within an ng-select
65
- .ng-select {
66
- input[type="checkbox"] {
67
- @include themify($platform_checkbox_contrasts) {
68
- accent-color: apply('checkboxList');
69
- }
70
- }
71
- }
72
-
73
-
74
- .platform-checkbox {
75
- display: block;
76
- position: relative;
77
- cursor: pointer;
78
- font-size: 12px;
79
-
80
- input[type=checkbox] {
81
- visibility: hidden;
82
-
83
- &:checked~.checkbox-container {
84
- @include themify($platform_checkbox_contrasts) {
85
- background-color: apply('checkboxStandalone');
86
- }
87
-
88
- &:after {
89
- display: block;
90
- }
91
- }
92
- }
93
-
94
- .checkbox-container {
95
- position: absolute;
96
- top: 0;
97
- left: 0;
98
- height: 14px;
99
- width: 14px;
100
- border-radius: 3px;
101
- background-color: transparent;
102
- @include themify($platform_checkbox_contrasts) {
103
- border: 2px solid apply('checkboxStandalone');
104
- }
105
-
106
- &:after {
107
- content: 'check';
108
- font-family: 'Material Icons';
109
- font-weight: 700;
110
- position: absolute;
111
- display: none;
112
- left: -1px;
113
- top: -3px;
114
- width: 6px;
115
- height: 10px;
116
- @include themify($platform_checkbox_contrasts) {
117
- color: apply('checkboxStandaloneCheck');
118
- }
119
- }
120
- }
121
- }
1
+ $platform_checkbox_contrasts: (
2
+ light: (
3
+ checkboxText: $beacon-black,
4
+ checkboxList: $beacon-dark-blue-500,
5
+ checkboxStandalone: $beacon-dark-blue-400,
6
+ checkboxStandaloneCheck: $beacon-white,
7
+ ),
8
+ dark: (
9
+ checkboxText: $beacon-gray-300,
10
+ checkboxList: $beacon-dark-blue-300,
11
+ checkboxStandalone: $beacon-gray-400,
12
+ checkboxStandaloneCheck: $beacon-black,
13
+ ),
14
+ highcontrast: (
15
+ checkboxText: $beacon-white,
16
+ checkboxList: $highcontrast-bright-blue-300,
17
+ checkboxStandalone: $beacon-white,
18
+ checkboxStandaloneCheck: $beacon-black,
19
+ )
20
+ );
21
+
22
+ .mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,
23
+ .mat-mdc-list-option .mdc-checkbox:active:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,
24
+ .mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background {
25
+ @include themify($platform_checkbox_contrasts) {
26
+ border-color: apply('checkboxList');
27
+ background: apply('checkboxList');
28
+
29
+ .mat-ripple-element {
30
+ background: apply('checkboxList');
31
+ }
32
+ }
33
+ }
34
+
35
+ .mat-mdc-list-option
36
+ .mdc-checkbox
37
+ .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background {
38
+ @include themify($platform_checkbox_contrasts) {
39
+ border-color: apply('checkboxList');
40
+ }
41
+ }
42
+
43
+ .mdc-list {
44
+ padding: 0px !important;
45
+ }
46
+ .mdc-list-item__content {
47
+ display:flex;
48
+ align-items: center;
49
+
50
+ .mdc-list-item__primary-text {
51
+ @include themify($platform_checkbox_contrasts) {
52
+ color: apply('checkboxText');
53
+ }
54
+ font-size: 12px;
55
+ }
56
+ }
57
+
58
+ .mdc-list-item--with-leading-checkbox .mdc-list-item__start {
59
+ margin-left: 0px !important;
60
+ margin-right: 0px !important;
61
+ }
62
+
63
+ .platform-checkbox {
64
+ .mat-ripple-element {
65
+ @include themify($platform_checkbox_contrasts) {
66
+ background: apply('checkboxList') !important;
67
+ }
68
+ }
69
+ }
70
+
71
+ // Selection list: grouping of checkbox options
72
+ .platform-selection-list {
73
+ align-items: flex-start;
74
+ display: flex !important;
75
+ flex-direction: column;
76
+ flex-wrap: wrap;
77
+
78
+ .platform-list-option {
79
+ flex: 1 1 auto;
80
+ padding-left: 0 !important;
81
+ padding-right: 0 !important;
82
+ height: 35px !important;
83
+
84
+ .mdc-checkbox__native-control:checked~.mdc-checkbox__background {
85
+ @include themify($platform_checkbox_contrasts) {
86
+ border-color: apply('checkboxList') !important;
87
+ background-color: apply('checkboxList') !important;
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ // Checkbox within an ng-select
94
+ .ng-select {
95
+ input[type="checkbox"] {
96
+ @include themify($platform_checkbox_contrasts) {
97
+ accent-color: apply('checkboxList');
98
+ }
99
+ }
100
+ }
101
+
102
+
103
+ .platform-checkbox {
104
+ display: block;
105
+ position: relative;
106
+ cursor: pointer;
107
+ font-size: 12px;
108
+
109
+ input[type=checkbox] {
110
+ visibility: hidden;
111
+
112
+ &:checked~.checkbox-container {
113
+ @include themify($platform_checkbox_contrasts) {
114
+ background-color: apply('checkboxStandalone');
115
+ }
116
+
117
+ &:after {
118
+ display: block;
119
+ }
120
+ }
121
+ }
122
+
123
+ .checkbox-container {
124
+ position: absolute;
125
+ top: 0;
126
+ left: 0;
127
+ height: 14px;
128
+ width: 14px;
129
+ border-radius: 3px;
130
+ background-color: transparent;
131
+ @include themify($platform_checkbox_contrasts) {
132
+ border: 2px solid apply('checkboxStandalone');
133
+ }
134
+
135
+ &:after {
136
+ content: 'check';
137
+ font-family: 'Material Icons';
138
+ font-weight: 700;
139
+ position: absolute;
140
+ display: none;
141
+ left: -1px;
142
+ top: -3px;
143
+ width: 6px;
144
+ height: 10px;
145
+ @include themify($platform_checkbox_contrasts) {
146
+ color: apply('checkboxStandaloneCheck');
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,414 @@
1
+ $platform_globalsearch_contrasts: (
2
+ light: (
3
+ searchInputBorder: $beacon-white,
4
+ searchInputPlaceholder: $beacon-white,
5
+ searchInputColor: $beacon-white,
6
+ searchResultsBackground: $beacon-white,
7
+ searchResultsShadow: 0px 3px 6px #00000019,
8
+ searchResultsBorder: none,
9
+ searchResultsTitle: $beacon-gray-400,
10
+ searchResultsText: $beacon-black,
11
+ filterOptionChipSelected: $beacon-dark-blue-400,
12
+ filterOptionChipSelectedText: $beacon-white,
13
+ filterOptionChipUnselected: $beacon-gray-200,
14
+ filterOptionChipUnselectedText: $beacon-gray-400,
15
+ searchResultsItemHighlighted: $beacon-dark-blue-500,
16
+ searchResultsItemHighlightedText: $beacon-white,
17
+ searchResultsViewAllBackground: $beacon-gray-100,
18
+ searchResultsViewAllText: $beacon-blue-200,
19
+ advancedSearchLabel: $beacon-cyan-600,
20
+ advancedSearchHeader: $beacon-dark-blue-200,
21
+ advancedSearchHeaderExpand: $beacon-black,
22
+ advancedSearchHeaderIconBase: $beacon-dark-blue-300,
23
+ advancedSearchHeaderIconColor: $beacon-white,
24
+ advancedSearchHeaderLabel: $beacon-dark-blue-400,
25
+ advancedSearchRowLink: $beacon-dark-blue-600,
26
+ advancedSearchRowExtended: $beacon-black,
27
+ advancedSearchRowBorder: $beacon-dark-blue-400
28
+ ),
29
+ dark: (
30
+ searchInputBorder: $beacon-gray-400,
31
+ searchInputPlaceholder: $beacon-gray-400,
32
+ searchInputColor: $beacon-gray-300,
33
+ searchResultsBackground: $beacon-gray-600,
34
+ serachResultsShadow: none,
35
+ searchResultsBorder: 1px solid $beacon-gray-500,
36
+ searchResultsTitle: $beacon-gray-400,
37
+ searchResultsText: $beacon-gray-300,
38
+ filterOptionChipSelected: $beacon-dark-blue-300,
39
+ filterOptionChipSelectedText: $beacon-gray-500,
40
+ filterOptionChipUnselected: $beacon-gray-500,
41
+ filterOptionChipUnselectedText: $beacon-gray-300,
42
+ searchResultsItemHighlighted: $beacon-dark-blue-300,
43
+ searchResultsItemHighlightedText: $beacon-gray-500,
44
+ searchResultsViewAllBackground: $beacon-gray-700,
45
+ searchResultsViewAllText: $beacon-blue-200,
46
+ advancedSearchLabel: $beacon-cyan-300,
47
+ advancedSearchHeader: $beacon-dark-blue-600,
48
+ advancedSearchHeaderExpand: $beacon-gray-300,
49
+ advancedSearchHeaderIconBase: $beacon-dark-blue-400,
50
+ advancedSearchHeaderIconColor: $beacon-gray-300,
51
+ advancedSearchHeaderLabel: $beacon-dark-blue-300,
52
+ advancedSearchRowLink: $beacon-dark-blue-300,
53
+ advancedSearchRowExtended: $beacon-gray-300,
54
+ advancedSearchRowBorder: $beacon-dark-blue-400
55
+ ),
56
+ highcontrast: (
57
+ searchInputBorder: $beacon-white,
58
+ searchInputPlaceholder: $beacon-white,
59
+ searchInputColor: $beacon-white,
60
+ searchResultsBackground: $beacon-black,
61
+ searchResultsShadow: none,
62
+ searchResultsBorder: 1px solid $beacon-white,
63
+ searchResultsTitle: $beacon-white,
64
+ searchResultsText: $beacon-white,
65
+ filterOptionChipSelected: $highcontrast-bright-blue-300,
66
+ filterOptionChipSelectedText: $beacon-black,
67
+ filterOptionChipUnselected: $beacon-gray-600,
68
+ filterOptionChipUnselectedText: $beacon-white,
69
+ searchResultsItemHighlighted: $highcontrast-bright-blue-200,
70
+ searchResultsItemHighlightedText: $beacon-black,
71
+ searchResultsViewAllBackground: $beacon-gray-700,
72
+ searchResultsViewAllText: $highcontrast-bright-blue-200,
73
+ advancedSearchLabel: $highcontrast-bright-blue-300,
74
+ advancedSearchHeader: $highcontrast-bright-blue-100,
75
+ advancedSearchHeaderExpand: $beacon-black,
76
+ advancedSearchHeaderIconBase: $beacon-black,
77
+ advancedSearchHeaderIconColor: $beacon-white,
78
+ advancedSearchHeaderLabel: $beacon-black,
79
+ advancedSearchRowLink: $highcontrast-bright-blue-300,
80
+ advancedSearchRowExtended: $beacon-white,
81
+ advancedSearchRowBorder: $beacon-dark-blue-400
82
+ )
83
+ );
84
+
85
+ .global-search {
86
+ position: relative;
87
+
88
+ &::before {
89
+ @include themify($platform_globalsearch_contrasts) {
90
+ color: apply('searchInputColor');
91
+ }
92
+ content: "search";
93
+ font-family: "Material Icons";
94
+ font-size: 14px;
95
+ left: 8px;
96
+ position: absolute;
97
+ }
98
+
99
+ &__search {
100
+ @include themify($platform_globalsearch_contrasts) {
101
+ border: 1px solid apply('searchInputBorder');
102
+ color: apply('searchInputColor');
103
+ }
104
+ background-color: transparent;
105
+ border-radius: 5px;
106
+ height: 32px;
107
+ text-indent: 24px;
108
+ outline: none;
109
+
110
+ &--closed {
111
+ transition: width 0.5s ease-in-out;
112
+ width: 150px !important;
113
+
114
+ &::placeholder {
115
+ @include themify($platform_globalsearch_contrasts) {
116
+ color: apply('searchInputPlaceholder');
117
+ }
118
+ font-size: 14px;
119
+ }
120
+ }
121
+
122
+ &--opened {
123
+ transition: width 0.5s ease-in-out;
124
+ width: 436px !important;
125
+
126
+ &::placeholder {
127
+ @include themify($platform_globalsearch_contrasts) {
128
+ color: apply('searchInputPlaceholder');
129
+ }
130
+ font-size: 14px;
131
+ }
132
+ }
133
+ }
134
+
135
+ &__results {
136
+ @include themify($platform_globalsearch_contrasts) {
137
+ background: apply('searchResultsBackground');
138
+ box-shadow: apply('searchResultsShadow');
139
+ border: apply("searchResultsBorder");
140
+ }
141
+ border-radius: 4px;
142
+ display: flex;
143
+ flex-direction: column;
144
+ justify-content: space-between;
145
+ position: absolute;
146
+ top: 44px;
147
+
148
+ &--closed {
149
+ transition: all 0.5s ease-in-out;
150
+ transform: scaleX(0.0001) scaleY(0.0001);
151
+ height: 1px;
152
+ width: 1px;
153
+ }
154
+
155
+ &--opened {
156
+ transition: all 0.5s ease-in-out;
157
+ height: 427px;
158
+ overflow-x: hidden;
159
+ width: 436px;
160
+ }
161
+
162
+ &__filters-container {
163
+ align-items: start;
164
+ display: flex;
165
+ height: 401px;
166
+ overflow-y: scroll;
167
+ padding: 12px 12px 0px 12px;
168
+
169
+ .filters {
170
+ @include themify($platform_globalsearch_contrasts) {
171
+ color: apply('searchResultsText');
172
+ }
173
+ display: flex;
174
+ flex: 1 1 0px;
175
+ flex-direction: column;
176
+ line-height: 30px;
177
+ margin-bottom: 12px;
178
+ padding-right: 12px;
179
+
180
+ .filters-title {
181
+ @include themify($platform_globalsearch_contrasts) {
182
+ color: apply('searchResultsTitle');
183
+ }
184
+ align-items: center;
185
+ display: flex;
186
+ font-size: 12px;
187
+ text-transform: uppercase;
188
+ }
189
+ }
190
+
191
+ .result-groups {
192
+ display: flex;
193
+ flex: 1 1 0px;
194
+ flex-direction: column;
195
+ padding-left: 12px;
196
+
197
+ .result-group {
198
+ text-align: left;
199
+
200
+ &__title {
201
+ @include themify($platform_globalsearch_contrasts) {
202
+ color: apply('searchResultsTitle');
203
+ }
204
+ font-size: 12px;
205
+ line-height: 30px;
206
+ margin-bottom: 4px;
207
+ margin-top: 12px;
208
+ text-transform: uppercase;
209
+ }
210
+
211
+ &__item {
212
+ @include themify($platform_globalsearch_contrasts) {
213
+ color: apply('searchResultsText');
214
+ }
215
+ align-items: center;
216
+ display: flex;
217
+ font-size: 12px;
218
+ height: 20px;
219
+ text-indent: 8px;
220
+
221
+ &:hover {
222
+ @include themify($platform_globalsearch_contrasts) {
223
+ background: apply('searchResultsItemHighlighted');
224
+ color: apply('searchResultsItemHighlightedText')
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ }
231
+
232
+ &__view-all {
233
+ @include themify($platform_globalsearch_contrasts) {
234
+ background: apply('searchResultsViewAllBackground');
235
+ }
236
+ border-bottom-left-radius: 5px;
237
+ border-bottom-right-radius: 5px;
238
+ display: flex;
239
+ height: 26px;
240
+ line-height: 26px;
241
+ width: 100%;
242
+
243
+ .view-all-link {
244
+ margin-left: 24px;
245
+
246
+ &::before {
247
+ @include themify($platform_globalsearch_contrasts) {
248
+ color: apply('searchResultsViewAllText');
249
+ }
250
+ content: "search";
251
+ font-family: "Material Icons";
252
+ font-size: 14px;
253
+ left: 8px;
254
+ position: absolute;
255
+ }
256
+ }
257
+ }
258
+ }
259
+ }
260
+
261
+ .filter-option-chips {
262
+ display: flex;
263
+
264
+ .selection-chip {
265
+ @include themify($platform_globalsearch_contrasts) {
266
+ &.selected {
267
+ background: apply('filterOptionChipSelected');
268
+ color: apply('filterOptionChipSelectedText');
269
+ }
270
+
271
+ &.unselected {
272
+ background: apply('filterOptionChipUnselected');
273
+ color: apply('filterOptionChipUnselectedText');
274
+ }
275
+ }
276
+
277
+ border-radius: 10px;
278
+ display: inline-block;
279
+ line-height: 17px;
280
+ padding: 2px 6px;
281
+ }
282
+ }
283
+
284
+ .advanced-search-container {
285
+ align-items: start;
286
+ display: flex;
287
+ flex: 1 1 0px;
288
+
289
+ .advanced-search-filters {
290
+ width: 240px;
291
+
292
+ .advanced-search-form {
293
+ .search-form-row {
294
+ padding: 12px 0px;
295
+
296
+ .platform-selection-list {
297
+ max-height: 170px;
298
+
299
+ .platform-list-option {
300
+ max-height: 35px;
301
+ width: 50%;
302
+ }
303
+ }
304
+ }
305
+
306
+ label {
307
+ @include themify($platform_globalsearch_contrasts) {
308
+ color: apply('advancedSearchLabel');
309
+ }
310
+ @include font-weight--semibold;
311
+ font-size: 14px;
312
+ margin-bottom: 12px;
313
+ }
314
+ }
315
+ }
316
+
317
+ .advanced-search-results {
318
+ display: flex;
319
+ flex-direction: column;
320
+ flex-grow: 1;
321
+ margin-top: -16px;
322
+
323
+ .results-section {
324
+ display: flex;
325
+ flex-direction: column;
326
+ margin-top: 16px;
327
+
328
+ &__header {
329
+ @include themify($platform_globalsearch_contrasts) {
330
+ background: apply('advancedSearchHeader');
331
+ }
332
+ border-radius: 5px;
333
+ display: flex;
334
+ align-items: center;
335
+ height: 32px;
336
+ margin-left: 12px;
337
+ padding: 8px 12px;
338
+
339
+ .section-expand-icon {
340
+ @include themify($platform_globalsearch_contrasts) {
341
+ color: apply('advancedSearchHeaderExpand');
342
+ }
343
+ font-size: 16px;
344
+ height: 16px;
345
+ width: 16px;
346
+
347
+ &.expanded {
348
+ transform: rotate(90deg);
349
+ }
350
+ }
351
+
352
+ .section-header-icon-container {
353
+ @include themify($platform_globalsearch_contrasts) {
354
+ background: apply('advancedSearchHeaderIconBase');
355
+ }
356
+ border-radius: 2px;
357
+ height: 16px;
358
+ margin-left: 8px;
359
+ margin-right: 8px;
360
+ width: 16px;
361
+
362
+ .section-header-icon {
363
+ @include themify($platform_globalsearch_contrasts) {
364
+ color: apply('advancedSearchHeaderIconColor');
365
+ }
366
+ font-size: 16px;
367
+ }
368
+ }
369
+
370
+ .section-header-text {
371
+ @include themify($platform_globalsearch_contrasts) {
372
+ color: apply('advancedSearchHeaderLabel');
373
+ }
374
+ @include font-weight--semibold;
375
+ font-size: 14px;
376
+ text-transform: uppercase;
377
+ }
378
+ }
379
+
380
+ &__list {
381
+ display: flex;
382
+ flex-direction: column;
383
+ padding: 12px 0px 12px 36px;
384
+
385
+ .section-row {
386
+ font-size: 14px;
387
+ padding-bottom: 8px;
388
+
389
+ .row-link-display {
390
+ @include themify($platform_globalsearch_contrasts) {
391
+ color: apply('advancedSearchRowLink');
392
+ }
393
+ @include font-weight--semibold;
394
+ cursor: pointer;
395
+ }
396
+
397
+ .row-extended-display {
398
+ @include themify($platform_globalsearch_contrasts) {
399
+ color: apply('advancedSearchRowExtended');
400
+ }
401
+ margin-left: 12px;
402
+ }
403
+
404
+ &:not(:first-of-type) {
405
+ @include themify($platform_globalsearch_contrasts) {
406
+ border-top: 1px solid apply('advancedSearchRowBorder');
407
+ }
408
+ padding-top: 8px;
409
+ }
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
@@ -181,7 +181,7 @@ $detail-view-width-expanded: calc(100vw - $leftnav-collapsed-width);
181
181
  }
182
182
 
183
183
  .justify-content-end {
184
- input {
184
+ input:not([type="checkbox"]) {
185
185
  height: 36px;
186
186
  font-size: 14px;
187
187
  width: 240px;
@@ -302,7 +302,7 @@ $detail-view-width-expanded: calc(100vw - $leftnav-collapsed-width);
302
302
  display: flex;
303
303
  align-items: center;
304
304
  white-space: pre-wrap;
305
-
305
+
306
306
  .pending-request-warning {
307
307
  position: relative;
308
308
  top: 12px;
@@ -1,66 +1,70 @@
1
- $platform_drawer_contrasts: (
2
- light: (
3
- drawerBackground: $beacon-gray-100,
4
- drawerFooterBackground: $beacon-white,
5
- drawerFooterShadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.10)
6
- ),
7
- dark: (
8
- drawerBackground: $beacon-black,
9
- drawerFooterBackground: $beacon-gray-600,
10
- drawerFooterShadow: none
11
- ),
12
- highcontrast: (
13
- drawerBackground: $beacon-black,
14
- drawerFooterBackground: $beacon-gray-600,
15
- drawerFooterShadow: none
16
- )
17
- );
18
-
19
- .drawer {
20
- @include themify($platform_drawer_contrasts) {
21
- background: apply('drawerBackground');
22
- }
23
- // hack to get opaque background to show up behind modal
24
- box-shadow: 0px 1px 100px -5px rgba(0,0,0,0.25), 0px 16px 24px 2px rgba(0,0,0,0.14), 0px 6px 300px 2000px rgba(0,0,0,0.22) !important;
25
- max-height: calc(100vh);
26
- padding-bottom: 90px;
27
- z-index: 1001 !important;
28
- position: fixed !important;
29
-
30
- &--width-standard {
31
- width: 590px !important;
32
- }
33
-
34
- &--width-double {
35
- width: 1180px !important;
36
- }
37
-
38
- &--width-full {
39
- width: calc(100% - 50px) !important;
40
- }
41
-
42
- &__body {
43
- padding: 32px;
44
- }
45
-
46
- &__footer {
47
- @include themify($platform_drawer_contrasts) {
48
- background: apply('drawerFooterBackground');
49
- box-shadow: apply('drawerFooterShadow');
50
- }
51
- bottom: 0;
52
- height: 60px;
53
- line-height: 60px;
54
- position: absolute;
55
- width: 100%;
56
- left: 0;
57
- }
58
-
59
- &__widget {
60
- margin-top: 0;
61
- }
62
- }
63
-
64
- .drawer--with-margin-top {
65
- margin-top: 50px;
66
- }
1
+ $platform_drawer_contrasts: (
2
+ light: (
3
+ drawerBackground: $beacon-gray-100,
4
+ drawerFooterBackground: $beacon-white,
5
+ drawerFooterShadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.10)
6
+ ),
7
+ dark: (
8
+ drawerBackground: $beacon-black,
9
+ drawerFooterBackground: $beacon-gray-600,
10
+ drawerFooterShadow: none
11
+ ),
12
+ highcontrast: (
13
+ drawerBackground: $beacon-black,
14
+ drawerFooterBackground: $beacon-gray-600,
15
+ drawerFooterShadow: none
16
+ )
17
+ );
18
+
19
+ .drawer {
20
+ @include themify($platform_drawer_contrasts) {
21
+ background: apply('drawerBackground');
22
+ }
23
+ // hack to get opaque background to show up behind modal
24
+ box-shadow: 0px 1px 100px -5px rgba(0,0,0,0.25), 0px 16px 24px 2px rgba(0,0,0,0.14), 0px 6px 300px 2000px rgba(0,0,0,0.22) !important;
25
+ max-height: calc(100vh);
26
+ padding-bottom: 90px;
27
+ z-index: 1001 !important;
28
+ position: fixed !important;
29
+
30
+ &--width-standard {
31
+ width: 590px !important;
32
+ }
33
+
34
+ &--width-double {
35
+ width: 1180px !important;
36
+ }
37
+
38
+ &--width-full {
39
+ width: calc(100% - 50px) !important;
40
+ }
41
+
42
+ &__body {
43
+ padding: 32px;
44
+ }
45
+
46
+ .cui-banner &__body {
47
+ margin-top: 21px;
48
+ }
49
+
50
+ &__footer {
51
+ @include themify($platform_drawer_contrasts) {
52
+ background: apply('drawerFooterBackground');
53
+ box-shadow: apply('drawerFooterShadow');
54
+ }
55
+ bottom: 0;
56
+ height: 60px;
57
+ line-height: 60px;
58
+ position: absolute;
59
+ width: 100%;
60
+ left: 0;
61
+ }
62
+
63
+ &__widget {
64
+ margin-top: 0;
65
+ }
66
+ }
67
+
68
+ .drawer--with-margin-top {
69
+ margin-top: 50px;
70
+ }
@@ -1,223 +1,227 @@
1
- $min-dropdown-panel-width: 215px;
2
-
3
- .ng-select:not(.unset) {
4
- width: 100% !important;
5
- padding-bottom: 0 !important;
6
- font-family: roboto-regular !important;
7
-
8
- &.ng-select-disabled {
9
- .ng-select-container {
10
- @include themify($platform_form_contrasts) {
11
- background: apply('formInputDisabled') !important;
12
- }
13
- }
14
- }
15
-
16
- &.invalid .ng-select-container {
17
- @include themify($platform_form_contrasts) {
18
- border-color: apply('formInvalid') !important;
19
- }
20
- }
21
-
22
- &.ng-select-opened .ng-select-container{
23
- @include themify($platform_form_contrasts) {
24
- border: 1px solid apply('formInputBorderActive');
25
- }
26
- }
27
-
28
- .ng-clear-wrapper {
29
- @include themify($platform_text_contrasts) {
30
- color: apply('textDefaultMuted') !important;
31
- }
32
- }
33
-
34
- .ng-select-container {
35
- min-height: 32px;
36
- height: 32px;
37
- @include form-element-border-fill;
38
- @include themify($platform_form_contrasts) {
39
- color: apply('formText') !important;
40
- }
41
- }
42
-
43
- .ng-dropdown-panel {
44
- min-width: $min-dropdown-panel-width;
45
- max-height: 200px;
46
-
47
- &::-webkit-scrollbar {
48
- width: 6px;
49
- }
50
-
51
- &::-webkit-scrollbar-track {
52
- background: #fff;
53
- }
54
-
55
- &::-webkit-scrollbar-thumb {
56
- background: $beacon-dark-blue-300;
57
- border-radius: 4px;
58
- }
59
-
60
- &::-webkit-scrollbar {
61
- display: block !important;
62
- }
63
-
64
- -ms-overflow-style: auto;
65
- scrollbar-width: auto;
66
- overflow-y: auto;//scroll;
67
-
68
- @include themify($platform_form_contrasts) {
69
- background: apply('formInputBackground') !important;
70
- color: apply('formText') !important;
71
- border-top: 0.5px solid apply('formInputBorderActive') !important;
72
- border-right: none;
73
- border-bottom: none;
74
- border-left: none;
75
- box-shadow: 0px 3px 7px 2px #00000029;
76
-
77
- .ng-dropdown-header {
78
- border-bottom: 1px solid apply('formInputBorder') !important;
79
- }
80
-
81
- .ng-option {
82
- color: apply('formText') !important;
83
- background: apply('formInputBackground') !important;
84
- &.ng-option-selected {
85
- background: apply('formControlSelected') !important;
86
- }
87
- &:hover {
88
- background: apply('formSelectOptionHover') !important;
89
- @include font-weight--bold;
90
- }
91
- }
92
- }
93
- }
94
-
95
- &.ng-select-multiple .ng-value {
96
- @include font-weight--semibold;
97
- @include themify($platform_form_contrasts) {
98
- background: apply('formHighlightOrange') !important;
99
- color: apply('formHighlightOrangeText') !important;
100
- }
101
-
102
- border-radius: 8px !important;
103
- margin-right: 8px !important;
104
-
105
- .ng-value-label {
106
- padding: 1px 0px 1px 5px !important;
107
- }
108
-
109
- .ng-value-icon {
110
- z-index: 1001;
111
- padding-left: 0px !important;
112
- &:hover {
113
- @include themify($platform_form_contrasts) {
114
- background: transparent !important;
115
- color: apply('formHighlightOrangeText') !important;
116
- }
117
- }
118
-
119
- mat-icon {
120
- width: 14px;
121
- height: 14px;
122
- font-size: 14px;
123
- position: relative;
124
- top: 0.2rem;
125
- }
126
- }
127
- }
128
-
129
- // For use with platform-selection-list: makes each select as wide as its placeholder text
130
- &.platform-filter-select {
131
- border-radius: 4px;
132
- font-size: 14px;
133
-
134
- &.ng-select-multiple .ng-value {
135
- @include font-weight--semibold;
136
- @include themify($platform_filter_contrasts) {
137
- background: apply('filterDropdownFocus') !important;
138
- color: apply('filterDropdownText') !important;
139
- }
140
- }
141
-
142
- .ng-select-container {
143
- background: transparent !important;
144
- &.ng-has-value {
145
- @include themify($platform_filter_contrasts) {
146
- background: apply('filterDropdownFocus') !important;
147
- }
148
-
149
- border-radius: 4px;
150
- }
151
-
152
- .ng-value-container {
153
- padding-left: 0px;
154
-
155
- .ng-placeholder {
156
- @include font-weight--semibold;
157
- @include themify($platform_filter_contrasts) {
158
- color: apply('filterDropdownText') !important;
159
- }
160
- text-wrap: nowrap;
161
- position: unset;
162
- }
163
- }
164
- }
165
-
166
- .ng-input, .ng-clear-wrapper {
167
- display: none;
168
- }
169
- }
170
- }
171
-
172
- /* Replace default dropdown triangle look with a mat-icon */
173
- .ng-select .ng-arrow-wrapper .ng-arrow {
174
- border-color: none !important;
175
- border-style: none !important;
176
- border-width: 0 !important;
177
- }
178
-
179
- .ng-select .ng-arrow-wrapper::before {
180
- content: 'expand_more';
181
- font-family: 'Material Icons';
182
- position: relative;
183
- top: 2px;
184
- }
185
-
186
- .ng-select.ng-select-opened .ng-arrow-wrapper::before {
187
- content: 'expand_less';
188
- font-family: 'Material Icons';
189
- position: relative;
190
- top: 2px;
191
- }
192
-
193
- .ng-select .ng-clear-wrapper {
194
- position: relative;
195
- top: 2px;
196
- }
197
-
198
- .ng-select.search {
199
- font-size: 14px;
200
- line-height: 25px;
201
-
202
- .ng-select-container {
203
- width: 216px;
204
- }
205
-
206
- .ng-arrow-wrapper .ng-arrow {
207
- display: none;
208
- }
209
- }
210
-
211
- /* apply material form control highlight animation on focus for filter bar dropdowns */
212
- .filter-bar {
213
- &__dropdown {
214
- &.ng-select-opened {
215
- @include themify($platform_form_contrasts) {
216
- border-color: apply('formSelectOpened') !important;
217
- box-shadow: apply('formSelectShadow');
218
- }
219
- border-radius: 0.375rem;
220
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
221
- }
222
- }
223
- }
1
+ $min-dropdown-panel-width: 215px;
2
+
3
+ .ng-select:not(.unset) {
4
+ width: 100% !important;
5
+ padding-bottom: 0 !important;
6
+ font-family: roboto-regular !important;
7
+
8
+ &.ng-select-disabled {
9
+ .ng-select-container {
10
+ @include themify($platform_form_contrasts) {
11
+ background: apply('formInputDisabled') !important;
12
+ }
13
+ }
14
+ }
15
+
16
+ &.invalid .ng-select-container {
17
+ @include themify($platform_form_contrasts) {
18
+ border-color: apply('formInvalid') !important;
19
+ }
20
+ }
21
+
22
+ &.ng-select-opened .ng-select-container{
23
+ @include themify($platform_form_contrasts) {
24
+ border: 1px solid apply('formInputBorderActive');
25
+ }
26
+ }
27
+
28
+ .ng-clear-wrapper {
29
+ @include themify($platform_text_contrasts) {
30
+ color: apply('textDefaultMuted') !important;
31
+ }
32
+ }
33
+
34
+ .ng-select-container {
35
+ min-height: 32px;
36
+ height: 32px;
37
+ @include form-element-border-fill;
38
+ @include themify($platform_form_contrasts) {
39
+ color: apply('formText') !important;
40
+ }
41
+ }
42
+
43
+ .ng-dropdown-panel {
44
+ min-width: $min-dropdown-panel-width;
45
+ max-height: 200px;
46
+
47
+ .ng-dropdown-panel-items .ng-option {
48
+ display: flex;
49
+ }
50
+
51
+ &::-webkit-scrollbar {
52
+ width: 6px;
53
+ }
54
+
55
+ &::-webkit-scrollbar-track {
56
+ background: #fff;
57
+ }
58
+
59
+ &::-webkit-scrollbar-thumb {
60
+ background: $beacon-dark-blue-300;
61
+ border-radius: 4px;
62
+ }
63
+
64
+ &::-webkit-scrollbar {
65
+ display: block !important;
66
+ }
67
+
68
+ -ms-overflow-style: auto;
69
+ scrollbar-width: auto;
70
+ overflow-y: auto;//scroll;
71
+
72
+ @include themify($platform_form_contrasts) {
73
+ background: apply('formInputBackground') !important;
74
+ color: apply('formText') !important;
75
+ border-top: 0.5px solid apply('formInputBorderActive') !important;
76
+ border-right: none;
77
+ border-bottom: none;
78
+ border-left: none;
79
+ box-shadow: 0px 3px 7px 2px #00000029;
80
+
81
+ .ng-dropdown-header {
82
+ border-bottom: 1px solid apply('formInputBorder') !important;
83
+ }
84
+
85
+ .ng-option {
86
+ color: apply('formText') !important;
87
+ background: apply('formInputBackground') !important;
88
+ &.ng-option-selected {
89
+ background: apply('formControlSelected') !important;
90
+ }
91
+ &:hover {
92
+ background: apply('formSelectOptionHover') !important;
93
+ @include font-weight--bold;
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ &.ng-select-multiple .ng-value {
100
+ @include font-weight--semibold;
101
+ @include themify($platform_form_contrasts) {
102
+ background: apply('formHighlightOrange') !important;
103
+ color: apply('formHighlightOrangeText') !important;
104
+ }
105
+
106
+ border-radius: 8px !important;
107
+ margin-right: 8px !important;
108
+
109
+ .ng-value-label {
110
+ padding: 1px 0px 1px 5px !important;
111
+ }
112
+
113
+ .ng-value-icon {
114
+ z-index: 1001;
115
+ padding-left: 0px !important;
116
+ &:hover {
117
+ @include themify($platform_form_contrasts) {
118
+ background: transparent !important;
119
+ color: apply('formHighlightOrangeText') !important;
120
+ }
121
+ }
122
+
123
+ mat-icon {
124
+ width: 14px;
125
+ height: 14px;
126
+ font-size: 14px;
127
+ position: relative;
128
+ top: 0.2rem;
129
+ }
130
+ }
131
+ }
132
+
133
+ // For use with platform-selection-list: makes each select as wide as its placeholder text
134
+ &.platform-filter-select {
135
+ border-radius: 4px;
136
+ font-size: 14px;
137
+
138
+ &.ng-select-multiple .ng-value {
139
+ @include font-weight--semibold;
140
+ @include themify($platform_filter_contrasts) {
141
+ background: apply('filterDropdownFocus') !important;
142
+ color: apply('filterDropdownText') !important;
143
+ }
144
+ }
145
+
146
+ .ng-select-container {
147
+ background: transparent !important;
148
+ &.ng-has-value {
149
+ @include themify($platform_filter_contrasts) {
150
+ background: apply('filterDropdownFocus') !important;
151
+ }
152
+
153
+ border-radius: 4px;
154
+ }
155
+
156
+ .ng-value-container {
157
+ padding-left: 0px;
158
+
159
+ .ng-placeholder {
160
+ @include font-weight--semibold;
161
+ @include themify($platform_filter_contrasts) {
162
+ color: apply('filterDropdownText') !important;
163
+ }
164
+ text-wrap: nowrap;
165
+ position: unset;
166
+ }
167
+ }
168
+ }
169
+
170
+ .ng-input, .ng-clear-wrapper {
171
+ display: none;
172
+ }
173
+ }
174
+ }
175
+
176
+ /* Replace default dropdown triangle look with a mat-icon */
177
+ .ng-select .ng-arrow-wrapper .ng-arrow {
178
+ border-color: none !important;
179
+ border-style: none !important;
180
+ border-width: 0 !important;
181
+ }
182
+
183
+ .ng-select .ng-arrow-wrapper::before {
184
+ content: 'expand_more';
185
+ font-family: 'Material Icons';
186
+ position: relative;
187
+ top: 2px;
188
+ }
189
+
190
+ .ng-select.ng-select-opened .ng-arrow-wrapper::before {
191
+ content: 'expand_less';
192
+ font-family: 'Material Icons';
193
+ position: relative;
194
+ top: 2px;
195
+ }
196
+
197
+ .ng-select .ng-clear-wrapper {
198
+ position: relative;
199
+ top: 2px;
200
+ }
201
+
202
+ .ng-select.search {
203
+ font-size: 14px;
204
+ line-height: 25px;
205
+
206
+ .ng-select-container {
207
+ width: 216px;
208
+ }
209
+
210
+ .ng-arrow-wrapper .ng-arrow {
211
+ display: none;
212
+ }
213
+ }
214
+
215
+ /* apply material form control highlight animation on focus for filter bar dropdowns */
216
+ .filter-bar {
217
+ &__dropdown {
218
+ &.ng-select-opened {
219
+ @include themify($platform_form_contrasts) {
220
+ border-color: apply('formSelectOpened') !important;
221
+ box-shadow: apply('formSelectShadow');
222
+ }
223
+ border-radius: 0.375rem;
224
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
225
+ }
226
+ }
227
+ }
@@ -9,6 +9,7 @@ $platform_widget_contrasts: (
9
9
  widgetBorder: $beacon-dark-blue-200,
10
10
  widgetHighlight: $beacon-dark-blue-200,
11
11
  widgetHeaderColor: $beacon-black,
12
+ widgetTitle: $beacon-dark-blue-300,
12
13
  widgetInfoBox: $beacon-gray-50,
13
14
  eventContainerBg: $beacon-gray-300,
14
15
  loginContainerBackground: $beacon-dark-blue-500,
@@ -23,6 +24,7 @@ $platform_widget_contrasts: (
23
24
  widgetBorder: $beacon-gray-400,
24
25
  widgetHighlight: $beacon-gray-700,
25
26
  widgetHeaderColor: $beacon-gray-300,
27
+ widgetTitle: $beacon-gray-300,
26
28
  widgetInfoBox: $beacon-gray-600,
27
29
  eventContainerBg: $beacon-gray-400,
28
30
  loginContainerBackground: $beacon-dark-blue-500,
@@ -37,6 +39,7 @@ $platform_widget_contrasts: (
37
39
  widgetBorder: $beacon-white,
38
40
  widgetHighlight: $beacon-gray-700,
39
41
  widgetHeaderColor: $beacon-white,
42
+ widgetTitle: $beacon-white,
40
43
  widgetInfoBox: $beacon-gray-700,
41
44
  eventContainerBg: $beacon-gray-400,
42
45
  loginContainerBackground: $beacon-dark-blue-500,
@@ -91,6 +94,14 @@ $platform_widget_contrasts: (
91
94
  }
92
95
  }
93
96
 
97
+ &__title {
98
+ @include themify($platform_widget_contrasts) {
99
+ color: apply('widgetTitle');
100
+ }
101
+ @include font-size--md;
102
+ display: flex;
103
+ }
104
+
94
105
  &__body {
95
106
  @include themify($platform_widget_contrasts) {
96
107
  background: apply('widgetBackground') !important;
@@ -375,4 +386,4 @@ $platform_widget_contrasts: (
375
386
  color: apply('textDefaultInvert');
376
387
  }
377
388
  }
378
- }
389
+ }
@@ -15,6 +15,7 @@
15
15
  @import "forms";
16
16
  @import "filters";
17
17
  @import "fullcalendar";
18
+ @import "global-search";
18
19
  @import "layout";
19
20
  @import "leftnav";
20
21
  @import "material-tabs";
@@ -224,9 +225,9 @@ $icon-sizes: 10px, 12px, 14px, 16px, 18px, 20px, 24px, 32px;
224
225
 
225
226
  @each $size in $icon-sizes {
226
227
  mat-icon.size--#{$size} {
227
- font-size: $size;
228
- height: $size;
229
- width: $size;
228
+ font-size: $size !important;
229
+ height: $size !important;
230
+ width: $size !important;
230
231
  }
231
232
  }
232
233