@transfermarkt/global-styles 1.15.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -1,50 +1,14 @@
1
- /* stylelint-disable */
2
- $icon-color-filters: (
3
- white: invert(100%) sepia(100%) saturate(1%) hue-rotate(207deg) brightness(102%) contrast(102%),
4
- admiral: invert(9%) sepia(84%) saturate(2624%) hue-rotate(209deg) brightness(16%) contrast(87%),
5
- lightblue-light: invert(47%) sepia(87%) saturate(1532%) hue-rotate(184deg) brightness(103%)
6
- contrast(101%),
7
- darkblue-400: invert(78%) sepia(6%) saturate(7%) hue-rotate(196deg) brightness(92%) contrast(87%),
8
- warning-light: invert(77%) sepia(38%) saturate(5784%) hue-rotate(359deg) brightness(101%)
9
- contrast(105%),
10
- warning-dark: invert(15%) sepia(64%) saturate(5304%) hue-rotate(350deg) brightness(90%)
11
- contrast(105%),
12
- warning: invert(22%) sepia(93%) saturate(6517%) hue-rotate(353deg) brightness(101%) contrast(102%),
13
- success-dark: invert(29%) sepia(58%) saturate(433%) hue-rotate(121deg) brightness(92%)
14
- contrast(87%),
15
- success: invert(40%) sepia(44%) saturate(643%) hue-rotate(135deg) brightness(93%) contrast(95%),
16
- success-light: invert(76%) sepia(61%) saturate(125%) hue-rotate(86deg) brightness(119%)
17
- contrast(84%)
18
- );
1
+ @use '../variables/colors' as *;
19
2
 
20
- @function icon-filter-base($state) {
21
- @if $state == 'disabled' {
22
- @return invert(80%) sepia(10%) saturate(0%) brightness(90%) contrast(80%);
23
- } @else if $state == 'warning-dark' {
24
- @return invert(77%) sepia(38%) saturate(5784%) hue-rotate(359deg) brightness(101%)
25
- contrast(105%);
26
- } @else if $state == 'success' {
27
- @return invert(76%) sepia(61%) saturate(125%) hue-rotate(86deg) brightness(119%) contrast(84%);
28
- } @else {
29
- @return invert(100%) sepia(100%) saturate(1%) hue-rotate(207deg) brightness(102%) contrast(102%);
30
- }
31
- }
3
+ /* stylelint-disable */
32
4
 
