@transfermarkt/global-styles 1.37.0 → 1.39.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 +1 -1
- package/scss/base/_index.scss +1 -0
- package/scss/base/base.scss +139 -0
- package/scss/base/index.scss +0 -1558
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward 'base';
|
|
@@ -0,0 +1,139 @@
|
|
|
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/mixins/breakpoint' as *;
|
|
6
|
+
|
|
7
|
+
.tm-row {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: rem-calc(8);
|
|
11
|
+
padding: rem-calc(8);
|
|
12
|
+
|
|
13
|
+
@include breakpoint(laptop) {
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
gap: rem-calc(20);
|
|
16
|
+
padding: rem-calc(17);
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.tm-container {
|
|
22
|
+
background-color: tm-color('white');
|
|
23
|
+
border-radius: rem-calc(16);
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: rem-calc(24);
|
|
27
|
+
padding: rem-calc(16);
|
|
28
|
+
width: 100%;
|
|
29
|
+
|
|
30
|
+
@include breakpoint(laptop) {
|
|
31
|
+
padding: rem-calc(20);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__inner {
|
|
35
|
+
gap: rem-calc(28);
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
hr {
|
|
40
|
+
margin: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tm-sub-headline {
|
|
45
|
+
color: tm-color('shadow-blue');
|
|
46
|
+
font-family: tm-font('septenary');
|
|
47
|
+
font-size: rem-calc(16);
|
|
48
|
+
font-variation-settings: 'wght' 400;
|
|
49
|
+
font-weight: initial;
|
|
50
|
+
line-height: rem-calc(24);
|
|
51
|
+
|
|
52
|
+
@include breakpoint(laptop) {
|
|
53
|
+
font-size: rem-calc(14);
|
|
54
|
+
line-height: rem-calc(22);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__strong {
|
|
58
|
+
font-variation-settings: 'wght' 600;
|
|
59
|
+
font-weight: initial;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tm-paragraph {
|
|
64
|
+
color: tm-color('shadow-blue');
|
|
65
|
+
font-family: tm-font('septenary');
|
|
66
|
+
font-size: rem-calc(16);
|
|
67
|
+
font-variation-settings: 'wght' 400;
|
|
68
|
+
font-weight: initial;
|
|
69
|
+
line-height: rem-calc(24);
|
|
70
|
+
padding: rem-calc(8) 0;
|
|
71
|
+
|
|
72
|
+
@include breakpoint(laptop) {
|
|
73
|
+
font-size: rem-calc(14);
|
|
74
|
+
line-height: rem-calc(22);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.tm-headline {
|
|
79
|
+
color: tm-color('admiral');
|
|
80
|
+
font-family: tm-font('septenary');
|
|
81
|
+
font-size: rem-calc(24);
|
|
82
|
+
font-variation-settings: 'wght' 600;
|
|
83
|
+
font-weight: initial;
|
|
84
|
+
line-height: rem-calc(36);
|
|
85
|
+
margin: 0;
|
|
86
|
+
width: 100%;
|
|
87
|
+
|
|
88
|
+
@include breakpoint(laptop) {
|
|
89
|
+
font-size: rem-calc(20);
|
|
90
|
+
line-height: rem-calc(32);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__wrapper {
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-flow: column nowrap;
|
|
96
|
+
gap: rem-calc(8);
|
|
97
|
+
justify-content: flex-start;
|
|
98
|
+
width: 100%;
|
|
99
|
+
|
|
100
|
+
@include breakpoint(laptop) {
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
flex-flow: row nowrap;
|
|
103
|
+
gap: initial;
|
|
104
|
+
justify-content: space-between;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__addition {
|
|
109
|
+
color: tm-color('shadow-blue');
|
|
110
|
+
display: inline-block;
|
|
111
|
+
font-family: tm-font('septenary');
|
|
112
|
+
font-size: rem-calc(16);
|
|
113
|
+
font-variation-settings: 'wght' 400;
|
|
114
|
+
font-weight: initial;
|
|
115
|
+
line-height: rem-calc(24);
|
|
116
|
+
text-align: right;
|
|
117
|
+
white-space: nowrap;
|
|
118
|
+
|
|
119
|
+
@include breakpoint(laptop) {
|
|
120
|
+
align-self: flex-end;
|
|
121
|
+
font-size: rem-calc(14);
|
|
122
|
+
padding: rem-calc(3) 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.tm-submit-btn__wrapper {
|
|
128
|
+
margin-top: rem-calc(16);
|
|
129
|
+
|
|
130
|
+
@include breakpoint(laptop) {
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: flex-end;
|
|
133
|
+
|
|
134
|
+
> button,
|
|
135
|
+
> input[type='submit'] {
|
|
136
|
+
width: rem-calc(300);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|