@transfermarkt/global-styles 1.16.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.16.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,51 +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
- disabled: invert(53%) sepia(8%) saturate(282%) hue-rotate(177deg) brightness(122%) contrast(171%)
19
- );
1
+ @use '../variables/colors' as *;
20
2
 
21
- @function icon-filter-base($state) {
22
- @if $state == 'disabled' {
23
- @return invert(53%) sepia(8%) saturate(282%) hue-rotate(177deg) brightness(122%) contrast(171%);
24
- } @else if $state == 'warning-dark' {
25
- @return invert(77%) sepia(38%) saturate(5784%) hue-rotate(359deg) brightness(101%)
26
- contrast(105%);
27
- } @else if $state == 'success' {
28
- @return invert(76%) sepia(61%) saturate(125%) hue-rotate(86deg) brightness(119%) contrast(84%);
29
- } @else {
30
- @return invert(100%) sepia(100%) saturate(1%) hue-rotate(207deg) brightness(102%) contrast(102%);
31
- }
32
- }
3
+ /* stylelint-disable */
33
4
 
34
- @function icon-filter-hover($state) {
35
- @if $state == 'warning' {
36
- @return invert(65%) sepia(60%) saturate(4500%) hue-rotate(359deg) brightness(105%)
37
- contrast(110%);
38
- } @else if $state == 'success' {
39
- @return invert(58%) sepia(90%) saturate(500%) hue-rotate(93deg) brightness(100%) contrast(95%);
40
- } @else {
41
- @return invert(90%) sepia(90%) saturate(10%) hue-rotate(207deg) brightness(110%) contrast(110%);
42
- }
5
+ @function icon-svg-url($name) {
6
+ $base-url: 'https://tmsi.akamaized.net/tm-svg-icons';
7
+ @return '#{$base-url}/#{$name}.svg';
43
8
  }
44
9
 
45
- @mixin tm-icon-generate($name, $position: left, $state: 'default') {
46
- $base-url: 'https://tmsi.akamaized.net/tm-svg-icons';
47
- $image-url: '#{$base-url}/#{$name}.svg';
48
- $base-filter: icon-filter-base($state);
10
+ @mixin tm-icon-generate($name, $position: left) {
11
+ $image-url: icon-svg-url($name);
49
12
 
50
13
  @if $position == left or $position == both {
51
14
  &::before {
@@ -53,15 +16,9 @@ $icon-color-filters: (
53
16
  display: inline-block;
54
17
  vertical-align: middle;
55
18
  margin-right: 8px;
56
- width: 20px;
57
- height: 20px;
58
- background: url('#{$image-url}') no-repeat center/contain;
59
- filter: $base-filter;
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
 
@@ -87,9 +105,8 @@
87
105
  }
88
106
 
89
107
  &__secondary {
90
- background-color: tm-color('white');
108
+ background-color: unset;
91
109
  color: tm-color('admiral');
92
- opacity: 1;
93
110
 
94
111
  &--large {
95
112
  text-transform: uppercase;
@@ -133,6 +150,10 @@
133
150
  color: tm-color('success');
134
151
  }
135
152
  }
153
+
154
+ &--inverted {
155
+ color: tm-color('white');
156
+ }
136
157
  }
137
158
 
138
159
  &__tertiary {
@@ -189,25 +210,76 @@
189
210
  &__arrow {
190
211
  padding-right: rem-calc(24);
191
212
 
192
- @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
+ }
193
227
 
194
228
  &::before {
195
229
  transform: rotate(180deg);
196
230
  }
231
+
232
+ &:hover {
233
+ @include tm-icon-color('lightblue-light');
234
+ }
197
235
  }
198
236
 
199
237
  &__arrow-right {
200
238
  padding-left: rem-calc(24);
201
239
 
202
- @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
+ }
203
258
  }
204
259
 
205
260
  &__arrow-both {
206
- @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
+ }
207
275
 
208
276
  &::before {
209
277
  transform: rotate(180deg);
210
278
  }
279
+
280
+ &:hover {
281
+ @include tm-icon-color('lightblue-light');
282
+ }
211
283
  }
212
284
 
213
285
  &__chevron {
@@ -215,6 +287,18 @@
215
287
 
216
288
  @include tm-icon-generate('chevron');
217
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
+
218
302
  &::before {
219
303
  transform: rotate(180deg);
220
304
  }
@@ -224,11 +308,35 @@
224
308
  padding-left: rem-calc(24);
225
309
 
226
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
+ }
227
323
  }
228
324
 
229
325
  &__chevron-both {
230
326
  @include tm-icon-generate('chevron', both);
231
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
+
232
340
  &::before {
233
341
  transform: rotate(180deg);
234
342
  }
@@ -238,304 +346,988 @@
238
346
  padding-right: rem-calc(24);
239
347
 
240
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
+ }
241
361
  }