33
- @function icon-filter-hover($state) {
34
- @if $state == 'warning' {
35
- @return invert(65%) sepia(60%) saturate(4500%) hue-rotate(359deg) brightness(105%)
36
- contrast(110%);
37
- } @else if $state == 'success' {
38
- @return invert(58%) sepia(90%) saturate(500%) hue-rotate(93deg) brightness(100%) contrast(95%);
39
- } @else {
40
- @return invert(90%) sepia(90%) saturate(10%) hue-rotate(207deg) brightness(110%) contrast(110%);
41
- }
5
+ @function icon-svg-url($name) {
6
+ $base-url: 'https://tmsi.akamaized.net/tm-svg-icons';
7
+ @return '#{$base-url}/#{$name}.svg';
42
8
  }
43
9
 
44
- @mixin tm-icon-generate($name, $position: left, $state: 'default') {
45
- $base-url: 'https://tmsi.akamaized.net/tm-svg-icons';
46
- $image-url: '#{$base-url}/#{$name}.svg';
47
- $base-filter: icon-filter-base($state);
10
+ @mixin tm-icon-generate($name, $position: left) {
11
+ $image-url: icon-svg-url($name);
48
12
 
49
13
  @if $position == left or $position == both {
50
14
  &::before {
@@ -52,16 +16,9 @@ $icon-color-filters: (
52
16
  display: inline-block;
53
17
  vertical-align: middle;
54
18
  margin-right: 8px;
55
- width: 20px;
56
- height: 20px;
57
- background: url('#{$image-url}') no-repeat center/contain;
58
- filter: $base-filter;
59
- transform: rotate(180deg);
60
- @if $state != 'disabled' {
61
- &:hover {
62
- filter: icon-filter-hover($state);
63
- }
64
- }
19
+ background-color: currentColor;
20
+ mask: url('#{$image-url}') no-repeat center / contain;
21
+ -webkit-mask: url('#{$image-url}') no-repeat center / contain;
65
22
  }
66
23
  }
67
24
 
@@ -71,24 +28,18 @@ $icon-color-filters: (
71
28
  display: inline-block;
72
29
  vertical-align: middle;
73
30
  margin-left: 8px;
74
- width: 20px;
75
- height: 20px;
76
- background: url('#{$image-url}') no-repeat center/contain;
77
- filter: $base-filter;
78
- @if $state != 'disabled' {
79
- &:hover {
80
- filter: icon-filter-hover($state);
81
- }
82
- }
31
+ background-color: currentColor;
32
+ mask: url('#{$image-url}') no-repeat center / contain;
33
+ -webkit-mask: url('#{$image-url}') no-repeat center / contain;
83
34
  }
84
35
  }
85
36
  }
86
37
 
87
38
  @mixin tm-icon-color($color-name) {
88
- $filter: map-get($icon-color-filters, $color-name);
39
+ $c: tm-color($color-name);
89
40
  &::before,
90
41
  &::after {
91
- filter: $filter;
42
+ background-color: $c;
92
43
  }
93
44
  }
94
45
 
@@ -29,6 +29,24 @@
29
29
  display: flex;
30
30
  }
31
31
 
32
+ &__wrapper {
33
+ align-items: center;
34
+ display: flex;
35
+ margin: rem-calc(15) 0;
36
+
37
+ &--right {
38
+ justify-content: flex-end;
39
+ }
40
+
41
+ &--left {
42
+ justify-content: flex-start;
43
+ }
44
+
45
+ &--center {
46
+ justify-content: center;
47
+ }
48
+ }
49
+
32
50
  &__primary {
33
51
  background-color: tm-color('dark-blue-new');
34
52
 
@@ -58,6 +76,11 @@
58
76
  &--disabled {
59
77
  background-color: tm-color('gainsboro-new');
60
78
  color: tm-color('grey-new');
79
+
80
+ &:hover {
81
+ background-color: tm-color('gainsboro-new');
82
+ color: tm-color('grey-new');
83
+ }
61
84
  }
62
85
 
63
86
  &--warning {
@@ -82,9 +105,8 @@
82
105
  }
83
106
 
84
107
  &__secondary {
85
- background-color: tm-color('white');
108
+ background-color: unset;
86
109
  color: tm-color('admiral');
87
- opacity: 1;
88
110
 
89
111
  &--large {
90
112
  text-transform: uppercase;
@@ -106,6 +128,11 @@
106
128
  &--disabled {
107
129
  background-color: tm-color('gainsboro-new');
108
130
  color: tm-color('grey-new');
131
+
132
+ &:hover {
133
+ background-color: tm-color('gainsboro-new');
134
+ color: tm-color('grey-new');
135
+ }
109
136
  }
110
137
 
111
138
  &--warning {
@@ -123,6 +150,10 @@
123
150
  color: tm-color('success');
124
151
  }
125
152
  }
153
+
154
+ &--inverted {
155
+ color: tm-color('white');
156
+ }
126
157
  }
127
158
 
128
159
  &__tertiary {
@@ -150,6 +181,11 @@
150
181
  &--disabled {
151
182
  background-color: tm-color('gainsboro-new');
152
183
  color: tm-color('grey-new');
184
+
185
+ &:hover {
186
+ background-color: tm-color('gainsboro-new');
187
+ color: tm-color('grey-new');
188
+ }
153
189
  }
154
190
 
155
191
  &--warning {
@@ -174,337 +210,1124 @@
174
210
  &__arrow {
175
211
  padding-right: rem-calc(24);
176
212
 
177
- @include tm-icon-generate('arrow');
213
+ @include tm-icon-generate('arrow', 'left');
214
+ @include tm-icon-color('admiral');
215
+
216
+ &--large {
217
+ @include tm-icon-size(16px);
218
+ }
219
+
220
+ &--medium {
221
+ @include tm-icon-size(16px);
222
+ }
223
+
224
+ &--small {
225
+ @include tm-icon-size(14px);
226
+ }
227
+
228
+ &::before {
229
+ transform: rotate(180deg);
230
+ }
231
+
232
+ &:hover {
233
+ @include tm-icon-color('lightblue-light');
234
+ }
178
235
  }
179
236
 
180
237
  &__arrow-right {
181
238
  padding-left: rem-calc(24);
182
239
 
183
- @include tm-icon-generate('arrow', right);
240
+ @include tm-icon-generate('arrow', 'right');
241
+ @include tm-icon-color('admiral');
242
+
243
+ &--large {
244
+ @include tm-icon-size(16px);
245
+ }
246
+
247
+ &--medium {
248
+ @include tm-icon-size(16px);
249
+ }
250
+
251
+ &--small {
252
+ @include tm-icon-size(14px);
253
+ }
254
+
255
+ &:hover {
256
+ @include tm-icon-color('lightblue-light');
257
+ }
184
258
  }
185
259
 
186
260
  &__arrow-both {
187
- @include tm-icon-generate('arrow', both);
261
+ @include tm-icon-generate('arrow', 'both');
262
+ @include tm-icon-color('admiral');
263
+
264
+ &--large {
265
+ @include tm-icon-size(16px);
266
+ }
267
+
268
+ &--medium {
269
+ @include tm-icon-size(16px);
270
+ }
271
+
272
+ &--small {
273
+ @include tm-icon-size(14px);
274
+ }
275
+
276
+ &::before {
277
+ transform: rotate(180deg);
278
+ }
279
+
280
+ &:hover {
281
+ @include tm-icon-color('lightblue-light');
282
+ }
188
283
  }
189
284
 
190
285
  &__chevron {
191
286
  padding-right: rem-calc(24);
192
287
 
193
288
  @include tm-icon-generate('chevron');
289
+
290
+ &--large {
291
+ @include tm-icon-size(16px);
292
+ }
293
+
294
+ &--medium {
295
+ @include tm-icon-size(16px);
296
+ }
297
+
298
+ &--small {
299
+ @include tm-icon-size(14px);
300
+ }
301
+
302
+ &::before {
303
+ transform: rotate(180deg);
304
+ }
194
305
  }
195
306
 
196
307
  &__chevron-right {
197
308
  padding-left: rem-calc(24);
198
309
 
199
310
  @include tm-icon-generate('chevron', right);
311
+
312
+ &--large {
313
+ @include tm-icon-size(16px);
314
+ }
315
+
316
+ &--medium {
317
+ @include tm-icon-size(16px);
318
+ }
319
+
320
+ &--small {
321
+ @include tm-icon-size(14px);
322
+ }
200
323
  }
201
324
 
202
325
  &__chevron-both {
203
326
  @include tm-icon-generate('chevron', both);
327
+
328
+ &--large {
329
+ @include tm-icon-size(16px);
330
+ }
331
+
332
+ &--medium {
333
+ @include tm-icon-size(16px);
334
+ }
335
+
336
+ &--small {
337
+ @include tm-icon-size(14px);
338
+ }
339
+
340
+ &::before {
341
+ transform: rotate(180deg);
342
+ }
204
343
  }
205
344
 
206
345
  &__check {
207
346
  padding-right: rem-calc(24);
208
347
 
209
348
  @include tm-icon-generate('check');
349
+
350
+ &--large {
351
+ @include tm-icon-size(16px);
352
+ }
353
+
354
+ &--medium {
355
+ @include tm-icon-size(16px);
356
+ }
357
+
358
+ &--small {
359
+ @include tm-icon-size(14px);
360
+ }
210
361
  }
211
362
 
212
363
  &__check-right {
213
364
  padding-left: rem-calc(24);
214
365
 
215
366
  @include tm-icon-generate('check', right);
367
+
368
+ &--large {
369
+ @include tm-icon-size(16px);
370
+ }
371
+
372
+ &--medium {
373
+ @include tm-icon-size(16px);
374
+ }
375
+
376
+ &--small {
377
+ @include tm-icon-size(14px);
378
+ }
216
379
  }
217
380
 
218
381
  &__check-both {
219
382
  @include tm-icon-generate('check', both);
383
+
384
+ &--large {
385
+ @include tm-icon-size(16px);
386
+ }
387
+
388
+ &--medium {
389
+ @include tm-icon-size(16px);
390
+ }
391
+
392
+ &--small {
393
+ @include tm-icon-size(14px);
394
+ }
220
395
  }
221
396
 
222
397
  &__clipboard {
223
398
  padding-right: rem-calc(24);
224
399
 
225
400
  @include tm-icon-generate('clipboard');
401
+
402
+ &--large {
403
+ @include tm-icon-size(16px);
404
+ }
405
+
406
+ &--medium {
407
+ @include tm-icon-size(16px);
408
+ }
409
+
410
+ &--small {
411
+ @include tm-icon-size(14px);
412
+ }
226
413
  }
227
414
 
228
415
  &__clipboard-right {
229
416
  padding-left: rem-calc(24);
230
417
 
231
418
  @include tm-icon-generate('clipboard', right);
419
+
420
+ &--large {
421
+ @include tm-icon-size(16px);
422
+ }
423
+
424
+ &--medium {
425
+ @include tm-icon-size(16px);
426
+ }
427
+
428
+ &--small {
429
+ @include tm-icon-size(14px);
430
+ }
232
431
  }
233
432
 
234
433
  &__clipboard-both {
235
434
  @include tm-icon-generate('clipboard', both);
435
+
436
+ &--large {
437
+ @include tm-icon-size(16px);
438
+ }
439
+
440
+ &--medium {
441
+ @include tm-icon-size(16px);
442
+ }
443
+
444
+ &--small {
445
+ @include tm-icon-size(14px);
446
+ }
236
447
  }
237
448
 
238
449
  &__close {
239
450
  padding-right: rem-calc(24);
240
451
 
241
452
  @include tm-icon-generate('close');
453
+
454
+ &--large {
455
+ @include tm-icon-size(16px);
456
+ }
457
+
458
+ &--medium {
459
+ @include tm-icon-size(16px);
460
+ }
461
+
462
+ &--small {
463
+ @include tm-icon-size(14px);
464
+ }
242
465
  }
243
466
 
244
467
  &__close-right {
245
468
  padding-left: rem-calc(24);
246
469
 
247
470
  @include tm-icon-generate('close', right);
471
+
472
+ &--large {
473
+ @include tm-icon-size(16px);
474
+ }
475
+
476
+ &--medium {
477
+ @include tm-icon-size(16px);
478
+ }
479
+
480
+ &--small {
481
+ @include tm-icon-size(14px);
482
+ }
248
483
  }
249
484
 
250
485
  &__close-both {
251
486
  @include tm-icon-generate('close', both);
487
+
488
+ &--large {
489
+ @include tm-icon-size(16px);
490
+ }
491
+
492
+ &--medium {
493
+ @include tm-icon-size(16px);
494
+ }
495
+
496
+ &--small {
497
+ @include tm-icon-size(14px);
498
+ }
252
499
  }
253
500
 
254
501
  &__copy {
255
502
  padding-right: rem-calc(24);
256
503
 
257
504
  @include tm-icon-generate('copy');
505
+
506
+ &--large {
507
+ @include tm-icon-size(16px);
508
+ }
509
+
510
+ &--medium {
511
+ @include tm-icon-size(16px);
512
+ }
513
+
514
+ &--small {
515
+ @include tm-icon-size(14px);
516
+ }
258
517
  }
259
518
 
260
519
  &__copy-right {
261
520
  padding-left: rem-calc(24);
262
521
 
263
522
  @include tm-icon-generate('copy', right);
523
+
524
+ &--large {
525
+ @include tm-icon-size(16px);
526
+ }
527
+
528
+ &--medium {
529
+ @include tm-icon-size(16px);
530
+ }
531
+
532
+ &--small {
533
+ @include tm-icon-size(14px);
534
+ }
264
535
  }
265
536
 
266
537
  &__copy-both {
267
538
  @include tm-icon-generate('copy', both);
539
+
540
+ &--large {
541
+ @include tm-icon-size(16px);
542
+ }
543
+
544
+ &--medium {
545
+ @include tm-icon-size(16px);
546
+ }
547
+
548
+ &--small {
549
+ @include tm-icon-size(14px);
550
+ }
268
551
  }
269
552
 
270
553
  &__delete {
271
554
  padding-right: rem-calc(24);
272
555
 
273
556
  @include tm-icon-generate('delete');
557
+
558
+ &--large {
559
+ @include tm-icon-size(16px);
560
+ }
561
+
562
+ &--medium {
563
+ @include tm-icon-size(16px);
564
+ }
565
+
566
+ &--small {
567
+ @include tm-icon-size(14px);
568
+ }
274
569
  }
275
570
 
276
571
  &__delete-right {
277
572
  padding-left: rem-calc(24);
278
573
 
279
574
  @include tm-icon-generate('delete', right);
575
+
576
+ &--large {
577
+ @include tm-icon-size(16px);
578
+ }
579
+
580
+ &--medium {
581
+ @include tm-icon-size(16px);
582
+ }
583
+
584
+ &--small {
585
+ @include tm-icon-size(14px);
586
+ }
280
587
  }
281
588
 
282
589
  &__delete-both {
283
590
  @include tm-icon-generate('delete', both);
591
+
592
+ &--large {
593
+ @include tm-icon-size(16px);
594
+ }
595
+
596
+ &--medium {
597
+ @include tm-icon-size(16px);
598
+ }
599
+
600
+ &--small {
601
+ @include tm-icon-size(14px);
602
+ }
284
603
  }
285
604
 
286
605
  &__edit {
287
606
  padding-right: rem-calc(24);
288
607
 
289
608
  @include tm-icon-generate('edit');
609
+
610
+ &--large {
611
+ @include tm-icon-size(16px);
612
+ }
613
+
614
+ &--medium {
615
+ @include tm-icon-size(16px);
616
+ }
617
+
618
+ &--small {
619
+ @include tm-icon-size(14px);
620
+ }
290
621
  }
291
622
 
292
623
  &__edit-right {
293
624
  padding-left: rem-calc(24);
294
625
 
295
626
  @include tm-icon-generate('edit', right);
627
+
628
+ &--large {
629
+ @include tm-icon-size(16px);
630
+ }
631
+
632
+ &--medium {
633
+ @include tm-icon-size(16px);
634
+ }
635
+
636
+ &--small {
637
+ @include tm-icon-size(14px);
638
+ }
296
639
  }
297
640
 
298
641
  &__edit-both {
299
642
  @include tm-icon-generate('edit', both);
643
+
644
+ &--large {
645
+ @include tm-icon-size(16px);
646
+ }
647
+
648
+ &--medium {
649
+ @include tm-icon-size(16px);
650
+ }
651
+
652
+ &--small {
653
+ @include tm-icon-size(14px);
654
+ }
300
655
  }
301
656
 
302
657
  &__filter {
303
658
  padding-right: rem-calc(24);
304
659
 
305
660
  @include tm-icon-generate('filter');
306
- }
307
661
 
308
- &__filter-right {
662
+ &--large {
663
+ @include tm-icon-size(16px);
664
+ }
665
+
666
+ &--medium {
667
+ @include tm-icon-size(16px);
668
+ }
669
+
670
+ &--small {
671
+ @include tm-icon-size(14px);
672
+ }
673
+ }
674
+
675
+ &__filter-right {
309
676
  padding-left: rem-calc(24);
310
677
 
311
678
  @include tm-icon-generate('filter', right);
679
+
680
+ &--large {
681
+ @include tm-icon-size(16px);
682
+ }
683
+
684
+ &--medium {
685
+ @include tm-icon-size(16px);
686
+ }
687
+
688
+ &--small {
689
+ @include tm-icon-size(14px);
690
+ }
312
691
  }
313
692
 
314
693
  &__filter-both {
315
694
  @include tm-icon-generate('filter', both);
695
+
696
+ &--large {
697
+ @include tm-icon-size(16px);
698
+ }
699
+
700
+ &--medium {
701
+ @include tm-icon-size(16px);
702
+ }
703
+
704
+ &--small {
705
+ @include tm-icon-size(14px);
706
+ }
316
707
  }
317
708
 
318
709
  &__globe {
319
710
  padding-right: rem-calc(24);
320
711
 
321
712
  @include tm-icon-generate('globe');
713
+
714
+ &--large {
715
+ @include tm-icon-size(16px);
716
+ }
717
+
718
+ &--medium {
719
+ @include tm-icon-size(16px);
720
+ }
721
+
722
+ &--small {
723
+ @include tm-icon-size(14px);
724
+ }
322
725
  }
323
726
 
324
727
  &__globe-right {
325
728
  padding-left: rem-calc(24);
326
729
 
327
730
  @include tm-icon-generate('globe', right);
731
+
732
+ &--large {
733
+ @include tm-icon-size(16px);
734
+ }
735
+
736
+ &--medium {
737
+ @include tm-icon-size(16px);
738
+ }
739
+
740
+ &--small {
741
+ @include tm-icon-size(14px);
742
+ }
328
743
  }
329
744
 
330
745
  &__globe-both {
331
746
  @include tm-icon-generate('globe', both);
747
+
748
+ &--large {
749
+ @include tm-icon-size(16px);
750
+ }
751
+
752
+ &--medium {
753
+ @include tm-icon-size(16px);
754
+ }
755
+
756
+ &--small {
757
+ @include tm-icon-size(14px);
758
+ }
332
759
  }
333
760
 
334
761
  &__log-in {
335
762
  padding-right: rem-calc(24);
336
763
 
337
764
  @include tm-icon-generate('log-in');
765
+
766
+ &--large {
767
+ @include tm-icon-size(16px);
768
+ }
769
+
770
+ &--medium {
771
+ @include tm-icon-size(16px);
772
+ }
773
+
774
+ &--small {
775
+ @include tm-icon-size(14px);
776
+ }
338
777
  }
339
778
 
340
779
  &__log-in-right {
341
780
  padding-left: rem-calc(24);
342
781
 
343
782
  @include tm-icon-generate('log-in', right);
783
+
784
+ &--large {
785
+ @include tm-icon-size(16px);
786
+ }
787
+
788
+ &--medium {
789
+ @include tm-icon-size(16px);
790
+ }
791
+
792
+ &--small {
793
+ @include tm-icon-size(14px);
794
+ }
344
795
  }
345
796
 
346
797
  &__log-in-both {
347
798
  @include tm-icon-generate('log-in', both);
799
+
800
+ &--large {
801
+ @include tm-icon-size(16px);
802
+ }
803
+
804
+ &--medium {
805
+ @include tm-icon-size(16px);
806
+ }
807
+
808
+ &--small {
809
+ @include tm-icon-size(14px);
810
+ }
348
811
  }
349
812
 
350
813
  &__log-out {
351
814
  padding-right: rem-calc(24);
352
815
 
353
816
  @include tm-icon-generate('log-out');
817
+
818
+ &--large {
819
+ @include tm-icon-size(16px);
820
+ }
821
+
822
+ &--medium {
823
+ @include tm-icon-size(16px);
824
+ }
825
+
826
+ &--small {
827
+ @include tm-icon-size(14px);
828
+ }
354
829
  }
355
830
 
356
831
  &__log-out-right {
357
832
  padding-left: rem-calc(24);
358
833
 
359
834
  @include tm-icon-generate('log-out', right);
835
+
836
+ &--large {
837
+ @include tm-icon-size(16px);
838
+ }
839
+
840
+ &--medium {
841
+ @include tm-icon-size(16px);
842
+ }
843
+
844
+ &--small {
845
+ @include tm-icon-size(14px);
846
+ }
360
847
  }
361
848
 
362
849
  &__log-out-both {
363
850
  @include tm-icon-generate('log-out', both);
851
+
852
+ &--large {
853
+ @include tm-icon-size(16px);
854
+ }
855
+
856
+ &--medium {
857
+ @include tm-icon-size(16px);
858
+ }
859
+
860
+ &--small {
861
+ @include tm-icon-size(14px);
862
+ }
364
863
  }
365
864
 
366
865
  &__mail {
367
866
  padding-right: rem-calc(24);
368
867
 
369
868
  @include tm-icon-generate('mail');
869
+
870
+ &--large {
871
+ @include tm-icon-size(16px);
872
+ }
873
+
874
+ &--medium {
875
+ @include tm-icon-size(16px);
876
+ }
877
+
878
+ &--small {
879
+ @include tm-icon-size(14px);
880
+ }
370
881
  }
371
882
 
372
883
  &__mail-right {
373
884
  padding-left: rem-calc(24);
374
885
 
375
886
  @include tm-icon-generate('mail', right);
887
+
888
+ &--large {
889
+ @include tm-icon-size(16px);
890
+ }
891
+
892
+ &--medium {
893
+ @include tm-icon-size(16px);
894
+ }
895
+
896
+ &--small {
897
+ @include tm-icon-size(14px);
898
+ }
376
899
  }
377
900
 
378
901
  &__mail-both {
379
902
  @include tm-icon-generate('mail', both);
903
+
904
+ &--large {
905
+ @include tm-icon-size(16px);
906
+ }
907
+
908
+ &--medium {
909
+ @include tm-icon-size(16px);
910
+ }
911
+
912
+ &--small {
913
+ @include tm-icon-size(14px);
914
+ }
380
915
  }
381
916
 
382
917
  &__map-pin {
383
918
  padding-right: rem-calc(24);
384
919
 
385
920
  @include tm-icon-generate('map-pin');
921
+
922
+ &--large {
923
+ @include tm-icon-size(16px);
924
+ }
925
+
926
+ &--medium {
927
+ @include tm-icon-size(16px);
928
+ }
929
+
930
+ &--small {
931
+ @include tm-icon-size(14px);
932
+ }
386
933
  }
387
934
 
388
935
  &__map-pin-right {
389
936
  padding-left: rem-calc(24);
390
937
 
391
938
  @include tm-icon-generate('map-pin', right);
939
+
940
+ &--large {
941
+ @include tm-icon-size(16px);
942
+ }
943
+
944
+ &--medium {
945
+ @include tm-icon-size(16px);
946
+ }
947
+
948
+ &--small {
949
+ @include tm-icon-size(14px);
950
+ }
392
951
  }
393
952
 
394
953
  &__map-pin-both {
395
954
  @include tm-icon-generate('map-pin', both);
955
+
956
+ &--large {
957
+ @include tm-icon-size(16px);
958
+ }
959
+
960
+ &--medium {
961
+ @include tm-icon-size(16px);
962
+ }
963
+
964
+ &--small {
965
+ @include tm-icon-size(14px);
966
+ }
396
967
  }
397
968
 
398
969
  &__refresh {
399
970
  padding-right: rem-calc(24);
400
971
 
401
972
  @include tm-icon-generate('refresh');
973
+
974
+ &--large {
975
+ @include tm-icon-size(16px);
976
+ }
977
+
978
+ &--medium {
979
+ @include tm-icon-size(16px);
980
+ }
981
+
982
+ &--small {
983
+ @include tm-icon-size(14px);
984
+ }
402
985
  }
403
986
 
404
987
  &__refresh-right {
405
988
  padding-left: rem-calc(24);
406
989
 
407
990
  @include tm-icon-generate('refresh', right);
991
+
992
+ &--large {
993
+ @include tm-icon-size(16px);
994
+ }
995
+
996
+ &--medium {
997
+ @include tm-icon-size(16px);
998
+ }
999
+
1000
+ &--small {
1001
+ @include tm-icon-size(14px);
1002
+ }
408
1003
  }
409
1004
 
410
1005
  &__refresh-both {
411
1006
  @include tm-icon-generate('refresh', both);
1007
+
1008
+ &--large {
1009
+ @include tm-icon-size(16px);
1010
+ }
1011
+
1012
+ &--medium {
1013
+ @include tm-icon-size(16px);
1014
+ }
1015
+
1016
+ &--small {
1017
+ @include tm-icon-size(14px);
1018
+ }
412
1019
  }
413
1020
 
414
1021
  &__search {
415
1022
  padding-right: rem-calc(24);
416
1023
 
417
1024
  @include tm-icon-generate('search');
1025
+
1026
+ &--large {
1027
+ @include tm-icon-size(16px);
1028
+ }
1029
+
1030
+ &--medium {
1031
+ @include tm-icon-size(16px);
1032
+ }
1033
+
1034
+ &--small {
1035
+ @include tm-icon-size(14px);
1036
+ }
418
1037
  }
419
1038
 
420
1039
  &__search-right {
421
1040
  padding-left: rem-calc(24);
422
1041
 
423
1042
  @include tm-icon-generate('search', right);
1043
+
1044
+ &--large {
1045
+ @include tm-icon-size(16px);
1046
+ }
1047
+
1048
+ &--medium {
1049
+ @include tm-icon-size(16px);
1050
+ }
1051
+
1052
+ &--small {
1053
+ @include tm-icon-size(14px);
1054
+ }
424
1055
  }
425
1056
 
426
1057
  &__search-both {
427
1058
  @include tm-icon-generate('search', both);
1059
+
1060
+ &--large {
1061
+ @include tm-icon-size(16px);
1062
+ }
1063
+
1064
+ &--medium {
1065
+ @include tm-icon-size(16px);
1066
+ }
1067
+
1068
+ &--small {
1069
+ @include tm-icon-size(14px);
1070
+ }
428
1071
  }
429
1072
 
430
1073
  &__settings {
431
1074
  padding-right: rem-calc(24);
432
1075
 
433
1076
  @include tm-icon-generate('settings');
1077
+
1078
+ &--large {
1079
+ @include tm-icon-size(16px);
1080
+ }
1081
+
1082
+ &--medium {
1083
+ @include tm-icon-size(16px);
1084
+ }
1085
+
1086
+ &--small {
1087
+ @include tm-icon-size(14px);
1088
+ }
434
1089
  }
435
1090
 
436
1091
  &__settings-right {
437
1092
  padding-left: rem-calc(24);
438
1093
 
439
1094
  @include tm-icon-generate('settings', right);
1095
+
1096
+ &--large {
1097
+ @include tm-icon-size(16px);
1098
+ }
1099
+
1100
+ &--medium {
1101
+ @include tm-icon-size(16px);
1102
+ }
1103
+
1104
+ &--small {
1105
+ @include tm-icon-size(14px);
1106
+ }
440
1107
  }
441
1108
 
442
1109
  &__settings-both {
443
1110
  @include tm-icon-generate('settings', both);
1111
+
1112
+ &--large {
1113
+ @include tm-icon-size(16px);
1114
+ }
1115
+
1116
+ &--medium {
1117
+ @include tm-icon-size(16px);
1118
+ }
1119
+
1120
+ &--small {
1121
+ @include tm-icon-size(14px);
1122
+ }
444
1123
  }
445
1124
 
446
1125
  &__share {
447
1126
  padding-right: rem-calc(24);
448
1127
 
449
1128
  @include tm-icon-generate('share');
1129
+
1130
+ &--large {
1131
+ @include tm-icon-size(16px);
1132
+ }
1133
+
1134
+ &--medium {
1135
+ @include tm-icon-size(16px);
1136
+ }
1137
+
1138
+ &--small {
1139
+ @include tm-icon-size(14px);
1140
+ }
450
1141
  }
451
1142
 
452
1143
  &__share-right {
453
1144
  padding-left: rem-calc(24);
454
1145
 
455
1146
  @include tm-icon-generate('share', right);
1147
+
1148
+ &--large {
1149
+ @include tm-icon-size(16px);
1150
+ }
1151
+
1152
+ &--medium {
1153
+ @include tm-icon-size(16px);
1154
+ }
1155
+
1156
+ &--small {
1157
+ @include tm-icon-size(14px);
1158
+ }
456
1159
  }
457
1160
 
458
1161
  &__share-both {
459
1162
  @include tm-icon-generate('share', both);
1163
+
1164
+ &--large {
1165
+ @include tm-icon-size(16px);
1166
+ }
1167
+
1168
+ &--medium {
1169
+ @include tm-icon-size(16px);
1170
+ }
1171
+
1172
+ &--small {
1173
+ @include tm-icon-size(14px);
1174
+ }
460
1175
  }
461
1176
 
462
1177
  &__star {
463
1178
  padding-right: rem-calc(24);
464
1179
 
465
1180
  @include tm-icon-generate('star');
1181
+
1182
+ &--large {
1183
+ @include tm-icon-size(16px);
1184
+ }
1185
+
1186
+ &--medium {
1187
+ @include tm-icon-size(16px);
1188
+ }
1189
+
1190
+ &--small {
1191
+ @include tm-icon-size(14px);
1192
+ }
466
1193
  }
467
1194
 
468
1195
  &__star-right {
469
1196
  padding-left: rem-calc(24);
470
1197
 
471
1198
  @include tm-icon-generate('star', right);
1199
+
1200
+ &--large {
1201
+ @include tm-icon-size(16px);
1202
+ }
1203
+
1204
+ &--medium {
1205
+ @include tm-icon-size(16px);
1206
+ }
1207
+
1208
+ &--small {
1209
+ @include tm-icon-size(14px);
1210
+ }
472
1211
  }
473
1212
 
474
1213
  &__star-both {
475
1214
  @include tm-icon-generate('star', both);
1215
+
1216
+ &--large {
1217
+ @include tm-icon-size(16px);
1218
+ }
1219
+
1220
+ &--medium {
1221
+ @include tm-icon-size(16px);
1222
+ }
1223
+
1224
+ &--small {
1225
+ @include tm-icon-size(14px);
1226
+ }
476
1227
  }
477
1228
 
478
1229
  &__trash {
479
1230
  padding-right: rem-calc(24);
480
1231
 
481
1232
  @include tm-icon-generate('trash');
1233
+
1234
+ &--large {
1235
+ @include tm-icon-size(16px);
1236
+ }
1237
+
1238
+ &--medium {
1239
+ @include tm-icon-size(16px);
1240
+ }
1241
+
1242
+ &--small {
1243
+ @include tm-icon-size(14px);
1244
+ }
482
1245
  }
483
1246
 
484
1247
  &__trash-right {
485
1248
  padding-left: rem-calc(24);
486
1249
 
487
1250
  @include tm-icon-generate('trash', right);
1251
+
1252
+ &--large {
1253
+ @include tm-icon-size(16px);
1254
+ }
1255
+
1256
+ &--medium {
1257
+ @include tm-icon-size(16px);
1258
+ }
1259
+
1260
+ &--small {
1261
+ @include tm-icon-size(14px);
1262
+ }
488
1263
  }
489
1264
 
490
1265
  &__trash-both {
491
1266
  @include tm-icon-generate('trash', both);
1267
+
1268
+ &--large {
1269
+ @include tm-icon-size(16px);
1270
+ }
1271
+
1272
+ &--medium {
1273
+ @include tm-icon-size(16px);
1274
+ }
1275
+
1276
+ &--small {
1277
+ @include tm-icon-size(14px);
1278
+ }
492
1279
  }
493
1280
 
494
1281
  &__user {
495
1282
  padding-right: rem-calc(24);
496
1283
 
497
1284
  @include tm-icon-generate('user');
1285
+
1286
+ &--large {
1287
+ @include tm-icon-size(16px);
1288
+ }
1289
+
1290
+ &--medium {
1291
+ @include tm-icon-size(16px);
1292
+ }
1293
+
1294
+ &--small {
1295
+ @include tm-icon-size(14px);
1296
+ }
498
1297
  }
499
1298
 
500
1299
  &__user-right {
501
1300
  padding-left: rem-calc(24);
502
1301
 
503
1302
  @include tm-icon-generate('user', right);
1303
+
1304
+ &--large {
1305
+ @include tm-icon-size(16px);
1306
+ }
1307
+
1308
+ &--medium {
1309
+ @include tm-icon-size(16px);
1310
+ }
1311
+
1312
+ &--small {
1313
+ @include tm-icon-size(14px);
1314
+ }
504
1315
  }
505
1316
 
506
1317
  &__user-both {
507
1318
  @include tm-icon-generate('user', both);
1319
+
1320
+ &--large {
1321
+ @include tm-icon-size(16px);
1322
+ }
1323
+
1324
+ &--medium {
1325
+ @include tm-icon-size(16px);
1326
+ }
1327
+
1328
+ &--small {
1329
+ @include tm-icon-size(14px);
1330
+ }
508
1331
  }
509
1332
 
510
1333
  &__white {
@@ -559,15 +1382,15 @@
559
1382
  }
560
1383
  }
561
1384
 
562
- &__large {
563
- @include tm-icon-size(24px);
1385
+ &__disabled {
1386
+ @include tm-icon-color(disabled);
564
1387
  }
565
1388
 
566
- &__medium {
567
- @include tm-icon-size(16px);
568
- }
1389
+ &__inverted {
1390
+ @include tm-icon-color(white);
569
1391
 
570
- &__small {
571
- @include tm-icon-size(14px);
1392
+ &:hover {
1393
+ @include tm-icon-color(lightblue-light);
1394
+ }
572
1395
  }
573
1396
  }