@pepperi-addons/ngx-lib 0.4.2-beta.320 → 0.4.2-beta.321

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.
@@ -11,13 +11,17 @@
11
11
  /// @link https://twitter.com/csswizardry/status/478938530342006784 Original tweet from Harry Roberts
12
12
  @mixin on-event($self: false) {
13
13
  @if $self {
14
+
14
15
  &,
15
16
  &:hover,
16
17
  &:active,
17
18
  &:focus {
18
19
  @content;
19
20
  }
20
- } @else {
21
+ }
22
+
23
+ @else {
24
+
21
25
  &:hover,
22
26
  &:active,
23
27
  &:focus {
@@ -55,7 +59,9 @@
55
59
  @if ($add-important) {
56
60
  margin-right: calc(#{$spacing-size} * -1) !important;
57
61
  margin-left: calc(#{$spacing-size} * -1) !important;
58
- } @else {
62
+ }
63
+
64
+ @else {
59
65
  margin-right: calc(#{$spacing-size} * -1);
60
66
  margin-left: calc(#{$spacing-size} * -1);
61
67
  }
@@ -65,7 +71,9 @@
65
71
  @if ($add-important) {
66
72
  margin-right: $spacing-size !important;
67
73
  margin-left: $spacing-size !important;
68
- } @else {
74
+ }
75
+
76
+ @else {
69
77
  margin-right: $spacing-size;
70
78
  margin-left: $spacing-size;
71
79
  }
@@ -100,15 +108,17 @@
100
108
  }
101
109
 
102
110
  @mixin hide-spin-buttons() {
111
+
103
112
  /*Hide numbers arrows in the qs input - Chrome, Safari, Edge, Opera */
104
113
  input::-webkit-outer-spin-button,
105
114
  input::-webkit-inner-spin-button {
106
115
  -webkit-appearance: none;
107
116
  margin: 0;
108
117
  }
118
+
109
119
  /*Hide numbers arrows in the qs input - Firefox */
110
120
  input[type=number] {
111
- -moz-appearance:textfield;
121
+ -moz-appearance: textfield;
112
122
  }
113
123
  }
114
124
 
@@ -153,7 +163,7 @@
153
163
  color: $text-background;
154
164
  }
155
165
 
156
- @if $alignment == 2 {
166
+ @if $alignment ==2 {
157
167
  // right alignment
158
168
  direction: rtl;
159
169
  text-align: right;
@@ -165,17 +175,22 @@
165
175
  &:before {
166
176
  left: 3px;
167
177
  }
178
+
168
179
  &:after {
169
180
  /* set position to left bottom corner of text */
170
181
  left: 3px;
171
182
  }
172
- } @else {
183
+ }
184
+
185
+ @else {
173
186
  // left alignment + center alignment
174
187
  direction: ltr;
175
188
 
176
- @if $alignment == 3 {
189
+ @if $alignment ==3 {
177
190
  text-align: center;
178
- } @else {
191
+ }
192
+
193
+ @else {
179
194
  text-align: left;
180
195
  }
181
196
 
@@ -186,6 +201,7 @@
186
201
  &:before {
187
202
  right: 3px;
188
203
  }
204
+
189
205
  &:after {
190
206
  /* set position to right bottom corner of text */
191
207
  right: 3px;
@@ -216,14 +232,16 @@
216
232
  }
217
233
 
218
234
  @mixin line-height($lineHeight) {
219
- line-height: $lineHeight !important ;
235
+ line-height: $lineHeight !important;
220
236
  // line-height: calculateRem($lineHeight) !important;
221
237
  }
222
238
 
223
239
  @mixin border($property, $width: 0, $style: solid, $color: transparent, $important: false) {
224
- @if $important {
240
+ @if $important {
225
241
  #{$property}: $width $style $color !important;
226
- } @else {
242
+ }
243
+
244
+ @else {
227
245
  #{$property}: $width $style $color;
228
246
  }
229
247
  }
@@ -234,9 +252,11 @@
234
252
 
235
253
  // Inline - this line face inward // This works only for buttons (and other objects that contains children).
236
254
  @mixin inline($color: transparent, $width: 1px, $style: solid, $regularBorder: false) {
237
- @if $regularBorder {
255
+ @if $regularBorder {
238
256
  @include border(border, $width, $style, $color);
239
- } @else {
257
+ }
258
+
259
+ @else {
240
260
  position: relative;
241
261
 
242
262
  // 👆 Requires parent element to be 'position: relative;'
@@ -282,27 +302,27 @@
282
302
  $color-low-opacity: null;
283
303
  $color-high-opacity: null;
284
304
 
285
- @if ($hex-color == null) {
305
+ @if ($hex-color ==null) {
286
306
  $color-low-opacity: functions.get-pep-color(color-system-caution, color-tran-00);
287
307
  $color-high-opacity: functions.get-pep-color(color-system-caution, color-tran-60);
288
- } @else {
308
+ }
309
+
310
+ @else {
289
311
  $color-low-opacity: rgba($hex-color, 0);
290
312
  $color-high-opacity: rgba($hex-color, 0.32)
291
313
  }
292
314
 
293
- background: repeating-linear-gradient(
294
- 45deg,
315
+ background: repeating-linear-gradient(45deg,
295
316
  $color-low-opacity,
296
317
  $color-low-opacity .65rem,
297
318
  $color-high-opacity .65rem,
298
- $color-high-opacity 0.8rem,
319
+ $color-high-opacity 0.8rem,
299
320
  ),
300
- repeating-linear-gradient(
301
- -45deg,
321
+ repeating-linear-gradient(-45deg,
302
322
  $color-low-opacity,
303
323
  $color-low-opacity .65rem,
304
324
  $color-high-opacity 0.65rem,
305
- $color-high-opacity 0.8rem,
325
+ $color-high-opacity 0.8rem,
306
326
  );
307
327
  }
308
328
 
@@ -326,14 +346,31 @@
326
346
  }
327
347
 
328
348
  @keyframes slidein {
329
- 0% { background-position: 100%; }
330
- 75% { background-position: -100%; }
331
- 100% { background-position: -100%; }
349
+ 0% {
350
+ background-position: 100%;
351
+ }
352
+
353
+ 75% {
354
+ background-position: -100%;
355
+ }
356
+
357
+ 100% {
358
+ background-position: -100%;
359
+ }
332
360
  }
361
+
333
362
  @keyframes slideinRtl {
334
- 0% { background-position: -100%; }
335
- 75% { background-position: 100%; }
336
- 100% { background-position: 100%; }
363
+ 0% {
364
+ background-position: -100%;
365
+ }
366
+
367
+ 75% {
368
+ background-position: 100%;
369
+ }
370
+
371
+ 100% {
372
+ background-position: 100%;
373
+ }
337
374
  }
338
375
  }
339
376
 
@@ -341,13 +378,15 @@
341
378
  // General state declerations
342
379
  // ******************************************************************************
343
380
  @mixin focus($add-important: false, $focus-color: null, $focus-size: variables.$focus-size) {
344
- @if ($focus-color == null) {
381
+ @if ($focus-color ==null) {
345
382
  $focus-color: functions.get-pep-color(color-text, color-link-focus);
346
383
  }
347
-
384
+
348
385
  @if ($add-important) {
349
386
  box-shadow: 0 0 0 $focus-size $focus-color !important;
350
- } @else {
387
+ }
388
+
389
+ @else {
351
390
  box-shadow: 0 0 0 $focus-size $focus-color;
352
391
  }
353
392
  }
@@ -362,7 +401,7 @@
362
401
  background: functions.get-pep-color(color-system-primary-invert, color-base);
363
402
  border: 1px solid functions.get-pep-color(color-system-caution, color-base);
364
403
  }
365
-
404
+
366
405
  @mixin state-disabled() {
367
406
  // For remove all other states
368
407
  box-shadow: unset;
@@ -381,7 +420,7 @@
381
420
  // ----------------------------------------------------------------------------------
382
421
  @mixin state-icon() {
383
422
  @include svg-icon-color(functions.get-pep-color(color-system-primary, color-tran-80));
384
-
423
+
385
424
  &:hover {
386
425
  @include svg-icon-color(functions.get-pep-color(color-system-primary, color-tran-90));
387
426
  }
@@ -401,7 +440,7 @@
401
440
 
402
441
  @mixin svg-icon-color($color) {
403
442
  fill: $color;
404
-
443
+
405
444
  &.stroke {
406
445
  fill: unset;
407
446
  stroke: $color;
@@ -422,77 +461,136 @@
422
461
  // State declerations
423
462
  // ******************************************************************************
424
463
  @mixin pep-state-default($style: weak, $color-map-key: null, $regularBorder: false) {
425
- @if ($style == 'none') {
464
+ @if ($style =='none') {
426
465
  @include state-none-default();
427
- } @else if ($style == 'weak-invert') {
466
+ }
467
+
468
+ @else if ($style =='weak-invert') {
428
469
  @include state-weak-invert-default();
429
- } @else if ($style == 'weak-special') {
470
+ }
471
+
472
+ @else if ($style =='weak-special') {
430
473
  @include state-weak-special-default();
431
- } @else if ($style == 'weak') {
474
+ }
475
+
476
+ @else if ($style =='weak') {
432
477
  @include state-weak-default($color-map-key);
433
- } @else if ($style == 'strong') {
478
+ }
479
+
480
+ @else if ($style =='strong') {
434
481
  @include state-strong-default($color-map-key);
435
- } @else { // regular.
482
+ }
483
+
484
+ @else {
485
+ // regular.
436
486
  @include state-regular-default($regularBorder, $color-map-key);
437
487
  }
438
488
  }
489
+
439
490
  @mixin pep-state-disable($style: weak, $color-map-key: null, $regularBorder: false) {
440
- @if ($style == 'none') {
491
+ @if ($style =='none') {
441
492
  @include state-none-disable();
442
- } @else if ($style == 'weak-invert') {
493
+ }
494
+
495
+ @else if ($style =='weak-invert') {
443
496
  @include state-weak-invert-disable();
444
- } @else if ($style == 'weak-special') {
497
+ }
498
+
499
+ @else if ($style =='weak-special') {
445
500
  @include state-weak-special-disable();
446
- } @else if ($style == 'weak') {
501
+ }
502
+
503
+ @else if ($style =='weak') {
447
504
  @include state-weak-disable($color-map-key);
448
- } @else if ($style == 'strong') {
505
+ }
506
+
507
+ @else if ($style =='strong') {
449
508
  @include state-strong-disable($color-map-key);
450
- } @else { // regular.
509
+ }
510
+
511
+ @else {
512
+ // regular.
451
513
  @include state-regular-disable($regularBorder, $color-map-key);
452
514
  }
453
515
  }
516
+
454
517
  @mixin pep-state-hover($style: weak, $color-map-key: null, $regularBorder: false) {
455
- @if ($style == 'none') {
518
+ @if ($style =='none') {
456
519
  @include state-none-hover();
457
- } @else if ($style == 'weak-invert') {
520
+ }
521
+
522
+ @else if ($style =='weak-invert') {
458
523
  @include state-weak-invert-hover();
459
- } @else if ($style == 'weak-special') {
524
+ }
525
+
526
+ @else if ($style =='weak-special') {
460
527
  @include state-weak-special-hover();
461
- } @else if ($style == 'weak') {
528
+ }
529
+
530
+ @else if ($style =='weak') {
462
531
  @include state-weak-hover($color-map-key);
463
- } @else if ($style == 'strong') {
532
+ }
533
+
534
+ @else if ($style =='strong') {
464
535
  @include state-strong-hover($color-map-key);
465
- } @else { // regular.
536
+ }
537
+
538
+ @else {
539
+ // regular.
466
540
  @include state-regular-hover($regularBorder, $color-map-key);
467
541
  }
468
542
  }
543
+
469
544
  @mixin pep-state-active($style: weak, $color-map-key: null, $regularBorder: false) {
470
- @if ($style == 'none') {
545
+ @if ($style =='none') {
471
546
  @include state-none-active();
472
- } @else if ($style == 'weak-invert') {
547
+ }
548
+
549
+ @else if ($style =='weak-invert') {
473
550
  @include state-weak-invert-active();
474
- } @else if ($style == 'weak-special') {
551
+ }
552
+
553
+ @else if ($style =='weak-special') {
475
554
  @include state-weak-special-active();
476
- } @else if ($style == 'weak') {
555
+ }
556
+
557
+ @else if ($style =='weak') {
477
558
  @include state-weak-active($color-map-key);
478
- } @else if ($style == 'strong') {
559
+ }
560
+
561
+ @else if ($style =='strong') {
479
562
  @include state-strong-active($color-map-key);
480
- } @else { // regular.
563
+ }
564
+
565
+ @else {
566
+ // regular.
481
567
  @include state-regular-active($regularBorder, $color-map-key);
482
568
  }
483
569
  }
570
+
484
571
  @mixin pep-state-focus($style: weak, $color-map-key: null, $regularBorder: false) {
485
- @if ($style == 'none') {
572
+ @if ($style =='none') {
486
573
  @include state-none-focus();
487
- } @else if ($style == 'weak-invert') {
574
+ }
575
+
576
+ @else if ($style =='weak-invert') {
488
577
  @include state-weak-invert-focus();
489
- } @else if ($style == 'weak-special') {
578
+ }
579
+
580
+ @else if ($style =='weak-special') {
490
581
  @include state-weak-special-focus();
491
- } @else if ($style == 'weak') {
582
+ }
583
+
584
+ @else if ($style =='weak') {
492
585
  @include state-weak-focus($color-map-key);
493
- } @else if ($style == 'strong') {
586
+ }
587
+
588
+ @else if ($style =='strong') {
494
589
  @include state-strong-focus($color-map-key);
495
- } @else { // regular.
590
+ }
591
+
592
+ @else {
593
+ // regular.
496
594
  @include state-regular-focus($regularBorder, $color-map-key);
497
595
  }
498
596
  }
@@ -503,32 +601,37 @@
503
601
  // Weak - default
504
602
  // -----------------------------------------------------------------------------
505
603
  @mixin state-weak-default($color-map-key: null) {
506
- @if ($color-map-key == null) {
604
+ @if ($color-map-key ==null) {
507
605
  $color-map-key: color-weak;
508
606
  }
607
+
509
608
  background: functions.get-pep-color($color-map-key, color-tran-20);
510
609
  }
610
+
511
611
  @mixin state-weak-disable($color-map-key: null) {
512
612
  @include state-disabled();
513
613
 
514
- @if ($color-map-key == null) {
614
+ @if ($color-map-key ==null) {
515
615
  $color-map-key: color-weak;
516
616
  }
517
617
 
518
618
  &:not(.disabled-no-background-no-color) {
519
- color:functions.get-pep-color(color-text, color-disabled) !important;
619
+ color: functions.get-pep-color(color-text, color-disabled) !important;
520
620
  background: functions.get-pep-color($color-map-key, color-tran-10) !important;
521
621
  }
522
622
 
523
623
  }
624
+
524
625
  @mixin state-weak-hover($color-map-key: null) {
525
- @if ($color-map-key == null) {
626
+ @if ($color-map-key ==null) {
526
627
  $color-map-key: color-weak;
527
628
  }
629
+
528
630
  background: functions.get-pep-color($color-map-key, color-tran-40);
529
631
  }
632
+
530
633
  @mixin state-weak-active($color-map-key: null, $add-inline: true, $regularBorder: false) {
531
- @if ($color-map-key == null) {
634
+ @if ($color-map-key ==null) {
532
635
  $color-map-key: color-weak;
533
636
  }
534
637
 
@@ -538,11 +641,12 @@
538
641
  }
539
642
 
540
643
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
541
-
644
+
542
645
  @if ($add-inline) {
543
646
  @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
544
647
  }
545
648
  }
649
+
546
650
  @mixin state-weak-focus($color-map-key: null, $add-inline: true, $regularBorder: false) {
547
651
  // box-shadow: functions.get-pep-shadow(shadow-xs, soft);
548
652
  @include state-weak-active($color-map-key, $add-inline, $regularBorder);
@@ -556,16 +660,17 @@
556
660
 
557
661
  $color: functions.get-pep-color(color-text, color-invert);
558
662
  color: $color;
559
-
663
+
560
664
  .svg-icon {
561
665
  fill: $color !important;
562
666
  }
563
667
  }
668
+
564
669
  @mixin state-weak-invert-disable() {
565
670
  @include state-disabled();
566
-
671
+
567
672
  &:not(.disabled-no-background-no-color) {
568
- color:functions.get-pep-color(color-system-primary-invert, color-tran-40) !important;
673
+ color: functions.get-pep-color(color-system-primary-invert, color-tran-40) !important;
569
674
  background: functions.get-pep-color(color-system-primary-invert, color-tran-10) !important;
570
675
  }
571
676
 
@@ -573,27 +678,30 @@
573
678
  fill: functions.get-pep-color(color-system-primary-invert, color-tran-40) !important;
574
679
  }
575
680
  }
681
+
576
682
  @mixin state-weak-invert-hover() {
577
683
  background: functions.get-pep-color(color-system-primary-invert, color-tran-50);
578
684
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
579
685
  cursor: pointer;
580
686
  }
687
+
581
688
  @mixin state-weak-invert-active() {
582
689
  background: functions.get-pep-color(color-system-primary-invert, color-base);
583
690
  box-shadow: functions.get-pep-shadow(shadow-xs, regular);
584
691
  $color: functions.get-pep-color(color-text, color-main);
585
692
  color: $color;
586
-
693
+
587
694
  .svg-icon {
588
695
  fill: $color !important;
589
696
  }
590
697
  }
698
+
591
699
  @mixin state-weak-invert-focus() {
592
700
  background: functions.get-pep-color(color-system-primary-invert, color-base);
593
701
  @include focus();
594
702
  $color: functions.get-pep-color(color-text, color-main);
595
703
  color: $color;
596
-
704
+
597
705
  .svg-icon {
598
706
  fill: $color !important;
599
707
  }
@@ -604,35 +712,39 @@
604
712
  @mixin state-weak-special-default() {
605
713
  background: functions.get-pep-color(color-system-primary-invert, color-tran-50);
606
714
  }
715
+
607
716
  @mixin state-weak-special-disable() {
608
717
  @include state-disabled();
609
-
718
+
610
719
  &:not(.disabled-no-background-no-color) {
611
- color:functions.get-pep-color(color-text, color-disabled) !important;
612
- background: functions.get-pep-color(color-system-primary-invert, color-tran-20) !important;
720
+ color: functions.get-pep-color(color-text, color-disabled) !important;
721
+ background: functions.get-pep-color(color-system-primary-invert, color-tran-20) !important;
613
722
  }
614
723
  }
724
+
615
725
  @mixin state-weak-special-hover() {
616
726
  background: functions.get-pep-color(color-system-primary-invert, color-tran-70);
617
727
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
618
728
  cursor: pointer;
619
729
  }
730
+
620
731
  @mixin state-weak-special-active() {
621
732
  // background: functions.get-pep-color(color-system-primary-invert, color-base);
622
733
  // box-shadow: functions.get-pep-shadow(shadow-xs, regular);
623
734
  // $color: functions.get-pep-color(color-text, color-main);
624
735
  // color: $color;
625
-
736
+
626
737
  // .svg-icon {
627
738
  // fill: $color !important;
628
739
  // }
629
740
  }
741
+
630
742
  @mixin state-weak-special-focus() {
631
743
  // background: functions.get-pep-color(color-system-primary-invert, color-base);
632
744
  // @include focus();
633
745
  // $color: functions.get-pep-color(color-text, color-main);
634
746
  // color: $color;
635
-
747
+
636
748
  // .svg-icon {
637
749
  // fill: $color !important;
638
750
  // }
@@ -644,25 +756,30 @@
644
756
  // Regular - default
645
757
  // -----------------------------------------------------------------------------
646
758
  @mixin state-regular-default($regularBorder: false, $color-map-key: null) {
647
- @if ($color-map-key == null) {
759
+ @if ($color-map-key ==null) {
648
760
  $color-map-key: color-regular;
649
761
  }
762
+
650
763
  background: functions.get-pep-color($color-map-key, color-flat-r-40);
651
764
  box-shadow: functions.get-pep-shadow(shadow-xs, soft);
652
765
  @include inline(functions.get-pep-color($color-map-key, color-flat-r-20), 1px, solid, $regularBorder);
653
766
  }
767
+
654
768
  @mixin state-regular-hover($regularBorder: false, $color-map-key: null) {
655
- @if ($color-map-key == null) {
769
+ @if ($color-map-key ==null) {
656
770
  $color-map-key: color-regular;
657
771
  }
772
+
658
773
  background: functions.get-pep-color($color-map-key, color-flat-r-40);
659
774
  box-shadow: functions.get-pep-shadow(shadow-xs, regular);
660
775
  @include inline(functions.get-pep-color($color-map-key, color-flat-r-10), 1px, solid, $regularBorder);
661
776
  }
777
+
662
778
  @mixin state-regular-active($regularBorder: false, $color-map-key: null) {
663
- @if ($color-map-key == null) {
779
+ @if ($color-map-key ==null) {
664
780
  $color-map-key: color-regular;
665
781
  }
782
+
666
783
  background: functions.get-pep-color($color-map-key, color-flat-r-30);
667
784
  box-shadow: functions.get-pep-shadow(shadow-xs, hard);
668
785
  @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
@@ -672,24 +789,27 @@
672
789
  // @include focus();
673
790
  // }
674
791
  }
792
+
675
793
  @mixin state-regular-focus($regularBorder: false, $color-map-key: null) {
676
- @if ($color-map-key == null) {
794
+ @if ($color-map-key ==null) {
677
795
  $color-map-key: color-regular;
678
796
  }
797
+
679
798
  background: functions.get-pep-color($color-map-key, color-flat-r-30);
680
799
  box-shadow: functions.get-pep-shadow(shadow-xs, regular);
681
800
  @include inline(functions.get-pep-color($color-map-key, color-base), 1px, solid, $regularBorder);
682
801
  @include focus();
683
802
  }
803
+
684
804
  @mixin state-regular-disable($regularBorder: false, $color-map-key: null) {
685
805
  @include state-disabled();
686
-
687
- @if ($color-map-key == null) {
806
+
807
+ @if ($color-map-key ==null) {
688
808
  $color-map-key: color-regular;
689
809
  }
690
810
 
691
811
  &:not(.disabled-no-background-no-color) {
692
- color:functions.get-pep-color(color-text, color-disabled) !important;
812
+ color: functions.get-pep-color(color-text, color-disabled) !important;
693
813
  background: functions.get-pep-color($color-map-key, color-flat-r-30) !important;
694
814
  }
695
815
 
@@ -703,7 +823,7 @@
703
823
  // Strong - default
704
824
  // -----------------------------------------------------------------------------
705
825
  @mixin state-strong-default($color-map-key: null) {
706
- @if ($color-map-key == null) {
826
+ @if ($color-map-key ==null) {
707
827
  $color-map-key: color-strong;
708
828
  }
709
829
 
@@ -714,14 +834,16 @@
714
834
  $color: functions.get-pep-color(color-text, color-invert);
715
835
 
716
836
  color: $color;
837
+
717
838
  .svg-icon {
718
839
  @include svg-icon-color($color);
719
840
  }
720
841
  }
842
+
721
843
  @mixin state-strong-disable($color-map-key: null) {
722
844
  @include state-disabled();
723
-
724
- @if ($color-map-key == null) {
845
+
846
+ @if ($color-map-key ==null) {
725
847
  $color-map-key: color-strong;
726
848
  }
727
849
 
@@ -737,24 +859,30 @@
737
859
  @include svg-icon-color($color);
738
860
  }
739
861
  }
862
+
740
863
  @mixin state-strong-hover($color-map-key: null) {
741
- @if ($color-map-key == null) {
864
+ @if ($color-map-key ==null) {
742
865
  $color-map-key: color-strong;
743
866
  }
867
+
744
868
  background: functions.get-pep-color($color-map-key, color-flat-l-10);
745
869
  box-shadow: functions.get-pep-shadow(shadow-sm, regular);
746
870
  }
871
+
747
872
  @mixin state-strong-active($color-map-key: null) {
748
- @if ($color-map-key == null) {
873
+ @if ($color-map-key ==null) {
749
874
  $color-map-key: color-strong;
750
875
  }
876
+
751
877
  background: functions.get-pep-color($color-map-key, color-flat-l-20);
752
878
  box-shadow: functions.get-pep-shadow(shadow-sm, hard);
753
879
  }
880
+
754
881
  @mixin state-strong-focus($color-map-key: null) {
755
- @if ($color-map-key == null) {
882
+ @if ($color-map-key ==null) {
756
883
  $color-map-key: color-strong;
757
884
  }
885
+
758
886
  background: functions.get-pep-color($color-map-key, color-flat-l-20);
759
887
  box-shadow: functions.get-pep-shadow(shadow-sm, soft);
760
888
  @include focus();
@@ -768,16 +896,20 @@
768
896
  @mixin state-none-default() {
769
897
  background: functions.get-pep-color(color-system-primary, color-tran-00);
770
898
  }
899
+
771
900
  @mixin state-none-disable() {
772
901
  @include state-disabled();
773
902
  background: functions.get-pep-color(color-system-primary, color-tran-00) !important;
774
903
  }
904
+
775
905
  @mixin state-none-hover() {
776
906
  @include state-weak-hover();
777
907
  }
908
+
778
909
  @mixin state-none-active() {
779
910
  @include state-weak-active();
780
911
  }
912
+
781
913
  @mixin state-none-focus() {
782
914
  @include state-weak-focus();
783
915
  }
@@ -787,15 +919,19 @@
787
919
  // ******************************************************************************
788
920
  @mixin pep-button-states($style: weak, $color-map-key: null) {
789
921
  @include pep-state-default($style, $color-map-key, true);
922
+
790
923
  &:hover {
791
924
  @include pep-state-hover($style, $color-map-key, true);
792
925
  }
926
+
793
927
  &:focus {
794
928
  @include pep-state-focus($style, $color-map-key, true);
795
929
  }
930
+
796
931
  &:active {
797
932
  @include pep-state-active($style, $color-map-key, true);
798
933
  }
934
+
799
935
  &:disabled {
800
936
  &:not(.ignore-disabled) {
801
937
  @include pep-state-disable($style, $color-map-key, true);
@@ -807,6 +943,7 @@
807
943
  // Form field states declerations
808
944
  // ******************************************************************************
809
945
  @mixin pep-form-field-states($style: weak, $color-map-key: null) {
946
+
810
947
  // Default
811
948
  .mat-form-field-flex {
812
949
  @include pep-state-default($style, $color-map-key);
@@ -814,6 +951,7 @@
814
951
 
815
952
  // Hover
816
953
  &:hover {
954
+
817
955
  .ignore-disabled,
818
956
  &:not(.mat-form-field-disabled) {
819
957
  .mat-form-field-flex {
@@ -824,6 +962,7 @@
824
962
 
825
963
  // Focused
826
964
  &.mat-focused {
965
+
827
966
  .ignore-disabled,
828
967
  &:not(.mat-form-field-disabled) {
829
968
  .mat-form-field-flex {
@@ -835,6 +974,7 @@
835
974
  // Active
836
975
  &.active,
837
976
  &:active {
977
+
838
978
  .ignore-disabled,
839
979
  &:not(.mat-form-field-disabled) {
840
980
  .mat-form-field-flex {
@@ -856,21 +996,22 @@
856
996
  // ******************************************************************************
857
997
  // Table states declerations
858
998
  // ******************************************************************************
859
- @mixin state-table-row-default() {
999
+ @mixin state-table-row-default() {}
860
1000
 
861
- }
862
1001
  @mixin state-table-row-even() {
863
1002
  background: functions.get-pep-color(color-weak, color-tran-10);
864
1003
  }
1004
+
865
1005
  @mixin state-table-row-hover() {
866
1006
  background: functions.get-pep-color(color-weak, color-tran-30);
867
1007
  }
868
- @mixin state-table-row-active() {
869
-
870
- }
1008
+
1009
+ @mixin state-table-row-active() {}
1010
+
871
1011
  @mixin state-table-row-selected() {
872
1012
  background: functions.get-pep-color(color-system-success, color-tran-20);
873
1013
  }
1014
+
874
1015
  // ******************************************************************************
875
1016
  // Card states declerations
876
1017
  // ******************************************************************************
@@ -880,15 +1021,19 @@
880
1021
 
881
1022
  transition: box-shadow 0.25s;
882
1023
  }
1024
+
883
1025
  @mixin state-card-hover() {
884
1026
  box-shadow: functions.get-pep-shadow(shadow-card, regular);
885
1027
  }
1028
+
886
1029
  @mixin state-card-active() {
887
1030
  box-shadow: functions.get-pep-shadow(shadow-card, hard);
888
1031
  // @include focus();
889
1032
  }
1033
+
890
1034
  @mixin state-card-selected() {
891
- background: functions.get-pep-color(color-system-success, color-tran-20);;
1035
+ background: functions.get-pep-color(color-system-success, color-tran-20);
1036
+ ;
892
1037
  box-shadow: none;
893
1038
  }
894
1039
 
@@ -904,7 +1049,7 @@
904
1049
  // ******************************************************************************
905
1050
  // @mixin mat-tabs-fixed-header-width($side-width) {
906
1051
  // width: calc(100% - (#{$side-width} + #{$double-content-padding} + #{$double-content-margin}));
907
-
1052
+
908
1053
  // @media (max-width: $screen-max-size-md) {
909
1054
  // width: calc(100% - (#{$double-content-padding} + #{$double-content-margin}));
910
1055
  // }