242
362
 
243
363
  &__check-right {
244
364
  padding-left: rem-calc(24);
245
365
 
246
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
+ }
247
379
  }
248
380
 
249
381
  &__check-both {
250
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
+ }
251
395
  }
252
396
 
253
397
  &__clipboard {
254
398
  padding-right: rem-calc(24);
255
399
 
256
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
+ }
257
413
  }
258
414
 
259
415
  &__clipboard-right {
260
416
  padding-left: rem-calc(24);
261
417
 
262
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
+ }
263
431
  }
264
432
 
265
433
  &__clipboard-both {
266
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
+ }
267
447
  }
268
448
 
269
449
  &__close {
270
450
  padding-right: rem-calc(24);
271
451
 
272
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
+ }
273
465
  }
274
466
 
275
467
  &__close-right {
276
468
  padding-left: rem-calc(24);
277
469
 
278
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
+ }
279
483
  }
280
484
 
281
485
  &__close-both {
282
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
+ }
283
499
  }
284
500
 
285
501
  &__copy {
286
502
  padding-right: rem-calc(24);
287
503
 
288
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
+ }
289
517
  }
290
518
 
291
519
  &__copy-right {
292
520
  padding-left: rem-calc(24);
293
521
 
294
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
+ }
295
535
  }
296
536
 
297
537
  &__copy-both {
298
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
+ }
299
551
  }
300
552
 
301
553
  &__delete {
302
554
  padding-right: rem-calc(24);
303
555
 
304
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
+ }
305
569
  }
306
570
 
307
571
  &__delete-right {
308
572
  padding-left: rem-calc(24);
309
573
 
310
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
+ }
311
587
  }
312
588
 
313
589
  &__delete-both {
314
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
+ }
315
603
  }
316
604
 
317
605
  &__edit {
318
606
  padding-right: rem-calc(24);
319
607
 
320
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
+ }
321
621
  }
322
622
 
323
623
  &__edit-right {
324
624
  padding-left: rem-calc(24);
325
625
 
326
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
+ }
327
639
  }
328
640
 
329
641
  &__edit-both {
330
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
+ }
331
655
  }
332
656
 
333
657
  &__filter {
334
658
  padding-right: rem-calc(24);
335
659
 
336
660
  @include tm-icon-generate('filter');
661
+
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
+ }
337
673
  }
338
674
 
339
675
  &__filter-right {
340
676
  padding-left: rem-calc(24);
341
677
 
342
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
+ }
343
691
  }
344
692
 
345
693
  &__filter-both {
346
694
  @include tm-icon-generate('filter', both);
347
- }
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
+ }
707
+ }
348
708
 
349
709
  &__globe {
350
710
  padding-right: rem-calc(24);
351
711
 
352
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
+ }
353
725
  }
354
726
 
355
727
  &__globe-right {
356
728
  padding-left: rem-calc(24);
357
729
 
358
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
+ }
359
743
  }
360
744
 
361
745
  &__globe-both {
362
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
+ }
363
759
  }
364
760
 
365
761
  &__log-in {
366
762
  padding-right: rem-calc(24);
367
763
 
368
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
+ }
369
777
  }
370
778
 
371
779
  &__log-in-right {
372
780
  padding-left: rem-calc(24);
373
781
 
374
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
+ }
375
795
  }
376
796
 
377
797
  &__log-in-both {
378
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
+ }
379
811
  }
380
812
 
381
813
  &__log-out {
382
814
  padding-right: rem-calc(24);
383
815
 
384
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
+ }
385
829
  }
386
830
 
387
831
  &__log-out-right {
388
832
  padding-left: rem-calc(24);
389
833
 
390
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
+ }
391
847
  }
392
848
 
