@transfermarkt/global-styles 1.20.0 → 1.22.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.20.0",
3
+ "version": "1.22.0",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -1419,7 +1419,7 @@ tm-latest-transfers {
1419
1419
  .wettbewerb-stats {
1420
1420
  display: block;
1421
1421
 
1422
- @include desktop {
1422
+ @include breakpoint(laptop) {
1423
1423
  display: flex;
1424
1424
  flex-wrap: wrap;
1425
1425
  }
@@ -1427,7 +1427,7 @@ tm-latest-transfers {
1427
1427
  .columns {
1428
1428
  display: block;
1429
1429
 
1430
- @include desktop {
1430
+ @include breakpoint(laptop) {
1431
1431
  display: flex;
1432
1432
  flex: 1;
1433
1433
  flex-direction: column;
@@ -5,10 +5,9 @@
5
5
  @use '../../../mixins/icon' as *;
6
6
 
7
7
  // "!importants" can be removed if the styles are not overridden by other styles (comes often from main.scss)
8
-
9
8
  .tm-btn {
10
9
  $font-size-small: rem-calc(12);
11
- $font-size-medium: rem-calc(15);
10
+ $font-size-medium: rem-calc(14);
12
11
  $position: 'right';
13
12
 
14
13
  align-items: center;
@@ -54,7 +53,7 @@
54
53
  }
55
54
 
56
55
  &__primary {
57
- background-color: tm-color('dark-blue-new');
56
+ background-color: tm-color('light-blue-new');
58
57
 
59
58
  &--large {
60
59
  height: rem-calc(40);
@@ -75,18 +74,13 @@
75
74
  }
76
75
 
77
76
  &:hover {
78
- background-color: tm-color('light-blue-new');
77
+ background-color: tm-color('dark-blue-new');
79
78
  text-decoration: none;
80
79
  }
81
80
 
82
81
  &--disabled {
83
- background-color: tm-color('gainsboro-new');
84
- color: tm-color('grey-new');
85
-
86
- &:hover {
87
- background-color: tm-color('gainsboro-new');
88
- color: tm-color('grey-new');
89
- }
82
+ background-color: tm-color('soft-sky');
83
+ color: tm-color('white');
90
84
  }
91
85
 
92
86
  &--warning {
@@ -112,7 +106,8 @@
112
106
 
113
107
  &__secondary {
114
108
  background-color: unset;
115
- color: tm-color('admiral');
109
+ border: 1px solid;
110
+ color: tm-color('light-blue-new');
116
111
 
117
112
  &--large {
118
113
  text-transform: uppercase;
@@ -127,21 +122,22 @@
127
122
  }
128
123
 
129
124
  &:hover {
130
- color: tm-color('light-blue-new');
125
+ border: 1px solid;
126
+ color: tm-color('dark-blue-new');
131
127
  text-decoration: none;
132
128
  }
133
129
 
134
130
  &--disabled {
135
- background-color: tm-color('gainsboro-new');
136
- color: tm-color('grey-new');
131
+ border: 1px solid;
132
+ color: tm-color('soft-sky');
137
133
 
138
134
  &:hover {
139
- background-color: tm-color('gainsboro-new');
140
- color: tm-color('grey-new');
135
+ color: tm-color('soft-sky');
141
136
  }
142
137
  }
143
138
 
144
139
  &--warning {
140
+ border: 1px solid tm-color('warning-new');
145
141
  color: tm-color('warning-new');
146
142
 
147
143
  &:hover {
@@ -150,6 +146,7 @@
150
146
  }
151
147
 
152
148
  &--success {
149
+ border: 1px solid tm-color('success-dark');
153
150
  color: tm-color('success-dark');
154
151
 
155
152
  &:hover {
@@ -162,10 +159,43 @@
162
159
  }
163
160
  }
164
161
 
162
+ &__secondary-greys {
163
+ background-color: unset;
164
+ border: 1px solid tm-color('silver-mist');
165
+ color: tm-color('admiral');
166
+
167
+ &--large {
168
+ text-transform: uppercase;
169
+ }
170
+
171
+ &--medium {
172
+ font-size: $font-size-medium;
173
+ }
174
+
175
+ &--small {
176
+ font-size: $font-size-small;
177
+ }
178
+
179
+ &:hover {
180
+ border: 1px solid tm-color('grey-new');
181
+ color: tm-color('admiral');
182
+ text-decoration: none;
183
+ }
184
+
185
+ &--disabled {
186
+ border: 1px solid tm-color('silver-mist');
187
+ color: tm-color('silver-mist');
188
+
189
+ &:hover {
190
+ border: 1px solid tm-color('silver-mist');
191
+ color: tm-color('silver-mist');
192
+ }
193
+ }
194
+ }
195
+
165
196
  &__tertiary {
166
197
  background-color: tm-color('white');
167
- border: 1px solid #d9dde2;
168
- color: tm-color('admiral');
198
+ color: tm-color('light-blue-new');
169
199
 
170
200
  &--large {
171
201
  text-transform: uppercase;
@@ -180,17 +210,15 @@
180
210
  }
181
211
 
182
212
  &:hover {
183
- color: tm-color('light-blue-new');
213
+ color: tm-color('dark-blue-new');
184
214
  text-decoration: none;
185
215
  }
186
216
 
187
217
  &--disabled {
188
- background-color: tm-color('gainsboro-new');
189
- color: tm-color('grey-new');
218
+ color: tm-color('soft-sky');
190
219
 
191
220
  &:hover {
192
- background-color: tm-color('gainsboro-new');
193
- color: tm-color('grey-new');
221
+ color: tm-color('soft-sky');
194
222
  }
195
223
  }
196
224
 
@@ -210,6 +238,66 @@
210
238
  }
211
239
  }
212
240
  }
241
+
242
+ &__tertiary-blue {
243
+ background-color: unset;
244
+ color: tm-color('light-blue-new');
245
+
246
+ &--large {
247
+ text-transform: uppercase;
248
+ }
249
+
250
+ &--medium {
251
+ font-size: $font-size-medium;
252
+ }
253
+
254
+ &--small {
255
+ font-size: $font-size-small;
256
+ }
257
+
258
+ &:hover {
259
+ color: tm-color('dark-blue-new');
260
+ text-decoration: none;
261
+ }
262
+
263
+ &--disabled {
264
+ color: tm-color('soft-sky');
265
+
266
+ &:hover {
267
+ color: tm-color('soft-sky');
268
+ }
269
+ }
270
+ }
271
+
272
+ &__tertiary-grey {
273
+ background-color: unset;
274
+ color: tm-color('admiral');
275
+
276
+ &--large {
277
+ text-transform: uppercase;
278
+ }
279
+
280
+ &--medium {
281
+ font-size: $font-size-medium;
282
+ }
283
+
284
+ &--small {
285
+ font-size: $font-size-small;
286
+ }
287
+
288
+ &:hover {
289
+ color: tm-color('admiral');
290
+ text-decoration: none;
291
+ }
292
+
293
+ &--disabled {
294
+ color: tm-color('silver-mist');
295
+
296
+ &:hover {
297
+ color: tm-color('silver-mist');
298
+ }
299
+ }
300
+ }
213
301
  }
214
302
 
215
303
  .tm-icon-collect {
@@ -9,15 +9,16 @@ $tm-colors: (
9
9
  'cadet-blue': #6da0bc,
10
10
  'cobalt': #00449e,
11
11
  'cyan': #5ca6ff,
12
+ 'dark-blue-new': #1f62f1,
12
13
  'dark-blue': #1a3151,
13
14
  'dark-blue-150': #d9dde2,
14
- 'dark-blue-new': #0087ff,
15
+ 'light-blue-new': #0087ff,
15
16
  'denim': #374457,
16
17
  'foggy-sky': #d2e3ed,
17
18
  'kashmir-blue': #596a81,
18
19
  'lighest-sky-blue': #bdd9ef,
19
20
  'light-blue': #1d75a3,
20
- 'light-blue-new': #069bff,
21
+ // 'light-blue-new': #069bff,
21
22
  'light-midnight': #16273e,
22
23
  'lightest-blue': #00aded,
23
24
  'medium-blue': #314f77,
@@ -29,6 +30,7 @@ $tm-colors: (
29
30
  'royal': #09224d,
30
31
  // #0d2051 see below
31
32
  'sapphire': #1274a5,
33
+ 'soft-sky': #bedbff,
32
34
  // old tm-sapphire is now tm-royal
33
35
  'seagull': #8ebad1,
34
36
  'sky-blue': #0ebce6,
@@ -54,6 +56,7 @@ $tm-colors: (
54
56
  'pickle': #739f17,
55
57
  'reef': #ceddae,
56
58
  // greys
59
+ 'silver-mist': #d9dde3,
57
60
  'abalone': #d5d5d5,
58
61
  'alice-blue': #eef6ff,
59
62
  'border-grey': #ccc,
@@ -101,7 +104,8 @@ $tm-colors: (
101
104
  'raspberry-ripple': #c8102e,
102
105
  'pure-red': #f00,
103
106
  'warning-new': #c90c0c,
104
- 'warning-dark-new': #ef1717,
107
+ // 'warning-dark-new': #ef1717,
108
+ 'warning-dark-new': #ab1744,
105
109
  'warning-light-new': #ffedea,
106
110
  'pale-chestnut': #e6a8ae,
107
111
  // yellows