@softheon/armature 10.31.3 → 10.32.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.
@@ -211,61 +211,113 @@ mat-form-field {
211
211
  text-align: center;
212
212
  }
213
213
 
214
- mat-button-toggle-group {
215
- &.mat-button-toggle-group {
216
- ::ng-deep &.sof-toggle-group {
217
- width: 230px !important;
218
- border: 1px solid mat-color($arm-primary, 500) !important;
219
- border-radius: 6px !important;
220
- mat-button-toggle {
221
- flex: 1 1 100% !important;
222
- box-sizing: border-box !important;
223
- align-items: center !important;
224
- flex-direction: row !important;
225
- display: flex !important;
226
- &.mat-button-toggle-checked {
227
- background-color: mat-color($arm-primary, 100) !important;
228
- color: mat-contrast($arm-primary, 500) !important;
229
- }
230
- button.mat-button-toggle-button {
231
- .mat-button-toggle-label-content {
232
- text-transform: uppercase !important;
233
- font-weight: bold !important;
234
- color: #000000de !important;
235
- }
236
- }
214
+ ::ng-deep mat-button-toggle-group {
215
+ &.sof-toggle-group {
216
+ height: 48px !important;
217
+ &.mat-button-toggle-group.mat-button-toggle-group-appearance-standard {
218
+ border: none !important;
219
+ border-radius: 0px !important;
220
+ }
221
+ &.full-width {
222
+ .toggle-left {
223
+ width: 100% !important;
224
+ }
225
+ .toggle-middle {
226
+ width: 100% !important;
227
+ }
228
+ .toggle-right {
229
+ width: 100% !important;
237
230
  }
238
231
  }
239
- }
240
- }
241
232
 
242
- /** Material Overrides */
243
-
244
- button.mat-button {
245
- &.sof-button {
246
- padding: 0px 24px !important;
247
- height: 48px !important;
248
- border-radius: 6px !important;
249
- font-family: Poppins !important;
250
- font-style: normal !important;
251
- font-weight: 600 !important;
252
- font-size: 16px !important;
253
- line-height: 24px !important;
254
- letter-spacing: 0.05em !important;
255
- text-transform: uppercase !important;
256
-
257
- &.fixed-width {
258
- width: 200px !important; // Use this is to match specific sizing
233
+ .mat-button-toggle-label-content {
234
+ text-transform: uppercase !important;
235
+ font-family: "Poppins" !important;
236
+ font-style: normal !important;
237
+ font-weight: 600 !important;
238
+ font-size: 16px !important;
239
+ line-height: 24px !important;
240
+ letter-spacing: 0.05em !important;
241
+ text-align: center !important;
242
+ color: black !important;
243
+ }
244
+ .mat-button-toggle-button {
245
+ height: 100% !important;
246
+ }
247
+ .mat-button-toggle-checked {
248
+ background-color: mat-color($arm-primary, 100) !important;
249
+ }
250
+ .toggle-left {
251
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
252
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
253
+ border-left: 2px solid mat-color($arm-primary, 500) !important;
254
+ border-right: 1px solid mat-color($arm-primary, 500) !important;
255
+ border-radius: 6px 0px 0px 6px !important;
256
+ width: 120px !important;
257
+ }
258
+ .toggle-middle {
259
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
260
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
261
+ border-left: 1px solid mat-color($arm-primary, 500) !important;
262
+ border-right: 1px solid mat-color($arm-primary, 500) !important;
263
+ border-radius: 0px 0px 0px 0px !important;
264
+ width: 120px !important;
265
+ }
266
+ .toggle-right {
267
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
268
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
269
+ border-left: 1px solid mat-color($arm-primary, 500) !important;
270
+ border-right: 2px solid mat-color($arm-primary, 500) !important;
271
+ border-radius: 0px 6px 6px 0px !important;
272
+ width: 120px !important;
259
273
  }
260
274
 
261
- &.full-width {
262
- width: 100% !important; // Use this is button width will take size of flex percentage
275
+ .mat-button-toggle-disabled {
276
+ &.mat-button-toggle-checked {
277
+ background-color: mat-color($arm-neutral, 200) !important;
278
+ }
279
+ &.toggle-left {
280
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
281
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
282
+ border-left: 2px solid mat-color($arm-neutral, 400) !important;
283
+ border-right: 1px solid mat-color($arm-neutral, 400) !important;
284
+ border-radius: 6px 0px 0px 6px !important;
285
+ width: 120px !important;
286
+ }
287
+ &.toggle-middle {
288
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
289
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
290
+ border-left: 1px solid mat-color($arm-neutral, 400) !important;
291
+ border-right: 1px solid mat-color($arm-neutral, 400) !important;
292
+ border-radius: 0px 0px 0px 0px !important;
293
+ width: 120px !important;
294
+ }
295
+ &.toggle-right {
296
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
297
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
298
+ border-left: 1px solid mat-color($arm-neutral, 400) !important;
299
+ border-right: 2px solid mat-color($arm-neutral, 400) !important;
300
+ border-radius: 0px 6px 6px 0px !important;
301
+ width: 120px !important;
302
+ }
263
303
  }
264
304
  }
305
+
306
+ &.sof-toggle-group[size="small"] {
307
+ height: 36px !important;
308
+ }
309
+ &.sof-toggle-group[size="medium"] {
310
+ height: 48px !important;
311
+ }
312
+ &.sof-toggle-group[size="large"] {
313
+ height: 56px !important;
314
+ }
265
315
  }
266
316
 
267
- button.mat-flat-button {
268
- &.sof-flat-button {
317
+ /** Material Overrides */
318
+
319
+ button.mat-button {
320
+ &.sof-button {
269
321
  padding: 0px 24px !important;
270
322
  height: 48px !important;
271
323
  border-radius: 6px !important;
@@ -286,98 +338,197 @@ button.mat-flat-button {
286
338
  }
287
339
 
288
340
  &:enabled {
289
- color: #ffffff !important;
290
341
  &.mat-primary {
291
- background: mat-color($arm-primary, 500);
342
+ color: mat-color($arm-primary, 500) !important;
292
343
  &:hover {
293
- background-color: mat-color($arm-primary, 700);
344
+ background-color: mat-color($arm-primary, 50);
294
345
  }
295
346
  &:focus {
296
- background-color: mat-color($arm-primary, 900);
347
+ background-color: mat-color($arm-primary, 100);
297
348
  }
298
349
  }
299
350
  &.mat-accent {
300
- background: mat-color($arm-accent, 500);
351
+ color: mat-color($arm-accent, 500) !important;
301
352
  &:hover {
302
- background-color: mat-color($arm-accent, 700);
353
+ background-color: mat-color($arm-accent, 50);
303
354
  }
304
355
  &:focus {
305
- background-color: mat-color($arm-accent, 900);
356
+ background-color: mat-color($arm-accent, 100);
306
357
  }
307
358
  }
308
359
  &.mat-warn {
309
- background: mat-color($arm-warn, 500);
360
+ color: mat-color($arm-warn, 500) !important;
310
361
  &:hover {
311
- background-color: mat-color($arm-warn, 700);
362
+ background-color: mat-color($arm-warn, 50);
312
363
  }
313
364
  &:focus {
314
- background-color: mat-color($arm-warn, 900);
365
+ background-color: mat-color($arm-warn, 100);
315
366
  }
316
367
  }
317
- i {
318
- color: #ffffff !important;
368
+ &.mat-success {
369
+ color: mat-color($arm-success, 500) !important;
370
+ &:hover {
371
+ background-color: mat-color($arm-success, 50);
372
+ }
373
+ &:focus {
374
+ background-color: mat-color($arm-success, 100);
375
+ }
376
+ }
377
+ &.mat-error {
378
+ color: mat-color($arm-error, 500) !important;
379
+ &:hover {
380
+ background-color: mat-color($arm-error, 50);
381
+ }
382
+ &:focus {
383
+ background-color: mat-color($arm-error, 100);
384
+ }
385
+ }
386
+ &.mat-info {
387
+ color: mat-color($arm-info, 500) !important;
388
+ &:hover {
389
+ background-color: mat-color($arm-info, 50);
390
+ }
391
+ &:focus {
392
+ background-color: mat-color($arm-info, 100);
393
+ }
394
+ }
395
+ &.mat-neutral {
396
+ color: #000000de !important;
397
+ &:hover {
398
+ background-color: mat-color($arm-neutral, 50);
399
+ }
400
+ &:focus {
401
+ background-color: mat-color($arm-neutral, 100);
402
+ }
319
403
  }
320
404
  }
321
405
 
322
406
  &:disabled {
323
- background: #f7f7f7 !important;
324
407
  color: rgba(0, 0, 0, 0.6) !important;
325
408
  opacity: 1 !important;
326
409
  }
410
+
411
+ i {
412
+ margin-left: -8px !important;
413
+ margin-right: 4px !important;
414
+ }
327
415
  }
328
- &.sof-flat-button-large {
329
- padding: 0px 24px !important;
416
+ &.sof-button[size="small"] {
417
+ height: 36px !important;
418
+ i {
419
+ font-size: 1em !important;
420
+ }
421
+ }
422
+ &.sof-button[size="medium"] {
423
+ height: 48px !important;
424
+ i {
425
+ font-size: 1em !important;
426
+ }
427
+ }
428
+ &.sof-button[size="large"] {
330
429
  height: 56px !important;
430
+ i {
431
+ font-size: 1.15em !important;
432
+ }
433
+ }
434
+
435
+ &.sof-icon-button {
331
436
  border-radius: 6px !important;
332
- font-family: Poppins !important;
333
- font-style: normal !important;
334
- font-weight: 600 !important;
335
- font-size: 16px !important;
336
- line-height: 24px !important;
337
- letter-spacing: 0.05em !important;
338
- text-transform: uppercase !important;
437
+ padding: 0px !important;
339
438
 
340
439
  &:enabled {
341
- color: #ffffff !important;
342
440
  &.mat-primary {
343
- background: mat-color($arm-primary, 500);
441
+ color: mat-color($arm-primary, 500) !important;
344
442
  &:hover {
345
- background-color: mat-color($arm-primary, 700);
443
+ background-color: mat-color($arm-primary, 50);
346
444
  }
347
445
  &:focus {
348
- background-color: mat-color($arm-primary, 900);
446
+ background-color: mat-color($arm-primary, 100);
349
447
  }
350
448
  }
351
449
  &.mat-accent {
352
- background: mat-color($arm-accent, 500);
450
+ color: mat-color($arm-accent, 500) !important;
353
451
  &:hover {
354
- background-color: mat-color($arm-accent, 700);
452
+ background-color: mat-color($arm-accent, 50);
355
453
  }
356
454
  &:focus {
357
- background-color: mat-color($arm-accent, 900);
455
+ background-color: mat-color($arm-accent, 100);
358
456
  }
359
457
  }
360
458
  &.mat-warn {
361
- background: mat-color($arm-warn, 500);
459
+ color: mat-color($arm-warn, 500) !important;
362
460
  &:hover {
363
- background-color: mat-color($arm-warn, 700);
461
+ background-color: mat-color($arm-warn, 50);
364
462
  }
365
463
  &:focus {
366
- background-color: mat-color($arm-warn, 900);
464
+ background-color: mat-color($arm-warn, 100);
367
465
  }
368
466
  }
369
- i {
370
- color: #ffffff !important;
467
+ &.mat-success {
468
+ color: mat-color($arm-success, 500) !important;
469
+ &:hover {
470
+ background-color: mat-color($arm-success, 50);
471
+ }
472
+ &:focus {
473
+ background-color: mat-color($arm-success, 100);
474
+ }
475
+ }
476
+ &.mat-error {
477
+ color: mat-color($arm-error, 500) !important;
478
+ &:hover {
479
+ background-color: mat-color($arm-error, 50);
480
+ }
481
+ &:focus {
482
+ background-color: mat-color($arm-error, 100);
483
+ }
484
+ }
485
+ &.mat-info {
486
+ color: mat-color($arm-info, 500) !important;
487
+ &:hover {
488
+ background-color: mat-color($arm-info, 50);
489
+ }
490
+ &:focus {
491
+ background-color: mat-color($arm-info, 100);
492
+ }
493
+ }
494
+ &.mat-neutral {
495
+ color: #000000de !important;
496
+ &:hover {
497
+ background-color: mat-color($arm-neutral, 50);
498
+ }
499
+ &:focus {
500
+ background-color: mat-color($arm-neutral, 100);
501
+ }
371
502
  }
372
503
  }
373
504
 
374
505
  &:disabled {
375
- background: #f7f7f7 !important;
376
506
  color: rgba(0, 0, 0, 0.6) !important;
377
507
  opacity: 1 !important;
378
508
  }
379
509
  }
380
- &.sof-flat-button-medium {
510
+ &.sof-icon-button[size="small"] {
511
+ height: 36px !important;
512
+ width: 36px !important;
513
+ min-width: 36px !important;
514
+ font-size: 19px !important;
515
+ }
516
+ &.sof-icon-button[size="medium"] {
517
+ height: 48px !important;
518
+ width: 48px !important;
519
+ min-width: 48px !important;
520
+ font-size: 26px !important;
521
+ }
522
+ &.sof-icon-button[size="large"] {
523
+ height: 56px !important;
524
+ width: 56px !important;
525
+ min-width: 56px !important;
526
+ font-size: 26px !important;
527
+ }
528
+ }
529
+
530
+ button.mat-flat-button {
531
+ &.sof-flat-button {
381
532
  padding: 0px 24px !important;
382
533
  height: 48px !important;
383
534
  border-radius: 6px !important;
@@ -389,6 +540,14 @@ button.mat-flat-button {
389
540
  letter-spacing: 0.05em !important;
390
541
  text-transform: uppercase !important;
391
542
 
543
+ &.fixed-width {
544
+ width: 200px !important; // Use this is to match specific sizing
545
+ }
546
+
547
+ &.full-width {
548
+ width: 100% !important; // Use this is button width will take size of flex percentage
549
+ }
550
+
392
551
  &:enabled {
393
552
  color: #ffffff !important;
394
553
  &.mat-primary {
@@ -418,6 +577,42 @@ button.mat-flat-button {
418
577
  background-color: mat-color($arm-warn, 900);
419
578
  }
420
579
  }
580
+ &.mat-success {
581
+ background: mat-color($arm-success, 500);
582
+ &:hover {
583
+ background-color: mat-color($arm-success, 700);
584
+ }
585
+ &:focus {
586
+ background-color: mat-color($arm-success, 900);
587
+ }
588
+ }
589
+ &.mat-error {
590
+ background: mat-color($arm-error, 500);
591
+ &:hover {
592
+ background-color: mat-color($arm-error, 700);
593
+ }
594
+ &:focus {
595
+ background-color: mat-color($arm-error, 900);
596
+ }
597
+ }
598
+ &.mat-info {
599
+ background: mat-color($arm-info, 500);
600
+ &:hover {
601
+ background-color: mat-color($arm-info, 700);
602
+ }
603
+ &:focus {
604
+ background-color: mat-color($arm-info, 900);
605
+ }
606
+ }
607
+ &.mat-neutral {
608
+ background: #000000de;
609
+ &:hover {
610
+ background-color: mat-color($arm-neutral, 700);
611
+ }
612
+ &:focus {
613
+ background-color: mat-color($arm-neutral, 900);
614
+ }
615
+ }
421
616
  i {
422
617
  color: #ffffff !important;
423
618
  }
@@ -428,18 +623,34 @@ button.mat-flat-button {
428
623
  color: rgba(0, 0, 0, 0.6) !important;
429
624
  opacity: 1 !important;
430
625
  }
626
+
627
+ i {
628
+ margin-left: -8px !important;
629
+ margin-right: 4px !important;
630
+ }
431
631
  }
432
- &.sof-flat-button-small {
433
- padding: 0px 24px !important;
632
+ &.sof-flat-button[size="small"] {
434
633
  height: 36px !important;
634
+ i {
635
+ font-size: 1em !important;
636
+ }
637
+ }
638
+ &.sof-flat-button[size="medium"] {
639
+ height: 48px !important;
640
+ i {
641
+ font-size: 1em !important;
642
+ }
643
+ }
644
+ &.sof-flat-button[size="large"] {
645
+ height: 56px !important;
646
+ i {
647
+ font-size: 1.15em !important;
648
+ }
649
+ }
650
+
651
+ &.sof-flat-icon-button {
435
652
  border-radius: 6px !important;
436
- font-family: Poppins !important;
437
- font-style: normal !important;
438
- font-weight: 600 !important;
439
- font-size: 16px !important;
440
- line-height: 24px !important;
441
- letter-spacing: 0.05em !important;
442
- text-transform: uppercase !important;
653
+ padding: 0px !important;
443
654
 
444
655
  &:enabled {
445
656
  color: #ffffff !important;
@@ -470,6 +681,42 @@ button.mat-flat-button {
470
681
  background-color: mat-color($arm-warn, 900);
471
682
  }
472
683
  }
684
+ &.mat-success {
685
+ background: mat-color($arm-success, 500);
686
+ &:hover {
687
+ background-color: mat-color($arm-success, 700);
688
+ }
689
+ &:focus {
690
+ background-color: mat-color($arm-success, 900);
691
+ }
692
+ }
693
+ &.mat-error {
694
+ background: mat-color($arm-error, 500);
695
+ &:hover {
696
+ background-color: mat-color($arm-error, 700);
697
+ }
698
+ &:focus {
699
+ background-color: mat-color($arm-error, 900);
700
+ }
701
+ }
702
+ &.mat-info {
703
+ background: mat-color($arm-info, 500);
704
+ &:hover {
705
+ background-color: mat-color($arm-info, 700);
706
+ }
707
+ &:focus {
708
+ background-color: mat-color($arm-info, 900);
709
+ }
710
+ }
711
+ &.mat-neutral {
712
+ background: #000000de;
713
+ &:hover {
714
+ background-color: mat-color($arm-neutral, 700);
715
+ }
716
+ &:focus {
717
+ background-color: mat-color($arm-neutral, 900);
718
+ }
719
+ }
473
720
  i {
474
721
  color: #ffffff !important;
475
722
  }
@@ -481,6 +728,24 @@ button.mat-flat-button {
481
728
  opacity: 1 !important;
482
729
  }
483
730
  }
731
+ &.sof-flat-icon-button[size="small"] {
732
+ height: 36px !important;
733
+ width: 36px !important;
734
+ min-width: 36px !important;
735
+ font-size: 19px !important;
736
+ }
737
+ &.sof-flat-icon-button[size="medium"] {
738
+ height: 48px !important;
739
+ width: 48px !important;
740
+ min-width: 48px !important;
741
+ font-size: 26px !important;
742
+ }
743
+ &.sof-flat-icon-button[size="large"] {
744
+ height: 56px !important;
745
+ width: 56px !important;
746
+ min-width: 56px !important;
747
+ font-size: 26px !important;
748
+ }
484
749
  }
485
750
 
486
751
  button.mat-stroked-button {
@@ -569,6 +834,82 @@ button.mat-stroked-button {
569
834
  }
570
835
  }
571
836
  }
837
+ &.mat-success {
838
+ background-color: mat-color($arm-success, 50) !important;
839
+ color: mat-color($arm-success, 500) !important;
840
+ i {
841
+ color: mat-color($arm-success, 500) !important;
842
+ }
843
+ &:hover {
844
+ background-color: mat-color($arm-success, 100) !important;
845
+ color: white !important;
846
+ i {
847
+ color: white !important;
848
+ }
849
+ }
850
+ &:focus {
851
+ background-color: mat-color($arm-success, 200) !important;
852
+ color: white !important;
853
+ i {
854
+ color: white !important;
855
+ }
856
+ }
857
+ }
858
+ &.mat-info {
859
+ background-color: mat-color($arm-info, 50) !important;
860
+ color: mat-color($arm-info, 500) !important;
861
+ i {
862
+ color: mat-color($arm-info, 500) !important;
863
+ }
864
+ &:hover {
865
+ background-color: mat-color($arm-info, 100) !important;
866
+ color: white !important;
867
+ i {
868
+ color: white !important;
869
+ }
870
+ }
871
+ &:focus {
872
+ background-color: mat-color($arm-info, 200) !important;
873
+ color: white !important;
874
+ i {
875
+ color: white !important;
876
+ }
877
+ }
878
+ }
879
+ &.mat-error {
880
+ background-color: mat-color($arm-error, 50) !important;
881
+ color: mat-color($arm-error, 500) !important;
882
+ i {
883
+ color: mat-color($arm-error, 500) !important;
884
+ }
885
+ &:hover {
886
+ background-color: mat-color($arm-error, 100) !important;
887
+ color: white !important;
888
+ i {
889
+ color: white !important;
890
+ }
891
+ }
892
+ &:focus {
893
+ background-color: mat-color($arm-error, 200) !important;
894
+ color: white !important;
895
+ i {
896
+ color: white !important;
897
+ }
898
+ }
899
+ }
900
+ &.mat-neutral {
901
+ background-color: mat-color($arm-neutral, 50) !important;
902
+ color: #000000de !important;
903
+ i {
904
+ color: #000000de !important;
905
+ }
906
+ &:hover {
907
+ background-color: mat-color($arm-neutral, 100) !important;
908
+ }
909
+ &:focus {
910
+ background-color: mat-color($arm-neutral, 200) !important;
911
+ }
912
+ }
572
913
  }
573
914
 
574
915
  &:disabled {
@@ -576,11 +917,16 @@ button.mat-stroked-button {
576
917
  color: rgba(0, 0, 0, 0.6) !important;
577
918
  opacity: 1 !important;
578
919
  }
920
+
921
+ i {
922
+ margin-left: -8px !important;
923
+ margin-right: 4px !important;
924
+ }
579
925
  }
580
- &.sof-stroked-button-large {
926
+ &.sof-stroked-button-outline {
581
927
  padding: 0px 24px !important;
582
- height: 56px !important;
583
- border: none !important;
928
+ height: 48px !important;
929
+ background: #ffffff !important;
584
930
  border-radius: 6px !important;
585
931
  font-family: Poppins !important;
586
932
  font-style: normal !important;
@@ -590,68 +936,104 @@ button.mat-stroked-button {
590
936
  letter-spacing: 0.05em !important;
591
937
  text-transform: uppercase !important;
592
938
 
939
+ &.fixed-width {
940
+ width: 200px !important; // Use this is to match specific sizing
941
+ }
942
+
943
+ &.full-width {
944
+ width: 100% !important; // Use this is button width will take size of flex percentage
945
+ }
946
+
593
947
  &:enabled {
594
948
  &.mat-primary {
595
- background-color: mat-color($arm-primary, 50) !important;
949
+ border: 2px solid mat-color($arm-primary, 500) !important;
596
950
  color: mat-color($arm-primary, 500) !important;
597
951
  i {
598
952
  color: mat-color($arm-primary, 500) !important;
599
953
  }
600
954
  &:hover {
601
955
  background-color: mat-color($arm-primary, 100) !important;
602
- color: white !important;
603
- i {
604
- color: white !important;
605
- }
606
956
  }
607
957
  &:focus {
608
958
  background-color: mat-color($arm-primary, 200) !important;
609
- color: white !important;
610
- i {
611
- color: white !important;
612
- }
613
959
  }
614
960
  }
615
961
  &.mat-accent {
616
- background-color: mat-color($arm-accent, 50) !important;
962
+ border: 2px solid mat-color($arm-accent, 500) !important;
617
963
  color: mat-color($arm-accent, 500) !important;
618
964
  i {
619
965
  color: mat-color($arm-accent, 500) !important;
620
966
  }
621
967
  &:hover {
622
968
  background-color: mat-color($arm-accent, 100) !important;
623
- color: white !important;
624
- i {
625
- color: white !important;
626
- }
627
969
  }
628
970
  &:focus {
629
971
  background-color: mat-color($arm-accent, 200) !important;
630
- color: white !important;
631
- i {
632
- color: white !important;
633
- }
634
972
  }
635
973
  }
636
- &.mat-warn {
637
- background-color: mat-color($arm-warn, 50) !important;
638
- color: mat-color($arm-warn, 500) !important;
974
+ &.mat-warn {
975
+ border: 2px solid mat-color($arm-warn, 500) !important;
976
+ color: mat-color($arm-warn, 500) !important;
977
+ i {
978
+ color: mat-color($arm-warn, 500) !important;
979
+ }
980
+ &:hover {
981
+ background-color: mat-color($arm-warn, 100) !important;
982
+ }
983
+ &:focus {
984
+ background-color: mat-color($arm-warn, 200) !important;
985
+ }
986
+ }
987
+ &.mat-success {
988
+ border: 2px solid mat-color($arm-success, 500) !important;
989
+ color: mat-color($arm-success, 500) !important;
990
+ i {
991
+ color: mat-color($arm-success, 500) !important;
992
+ }
993
+ &:hover {
994
+ background-color: mat-color($arm-success, 100) !important;
995
+ }
996
+ &:focus {
997
+ background-color: mat-color($arm-success, 200) !important;
998
+ }
999
+ }
1000
+ &.mat-error {
1001
+ border: 2px solid mat-color($arm-error, 500) !important;
1002
+ color: mat-color($arm-error, 500) !important;
1003
+ i {
1004
+ color: mat-color($arm-error, 500) !important;
1005
+ }
1006
+ &:hover {
1007
+ background-color: mat-color($arm-error, 100) !important;
1008
+ }
1009
+ &:focus {
1010
+ background-color: mat-color($arm-error, 200) !important;
1011
+ }
1012
+ }
1013
+ &.mat-info {
1014
+ border: 2px solid mat-color($arm-info, 500) !important;
1015
+ color: mat-color($arm-info, 500) !important;
1016
+ i {
1017
+ color: mat-color($arm-info, 500) !important;
1018
+ }
1019
+ &:hover {
1020
+ background-color: mat-color($arm-info, 100) !important;
1021
+ }
1022
+ &:focus {
1023
+ background-color: mat-color($arm-info, 200) !important;
1024
+ }
1025
+ }
1026
+ &.mat-neutral {
1027
+ border: 2px solid #000000de !important;
1028
+ color: #000000de !important;
639
1029
  i {
640
- color: mat-color($arm-warn, 500) !important;
1030
+ color: 000000de !important;
641
1031
  }
642
1032
  &:hover {
643
- background-color: mat-color($arm-warn, 100) !important;
644
- color: white !important;
645
- i {
646
- color: white !important;
647
- }
1033
+ background-color: mat-color($arm-neutral, 100) !important;
648
1034
  }
649
1035
  &:focus {
650
- background-color: mat-color($arm-warn, 200) !important;
651
- color: white !important;
652
- i {
653
- color: white !important;
654
- }
1036
+ background-color: mat-color($arm-neutral, 200) !important;
655
1037
  }
656
1038
  }
657
1039
  }
@@ -659,21 +1041,41 @@ button.mat-stroked-button {
659
1041
  &:disabled {
660
1042
  background: #f7f7f7 !important;
661
1043
  color: rgba(0, 0, 0, 0.6) !important;
1044
+ border: 2px solid rgba(0, 0, 0, 0.38) !important;
662
1045
  opacity: 1 !important;
663
1046
  }
1047
+
1048
+ i {
1049
+ margin-left: -8px !important;
1050
+ margin-right: 4px !important;
1051
+ }
664
1052
  }
665
- &.sof-stroked-button-medium {
666
- padding: 0px 24px !important;
1053
+ &.sof-stroked-button[size="small"],
1054
+ &.sof-stroked-button-outline[size="small"] {
1055
+ height: 36px !important;
1056
+ i {
1057
+ font-size: 1em !important;
1058
+ }
1059
+ }
1060
+ &.sof-stroked-button[size="medium"],
1061
+ &.sof-stroked-button-outline[size="medium"] {
667
1062
  height: 48px !important;
1063
+ i {
1064
+ font-size: 1em !important;
1065
+ }
1066
+ }
1067
+ &.sof-stroked-button[size="large"],
1068
+ &.sof-stroked-button-outline[size="large"] {
1069
+ height: 56px !important;
1070
+ i {
1071
+ font-size: 1.15em !important;
1072
+ }
1073
+ }
1074
+
1075
+ &.sof-stroked-icon-button {
668
1076
  border: none !important;
669
1077
  border-radius: 6px !important;
670
- font-family: Poppins !important;
671
- font-style: normal !important;
672
- font-weight: 600 !important;
673
- font-size: 16px !important;
674
- line-height: 24px !important;
675
- letter-spacing: 0.05em !important;
676
- text-transform: uppercase !important;
1078
+ padding: 0px !important;
677
1079
 
678
1080
  &:enabled {
679
1081
  &.mat-primary {
@@ -739,150 +1141,80 @@ button.mat-stroked-button {
739
1141
  }
740
1142
  }
741
1143
  }
742
- }
743
-
744
- &:disabled {
745
- background: #f7f7f7 !important;
746
- color: rgba(0, 0, 0, 0.6) !important;
747
- opacity: 1 !important;
748
- }
749
- }
750
- &.sof-stroked-button-small {
751
- padding: 0px 24px !important;
752
- height: 36px !important;
753
- border: none !important;
754
- border-radius: 6px !important;
755
- font-family: Poppins !important;
756
- font-style: normal !important;
757
- font-weight: 600 !important;
758
- font-size: 16px !important;
759
- line-height: 24px !important;
760
- letter-spacing: 0.05em !important;
761
- text-transform: uppercase !important;
762
-
763
- &:enabled {
764
- &.mat-primary {
765
- background-color: mat-color($arm-primary, 50) !important;
766
- color: mat-color($arm-primary, 500) !important;
1144
+ &.mat-success {
1145
+ background-color: mat-color($arm-success, 50) !important;
1146
+ color: mat-color($arm-success, 500) !important;
767
1147
  i {
768
- color: mat-color($arm-primary, 500) !important;
1148
+ color: mat-color($arm-success, 500) !important;
769
1149
  }
770
1150
  &:hover {
771
- background-color: mat-color($arm-primary, 100) !important;
1151
+ background-color: mat-color($arm-success, 100) !important;
772
1152
  color: white !important;
773
1153
  i {
774
1154
  color: white !important;
775
1155
  }
776
1156
  }
777
1157
  &:focus {
778
- background-color: mat-color($arm-primary, 200) !important;
1158
+ background-color: mat-color($arm-success, 200) !important;
779
1159
  color: white !important;
780
1160
  i {
781
1161
  color: white !important;
782
1162
  }
783
1163
  }
784
1164
  }
785
- &.mat-accent {
786
- background-color: mat-color($arm-accent, 50) !important;
787
- color: mat-color($arm-accent, 500) !important;
1165
+ &.mat-info {
1166
+ background-color: mat-color($arm-info, 50) !important;
1167
+ color: mat-color($arm-info, 500) !important;
788
1168
  i {
789
- color: mat-color($arm-accent, 500) !important;
1169
+ color: mat-color($arm-info, 500) !important;
790
1170
  }
791
1171
  &:hover {
792
- background-color: mat-color($arm-accent, 100) !important;
1172
+ background-color: mat-color($arm-info, 100) !important;
793
1173
  color: white !important;
794
1174
  i {
795
1175
  color: white !important;
796
1176
  }
797
1177
  }
798
1178
  &:focus {
799
- background-color: mat-color($arm-accent, 200) !important;
1179
+ background-color: mat-color($arm-info, 200) !important;
800
1180
  color: white !important;
801
1181
  i {
802
1182
  color: white !important;
803
1183
  }
804
1184
  }
805
1185
  }
806
- &.mat-warn {
807
- background-color: mat-color($arm-warn, 50) !important;
808
- color: mat-color($arm-warn, 500) !important;
1186
+ &.mat-error {
1187
+ background-color: mat-color($arm-error, 50) !important;
1188
+ color: mat-color($arm-error, 500) !important;
809
1189
  i {
810
- color: mat-color($arm-warn, 500) !important;
1190
+ color: mat-color($arm-error, 500) !important;
811
1191
  }
812
1192
  &:hover {
813
- background-color: mat-color($arm-warn, 100) !important;
1193
+ background-color: mat-color($arm-error, 100) !important;
814
1194
  color: white !important;
815
1195
  i {
816
1196
  color: white !important;
817
1197
  }
818
1198
  }
819
1199
  &:focus {
820
- background-color: mat-color($arm-warn, 200) !important;
1200
+ background-color: mat-color($arm-error, 200) !important;
821
1201
  color: white !important;
822
1202
  i {
823
1203
  color: white !important;
824
1204
  }
825
1205
  }
826
1206
  }
827
- }
828
-
829
- &:disabled {
830
- background: #f7f7f7 !important;
831
- color: rgba(0, 0, 0, 0.6) !important;
832
- opacity: 1 !important;
833
- }
834
- }
835
- &.sof-stroked-button-large-outline {
836
- padding: 0px 24px !important;
837
- height: 56px !important;
838
- background: #ffffff !important;
839
- border-radius: 6px !important;
840
- font-family: Poppins !important;
841
- font-style: normal !important;
842
- font-weight: 600 !important;
843
- font-size: 16px !important;
844
- line-height: 24px !important;
845
- letter-spacing: 0.05em !important;
846
- text-transform: uppercase !important;
847
-
848
- &:enabled {
849
- &.mat-primary {
850
- border: 2px solid mat-color($arm-primary, 500) !important;
851
- color: mat-color($arm-primary, 500) !important;
852
- i {
853
- color: mat-color($arm-primary, 500) !important;
854
- }
855
- &:hover {
856
- background-color: mat-color($arm-primary, 100) !important;
857
- }
858
- &:focus {
859
- background-color: mat-color($arm-primary, 200) !important;
860
- }
861
- }
862
- &.mat-accent {
863
- border: 2px solid mat-color($arm-accent, 500) !important;
864
- color: mat-color($arm-accent, 500) !important;
865
- i {
866
- color: mat-color($arm-accent, 500) !important;
867
- }
868
- &:hover {
869
- background-color: mat-color($arm-accent, 100) !important;
870
- }
871
- &:focus {
872
- background-color: mat-color($arm-accent, 200) !important;
873
- }
874
- }
875
- &.mat-warn {
876
- border: 2px solid mat-color($arm-warn, 500) !important;
877
- color: mat-color($arm-warn, 500) !important;
1207
+ &.mat-neutral {
1208
+ background-color: mat-color($arm-neutral, 50) !important;
1209
+ color: #000000de !important;
878
1210
  i {
879
- color: mat-color($arm-warn, 500) !important;
1211
+ color: #000000de !important;
880
1212
  }
881
1213
  &:hover {
882
- background-color: mat-color($arm-warn, 100) !important;
1214
+ background-color: mat-color($arm-neutral, 100) !important;
883
1215
  }
884
1216
  &:focus {
885
- background-color: mat-color($arm-warn, 200) !important;
1217
+ background-color: mat-color($arm-neutral, 200) !important;
886
1218
  }
887
1219
  }
888
1220
  }
@@ -893,18 +1225,10 @@ button.mat-stroked-button {
893
1225
  opacity: 1 !important;
894
1226
  }
895
1227
  }
896
- &.sof-stroked-button-medium-outline {
897
- padding: 0px 24px !important;
898
- height: 48px !important;
1228
+ &.sof-stroked-icon-button-outline {
899
1229
  background: #ffffff !important;
900
1230
  border-radius: 6px !important;
901
- font-family: Poppins !important;
902
- font-style: normal !important;
903
- font-weight: 600 !important;
904
- font-size: 16px !important;
905
- line-height: 24px !important;
906
- letter-spacing: 0.05em !important;
907
- text-transform: uppercase !important;
1231
+ padding: 0px !important;
908
1232
 
909
1233
  &:enabled {
910
1234
  &.mat-primary {
@@ -946,65 +1270,56 @@ button.mat-stroked-button {
946
1270
  background-color: mat-color($arm-warn, 200) !important;
947
1271
  }
948
1272
  }
949
- }
950
-
951
- &:disabled {
952
- background: #f7f7f7 !important;
953
- color: rgba(0, 0, 0, 0.6) !important;
954
- opacity: 1 !important;
955
- }
956
- }
957
- &.sof-stroked-button-small-outline {
958
- padding: 0px 24px !important;
959
- height: 36px !important;
960
- background: #ffffff !important;
961
- border-radius: 6px !important;
962
- font-family: Poppins !important;
963
- font-style: normal !important;
964
- font-weight: 600 !important;
965
- font-size: 16px !important;
966
- line-height: 24px !important;
967
- letter-spacing: 0.05em !important;
968
- text-transform: uppercase !important;
969
-
970
- &:enabled {
971
- &.mat-primary {
972
- border: 2px solid mat-color($arm-primary, 500) !important;
973
- color: mat-color($arm-primary, 500) !important;
1273
+ &.mat-success {
1274
+ border: 2px solid mat-color($arm-success, 500) !important;
1275
+ color: mat-color($arm-success, 500) !important;
974
1276
  i {
975
- color: mat-color($arm-primary, 500) !important;
1277
+ color: mat-color($arm-success, 500) !important;
976
1278
  }
977
1279
  &:hover {
978
- background-color: mat-color($arm-primary, 100) !important;
1280
+ background-color: mat-color($arm-success, 100) !important;
979
1281
  }
980
1282
  &:focus {
981
- background-color: mat-color($arm-primary, 200) !important;
1283
+ background-color: mat-color($arm-success, 200) !important;
982
1284
  }
983
1285
  }
984
- &.mat-accent {
985
- border: 2px solid mat-color($arm-accent, 500) !important;
986
- color: mat-color($arm-accent, 500) !important;
1286
+ &.mat-error {
1287
+ border: 2px solid mat-color($arm-error, 500) !important;
1288
+ color: mat-color($arm-error, 500) !important;
987
1289
  i {
988
- color: mat-color($arm-accent, 500) !important;
1290
+ color: mat-color($arm-error, 500) !important;
989
1291
  }
990
1292
  &:hover {
991
- background-color: mat-color($arm-accent, 100) !important;
1293
+ background-color: mat-color($arm-error, 100) !important;
992
1294
  }
993
1295
  &:focus {
994
- background-color: mat-color($arm-accent, 200) !important;
1296
+ background-color: mat-color($arm-error, 200) !important;
995
1297
  }
996
1298
  }
997
- &.mat-warn {
998
- border: 2px solid mat-color($arm-warn, 500) !important;
999
- color: mat-color($arm-warn, 500) !important;
1299
+ &.mat-info {
1300
+ border: 2px solid mat-color($arm-info, 500) !important;
1301
+ color: mat-color($arm-info, 500) !important;
1000
1302
  i {
1001
- color: mat-color($arm-warn, 500) !important;
1303
+ color: mat-color($arm-info, 500) !important;
1002
1304
  }
1003
1305
  &:hover {
1004
- background-color: mat-color($arm-warn, 100) !important;
1306
+ background-color: mat-color($arm-info, 100) !important;
1005
1307
  }
1006
1308
  &:focus {
1007
- background-color: mat-color($arm-warn, 200) !important;
1309
+ background-color: mat-color($arm-info, 200) !important;
1310
+ }
1311
+ }
1312
+ &.mat-neutral {
1313
+ border: 2px solid #000000de !important;
1314
+ color: #000000de !important;
1315
+ i {
1316
+ color: 000000de !important;
1317
+ }
1318
+ &:hover {
1319
+ background-color: mat-color($arm-neutral, 100) !important;
1320
+ }
1321
+ &:focus {
1322
+ background-color: mat-color($arm-neutral, 200) !important;
1008
1323
  }
1009
1324
  }
1010
1325
  }
@@ -1012,49 +1327,30 @@ button.mat-stroked-button {
1012
1327
  &:disabled {
1013
1328
  background: #f7f7f7 !important;
1014
1329
  color: rgba(0, 0, 0, 0.6) !important;
1330
+ border: 2px solid rgba(0, 0, 0, 0.38) !important;
1015
1331
  opacity: 1 !important;
1016
1332
  }
1017
1333
  }
1018
- &.action-btn {
1019
- font-family: Poppins !important;
1020
- font-style: normal !important;
1021
- font-weight: 600 !important;
1022
- font-size: 16px !important;
1023
- line-height: 24px !important;
1024
- padding: 0px 24px !important;
1334
+ &.sof-stroked-icon-button[size="small"],
1335
+ &.sof-stroked-icon-button-outline[size="small"] {
1025
1336
  height: 36px !important;
1026
- letter-spacing: 0.05em !important;
1027
- text-transform: uppercase !important;
1028
- background: white !important;
1029
- border: 2px solid black !important;
1030
- box-sizing: border-box !important;
1031
- border-radius: 6px !important;
1032
- color: black !important;
1033
- white-space: normal !important;
1034
- i {
1035
- color: black !important;
1036
- }
1037
- &.mat-primary {
1038
- color: mat-color($arm-primary, 500) !important;
1039
- border: 2px solid mat-color($arm-primary, 500) !important;
1040
- i {
1041
- color: mat-color($arm-primary, 500) !important;
1042
- }
1043
- }
1044
- &.mat-accent {
1045
- color: mat-color($arm-accent, 500) !important;
1046
- border: 2px solid mat-color($arm-accent, 500) !important;
1047
- i {
1048
- color: mat-color($arm-accent, 500) !important;
1049
- }
1050
- }
1051
- &.mat-warn {
1052
- color: mat-color($arm-warn, 500) !important;
1053
- border: 2px solid mat-color($arm-warn, 500) !important;
1054
- i {
1055
- color: mat-color($arm-warn, 500) !important;
1056
- }
1057
- }
1337
+ width: 36px !important;
1338
+ min-width: 36px !important;
1339
+ font-size: 19px !important;
1340
+ }
1341
+ &.sof-stroked-icon-button[size="medium"],
1342
+ &.sof-stroked-icon-button-outline[size="medium"] {
1343
+ height: 48px !important;
1344
+ width: 48px !important;
1345
+ min-width: 48px !important;
1346
+ font-size: 26px !important;
1347
+ }
1348
+ &.sof-stroked-icon-button[size="large"],
1349
+ &.sof-stroked-icon-button-outline[size="large"] {
1350
+ height: 56px !important;
1351
+ width: 56px !important;
1352
+ min-width: 56px !important;
1353
+ font-size: 26px !important;
1058
1354
  }
1059
1355
  }
1060
1356
 
@@ -1130,6 +1426,7 @@ mat-card {
1130
1426
  }
1131
1427
 
1132
1428
  ::ng-deep mat-form-field.sof-form-field {
1429
+ font-family: "Poppins" !important;
1133
1430
  &.mat-form-field-invalid {
1134
1431
  .mat-form-field-flex > div.mat-form-field-outline.mat-form-field-outline-thick {
1135
1432
  color: mat-color($arm-error, 500) !important;
@@ -1138,6 +1435,13 @@ mat-card {
1138
1435
  color: mat-color($arm-error, 500) !important;
1139
1436
  }
1140
1437
  }
1438
+ &.mat-form-field-should-float {
1439
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1440
+ input,
1441
+ span.mat-select-value-text {
1442
+ font-weight: 400 !important;
1443
+ }
1444
+ }
1141
1445
  .mat-form-field-flex > div.mat-form-field-outline.mat-form-field-outline-thick {
1142
1446
  color: mat-color($arm-primary, 500) !important;
1143
1447
  }
@@ -1174,7 +1478,7 @@ mat-card {
1174
1478
  mat-error {
1175
1479
  font-family: "Poppins" !important;
1176
1480
  font-style: normal !important;
1177
- font-weight: 400 !important;
1481
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1178
1482
  font-size: 12px !important;
1179
1483
  line-height: 18px !important;
1180
1484
  color: mat-color($arm-error, 500) !important;
@@ -1182,26 +1486,15 @@ mat-card {
1182
1486
  mat-hint {
1183
1487
  font-family: "Poppins" !important;
1184
1488
  font-style: normal !important;
1185
- font-weight: 400 !important;
1489
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1186
1490
  font-size: 12px !important;
1187
1491
  line-height: 18px !important;
1188
1492
  }
1189
1493
  }
1190
1494
 
1191
- .toggle-button-left {
1192
- border: 1px solid mat-color($arm-primary, 500);
1193
- border-radius: 3px 0px 0px 3px;
1194
- width: 120px;
1195
- }
1196
-
1197
- .toggle-button-right {
1198
- border: 1px solid mat-color($arm-primary, 500);
1199
- border-radius: 0px 3px 3px 0px;
1200
- width: 120px;
1201
- }
1202
-
1203
- ::ng-deep .mat-button-toggle-checked {
1204
- background-color: mat-color($arm-primary, 100) !important;
1495
+ mat-optgroup label,
1496
+ mat-optgroup mat-option {
1497
+ font-family: "Poppins" !important;
1205
1498
  }
1206
1499
 
1207
1500
  .mat-drawer-container.sof-ar-nav-sidenav-container {
@@ -1212,36 +1505,124 @@ mat-card {
1212
1505
 
1213
1506
  // MatSlideToggle class overrides [START]
1214
1507
  // https://material.angular.io/components/slide-toggle/api
1215
- ::ng-deep mat-slide-toggle.sof-slide-toggle {
1216
- .mat-slide-toggle-bar {
1217
- height: 20px !important;
1218
- width: 32px !important;
1219
- background: #cccccc !important;
1220
- border: 1px solid #cccccc !important;
1221
- border-radius: 24px !important;
1222
- }
1223
- .mat-slide-toggle-thumb {
1224
- height: 20px !important;
1225
- width: 20px !important;
1226
- border: 1px solid #cccccc !important;
1227
- border-radius: 24px !important;
1228
- top: -1px !important;
1229
- left: -3px !important;
1508
+ ::ng-deep mat-slide-toggle {
1509
+ &.sof-slide-toggle {
1510
+ height: auto;
1511
+ .mat-slide-toggle-bar {
1512
+ height: 20px !important;
1513
+ width: 32px !important;
1514
+ background: #cccccc !important;
1515
+ border: 1px solid #cccccc !important;
1516
+ border-radius: 24px !important;
1517
+ }
1518
+ .mat-slide-toggle-thumb {
1519
+ height: 20px !important;
1520
+ width: 20px !important;
1521
+ border: 1px solid #cccccc !important;
1522
+ border-radius: 24px !important;
1523
+ top: -1px !important;
1524
+ left: -3px !important;
1525
+ }
1526
+ .mat-slide-toggle-thumb-container {
1527
+ top: -1px !important;
1528
+ left: -3px !important;
1529
+ }
1530
+ .mat-slide-toggle-content {
1531
+ font-family: "Poppins" !important;
1532
+ font-style: normal !important;
1533
+ font-weight: 400 !important;
1534
+ font-size: 14px !important;
1535
+ line-height: 150% !important;
1536
+ white-space: normal !important;
1537
+ }
1538
+ .mat-slide-toggle-label {
1539
+ flex-direction: row;
1540
+ align-items: start !important;
1541
+ }
1230
1542
  }
1231
- .mat-slide-toggle-thumb-container {
1232
- top: -1px !important;
1233
- left: -3px !important;
1543
+
1544
+ &.sof-slide-toggle[size="large"] {
1545
+ .mat-slide-toggle-content {
1546
+ font-family: "Poppins" !important;
1547
+ font-style: normal !important;
1548
+ font-weight: 400 !important;
1549
+ font-size: 16px !important;
1550
+ line-height: 150% !important;
1551
+ white-space: normal !important;
1552
+ }
1234
1553
  }
1235
1554
  }
1236
1555
 
1237
- ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-checked {
1238
- .mat-slide-toggle-thumb {
1239
- background-color: #ffffff !important;
1240
- border: 1px solid mat-color($arm-primary, 500) !important;
1556
+ ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-checked:not(.mat-disabled) {
1557
+ &.mat-primary {
1558
+ .mat-slide-toggle-thumb {
1559
+ background-color: #ffffff !important;
1560
+ border: 1px solid mat-color($arm-primary, 500) !important;
1561
+ }
1562
+ .mat-slide-toggle-bar {
1563
+ background: mat-color($arm-primary, 500) !important;
1564
+ border: 1px solid mat-color($arm-primary, 500) !important;
1565
+ }
1241
1566
  }
1242
- .mat-slide-toggle-bar {
1243
- background: mat-color($arm-primary, 500) !important;
1244
- border: 1px solid mat-color($arm-primary, 500) !important;
1567
+ &.mat-accent {
1568
+ .mat-slide-toggle-thumb {
1569
+ background-color: #ffffff !important;
1570
+ border: 1px solid mat-color($arm-accent, 500) !important;
1571
+ }
1572
+ .mat-slide-toggle-bar {
1573
+ background: mat-color($arm-accent, 500) !important;
1574
+ border: 1px solid mat-color($arm-accent, 500) !important;
1575
+ }
1576
+ }
1577
+ &.mat-warn {
1578
+ .mat-slide-toggle-thumb {
1579
+ background-color: #ffffff !important;
1580
+ border: 1px solid mat-color($arm-warn, 500) !important;
1581
+ }
1582
+ .mat-slide-toggle-bar {
1583
+ background: mat-color($arm-warn, 500) !important;
1584
+ border: 1px solid mat-color($arm-warn, 500) !important;
1585
+ }
1586
+ }
1587
+ &.mat-success {
1588
+ .mat-slide-toggle-thumb {
1589
+ background-color: #ffffff !important;
1590
+ border: 1px solid mat-color($arm-success, 500) !important;
1591
+ }
1592
+ .mat-slide-toggle-bar {
1593
+ background: mat-color($arm-success, 500) !important;
1594
+ border: 1px solid mat-color($arm-success, 500) !important;
1595
+ }
1596
+ }
1597
+ &.mat-error {
1598
+ .mat-slide-toggle-thumb {
1599
+ background-color: #ffffff !important;
1600
+ border: 1px solid mat-color($arm-error, 500) !important;
1601
+ }
1602
+ .mat-slide-toggle-bar {
1603
+ background: mat-color($arm-error, 500) !important;
1604
+ border: 1px solid mat-color($arm-error, 500) !important;
1605
+ }
1606
+ }
1607
+ &.mat-info {
1608
+ .mat-slide-toggle-thumb {
1609
+ background-color: #ffffff !important;
1610
+ border: 1px solid mat-color($arm-info, 500) !important;
1611
+ }
1612
+ .mat-slide-toggle-bar {
1613
+ background: mat-color($arm-info, 500) !important;
1614
+ border: 1px solid mat-color($arm-info, 500) !important;
1615
+ }
1616
+ }
1617
+ &.mat-neutral {
1618
+ .mat-slide-toggle-thumb {
1619
+ background-color: #ffffff !important;
1620
+ border: 1px solid #000000de !important;
1621
+ }
1622
+ .mat-slide-toggle-bar {
1623
+ background: #000000de !important;
1624
+ border: 1px solid #000000de !important;
1625
+ }
1245
1626
  }
1246
1627
  }
1247
1628