@transfermarkt/global-styles 1.36.0 → 1.38.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.
@@ -1,1558 +1,140 @@
1
- @use '../functions/rem-calc' as *;
2
- @use '../functions/tm-color' as *;
3
- @use '../functions/tm-font' as *;
4
- @use '../mixins/breakpoint' as *;
5
-
6
- *,
7
- *::before,
8
- *::after {
9
- box-sizing: border-box;
10
- }
11
-
12
- body,
13
- html {
14
- height: 100%;
15
- width: 100%;
16
- }
17
-
18
- body {
19
- background: tm-color('border-grey');
20
- color: tm-color('dark-grey');
21
- font-family: tm-font('primary');
22
- font-size: rem-calc(12);
23
- -webkit-font-smoothing: antialiased;
24
- font-style: normal;
25
- font-weight: normal;
26
- line-height: 1;
27
- margin: 0;
28
- position: relative;
29
- }
30
-
31
- body,
32
- div,
33
- dl,
34
- dt,
35
- dd,
36
- ul,
37
- ol,
38
- li,
39
- h1,
40
- h2,
41
- h3,
42
- h4,
43
- h5,
44
- h6,
45
- pre,
46
- form,
47
- p,
48
- blockquote,
49
- th,
50
- .teaser-headline,
51
- td {
52
- direction: ltr;
53
- font-size: rem-calc(12);
54
- margin: 0;
55
- padding: 0;
56
- }
57
-
58
- a {
59
- color: tm-color('light-blue');
60
- line-height: inherit;
61
- text-decoration: none;
62
- }
63
-
64
- figure {
65
- margin: 0;
66
- }
67
-
68
- input[type='text'],
69
- input[type='password'],
70
- input[type='date'],
71
- input[type='datetime'],
72
- input[type='email'],
73
- input[type='number'],
74
- input[type='search'],
75
- input[type='tel'],
76
- input[type='time'],
77
- input[type='url'],
78
- textarea {
79
- margin: 0 0 rem-calc(2);
80
- }
81
-
82
- [type='text'],
83
- [type='password'],
84
- [type='date'],
85
- [type='datetime'],
86
- [type='datetime-local'],
87
- [type='month'],
88
- [type='week'],
89
- [type='email'],
90
- [type='number'],
91
- [type='search'],
92
- [type='tel'],
93
- [type='time'],
94
- [type='url'],
95
- [type='color'],
96
- textarea {
97
- border: rem-calc(1) solid tm-color('light-grey');
98
- box-sizing: border-box;
99
- display: block;
100
- font-family: tm-font('quinary');
101
- font-size: rem-calc(12);
102
- width: 100%;
103
- }
104
-
105
- #main {
106
- background-color: tm-color('whisper');
107
- margin: 0 auto;
108
- max-width: rem-calc(1034);
109
- position: relative;
110
- }
111
-
112
- .box {
113
- background-color: tm-color('white');
114
- border: rem-calc(1) solid tm-color('grey');
115
- margin-top: rem-calc(10);
116
- }
117
-
118
- .box .content,
119
- .info-box .content {
120
- padding: rem-calc(10);
121
- width: 100%;
122
- }
123
-
124
- .content-legend {
125
- padding: rem-calc(10) rem-calc(10) rem-calc(10) rem-calc(14);
126
- }
127
-
128
- .legend {
129
- font-size: rem-calc(12);
130
- margin-bottom: rem-calc(10);
131
- }
132
-
133
- .blue-box {
134
- background: tm-color('alice-blue');
135
- border: rem-calc(2) solid tm-color('cyan');
136
- border-radius: rem-calc(5);
137
- display: inline-block;
138
- height: rem-calc(20);
139
- margin-right: rem-calc(10);
140
- width: rem-calc(30);
141
- }
142
-
143
- .red-box {
144
- background: #9a008e0d;
145
- border: rem-calc(2) solid #9a008e;
146
- border-radius: rem-calc(5);
147
- display: inline-block;
148
- height: rem-calc(20);
149
- margin-right: rem-calc(10);
150
- width: rem-calc(30);
151
- }
152
-
153
- .theme1 {
154
- background: tm-color('alice-blue') !important;
155
- }
156
-
157
- .theme2 {
158
- background: #9a008e0d !important;
159
- }
160
-
161
- .theme3 {
162
- background: tm-color('alice-blue') !important;
163
- }
164
-
165
- .button-theme {
166
- background: tm-color('admiral');
167
- border: none;
168
- border-radius: rem-calc(4);
169
- color: tm-color('white');
170
- padding: rem-calc(5) rem-calc(10);
171
- }
172
-
173
- .button-theme:hover {
174
- background: tm-color('cyan');
175
- }
176
-
177
- .theme-button {
178
- margin: rem-calc(10) 0 rem-calc(6);
179
-
180
- @include breakpoint(laptop) {
181
- margin-top: rem-calc(5);
182
- }
183
- }
184
-
185
- .themecontainer {
1
+ @use '@transfermarkt/global-styles/scss/functions/rem-calc' as *;
2
+ @use '@transfermarkt/global-styles/scss/functions/tm-color' as *;
3
+ @use '@transfermarkt/global-styles/scss/functions/tm-font' as *;
4
+ @use '@transfermarkt/global-styles/scss/mixins';
5
+ @use '@transfermarkt/global-styles/scss/utils/components/buttons' as *;
6
+ @use '@transfermarkt/global-styles/scss/mixins/breakpoint' as *;
7
+
8
+ .tm-row {
186
9
  display: flex;
187
- margin-bottom: rem-calc(5);
188
- }
189
-
190
- .theme-text,
191
- .button-text {
192
- font-weight: bold;
193
- }
194
-
195
- .theme-text {
196
- color: tm-color('black');
197
- }
198
-
199
- .theme-text::after {
200
- border-bottom: rem-calc(4) solid transparent;
201
- border-left: rem-calc(4) solid tm-color('black');
202
- border-top: rem-calc(4) solid transparent;
203
- content: '';
204
- display: inline-block;
205
- margin-left: rem-calc(4);
206
- }
207
-
208
- .button-text::after {
209
- border-bottom: rem-calc(4) solid transparent;
210
- border-left: rem-calc(4) solid tm-color('white');
211
- border-top: rem-calc(4) solid transparent;
212
- content: '';
213
- display: inline-block;
214
- margin-left: rem-calc(4);
215
- }
216
-
217
- .normaler-text {
218
- font-style: normal;
219
- font-weight: normal !important;
220
- }
221
-
222
- .quick-select-wrapper {
223
- background-color: tm-color('white');
224
- font-family: tm-font('tertiary');
225
- font-size: rem-calc(17);
226
- margin: 0 0 rem-calc(10);
227
- padding: rem-calc(10);
228
- }
229
-
230
- .quickselect-element {
231
- height: 100%;
232
- margin-right: rem-calc(20);
233
- }
234
-
235
- .quickselect-selector {
236
- position: relative;
237
- }
238
-
239
- // legacy needs to be moved out of the way
240
-
241
- /* stylelint-disable */
242
-
243
- .content-box-text {
244
- display: inline-block;
245
- font-family: tm-font('secondary');
246
- font-size: rem-calc(14);
247
- margin: rem-calc(5) rem-calc(8);
248
- }
249
-
250
- .icon-profil-icon-forum {
251
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-gray.svg');
252
- background-repeat: no-repeat;
253
- height: rem-calc(25);
254
- width: rem-calc(25);
255
- }
256
-
257
- .icon-mantel_blau {
258
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-blue.svg');
259
- background-repeat: no-repeat;
260
- height: rem-calc(25);
261
- width: rem-calc(25);
262
- }
263
-
264
- .icon-mantel_cyan {
265
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-cyan.svg');
266
- background-repeat: no-repeat;
267
- height: rem-calc(18);
268
- width: rem-calc(18);
269
- }
270
-
271
- .icon-mantel_gelb {
272
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-yellow.svg');
273
- background-repeat: no-repeat;
274
- height: rem-calc(25);
275
- width: rem-calc(25);
276
- }
277
-
278
- .icon-mantel_grau {
279
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-gray.svg');
280
- background-repeat: no-repeat;
281
- height: rem-calc(25);
282
- width: rem-calc(25);
283
- }
284
-
285
- .icon-mantel_gruen {
286
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-green.svg');
287
- background-repeat: no-repeat;
288
- height: rem-calc(25);
289
- width: rem-calc(25);
290
- }
291
-
292
- .icon-mantel_rot {
293
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-red.svg');
294
- background-repeat: no-repeat;
295
- height: rem-calc(25);
296
- width: rem-calc(25);
297
- }
298
-
299
- .icon-mantel_weiss {
300
- background-image: url('https://tmsi.akamaized.net/icons/icon-mantel-white.svg');
301
- background-repeat: no-repeat;
302
- height: rem-calc(25);
303
- width: rem-calc(25);
304
- }
305
-
306
- .bg_gruen_100 {
307
- background-color: tm-color('green') !important;
308
- }
309
-
310
- div[aria-describedby='verlinkungen'] {
311
- height: auto !important;
312
- }
313
-
314
- .tm-content-template {
315
- background-color: tm-color('white');
316
- box-shadow: rem-calc(2) rem-calc(2) rem-calc(8) 0 rgb(0 0 0 / 20%);
317
- margin: 0 auto;
318
- max-width: rem-calc(1034);
319
-
320
- &--has-margin {
321
- box-shadow: none;
322
- margin: 10px 5px;
323
- }
324
-
325
- .list-view {
326
- .summary {
327
- margin-top: 10px;
328
- }
329
- }
330
- }
331
-
332
- .container__grid {
333
- display: grid;
334
- grid-template-rows: 1fr;
335
- margin: 0 rem-calc(5);
336
- padding: 0 0 rem-calc(10);
337
-
338
- @include breakpoint(tablet) {
339
- grid-column-gap: rem-calc(5);
340
- grid-template: 'section aside';
341
- grid-template-columns: 66.67% 33.33%;
342
- grid-template-rows: 1fr;
343
- }
344
-
345
- .container__grid-column--large {
346
- grid-area: section;
347
- }
348
-
349
- .container__grid-column--small {
350
- grid-area: aside;
351
- }
352
- }
353
-
354
- .news-archiv__header {
355
- margin: 0 rem-calc(5);
356
- padding-top: rem-calc(1);
357
- }
358
-
359
- .tm-info-text {
360
- background-color: tm-color('light-grey');
361
- font-family: tm-font('secondary');
362
- font-size: var(--tm-secondary-font-size-small);
363
- line-height: rem-calc(18);
364
- margin: rem-calc(5) 0;
365
- padding: rem-calc(6) rem-calc(5);
366
-
367
- &::before {
368
- background-color: tm-color('admiral');
369
- border-radius: rem-calc(8);
370
- color: tm-color('white');
371
- content: 'i';
372
- display: inline-block;
373
- font-family: tm-font('senary');
374
- font-size: rem-calc(16);
375
- font-style: italic;
376
- font-weight: 700;
377
- height: rem-calc(16);
378
- line-height: 1;
379
- margin-right: rem-calc(5);
380
- padding-right: rem-calc(1);
381
- text-align: center;
382
- text-transform: lowercase;
383
- width: rem-calc(16);
384
- }
385
- }
386
-
387
- .watchlistButtonClass {
388
- cursor: pointer;
389
- width: rem-calc(35);
390
- }
391
-
392
- .modal-trigger-icon {
393
- color: tm-color('lightest-blue');
394
- font-size: rem-calc(20);
395
- font-weight: 700;
396
- position: absolute;
397
- right: rem-calc(4);
398
- top: 0;
399
- }
400
-
401
- img {
402
- height: auto;
403
- max-width: 100%;
404
- vertical-align: initial;
405
- }
10
+ flex-direction: column;
11
+ gap: rem-calc(8);
12
+ padding: rem-calc(8);
406
13
 
407
- #tmWahl {
408
- @include breakpoint(laptop, max) {
409
- padding-top: rem-calc(40);
14
+ @include breakpoint(laptop) {
15
+ flex-direction: row;
16
+ gap: rem-calc(20);
17
+ padding: rem-calc(17);
18
+ width: 100%;
410
19
  }
411
20
  }
412
21
 
413
- // Basic Modal Styles
414
-
415
- .modal__overlay {
416
- position: fixed;
417
- top: 0;
418
- left: 0;
419
- right: 0;
420
- bottom: 0;
421
- background: rgb(0 0 0 / 60%);
422
- display: flex;
423
- justify-content: center;
424
- align-items: center;
425
- z-index: 1000000;
426
- }
427
-
428
- .modal__container {
22
+ .tm-container {
429
23
  background-color: tm-color('white');
430
- padding: rem-calc(30);
431
- border-radius: rem-calc(4);
432
- overflow-y: auto;
433
- box-sizing: border-box;
434
- position: relative;
435
-
436
- &--watchlist {
437
- padding: 0;
438
- width: rem-calc(600);
439
- }
440
- }
441
-
442
- .modal__header {
443
- display: flex;
444
- justify-content: flex-end;
445
- }
446
-
447
- .modal__title {
448
- margin-top: 0;
449
- margin-bottom: 0;
450
- font-weight: 600;
451
- font-size: 1.25rem;
452
- line-height: 1.25;
453
- color: tm-color('cobalt');
454
- box-sizing: border-box;
455
- }
456
-
457
- .modal__close {
458
- background: transparent;
459
- border: 0;
460
- cursor: pointer;
461
- font-size: rem-calc(20);
462
- padding: rem-calc(5) rem-calc(10) 0 0;
463
-
464
- &--profile-img {
465
- outline: none;
466
- position: absolute;
467
- right: 0;
468
- top: 0;
469
- }
470
- }
471
-
472
- .modal__header .modal__close:before {
473
- content: '\2715';
474
- }
475
-
476
- .modal__content {
477
- line-height: 1.5;
478
- color: rgb(0 0 0 / 80%);
24
+ border-radius: rem-calc(16);
479
25
  display: flex;
480
26
  flex-direction: column;
481
- align-items: center;
482
- hyphens: auto;
483
-
484
- a {
485
- text-decoration: none;
486
- }
487
-
488
- a:hover {
489
- text-decoration: underline;
490
- }
491
-
492
- &--watchlist {
493
- line-height: normal;
494
- padding: 0 rem-calc(15) rem-calc(15);
495
- }
496
- }
497
-
498
- .modal__btn {
499
- font-size: 0.875rem;
500
- padding-left: 1rem;
501
- padding-right: 1rem;
502
- padding-top: 0.5rem;
503
- padding-bottom: 0.5rem;
504
- background-color: tm-color('dark-whisper');
505
- color: rgb(0 0 0 / 80%);
506
- border-radius: 0.25rem;
507
- border-style: none;
508
- border-width: 0;
509
- cursor: pointer;
510
- -webkit-appearance: button;
511
- text-transform: none;
512
- overflow: visible;
513
- line-height: 1.15;
514
- margin: 0;
515
- will-change: transform;
516
- -moz-osx-font-smoothing: grayscale;
517
- -webkit-backface-visibility: hidden;
518
- backface-visibility: hidden;
519
- -webkit-transform: translateZ(0);
520
- transform: translateZ(0);
521
- transition: -webkit-transform 0.25s ease-out;
522
- transition: transform 0.25s ease-out;
523
- transition:
524
- transform 0.25s ease-out,
525
- -webkit-transform 0.25s ease-out;
526
- }
527
-
528
- .modal__btn:focus,
529
- .modal__btn:hover {
530
- -webkit-transform: scale(1.05);
531
- transform: scale(1.05);
532
- }
533
-
534
- .modal__btn-primary {
535
- background-color: tm-color('cobalt');
536
- color: tm-color('white');
537
- }
538
-
539
- .modal__overlay-debug-popup {
540
- position: fixed;
541
- top: 0;
542
- left: 0;
543
- right: 0;
544
- bottom: 0;
545
- background: rgb(0 0 0 / 60%);
546
- display: flex;
547
- justify-content: center;
548
- align-items: center;
549
- z-index: 1000000;
550
- width: auto !important;
551
- }
552
-
553
- .modal__container-debug-popup {
554
- background-color: tm-color('white');
555
- padding: rem-calc(5);
556
- width: rem-calc(420);
557
- border-radius: rem-calc(4);
558
- overflow-y: auto;
559
- box-sizing: border-box;
560
- }
561
-
562
- .micromodal-slide {
563
- display: none;
564
- }
565
-
566
- .micromodal-slide.is-open {
567
- display: block;
568
- }
569
-
570
- .micromodal-slide[aria-hidden='false'] .modal__overlay-debug-popup {
571
- animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
572
- }
573
-
574
- .micromodal-slide[aria-hidden='false'] .modal__container-debug-popup {
575
- animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
576
- }
577
-
578
- .micromodal-slide[aria-hidden='true'] .modal__overlay-debug-popup {
579
- animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
580
- }
581
-
582
- .micromodal-slide[aria-hidden='true'] .modal__container-debug-popup {
583
- animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
584
- }
585
-
586
- .micromodal-slide .modal__container-debug-popup,
587
- .micromodal-slide .modal__overlay-debug-popup {
588
- will-change: transform;
589
- }
590
-
591
- // legacy
592
-
593
- .box .content,
594
- .info-box .content {
27
+ gap: rem-calc(24);
28
+ padding: rem-calc(16);
595
29
  width: 100%;
596
- padding: rem-calc(10) rem-calc(10);
597
- }
598
-
599
- .content,
600
- .header {
601
- line-height: rem-calc(12);
602
- }
603
-
604
- p {
605
- font-family: inherit;
606
- font-weight: normal;
607
- font-size: rem-calc(12);
608
- line-height: 1.6;
609
- margin-bottom: rem-calc(14);
610
- text-rendering: optimizeLegibility;
611
- }
612
-
613
- .bildquelle {
614
- height: rem-calc(10);
615
- line-height: rem-calc(10);
616
- font-size: rem-calc(10);
617
- margin-top: rem-calc(-10);
618
- position: relative;
619
- text-align: right;
620
- overflow: hidden;
621
- text-overflow: ellipsis;
622
- width: 100%;
623
- }
624
-
625
- .bildquelle span {
626
- background-color: rgb(0 0 0 / 50%);
627
- color: tm-color('white');
628
- padding: 0 rem-calc(2);
629
- }
630
-
631
- .flaggenrahmen {
632
- border: rem-calc(1) solid #585859;
633
- min-height: rem-calc(9);
634
- min-width: rem-calc(14);
635
- }
636
- .show-for-small,
637
- .show-for-medium,
638
- .show-for-medium-down,
639
- .hide-for-large,
640
- .hide-for-large-up,
641
- .show-for-xlarge,
642
- .show-for-print {
643
- display: none !important;
644
- }
645
30
 
646
- @include breakpoint(desktopxlg) {
647
- .show-for-small,
648
- .show-for-medium,
649
- .show-for-medium-down,
650
- .show-for-large,
651
- .hide-for-large-up,
652
- .hide-for-xlarge {
653
- display: none !important;
654
- }
655
- }
656
-
657
- @include breakpoint(laptop) {
658
- @include breakpoint(desktoplg, max) {
659
- .show-for-small,
660
- .hide-for-medium,
661
- .hide-for-medium-down,
662
- .show-for-large,
663
- .show-for-large-up,
664
- .show-for-xlarge {
665
- display: none !important;
666
- }
667
- }
668
- }
669
-
670
- @include breakpoint(laptop, max) {
671
- .show-for-small,
672
- .hide-for-medium,
673
- .show-for-medium-down,
674
- .hide-for-large,
675
- .hide-for-large-up,
676
- .hide-for-xlarge {
677
- display: inherit !important;
31
+ @include breakpoint(laptop) {
32
+ padding: rem-calc(20);
678
33
  }
679
34
 
680
- .hide-for-small,
681
- .show-for-medium,
682
- .hide-for-medium-down,
683
- .show-for-large,
684
- .show-for-large-up,
685
- .show-for-xlarge {
686
- display: none !important;
35
+ &__inner {
36
+ gap: rem-calc(28);
37
+ padding: 0;
687
38
  }
688
- }
689
39
 
690
- #submenu {
691
- list-style-type: none;
692
- }
693
-
694
- .more-infos {
695
- padding: rem-calc(10);
696
- }
697
-
698
- .message-notification {
699
- background-color: rgb(115, 115, 115);
700
- color: tm-color('white');
701
- padding: rem-calc(5) rem-calc(10);
702
- }
703
-
704
- #loginbox fieldset {
705
- background-color: #f9f9f9;
706
-
707
- .button {
708
- appearance: none;
709
- background: tm-color('light-blue');
710
- border: rem-calc(1) solid tm-color('border-grey');
711
- color: tm-color('white');
712
- cursor: pointer;
713
- display: inline-block;
714
- font-family: inherit;
715
- font-size: rem-calc(12);
716
- font-weight: 700;
717
- line-height: 1;
40
+ hr {
718
41
  margin: 0;
719
- padding: rem-calc(8) rem-calc(20) rem-calc(11);
720
- position: relative;
721
- text-align: center;
722
- text-decoration: none;
723
- transition: background-color 0.15s ease-in-out;
724
- width: auto;
725
42
  }
726
43
  }
727
44
 
728
- fieldset {
729
- background: tm-color('white');
730
- border: solid 0 tm-color('border-grey');
731
- line-height: 1;
732
- margin: rem-calc(5);
733
- padding: rem-calc(10);
734
-
735
- .large-12 .small-12 .columns {
736
- display: flex;
737
- }
738
- }
739
-
740
- #loginbox {
741
- display: none;
742
- position: absolute;
743
- right: rem-calc(5);
744
- text-align: left;
745
- top: 0;
746
- width: rem-calc(280);
747
- z-index: 9999;
748
- }
749
-
750
- .popuphalter {
751
- height: 0;
752
- left: 0;
753
- position: sticky;
754
- right: 0;
755
- top: 101px;
756
- z-index: 99999;
757
-
758
- #dropdown-container {
759
- position: relative;
760
- overflow: hidden;
761
- }
762
-
763
- #dropdown {
764
- transform: translateY(-100%);
765
- transition: transform 350ms ease;
766
-
767
- &::before {
768
- background: linear-gradient(
769
- to bottom,
770
- rgba(0, 14, 36, 0.5019607843) 0%,
771
- rgba(0, 14, 36, 0.2509803922) 50%,
772
- rgba(0, 14, 36, 0) 100%
773
- );
774
- border-top: 1px solid rgba(92, 166, 255, 0.2);
775
- content: '';
776
- height: rem-calc(20);
777
- left: 0;
778
- position: absolute;
779
- top: 0;
780
- width: 100%;
781
- }
782
- }
783
-
784
- #loginbox {
785
- top: 60px;
786
- }
787
- }
788
-
789
- #tm-login-row-username,
790
- #tm-login-row-password {
791
- .loginform-username,
792
- .loginform-password {
793
- height: rem-calc(26);
794
- width: 100%;
795
- }
796
- }
797
-
798
- span.prefix,
799
- span.postfix {
800
- background: tm-color('border-grey');
801
- border: 1px solid tm-color('border-grey');
802
- }
803
-
804
- span.prefix {
805
- background: tm-color('white');
806
- border-radius: rem-calc(3);
807
- display: inline-block;
808
- float: left;
809
- height: rem-calc(26);
810
- width: rem-calc(29);
811
- }
812
-
813
- .data-link {
814
- cursor: pointer !important;
815
- }
816
-
817
- /* stylelint-enable */
818
- .tm-loginbox {
819
- background-color: tm-color('admiral') !important;
820
- box-shadow: none !important;
821
- position: inherit !important;
822
- width: unset !important;
823
-
824
- fieldset {
825
- background-color: tm-color('admiral') !important;
826
- border: none;
827
- margin: 0;
828
- padding: 0;
829
- }
830
-
831
- .loginform-username {
832
- background: url('https://tmsi.akamaized.net/icons/user/Profile.svg') no-repeat scroll
833
- rem-calc(10) rem-calc(10);
834
- background-size: rem-calc(30) rem-calc(30);
835
- }
836
-
837
- .loginform-password {
838
- background: url('https://tmsi.akamaized.net/icons/user/Password.svg') no-repeat scroll
839
- rem-calc(10) rem-calc(10);
840
- background-size: rem-calc(30) rem-calc(30);
841
- }
842
-
843
- .loginform-username,
844
- .loginform-password {
845
- background-color: tm-color('white');
846
- border-radius: rem-calc(4);
847
- font-size: rem-calc(15);
848
- font-weight: 700;
849
- height: rem-calc(50) !important;
850
- padding-left: rem-calc(48);
851
- width: 100% !important;
852
-
853
- &::placeholder {
854
- bottom: rem-calc(0);
855
- color: #0b1758;
856
- font-family: tm-font('primary');
857
- font-size: rem-calc(15);
858
- font-weight: bold;
859
- left: rem-calc(1);
860
- letter-spacing: 0;
861
- opacity: 0.2;
862
- position: relative;
863
- text-align: left;
864
- }
865
- }
866
-
867
- .button {
868
- background-color: tm-color('cyan');
869
- border: 0;
870
- border-radius: rem-calc(4);
871
- height: rem-calc(40);
872
- opacity: 1;
873
- text-transform: uppercase;
874
- width: 100%;
875
-
876
- &:hover {
877
- background-color: tm-color('white');
878
- color: tm-color('cyan');
879
- }
880
- }
881
-
882
- .tm-user-row {
883
- display: flex;
884
- margin-bottom: rem-calc(5);
885
-
886
- &:last-child {
887
- margin-bottom: 0;
888
- }
889
-
890
- .columns {
891
- margin-left: auto;
892
- margin-right: auto;
893
- }
894
- }
895
-
896
- .user-link {
897
- margin-top: rem-calc(5);
45
+ .tm-sub-headline {
46
+ color: tm-color('shadow-blue');
47
+ font-family: tm-font('septenary');
48
+ font-size: rem-calc(16);
49
+ font-variation-settings: 'wght' 400;
50
+ font-weight: initial;
51
+ line-height: rem-calc(24);
898
52
 
899
- a {
900
- color: tm-color('white');
901
- display: block;
902
- font-family: tm-font('septenary');
903
- font-size: rem-calc(15);
904
- font-variation-settings: 'wght' 500;
905
- letter-spacing: 0;
906
- opacity: 1;
907
- padding: rem-calc(4);
908
- transition: all 250ms ease;
909
- width: 100%;
910
-
911
- &:hover {
912
- color: tm-color('cyan');
913
- font-variation-settings: 'wght' 700;
914
- }
915
-
916
- &::before {
917
- color: tm-color('white');
918
- content: '›';
919
- font-size: rem-calc(18);
920
- margin-top: rem-calc(-1);
921
- position: relative;
922
- right: rem-calc(5);
923
- }
924
-
925
- &:hover::before {
926
- color: tm-color('cyan');
927
- font-variation-settings: 'wght' 700;
928
- }
929
- }
930
- }
931
-
932
- .remember-me {
933
- justify-content: flex-end;
934
- margin: rem-calc(8);
935
- padding: rem-calc(5);
936
-
937
- input[type='checkbox'] {
938
- appearance: none;
939
- background: tm-color('white');
940
- border-radius: 3px;
941
- height: rem-calc(13);
942
- position: relative;
943
- right: rem-calc(7);
944
- width: rem-calc(13);
945
- }
946
-
947
- input[type='checkbox']:checked {
948
- background-color: tm-color('cyan');
949
- }
950
-
951
- label {
952
- color: tm-color('white');
953
- font-family: tm-font('primary');
954
- font-size: rem-calc(16);
955
- font-weight: normal;
956
- letter-spacing: 0;
957
- opacity: 1;
958
- }
53
+ @include breakpoint(laptop) {
54
+ font-size: rem-calc(14);
55
+ line-height: rem-calc(22);
959
56
  }
960
- }
961
57
 
962
- #tm-login-row-button {
963
- input.button {
964
- background: tm-color('cyan') 0 0 no-repeat padding-box;
965
- border: 0;
966
- border-radius: 4px;
967
- font-family: tm-font('primary');
968
- font-size: rem-calc(16);
58
+ &__strong {
969
59
  font-variation-settings: 'wght' 600;
970
- opacity: 1;
971
- width: 100% !important;
972
-
973
- &:hover {
974
- background-color: tm-color('white');
975
- color: tm-color('cyan');
976
- }
60
+ font-weight: initial;
977
61
  }
978
62
  }
979
63
 
980
- #signup-box {
981
- background-color: tm-color('admiral');
982
- border-right: 1px solid tm-color('prussian-blue');
983
- display: none;
984
- z-index: 9999;
985
-
986
- #signup-button {
987
- text-align: center;
988
-
989
- .button {
990
- background: tm-color('white');
991
- border-radius: rem-calc(4);
992
- color: tm-color('admiral');
993
- font-size: rem-calc(16);
994
- height: rem-calc(40);
995
- letter-spacing: 0;
996
- line-height: rem-calc(22);
997
- opacity: 1;
998
- text-transform: uppercase;
999
-
1000
- &:hover,
1001
- &:focus {
1002
- background: tm-color('cyan');
1003
- border: 1px solid tm-color('cyan');
1004
- color: tm-color('white');
1005
- text-decoration: none;
1006
- }
1007
- }
1008
- }
1009
-
1010
- #why-register-link {
1011
- color: tm-color('white');
1012
- display: block;
1013
- font-family: tm-font('septenary');
1014
- font-size: rem-calc(16);
1015
- font-variation-settings: 'wght' 500;
1016
- left: rem-calc(5);
1017
- letter-spacing: 0;
1018
- margin-top: rem-calc(10);
1019
- opacity: 1;
1020
- padding: rem-calc(4);
1021
- position: relative;
1022
- transition: all 250ms ease;
1023
- width: 80%;
1024
-
1025
- &:hover {
1026
- color: tm-color('cyan');
1027
- font-variation-settings: 'wght' 700;
1028
- text-decoration: none;
1029
- }
1030
-
1031
- &::before {
1032
- color: tm-color('white');
1033
- content: '›';
1034
- font-size: rem-calc(20);
1035
- margin-top: rem-calc(-1);
1036
- position: relative;
1037
- right: rem-calc(5);
1038
- }
64
+ .tm-paragraph {
65
+ color: tm-color('shadow-blue');
66
+ font-family: tm-font('septenary');
67
+ font-size: rem-calc(16);
68
+ font-variation-settings: 'wght' 400;
69
+ font-weight: initial;
70
+ line-height: rem-calc(24);
71
+ padding: rem-calc(8) 0;
1039
72
 
1040
- &:hover::before {
1041
- color: tm-color('cyan');
1042
- font-variation-settings: 'wght' 700;
1043
- }
1044
- }
1045
- }
1046
-
1047
- #loginbox,
1048
- #signup-box {
1049
- top: unset !important;
1050
-
1051
- h4 {
1052
- color: tm-color('white');
1053
- font-family: tm-font('primary');
1054
- font-size: rem-calc(18);
1055
- margin: 0 0 rem-calc(20);
1056
- text-align: center;
1057
- text-transform: uppercase;
1058
- }
1059
- }
1060
-
1061
- #account-wrapper {
1062
- background-color: tm-color('admiral');
1063
- display: none;
1064
- grid-template-columns: repeat(2, 1fr);
1065
- padding: rem-calc(40) 0;
1066
- }
1067
-
1068
- #dropdown-top-bar {
1069
- background-color: tm-color('admiral');
1070
- display: none;
1071
- justify-content: center;
1072
- padding: rem-calc(10) rem-calc(20);
1073
-
1074
- #favourites-box,
1075
- #my-club-box {
1076
- border-bottom: 1px solid tm-color('prussian-blue');
1077
- padding: rem-calc(20) 0;
1078
- width: 76%;
1079
- }
1080
-
1081
- #favourites-title,
1082
- #my-club-title,
1083
- #my-club-text,
1084
- #favourites-text {
1085
- color: tm-color('white');
1086
- text-align: center;
1087
- }
1088
-
1089
- #favourites-text,
1090
- #my-club-text {
1091
- font-size: rem-calc(16);
1092
- margin-bottom: rem-calc(10);
1093
- margin-top: rem-calc(20);
1094
- }
1095
-
1096
- #favourites-title,
1097
- #my-club-title {
1098
- font-size: rem-calc(18);
1099
- font-weight: bold;
1100
- text-transform: uppercase;
1101
- }
1102
-
1103
- p {
1104
- display: block;
1105
- margin-left: auto;
1106
- margin-right: auto;
1107
- width: 60%;
1108
- }
1109
-
1110
- .close-button {
1111
- &::after {
1112
- color: tm-color('cyan');
1113
- content: '×';
1114
- cursor: pointer;
1115
- font-size: rem-calc(50);
1116
- position: absolute;
1117
- right: rem-calc(20);
1118
- z-index: 999999;
1119
- }
1120
- }
1121
-
1122
- .close-button:hover {
1123
- &::after {
1124
- color: tm-color('white');
1125
- }
1126
- }
1127
-
1128
- &::after {
1129
- border-bottom: 1px solid tm-color('prussian-blue');
1130
- bottom: 0;
1131
- content: ' ';
1132
- height: 1%;
1133
- left: calc(12% - 30px);
1134
- opacity: 0.5;
1135
- position: absolute;
1136
- width: 80%;
1137
- }
1138
- }
1139
-
1140
- #tm-text-block {
1141
- display: flex;
1142
- justify-content: center;
1143
- }
1144
-
1145
- .tm-overlay--active {
1146
- /* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
1147
- background-color: tm-color('admiral');
1148
- inset: rem-calc(154) 0 0;
1149
- opacity: 0.8;
1150
- position: absolute;
1151
- z-index: 9999;
1152
- }
1153
-
1154
- .active-blur {
1155
- background: linear-gradient(rgb(3 37 91), rgb(10 51 119 / 85%));
1156
- display: block;
1157
- filter: blur(rem-calc(1));
1158
- opacity: 0.5;
1159
- position: relative;
1160
- }
1161
-
1162
- tm-data-scouts-box {
1163
- display: block;
1164
- min-height: rem-calc(63);
1165
- }
1166
-
1167
- tm-instagram-content-slider {
1168
- background: tm-color('white');
1169
- display: block;
1170
- min-height: rem-calc(327);
1171
- padding: rem-calc(7) rem-calc(5);
1172
- }
1173
-
1174
- tm-player-compare {
1175
- display: block;
1176
- min-height: rem-calc(111);
1177
- }
1178
-
1179
- tm-competition-tables {
1180
- background: tm-color('white');
1181
- display: block;
1182
- min-height: rem-calc(172);
1183
- }
1184
-
1185
- img[alt='JustWatch'] {
1186
- display: block;
1187
- height: rem-calc(31);
1188
- padding: rem-calc(10);
1189
- }
1190
-
1191
- tm-latest-transfers {
1192
- display: block;
1193
- margin: 0 0 rem-calc(10);
1194
- }
1195
-
1196
- .disabled {
1197
- opacity: 0.65;
1198
- pointer-events: none;
1199
- }
1200
-
1201
- .schiri-zusatzbox {
1202
- left: 450px;
1203
- line-height: 1;
1204
- position: absolute;
1205
- top: 21px;
1206
- }
1207
-
1208
- .schiri-daumen-hoch {
1209
- background: url('https://tmsi.akamaized.net/wahretabelle/daumen_hoch.png') rem-calc(1) center
1210
- no-repeat;
1211
- color: tm-color('brand-wahretabelle');
1212
- font-style: italic;
1213
- font-weight: bold;
1214
- height: rem-calc(38);
1215
- margin: rem-calc(5) rem-calc(10);
1216
- padding: 0 0 0 rem-calc(38);
1217
- text-align: left;
1218
- }
1219
-
1220
- .schiri-daumen-runter {
1221
- background: url('https://tmsi.akamaized.net/wahretabelle/daumen_runter.png') rem-calc(1) center
1222
- no-repeat;
1223
- color: tm-color('danger');
1224
- font-style: italic;
1225
- font-weight: bold;
1226
- height: rem-calc(38);
1227
- margin: rem-calc(5) rem-calc(10);
1228
- padding: 0 0 0 rem-calc(38);
1229
- text-align: left;
1230
- }
1231
-
1232
- .schiri-daumen-neutral {
1233
- background: url('https://tmsi.akamaized.net/wahretabelle/strittige_szene_neutral.png') rem-calc(1)
1234
- center no-repeat;
1235
- color: #8f8f8f;
1236
- font-style: italic;
1237
- font-weight: bold;
1238
- height: rem-calc(38);
1239
- margin: rem-calc(5) rem-calc(10);
1240
- padding: 0 0 0 rem-calc(38);
1241
- text-align: left;
1242
- }
1243
-
1244
- .schiri-zusatzbox span {
1245
- font-size: rem-calc(28);
1246
- }
1247
-
1248
- .var-icon {
1249
- background: url('https://tmsi.akamaized.net/wahretabelle/var_wt.png') rem-calc(1) center no-repeat;
1250
- color: #8f8f8f;
1251
- font-style: italic;
1252
- font-weight: bold;
1253
- height: rem-calc(38);
1254
- margin: rem-calc(5) rem-calc(10);
1255
- padding: 0 0 0 rem-calc(38);
1256
- text-align: left;
1257
- }
1258
-
1259
- .schiri-entscheidungen-box {
1260
- align-items: center;
1261
- display: flex;
1262
- font-weight: 700;
1263
- margin-bottom: 0;
1264
- }
1265
-
1266
- .strittig {
1267
- background: tm-color('lightest-grey');
1268
- }
1269
-
1270
- .richtige {
1271
- background: #e1eddf;
1272
- }
1273
-
1274
- .falsche {
1275
- background: #fae6e5;
1276
- }
1277
-
1278
- .var {
1279
- background: #eaf3ff;
1280
- }
1281
-
1282
- .gruener-text {
1283
- color: tm-color('brand-wahretabelle');
1284
- }
1285
-
1286
- .roter-text {
1287
- color: tm-color('danger');
1288
- }
1289
-
1290
- .neutraler-text {
1291
- color: #8f8f8f;
1292
- }
1293
-
1294
- .blauer-text {
1295
- color: #042d4f;
1296
- }
1297
-
1298
- .box-wt-link {
1299
- text-decoration: none !important;
1300
- }
1301
-
1302
- .box-wt {
1303
- align-items: center;
1304
- background-color: tm-color('white');
1305
- border: 2px solid tm-color('dark-green');
1306
- display: flex;
1307
- flex-direction: column;
1308
- max-width: rem-calc(255);
1309
- min-width: rem-calc(240);
1310
- padding: rem-calc(5) rem-calc(10);
1311
- text-align: center;
1312
- }
1313
-
1314
- .note-saison {
1315
- align-items: center;
1316
- display: flex;
1317
- gap: rem-calc(15);
1318
- justify-content: center;
1319
- margin: rem-calc(10) 0;
1320
- }
1321
-
1322
- .logo {
1323
- align-items: center;
1324
- display: flex;
1325
- }
1326
-
1327
- .average {
1328
- align-items: center;
1329
- color: tm-color('dark-green');
1330
- display: flex;
1331
- font-size: rem-calc(32);
1332
- font-weight: bold;
1333
- justify-content: center;
1334
- }
1335
-
1336
- .season {
1337
- color: tm-color('dark-green');
1338
- display: flex;
1339
- flex-direction: column;
1340
- font-size: rem-calc(14);
1341
- }
1342
-
1343
- .profitiert-benachteiligt {
1344
- display: grid;
1345
- gap: 0.5rem;
1346
- grid-template-columns: 1fr;
1347
- margin: rem-calc(20);
1348
- }
1349
-
1350
- .item-pb {
1351
- display: grid;
1352
- gap: 0.5rem;
1353
- grid-template-columns: auto 1fr;
1354
- }
1355
-
1356
- .text {
1357
- display: flex;
1358
- flex-direction: column;
1359
- }
1360
-
1361
- .pb-image {
1362
- align-items: flex-start;
1363
- display: flex;
1364
- height: rem-calc(25);
1365
- justify-content: center;
1366
-
1367
- img {
1368
- max-height: 60%;
73
+ @include breakpoint(laptop) {
74
+ font-size: rem-calc(14);
75
+ line-height: rem-calc(22);
1369
76
  }
1370
77
  }
1371
78
 
1372
- .abstand {
1373
- font-weight: bold;
1374
- margin-bottom: rem-calc(5);
1375
- }
1376
-
1377
- .divider-wt {
1378
- height: rem-calc(1);
1379
- margin: rem-calc(10) auto;
79
+ .tm-headline {
80
+ color: tm-color('admiral');
81
+ font-family: tm-font('septenary');
82
+ font-size: rem-calc(24);
83
+ font-variation-settings: 'wght' 600;
84
+ font-weight: initial;
85
+ line-height: rem-calc(36);
86
+ margin: 0;
1380
87
  width: 100%;
1381
- }
1382
-
1383
- .strittig-var {
1384
- text-align: left;
1385
- vertical-align: middle;
1386
-
1387
- a,
1388
- img {
1389
- vertical-align: middle;
1390
- }
1391
-
1392
- img {
1393
- margin-left: rem-calc(5);
1394
- }
1395
- }
1396
-
1397
- .bggrau-desktop {
1398
- background-color: tm-color('middle-light-grey') !important;
1399
- }
1400
-
1401
- .bggrau-mobil {
1402
- background-color: tm-color('middle-light-grey');
1403
- color: tm-color('white');
1404
- padding: 0 rem-calc(7);
1405
- text-align: right;
1406
- }
1407
-
1408
- @media print {
1409
- tm-consent,
1410
- tm-quick-select-bar,
1411
- .main-navbar__lp-link,
1412
- .tm-header__logo,
1413
- .tm-header__login,
1414
- .tm-header__live {
1415
- display: none;
1416
- }
1417
- }
1418
-
1419
- .wettbewerb-stats {
1420
- display: block;
1421
88
 
1422
89
  @include breakpoint(laptop) {
1423
- display: flex;
1424
- flex-wrap: wrap;
90
+ font-size: rem-calc(20);
91
+ line-height: rem-calc(32);
1425
92
  }
1426
93
 
1427
- .columns {
1428
- display: block;
94
+ &__wrapper {
95
+ display: flex;
96
+ flex-flow: column nowrap;
97
+ gap: rem-calc(8);
98
+ justify-content: flex-start;
99
+ width: 100%;
1429
100
 
1430
101
  @include breakpoint(laptop) {
1431
- display: flex;
1432
- flex: 1;
1433
- flex-direction: column;
1434
- justify-content: stretch;
1435
- }
1436
-
1437
- > div {
1438
- flex: 1;
102
+ align-items: flex-start;
103
+ flex-flow: row nowrap;
104
+ gap: initial;
105
+ justify-content: space-between;
1439
106
  }
1440
107
  }
1441
- }
1442
-
1443
- /* Modal Styles for weak password */
1444
- .modal-login {
1445
- animation: fade-in 0.5s;
1446
- background-color: tm-color('black');
1447
- display: none;
1448
- height: 100%;
1449
- left: 0;
1450
- overflow: auto;
1451
- position: fixed;
1452
- top: 0;
1453
- width: 100%;
1454
- z-index: 1000;
1455
- }
1456
-
1457
- /* Modal Content */
1458
- .modal-content-login {
1459
- animation: slide-in 0.5s;
1460
- background-color: tm-color('white');
1461
- box-shadow: 0 rem-calc(5) rem-calc(15) #0000004d;
1462
- padding: rem-calc(20);
1463
- position: relative;
1464
- width: 80%;
1465
- }
1466
-
1467
- .close-login {
1468
- color: #721c24;
1469
- cursor: pointer;
1470
- float: right; /* stylelint-disable-line */
1471
- font-size: rem-calc(28);
1472
- font-weight: bold;
1473
- position: absolute;
1474
- right: 20px;
1475
- top: 10px;
1476
- }
1477
-
1478
- .close-login:hover,
1479
- .close-login:focus {
1480
- color: tm-color('black');
1481
- cursor: pointer;
1482
- text-decoration: none;
1483
- }
1484
108
 
1485
- /* Animation for smooth fade-in */
1486
- @keyframes fade-in {
1487
- from {
1488
- opacity: 0;
1489
- }
1490
-
1491
- to {
1492
- opacity: 1;
1493
- }
1494
- }
1495
-
1496
- @keyframes slide-in {
1497
- from {
1498
- /* stylelint-disable-next-line */
1499
- transform: translateY(-50px);
1500
- }
1501
-
1502
- to {
1503
- transform: translateY(0);
1504
- }
1505
- }
109
+ &__addition {
110
+ color: tm-color('shadow-blue');
111
+ display: inline-block;
112
+ font-family: tm-font('septenary');
113
+ font-size: rem-calc(16);
114
+ font-variation-settings: 'wght' 400;
115
+ font-weight: initial;
116
+ line-height: rem-calc(24);
117
+ text-align: right;
118
+ white-space: nowrap;
1506
119
 
1507
- /* stylelint-disable-next-line */
1508
- @media (max-width: 600px) {
1509
- .modal-content-login {
1510
- margin: 20% auto;
120
+ @include breakpoint(laptop) {
121
+ align-self: flex-end;
122
+ font-size: rem-calc(14);
123
+ padding: rem-calc(3) 0;
124
+ }
1511
125
  }
1512
126
  }
1513
127
 
1514
- .language-switcher {
1515
- font-size: rem-calc(30);
1516
- height: rem-calc(35);
1517
- }
128
+ .tm-submit-btn__wrapper {
129
+ margin-top: rem-calc(16);
1518
130
 
1519
- .tm-impressum {
1520
- &__social-media {
131
+ @include breakpoint(laptop) {
1521
132
  display: flex;
1522
- margin-top: rem-calc(10);
1523
- }
1524
-
1525
- &__sm-link {
1526
- margin-right: rem-calc(10);
1527
- margin-top: rem-calc(7);
1528
- }
1529
- }
1530
-
1531
- .dataError {
1532
- padding: rem-calc(5);
1533
- }
1534
-
1535
- .badge-red {
1536
- background-color: #fee2e2;
1537
- border-radius: 2px;
1538
- color: #b91c1c;
1539
- display: inline-block;
1540
- font-size: rem-calc(12);
1541
- font-weight: 600;
1542
- padding: rem-calc(2) rem-calc(8);
1543
- }
1544
-
1545
- #login-form {
1546
- .errorSummary {
1547
- color: #b80718;
1548
-
1549
- p {
1550
- font-size: rem-calc(16);
1551
- margin-left: 0 !important;
1552
- }
133
+ justify-content: flex-end;
1553
134
 
1554
- li {
1555
- font-size: rem-calc(16);
135
+ > button,
136
+ > input[type='submit'] {
137
+ width: rem-calc(300);
1556
138
  }
1557
139
  }
1558
- }
140
+ }