@transfermarkt/global-styles 1.54.0 → 1.56.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.54.0",
3
+ "version": "1.56.0",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -337,6 +337,14 @@
337
337
  background-color: tm-color('admiral');
338
338
  border: none;
339
339
  color: tm-color('white');
340
+
341
+ @media (hover: hover) {
342
+ &:hover {
343
+ background-color: tm-color('admiral');
344
+ border: none;
345
+ color: tm-color('white');
346
+ }
347
+ }
340
348
  }
341
349
  }
342
350
 
@@ -2264,6 +2272,76 @@
2264
2272
  }
2265
2273
  }
2266
2274
 
2275
+ &__minus {
2276
+ padding-right: rem-calc(24);
2277
+
2278
+ @include tm-icon-generate('minus');
2279
+
2280
+ &--large {
2281
+ @include tm-icon-size(16px);
2282
+
2283
+ stroke-width: 1.8;
2284
+ }
2285
+
2286
+ &--medium {
2287
+ @include tm-icon-size(16px);
2288
+
2289
+ stroke-width: 1.5;
2290
+ }
2291
+
2292
+ &--small {
2293
+ @include tm-icon-size(14px);
2294
+
2295
+ stroke-width: 1.2;
2296
+ }
2297
+ }
2298
+
2299
+ &__minus-right {
2300
+ padding-left: rem-calc(24);
2301
+
2302
+ @include tm-icon-generate('minus', right);
2303
+
2304
+ &--large {
2305
+ @include tm-icon-size(16px);
2306
+
2307
+ stroke-width: 1.8;
2308
+ }
2309
+
2310
+ &--medium {
2311
+ @include tm-icon-size(16px);
2312
+
2313
+ stroke-width: 1.5;
2314
+ }
2315
+
2316
+ &--small {
2317
+ @include tm-icon-size(14px);
2318
+
2319
+ stroke-width: 1.2;
2320
+ }
2321
+ }
2322
+
2323
+ &__minus-both {
2324
+ @include tm-icon-generate('minus', both);
2325
+
2326
+ &--large {
2327
+ @include tm-icon-size(16px);
2328
+
2329
+ stroke-width: 1.8;
2330
+ }
2331
+
2332
+ &--medium {
2333
+ @include tm-icon-size(16px);
2334
+
2335
+ stroke-width: 1.5;
2336
+ }
2337
+
2338
+ &--small {
2339
+ @include tm-icon-size(14px);
2340
+
2341
+ stroke-width: 1.2;
2342
+ }
2343
+ }
2344
+
2267
2345
  &__plus {
2268
2346
  padding-right: rem-calc(24);
2269
2347
 
@@ -149,7 +149,7 @@ $tm-colors: (
149
149
  'brand-rss': #f60,
150
150
  'brand-community': #1d75a3,
151
151
  'brand-wahretabelle': #429535,
152
- // new colors to discuss
152
+ // new colors to discuss and maybe rename
153
153
  'slate-blue': #4c5e78,
154
154
  'ash-grey': #6b7280,
155
155
  'shadow-blue': #66758c,