393
849
  &__log-out-both {
394
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
+ }
395
863
  }
396
864
 
397
865
  &__mail {
398
866
  padding-right: rem-calc(24);
399
867
 
400
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
+ }
401
881
  }
402
882
 
403
883
  &__mail-right {
404
884
  padding-left: rem-calc(24);
405
885
 
406
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
+ }
407
899
  }
408
900
 
409
901
  &__mail-both {
410
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
+ }
411
915
  }
412
916
 
413
917
  &__map-pin {
414
918
  padding-right: rem-calc(24);
415
919
 
416
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
+ }
417
933
  }
418
934
 
419
935
  &__map-pin-right {
420
936
  padding-left: rem-calc(24);
421
937
 
422
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
+ }
423
951
  }
424
952
 
425
953
  &__map-pin-both {
426
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
+ }
427
967
  }
428
968
 
429
969
  &__refresh {
430
970
  padding-right: rem-calc(24);
431
971
 
432
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
+ }
433
985
  }
434
986
 
435
987
  &__refresh-right {
436
988
  padding-left: rem-calc(24);
437
989
 
438
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
+ }
439
1003
  }
440
1004
 
441
1005
  &__refresh-both {
442
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
+ }
443
1019
  }
444
1020
 
445
1021
  &__search {
446
1022
  padding-right: rem-calc(24);
447
1023
 
448
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
+ }
449
1037
  }
450
1038
 
451
1039
  &__search-right {
452
1040
  padding-left: rem-calc(24);
453
1041
 
454
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
+ }
455
1055
  }
456
1056
 
457
1057
  &__search-both {
458
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
+ }
459
1071
  }
460
1072
 
461
1073
  &__settings {
462
1074
  padding-right: rem-calc(24);
463
1075
 
464
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
+ }
465
1089
  }
466
1090
 
467
1091
  &__settings-right {
468
1092
  padding-left: rem-calc(24);
469
1093
 
470
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
+ }
471
1107
  }
472
1108
 
473
1109
  &__settings-both {
474
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
+ }
475
1123
  }
476
1124
 
477
1125
  &__share {
478
1126
  padding-right: rem-calc(24);
479
1127
 
480
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
+ }
481
1141
  }
482
1142
 
483
1143
  &__share-right {
484
1144
  padding-left: rem-calc(24);
485
1145
 
486
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
+ }
487
1159
  }
488
1160
 
489
1161
  &__share-both {
490
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
+ }
491
1175
  }
492
1176
 
493
1177
  &__star {
494
1178
  padding-right: rem-calc(24);
495
1179
 
496
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
+ }
497
1193
  }
498
1194
 
499
1195
  &__star-right {
500
1196
  padding-left: rem-calc(24);
501
1197
 
502
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
+ }
503
1211
  }
504
1212
 
505
1213
  &__star-both {
506
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
+ }
507
1227
  }
508
1228
 
509
1229
  &__trash {
510
1230
  padding-right: rem-calc(24);
511
1231
 
512
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
+ }
513
1245
  }
514
1246
 
515
1247
  &__trash-right {
516
1248
  padding-left: rem-calc(24);
517
1249
 
518
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
+ }
519
1263
  }
520
1264
 
521
1265
  &__trash-both {
522
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
+ }
523
1279
  }
524
1280
 
525
1281
  &__user {
526
1282
  padding-right: rem-calc(24);
527
1283
 
528
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
+ }
529
1297
  }
530
1298
 
531
1299
  &__user-right {
532
1300
  padding-left: rem-calc(24);
533
1301
 
534
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
+ }
535
1315
  }
536
1316
 
537
1317
  &__user-both {
538
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
+ }
539
1331
  }
540
1332
 
541
1333
  &__white {
@@ -594,15 +1386,11 @@
594
1386
  @include tm-icon-color(disabled);
595
1387
  }
596
1388
 
597
- &__large {
598
- @include tm-icon-size(24px);
599
- }
600
-
601
- &__medium {
602
- @include tm-icon-size(16px);
603
- }
1389
+ &__inverted {
1390
+ @include tm-icon-color(white);
604
1391
 
605
- &__small {
606
- @include tm-icon-size(14px);
1392
+ &:hover {
1393
+ @include tm-icon-color(lightblue-light);
1394
+ }
607
1395
  }
608
1396
  }