@festo-ui/web-essentials 7.0.0-dev.319 → 7.0.0-dev.342

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.
@@ -9,9 +9,11 @@
9
9
  padding: 0;
10
10
  border: none;
11
11
  background: none;
12
+
12
13
  span {
13
14
  margin-left: 4px; // separate icon from label
14
15
  }
16
+
15
17
  position: relative;
16
18
  cursor: pointer;
17
19
  color: $text;
@@ -20,6 +22,7 @@
20
22
  display: flex;
21
23
  align-items: center;
22
24
  justify-content: center;
25
+
23
26
  &::before {
24
27
  content: "";
25
28
  position: absolute;
@@ -30,12 +33,15 @@
30
33
  background: $caerul;
31
34
  transition: height 0.2s;
32
35
  }
36
+
33
37
  &.fwe-selected {
34
38
  color: $hero;
39
+
35
40
  &::before {
36
41
  height: 4px;
37
42
  }
38
43
  }
44
+
39
45
  &:hover {
40
46
  color: $hero;
41
47
  }
@@ -125,6 +131,7 @@
125
131
  min-height: auto;
126
132
  text-align: left;
127
133
  justify-content: unset;
134
+
128
135
  .fwe-icon,
129
136
  .fwe-svg-icon {
130
137
  margin-right: 12px !important;
@@ -165,6 +172,7 @@
165
172
 
166
173
  .fwe-profile-menu-item {
167
174
  padding: 20px $spacer-s !important;
175
+
168
176
  i {
169
177
  padding-right: $spacer-m !important;
170
178
  }
@@ -184,67 +192,191 @@
184
192
  @extend .fwe-navbar-menu-button;
185
193
 
186
194
  width: 32px;
187
- &.fwe-selected {
188
- .fwe-warning {
189
- color: $orange;
195
+
196
+ &.fwe-info {
197
+ color: $hero;
198
+ background: $white;
199
+
200
+ &:has(.fwe-notification-batch) {
201
+ color: $text;
190
202
  }
191
- .fwe-error {
192
- color: $red;
203
+
204
+ &::before {
205
+ background: $white;
193
206
  }
194
- }
195
207
 
196
- .fwe-notification-batch {
197
- position: absolute;
198
- border-radius: 50%;
199
- height: 22px;
200
- line-height: calc(#{$font-size-small} + 4px);
201
- width: 22px;
202
- font-size: $font-size-small;
203
- color: $white !important;
204
- background: $caerul;
205
- border: 2px solid $white;
206
- top: -10px;
207
- right: -10px;
208
+ .fwe-notification-batch {
209
+ background: $hero;
210
+ }
211
+
212
+ &.fwe-selected {
213
+ color: $hero;
214
+ &::before {
215
+ background: $hero;
216
+ }
217
+ }
208
218
  }
209
219
 
210
220
  &.fwe-warning {
211
- color: $white;
212
- background: $orange;
221
+ color: $orange;
222
+ background: $white;
223
+
224
+ &:has(.fwe-notification-batch) {
225
+ color: $text;
226
+ }
227
+
213
228
  &::before {
214
- background: $orange;
229
+ background: $white;
215
230
  }
231
+
216
232
  .fwe-notification-batch {
217
- background: $text;
233
+ background: $orange;
234
+ }
235
+
236
+ &.fwe-selected {
237
+ color: $orange;
238
+ &::before {
239
+ background: $orange;
240
+ }
218
241
  }
219
242
  }
220
243
 
221
244
  &.fwe-error {
222
- color: $white;
223
- background: $red;
245
+ color: $red;
246
+ background: $white;
247
+
248
+ &:has(.fwe-notification-batch) {
249
+ color: $text;
250
+ }
251
+
224
252
  &::before {
225
- background: $red;
253
+ background: $white;
226
254
  }
255
+
227
256
  .fwe-notification-batch {
228
- background: $text;
257
+ background: $red;
258
+ }
259
+
260
+ &.fwe-selected {
261
+ color: $red;
262
+ &::before {
263
+ background: $red;
264
+ }
229
265
  }
230
266
  }
231
267
 
232
268
  &:hover {
269
+ &.fwe-info {
270
+ color: $hero-hover;
271
+ background: $white;
272
+
273
+ .fwe-notification-batch {
274
+ background: $hero-hover;
275
+ }
276
+ }
277
+
278
+ &.fwe-warning {
279
+ color: $orange-hover;
280
+ background: $white;
281
+
282
+ .fwe-notification-batch {
283
+ background: $orange-hover;
284
+ }
285
+ }
286
+
287
+ &.fwe-error {
288
+ color: $red-hover;
289
+ background: $white;
290
+
291
+ .fwe-notification-batch {
292
+ background: $red-hover;
293
+ }
294
+ }
295
+ }
296
+
297
+ &.fwe-notification-button--strong {
298
+ &.fwe-info {
299
+ color: $white;
300
+ background: $hero;
301
+
302
+ &::before {
303
+ background: $hero;
304
+ }
305
+
306
+ .fwe-notification-batch {
307
+ background: $text;
308
+ }
309
+ }
310
+
233
311
  &.fwe-warning {
234
312
  color: $white;
235
- background: $orange-hover;
313
+ background: $orange;
314
+
236
315
  &::before {
237
- background: $orange-hover;
316
+ background: $orange;
317
+ }
318
+
319
+ .fwe-notification-batch {
320
+ background: $text;
238
321
  }
239
322
  }
323
+
240
324
  &.fwe-error {
241
325
  color: $white;
242
- background: $red-hover;
326
+ background: $red;
327
+
243
328
  &::before {
329
+ background: $red;
330
+ }
331
+
332
+ .fwe-notification-batch {
333
+ background: $text;
334
+ }
335
+ }
336
+
337
+ &:hover {
338
+ &.fwe-info {
339
+ color: $white;
340
+ background: $hero-hover;
341
+
342
+ &::before {
343
+ background: $hero-hover;
344
+ }
345
+ }
346
+
347
+ &.fwe-warning {
348
+ color: $white;
349
+ background: $orange-hover;
350
+
351
+ &::before {
352
+ background: $orange-hover;
353
+ }
354
+ }
355
+
356
+ &.fwe-error {
357
+ color: $white;
244
358
  background: $red-hover;
359
+
360
+ &::before {
361
+ background: $red-hover;
362
+ }
245
363
  }
246
364
  }
247
365
  }
366
+
367
+ .fwe-notification-batch {
368
+ position: absolute;
369
+ border-radius: 50%;
370
+ height: 22px;
371
+ line-height: calc(#{$font-size-small} + 4px);
372
+ width: 22px;
373
+ font-size: $font-size-small;
374
+ color: $white !important;
375
+ background: $caerul;
376
+ border: 2px solid $white;
377
+ top: -10px;
378
+ right: -10px;
379
+ }
248
380
  }
249
381
 
250
382
  .fwe-notification-menu {
@@ -280,20 +412,25 @@
280
412
  flex-direction: column;
281
413
  display: flex;
282
414
  cursor: pointer;
415
+
283
416
  &:hover {
284
417
  background: $background;
285
418
  }
419
+
286
420
  &.fwe-disabled {
287
421
  color: $text-disabled;
422
+
288
423
  .fwe-notification-item-content {
289
424
  &::before {
290
425
  color: $text-disabled;
291
426
  }
292
427
  }
293
428
  }
429
+
294
430
  .fwe-notification-item-content {
295
431
  border-top: 1px solid $border;
296
432
  }
433
+
297
434
  &:first-child {
298
435
  .fwe-notification-item-content {
299
436
  border-top: none;
@@ -312,12 +449,15 @@
312
449
  font-weight: $font-weight-bold;
313
450
  margin-bottom: 4px;
314
451
  }
452
+
315
453
  .fwe-item-footer {
316
454
  font-size: $font-size-small;
317
455
  color: $text-disabled;
318
456
  margin-top: 11px;
319
457
  }
458
+
320
459
  font-family: $font-family-base;
460
+
321
461
  &::before {
322
462
  content: "";
323
463
  position: absolute;
@@ -330,12 +470,15 @@
330
470
 
331
471
  .fwe-notification-info {
332
472
  @extend .fwe-notification-item-content;
473
+
333
474
  &::before {
334
475
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGc+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTgsLjk5OTg4YTcuMDAwMDYsNy4wMDAwNiwwLDEsMCw3LjAwMDA2LDcuMDAwMDZBNy4wMDAwNyw3LjAwMDA3LDAsMCwwLDgsLjk5OTg4Wk05LDEyLjk5OTk0SDd2LTZIOVptMC04SDd2LTJIOVoiIGZpbGw9IiMwMDkxZGMiLz48L2c+PC9zdmc+");
335
476
  }
336
477
  }
478
+
337
479
  .fwe-notification-warning {
338
480
  @extend .fwe-notification-item-content;
481
+
339
482
  &::before {
340
483
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGc+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJub25lIi8+PC9nPjxnIGlkPSJlNmQ1NGM1MS1lMDNkLTRkNWMtYmQ5Yy0xNjk5Mzg1YzRiODQiIGRhdGEtbmFtZT0iY29udGVudCI+PHBhdGggZD0iTTE1LjIxNTcsMTMuNTI5NDIsOC44ODIzMiwxLjY1NDQyYTEsMSwwLDAsMC0xLjc2NDY0LDBMLjc4NDMsMTMuNTI5NDJBMSwxLDAsMCwwLDEuNjY2NzUsMTVIMTQuMzMzMzdhMSwxLDAsMCwwLC44ODIzMy0xLjQ3MDU4Wk05LDEzSDdWMTFIOVptMC0zSDdWNUg5WiIgZmlsbD0iI2ZmOTYwMCIvPjwvZz48L3N2Zz4=");
341
484
  }
@@ -343,6 +486,7 @@
343
486
 
344
487
  .fwe-notification-error {
345
488
  @extend .fwe-notification-item-content;
489
+
346
490
  &::before {
347
491
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGc+PHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJub25lIi8+PC9nPjxnIGlkPSJlNmQ1NGM1MS1lMDNkLTRkNWMtYmQ5Yy0xNjk5Mzg1YzRiODQiIGRhdGEtbmFtZT0iY29udGVudCI+PHBhdGggZD0iTTE1LjIxNTcsMTMuNTI5NDIsOC44ODIzMiwxLjY1NDQyYTEsMSwwLDAsMC0xLjc2NDY0LDBMLjc4NDMsMTMuNTI5NDJBMSwxLDAsMCwwLDEuNjY2NzUsMTVIMTQuMzMzMzdhMSwxLDAsMCwwLC44ODIzMy0xLjQ3MDU4Wk05LDEzSDdWMTFIOVptMC0zSDdWNUg5WiIgZmlsbD0iI2Q1MDAwMCIvPjwvZz48L3N2Zz4=");
348
492
  color: $red;