@beacon-interactive-systems-llc/beacon-platform-ui 17.7.0 → 17.7.1
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/_buttons.scss +12 -8
- package/styles/_tables.scss +98 -29
- package/styles/_theming.scss +4 -4
- package/styles/_typography.scss +1 -1
- package/styles/_widgets.scss +78 -0
package/package.json
CHANGED
package/styles/_buttons.scss
CHANGED
|
@@ -4,19 +4,19 @@ $platform_button_contrasts: (
|
|
|
4
4
|
buttonBlueHover: $beacon-blue-300,
|
|
5
5
|
buttonBlueActive: $beacon-blue-100,
|
|
6
6
|
buttonBlueText: $beacon-white,
|
|
7
|
-
buttonBlueTextInvert: $beacon-
|
|
7
|
+
buttonBlueTextInvert: $beacon-blue-200,
|
|
8
8
|
|
|
9
9
|
buttonGreen: $beacon-green-500,
|
|
10
10
|
buttonGreenHover: $beacon-green-600,
|
|
11
11
|
buttonGreenActive: $beacon-green-400,
|
|
12
12
|
buttonGreenText: $beacon-white,
|
|
13
|
-
buttonGreenTextInvert: $beacon-
|
|
13
|
+
buttonGreenTextInvert: $beacon-green-500,
|
|
14
14
|
|
|
15
15
|
buttonRed: $beacon-orange-600,
|
|
16
16
|
buttonRedHover: $beacon-orange-500,
|
|
17
17
|
buttonRedActive: $beacon-orange-400,
|
|
18
18
|
buttonRedText: $beacon-white,
|
|
19
|
-
buttonRedTextInvert: $beacon-
|
|
19
|
+
buttonRedTextInvert: $beacon-orange-600,
|
|
20
20
|
|
|
21
21
|
buttonAmbient: $beacon-white,
|
|
22
22
|
buttonAmbientHover: $beacon-gray-200,
|
|
@@ -88,7 +88,7 @@ $platform_button_contrasts: (
|
|
|
88
88
|
)
|
|
89
89
|
);
|
|
90
90
|
|
|
91
|
-
@mixin button-color-styles($main-color, $hover, $active, $text
|
|
91
|
+
@mixin button-color-styles($main-color, $hover, $active, $text) {
|
|
92
92
|
background: $main-color;
|
|
93
93
|
color: $text;
|
|
94
94
|
|
|
@@ -102,15 +102,19 @@ $platform_button_contrasts: (
|
|
|
102
102
|
|
|
103
103
|
&--invert {
|
|
104
104
|
background: apply('buttonAmbient');
|
|
105
|
-
color: $
|
|
105
|
+
color: $main-color;
|
|
106
106
|
border: 1px solid $main-color;
|
|
107
107
|
|
|
108
108
|
&:hover {
|
|
109
109
|
border-color: $hover;
|
|
110
|
+
color: $hover;
|
|
111
|
+
background: apply('buttonAmbient');
|
|
110
112
|
}
|
|
111
113
|
|
|
112
114
|
&:active {
|
|
113
115
|
border-color: $active;
|
|
116
|
+
color: $active;
|
|
117
|
+
background: apply('buttonAmbient');
|
|
114
118
|
}
|
|
115
119
|
|
|
116
120
|
&.dashed {
|
|
@@ -164,19 +168,19 @@ button.platform-btn {
|
|
|
164
168
|
|
|
165
169
|
&--bg-blue {
|
|
166
170
|
@include themify($platform_button_contrasts) {
|
|
167
|
-
@include button-color-styles(apply('buttonBlue'), apply('buttonBlueHover'), apply('buttonBlueActive'), apply('buttonBlueText')
|
|
171
|
+
@include button-color-styles(apply('buttonBlue'), apply('buttonBlueHover'), apply('buttonBlueActive'), apply('buttonBlueText'));
|
|
168
172
|
}
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
&--bg-green {
|
|
172
176
|
@include themify($platform_button_contrasts) {
|
|
173
|
-
@include button-color-styles(apply('buttonGreen'), apply('buttonGreenHover'), apply('buttonGreenActive'), apply('buttonGreenText')
|
|
177
|
+
@include button-color-styles(apply('buttonGreen'), apply('buttonGreenHover'), apply('buttonGreenActive'), apply('buttonGreenText'));
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
&--bg-red {
|
|
178
182
|
@include themify($platform_button_contrasts) {
|
|
179
|
-
@include button-color-styles(apply('buttonRed'), apply('buttonRedHover'), apply('buttonRedActive'), apply('buttonRedText')
|
|
183
|
+
@include button-color-styles(apply('buttonRed'), apply('buttonRedHover'), apply('buttonRedActive'), apply('buttonRedText'));
|
|
180
184
|
}
|
|
181
185
|
}
|
|
182
186
|
|
package/styles/_tables.scss
CHANGED
|
@@ -5,8 +5,8 @@ $platform_table_contrasts: (
|
|
|
5
5
|
tableBorder: $beacon-gray-border,
|
|
6
6
|
tableHeader: $beacon-dark-blue-100,
|
|
7
7
|
tableHeaderText: $beacon-black,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
tableSortArrow: $beacon-gray-300,
|
|
9
|
+
tableSortArrowActive: $beacon-blue-200,
|
|
10
10
|
tableHeaderFiltering: $beacon-green-300,
|
|
11
11
|
tableBody: $beacon-white,
|
|
12
12
|
tableBodyAlt: $beacon-gray-100,
|
|
@@ -14,31 +14,46 @@ $platform_table_contrasts: (
|
|
|
14
14
|
tableShadow: (0 0px 10px 0px $beacon-white,
|
|
15
15
|
0 20px 0px 0px $beacon-white,
|
|
16
16
|
0 0 0 0 $beacon-white,
|
|
17
|
-
0 20px 8px -2px $beacon-dark-blue-300)
|
|
17
|
+
0 20px 8px -2px $beacon-dark-blue-300),
|
|
18
|
+
tableDotGray: $beacon-gray-300,
|
|
19
|
+
tableDotGreen: $beacon-green-400,
|
|
20
|
+
tableDotYellow: $beacon-yellow-400,
|
|
21
|
+
tableDotRed: $beacon-orange-500,
|
|
22
|
+
tableDotDarkRed: $beacon-orange-700
|
|
18
23
|
),
|
|
19
24
|
dark: (
|
|
20
25
|
tableBorder: $beacon-dark-blue-200,
|
|
21
26
|
tableHeader: $beacon-dark-blue-500,
|
|
22
27
|
tableHeaderText: $beacon-dark-blue-200,
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
tableSortArrow: $beacon-gray-400,
|
|
29
|
+
tableSortArrowActive: $beacon-blue-100,
|
|
25
30
|
tableHeaderFiltering: $beacon-green-400,
|
|
26
31
|
tableBody: $beacon-black,
|
|
27
32
|
tableBodyAlt: $beacon-gray-700,
|
|
28
33
|
tableBodyText: $beacon-gray-300,
|
|
29
|
-
tableShadow: none
|
|
34
|
+
tableShadow: none,
|
|
35
|
+
tableDotGray: $beacon-gray-300,
|
|
36
|
+
tableDotGreen: $beacon-green-400,
|
|
37
|
+
tableDotYellow: $beacon-yellow-400,
|
|
38
|
+
tableDotRed: $beacon-orange-500,
|
|
39
|
+
tableDotDarkRed: $beacon-orange-700
|
|
30
40
|
),
|
|
31
41
|
highcontrast: (
|
|
32
42
|
tableBorder: $beacon-white,
|
|
33
43
|
tableHeader: $beacon-gray-700,
|
|
34
44
|
tableHeaderText: $beacon-white,
|
|
35
|
-
|
|
36
|
-
|
|
45
|
+
tableSortArrow: $beacon-white,
|
|
46
|
+
tableSortArrowActive: $highcontrast-bright-blue-200,
|
|
37
47
|
tableHeaderFiltering: $highcontrast-bright-green-300,
|
|
38
48
|
tableBody: $beacon-black,
|
|
39
49
|
tableBodyAlt: $beacon-gray-700,
|
|
40
50
|
tableBodyText: $beacon-white,
|
|
41
|
-
tableShadow: none
|
|
51
|
+
tableShadow: none,
|
|
52
|
+
tableDotGray: $beacon-gray-300,
|
|
53
|
+
tableDotGreen: $beacon-green-400,
|
|
54
|
+
tableDotYellow: $beacon-yellow-400,
|
|
55
|
+
tableDotRed: $beacon-orange-500,
|
|
56
|
+
tableDotDarkRed: $beacon-orange-700
|
|
42
57
|
)
|
|
43
58
|
);
|
|
44
59
|
|
|
@@ -89,31 +104,29 @@ table.platform-table {
|
|
|
89
104
|
padding-left: 32px !important;
|
|
90
105
|
}
|
|
91
106
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
background-color: transparent;
|
|
97
|
-
font-size: 13px;
|
|
98
|
-
border-radius: 9px;
|
|
99
|
-
padding: 2px 0 0 2px;
|
|
100
|
-
height: 17px;
|
|
101
|
-
width: 17px;
|
|
107
|
+
div.sort-icon-container {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
102
110
|
position: relative;
|
|
103
|
-
top:
|
|
111
|
+
top: 8px;
|
|
104
112
|
|
|
105
|
-
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.selected {
|
|
113
|
+
mat-icon.sort-arrow {
|
|
110
114
|
@include themify($platform_table_contrasts) {
|
|
111
|
-
color: apply('
|
|
112
|
-
|
|
115
|
+
color: apply('tableSortArrow');
|
|
116
|
+
}
|
|
117
|
+
height: 10px;
|
|
118
|
+
width: 16px;
|
|
119
|
+
font-size: 16px;
|
|
120
|
+
|
|
121
|
+
&--active {
|
|
122
|
+
@include themify($platform_table_contrasts) {
|
|
123
|
+
color: apply('tableSortArrowActive');
|
|
124
|
+
}
|
|
113
125
|
}
|
|
114
126
|
|
|
115
|
-
|
|
116
|
-
|
|
127
|
+
&--down {
|
|
128
|
+
position: relative;
|
|
129
|
+
top: -3px;
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
}
|
|
@@ -280,3 +293,59 @@ table.platform-table {
|
|
|
280
293
|
}
|
|
281
294
|
}
|
|
282
295
|
}
|
|
296
|
+
|
|
297
|
+
@mixin status-dot-positioning() {
|
|
298
|
+
font-family: "Material Icons";
|
|
299
|
+
content: "circle";
|
|
300
|
+
font-size: 12px;
|
|
301
|
+
position: relative;
|
|
302
|
+
top: 1px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.with-status-dot {
|
|
306
|
+
&.gray {
|
|
307
|
+
&::before {
|
|
308
|
+
@include status-dot-positioning();
|
|
309
|
+
font-family: "Material Icons Outlined";
|
|
310
|
+
@include themify($platform_table_contrasts) {
|
|
311
|
+
color: apply('tableDotGray');
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
&.green {
|
|
317
|
+
&::before {
|
|
318
|
+
@include status-dot-positioning();
|
|
319
|
+
@include themify($platform_table_contrasts) {
|
|
320
|
+
color: apply('tableDotGreen');
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&.yellow {
|
|
326
|
+
&::before {
|
|
327
|
+
@include status-dot-positioning();
|
|
328
|
+
@include themify($platform_table_contrasts) {
|
|
329
|
+
color: apply('tableDotYellow');
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&.red {
|
|
335
|
+
&::before {
|
|
336
|
+
@include status-dot-positioning();
|
|
337
|
+
@include themify($platform_table_contrasts) {
|
|
338
|
+
color: apply('tableDotRed');
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&.dark-red {
|
|
344
|
+
&::before {
|
|
345
|
+
@include status-dot-positioning();
|
|
346
|
+
@include themify($platform_table_contrasts) {
|
|
347
|
+
color: apply('tableDotDarkRed');
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
package/styles/_theming.scss
CHANGED
|
@@ -28,7 +28,7 @@ $platform_contrasts: (
|
|
|
28
28
|
accentLightOrange: $beacon-orange-100,
|
|
29
29
|
accentLightOrangeText: $beacon-black,
|
|
30
30
|
accentCyan: $beacon-cyan-300,
|
|
31
|
-
accentCyanText: $beacon-black
|
|
31
|
+
accentCyanText: $beacon-black,
|
|
32
32
|
),
|
|
33
33
|
dark: (
|
|
34
34
|
primaryBackground: $beacon-black,
|
|
@@ -44,8 +44,8 @@ $platform_contrasts: (
|
|
|
44
44
|
accentYellowText: $beacon-black,
|
|
45
45
|
accentGreen: $beacon-green-700,
|
|
46
46
|
accentGreenText: $beacon-gray-300,
|
|
47
|
-
accentGray: $beacon-gray-
|
|
48
|
-
accentGrayText: $beacon-
|
|
47
|
+
accentGray: $beacon-gray-400,
|
|
48
|
+
accentGrayText: $beacon-gray-200,
|
|
49
49
|
accentLightGray: $beacon-gray-700,
|
|
50
50
|
accentLightGrayText: $beacon-gray-200,
|
|
51
51
|
accentLightRed: $beacon-orange-50,
|
|
@@ -75,7 +75,7 @@ $platform_contrasts: (
|
|
|
75
75
|
accentYellowText: $beacon-black,
|
|
76
76
|
accentGreen: $highcontrast-bright-green-200,
|
|
77
77
|
accentGreenText: $beacon-black,
|
|
78
|
-
accentGray: $beacon-gray-
|
|
78
|
+
accentGray: $beacon-gray-500,
|
|
79
79
|
accentGrayText: $beacon-white,
|
|
80
80
|
accentLightGray: $beacon-black,
|
|
81
81
|
accentLightGrayText: $beacon-white,
|
package/styles/_typography.scss
CHANGED
|
@@ -8,7 +8,7 @@ $platform_text_contrasts: (
|
|
|
8
8
|
textDefaultInvert: $beacon-white,
|
|
9
9
|
textBlue: $beacon-dark-blue-500,
|
|
10
10
|
textBlueDark: $beacon-dark-blue-600,
|
|
11
|
-
textBlueHighlight: $beacon-dark-blue-
|
|
11
|
+
textBlueHighlight: $beacon-dark-blue-300,
|
|
12
12
|
textCyan: $beacon-cyan-500,
|
|
13
13
|
textCyanDark: $beacon-cyan-600,
|
|
14
14
|
textGreen: $beacon-green-500,
|
package/styles/_widgets.scss
CHANGED
|
@@ -50,6 +50,12 @@ $platform_widget_contrasts: (
|
|
|
50
50
|
border-radius: 10px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
&.highlight-on-hover:hover {
|
|
54
|
+
@include themify($platform_widget_contrasts) {
|
|
55
|
+
background-color: apply('widgetHighlight') !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
&__header {
|
|
54
60
|
@include font-weight--bold;
|
|
55
61
|
|
|
@@ -105,6 +111,78 @@ $platform_widget_contrasts: (
|
|
|
105
111
|
}
|
|
106
112
|
}
|
|
107
113
|
|
|
114
|
+
mat-icon.expand-widget-icon {
|
|
115
|
+
@include font-color--cyan;
|
|
116
|
+
|
|
117
|
+
position: relative;
|
|
118
|
+
|
|
119
|
+
&:hover {
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.expanded {
|
|
124
|
+
transform: rotate(90deg);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.accent-left {
|
|
129
|
+
&--red {
|
|
130
|
+
@include themify($platform_contrasts) {
|
|
131
|
+
border-left: 7px solid apply('accentRed');
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
&--yellow {
|
|
135
|
+
@include themify($platform_contrasts) {
|
|
136
|
+
border-left: 7px solid apply('accentYellow');
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
&--green {
|
|
140
|
+
@include themify($platform_contrasts) {
|
|
141
|
+
border-left: 7px solid apply('accentGreen');
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
&--gray {
|
|
145
|
+
@include themify($platform_contrasts) {
|
|
146
|
+
border-left: 7px solid apply('accentGray');
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
&--orange {
|
|
150
|
+
@include themify($platform_contrasts) {
|
|
151
|
+
border-left: 7px solid apply('accentOrange');
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
&--cyan {
|
|
155
|
+
@include themify($platform_contrasts) {
|
|
156
|
+
border-left: 7px solid apply('accentCyan');
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
&--light-gray {
|
|
160
|
+
@include themify($platform_contrasts) {
|
|
161
|
+
border-left: 7px solid apply('accentLightGray');
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
&--light-red {
|
|
165
|
+
@include themify($platform_contrasts) {
|
|
166
|
+
border-left: 7px solid apply('accentLightRed');
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
&--light-yellow {
|
|
170
|
+
@include themify($platform_contrasts) {
|
|
171
|
+
border-left: 7px solid apply('accentLightYellow');
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
&--light-green {
|
|
175
|
+
@include themify($platform_contrasts) {
|
|
176
|
+
border-left: 7px solid apply('accentLightGreen');
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
&--light-orange {
|
|
180
|
+
@include themify($platform_contrasts) {
|
|
181
|
+
border-left: 7px solid apply('accentLightOrange');
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
108
186
|
&.platform-equipment-card {
|
|
109
187
|
width: 261px;
|
|
110
188
|
min-height: 326px;
|