@penskemediacorp/larva-css 1.8.0-alpha.0 → 1.8.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.
Files changed (120) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +199 -22
  3. package/__tests__/fixtures/expected.js +29 -0
  4. package/__tests__/lib/generators.test.js +11 -0
  5. package/build/css/algorithms.common.async.css +4 -0
  6. package/build/css/algorithms.common.inline.css +21 -0
  7. package/build/css/generic.common.inline.css +4 -0
  8. package/build/css/js.common.async.css +3 -0
  9. package/build/css/js.common.inline.css +6 -0
  10. package/build/css/utilities.common.async.css +8 -0
  11. package/build/css/utilities.common.inline.css +29 -0
  12. package/gulpfile.js +110 -82
  13. package/lib/generators.js +93 -0
  14. package/package.json +14 -6
  15. package/src/01-generic/elements.common.inline.scss +33 -1
  16. package/src/01-generic/forms.common.inline.scss +10 -0
  17. package/src/01-generic/side-skins.common.inline.scss +10 -0
  18. package/src/01-generic/typography.common.inline.scss +23 -15
  19. package/src/02-algorithms/a-buy-now/a-buy-now.common.inline.scss +112 -0
  20. package/src/02-algorithms/a-carousel-grid/a-carousel-grid.common.inline.scss +66 -0
  21. package/src/02-algorithms/a-children-border/a-children-border.common.inline.scss +43 -0
  22. package/src/02-algorithms/a-children-link-color/a-children-link-color.common.inline.scss +15 -0
  23. package/src/02-algorithms/a-children-link-decoration/a-children-link-decoration.common.inline.scss +13 -0
  24. package/src/02-algorithms/a-counter/a-counter.common.inline.scss +26 -0
  25. package/src/02-algorithms/a-crop/README.md +17 -13
  26. package/src/02-algorithms/a-crop/a-crop.common.inline.scss +96 -12
  27. package/src/02-algorithms/a-crop/a-crop.html +2 -2
  28. package/src/02-algorithms/a-floated/a-floated.common.inline.scss +32 -0
  29. package/src/02-algorithms/a-font/a-font.common.inline.scss +3 -0
  30. package/src/02-algorithms/a-glue/a-glue.common.inline.scss +63 -6
  31. package/src/02-algorithms/a-glue/a-glue.html +2 -2
  32. package/src/02-algorithms/a-grid/README.md +141 -14
  33. package/src/02-algorithms/a-grid/a-grid.common.inline.scss +53 -5
  34. package/src/02-algorithms/a-grid/a-grid.html +4 -4
  35. package/src/02-algorithms/a-hidden/a-hidden.common.inline.scss +43 -0
  36. package/src/02-algorithms/a-hover-dropup/a-hover-dropup.common.async.scss +7 -7
  37. package/src/02-algorithms/a-hover-dropup/a-hover-dropup.html +3 -3
  38. package/src/02-algorithms/a-hover-effect/a-hover-effect.common.async.scss +25 -0
  39. package/src/02-algorithms/a-hover-effect/a-hover-effect.html +16 -0
  40. package/src/02-algorithms/a-icon/a-icon.common.async.scss +28 -3
  41. package/src/02-algorithms/a-icon/a-icon.common.inline.scss +51 -73
  42. package/src/02-algorithms/a-screen-reader-only/a-screen-reader-only.common.inline.scss +30 -0
  43. package/src/02-algorithms/a-scrollable-grid/a-scrollable-grid.common.inline.scss +52 -0
  44. package/src/02-algorithms/a-show-on-hover/a-show-on-hover.common.inline.scss +16 -0
  45. package/src/02-algorithms/a-space-children/a-space-children.common.inline.scss +88 -17
  46. package/src/02-algorithms/a-truncate-ellipsis/a-truncate-ellipsis.common.async.scss +71 -0
  47. package/src/02-algorithms/a-unstyle-button/a-unstyle-button.common.inline.scss +2 -3
  48. package/src/02-algorithms/a-unstyle-link/a-unstyle-link.common.inline.scss +7 -0
  49. package/src/02-algorithms/a-unstyle-list/a-unstyle-list.common.inline.scss +1 -1
  50. package/src/02-algorithms/a-wrapper/a-wrapper.common.inline.scss +14 -2
  51. package/src/03-utilities/u-background-color.common.async.scss +15 -0
  52. package/src/03-utilities/u-background-color.common.inline.scss +37 -0
  53. package/src/03-utilities/u-border-color.common.async.scss +36 -8
  54. package/src/03-utilities/u-border-radius.common.async.scss +26 -2
  55. package/src/03-utilities/u-border.common.inline.scss +215 -4
  56. package/src/03-utilities/u-box-alignment.common.inline.scss +64 -4
  57. package/src/03-utilities/u-box-shadow.common.async.scss +34 -3
  58. package/src/03-utilities/u-color.common.async.scss +19 -21
  59. package/src/03-utilities/u-color.common.inline.scss +39 -0
  60. package/src/03-utilities/u-cursor.common.async.scss +1 -1
  61. package/src/03-utilities/u-display.common.inline.scss +87 -4
  62. package/src/03-utilities/u-filter.common.async.scss +5 -0
  63. package/src/03-utilities/u-flex.common.inline.scss +151 -9
  64. package/src/03-utilities/u-font-family.common.inline.scss +41 -17
  65. package/src/03-utilities/u-font-size.common.inline.scss +58 -5
  66. package/src/03-utilities/u-font-style.common.inline.scss +9 -0
  67. package/src/03-utilities/u-font-weight.common.inline.scss +50 -12
  68. package/src/03-utilities/u-height.common.inline.scss +38 -8
  69. package/src/03-utilities/u-left.common.inline.scss +7 -0
  70. package/src/03-utilities/u-letter-spacing.common.inline.scss +11 -0
  71. package/src/03-utilities/u-line-height.common.inline.scss +49 -13
  72. package/src/03-utilities/u-list-style.common.async.scss +3 -0
  73. package/src/03-utilities/u-margin.common.inline.scss +182 -47
  74. package/src/03-utilities/u-max-width.common.inline.scss +25 -0
  75. package/src/03-utilities/u-opacity.common.inline.scss +3 -0
  76. package/src/03-utilities/u-order.common.inline.scss +29 -2
  77. package/src/03-utilities/u-overflow.common.inline.scss +14 -2
  78. package/src/03-utilities/u-padding.common.inline.scss +157 -52
  79. package/src/03-utilities/u-position.common.inline.scss +11 -0
  80. package/src/03-utilities/u-text-align.common.inline.scss +27 -4
  81. package/src/03-utilities/u-text-decoration.common.inline.scss +11 -0
  82. package/src/03-utilities/u-text-transform.common.inline.scss +14 -2
  83. package/src/03-utilities/u-top.common.inline.scss +7 -0
  84. package/src/03-utilities/u-transform.common.inline.scss +12 -0
  85. package/src/03-utilities/u-vertical-align.common.inline.scss +7 -0
  86. package/src/03-utilities/u-whitespace.common.inline.scss +1 -1
  87. package/src/03-utilities/u-width.common.inline.scss +198 -12
  88. package/src/04-js/README.md +5 -0
  89. package/src/04-js/js-Collapsible.common.inline.scss +15 -0
  90. package/src/04-js/js-ExpandableSearch.common.async.scss +33 -0
  91. package/src/04-js/js-Flickity.common.async.scss +91 -0
  92. package/src/04-js/js-Header.common.inline.scss +73 -0
  93. package/src/04-js/js-MegaMenu.common.inline.scss +50 -0
  94. package/src/04-js/js-MobileHeightToggle.common.inline.scss +7 -5
  95. package/src/04-js/js-PopOver.common.async.scss +13 -0
  96. package/src/04-js/js-Tooltip.common.inline.scss +17 -0
  97. package/src/04-js/js-VideoShowcase.common.inline.scss +33 -0
  98. package/src/04-js/partials/expandable-search.scss +202 -0
  99. package/src/04-js/partials/flickity.scss +149 -0
  100. package/src/_generated/_a-font.scss +1027 -0
  101. package/src/larva-ui/prism.scss +127 -0
  102. package/src/setup.scss +7 -0
  103. package/stylelint.config.js +10 -11
  104. package/build/css/algorithms.common.async.scss +0 -36
  105. package/build/css/algorithms.common.inline.scss +0 -274
  106. package/build/css/generic.common.inline.scss +0 -66
  107. package/build/css/js.common.inline.scss +0 -9
  108. package/build/css/utilities.common.async.scss +0 -57
  109. package/build/css/utilities.common.inline.scss +0 -473
  110. package/holding/a-truncate-children/README.md +0 -3
  111. package/holding/a-truncate-children/a-truncate-children.browser-test.js +0 -104
  112. package/holding/a-truncate-children/a-truncate-children.css +0 -4
  113. package/holding/a-truncate-children/a-truncate-children.html +0 -15
  114. package/holding/a-truncate-children/a-truncate-children.scss +0 -5
  115. package/src/01-generic/config.common.inline.scss +0 -18
  116. package/src/02-algorithms/.DS_Store +0 -0
  117. package/src/02-algorithms/a-glue/index.js +0 -1
  118. package/src/02-algorithms/a-icon/a-icon.html +0 -20
  119. package/src/02-algorithms/a-unstyle-link/a-unstyle-link.common.async.scss +0 -5
  120. package/src/03-utilities/u-background.common.async.scss +0 -28
@@ -1,12 +1,50 @@
1
- @import '@penskemediacorp/larva-scss/dist/tokens';
2
- @import '@penskemediacorp/larva-scss/dist/generators';
3
-
4
- // Generates classes .pmc-u-font-weight-#.
5
- @include pmc-u-font-weight(
6
- (
7
- light,
8
- normal,
9
- bold
10
- ),
11
- $semantic-font-weights
12
- );
1
+ @import 'setup';
2
+
3
+ $warned-font-weight: false;
4
+
5
+ @each $token, $value in $TOKENS-MAP {
6
+
7
+ @if $warned-font-weight == false {
8
+ @warn 'Font weight utilities will be will be deprecated. Please set up a-font using a style guide.';
9
+ $warned-font-weight: true;
10
+ }
11
+
12
+ $token-str: quote( $token );
13
+
14
+ @if str-index( $token-str, 'font-weight' ) and not str-index( $token-str, '-font-weight-' ) {
15
+ .lrv-u-#{$token} {
16
+ font-weight: $value;
17
+ }
18
+ }
19
+ }
20
+
21
+
22
+ //
23
+ // Media Queries
24
+ //
25
+
26
+ @each $token, $value in $TOKENS-MAP {
27
+ $token-str: quote( $token );
28
+
29
+ @if str-index( $token-str, 'font-weight' ) and not str-index( $token-str, '-font-weight-' ) {
30
+
31
+ @include pmc-breakpoint( desktop ) {
32
+ .lrv-u-#{$token}\@desktop {
33
+ font-weight: $value;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ @each $token, $value in $TOKENS-MAP {
40
+ $token-str: quote( $token );
41
+
42
+ @if str-index( $token-str, 'font-weight' ) and not str-index( $token-str, '-font-weight-' ) {
43
+
44
+ @include pmc-breakpoint( desktop-xl ) {
45
+ .lrv-u-#{$token}\@desktop-xl {
46
+ font-weight: $value;
47
+ }
48
+ }
49
+ }
50
+ }
@@ -1,13 +1,43 @@
1
1
  @import '@penskemediacorp/larva-scss/dist/tools';
2
2
 
3
- .pmc-u-height-100p {
4
- height: 100%;
5
- }
3
+ $heights_map: (
4
+ 'height-auto': auto,
5
+ 'height-16': pmc-rem(16),
6
+ 'height-20': pmc-rem(20),
7
+ 'height-24': pmc-rem(24),
8
+ 'height-30': pmc-rem(30),
9
+ 'height-40': pmc-rem(40),
10
+ 'height-50': pmc-rem(50),
11
+ 'height-100': pmc-rem(100),
12
+ 'height-150': pmc-rem(150),
13
+ 'height-200': pmc-rem(200),
14
+ 'height-300': pmc-rem(300),
15
+ 'height-20p': 20%,
16
+ 'height-30p': 30%,
17
+ 'height-50p': 50%,
18
+ 'height-75p': 75%,
19
+ 'height-100p': 100%,
20
+ );
6
21
 
7
- .pmc-u-max-height-50 {
8
- max-height: pmc-rem(50);
9
- }
22
+ @include basic-utility-generator( 'height', (
23
+ height-auto,
24
+ height-16,
25
+ height-20,
26
+ height-24,
27
+ height-30,
28
+ height-40,
29
+ height-50,
30
+ height-100,
31
+ height-150,
32
+ height-200,
33
+ height-300,
34
+ height-20p,
35
+ height-30p,
36
+ height-50p,
37
+ height-75p,
38
+ height-100p,
39
+ ), $heights_map, $NAMESPACE: 'lrv-' );
10
40
 
11
- .pmc-u-height-16 {
12
- height: pmc-rem(16);
41
+ .lrv-u-max-height-50 {
42
+ max-height: pmc-rem(50);
13
43
  }
@@ -0,0 +1,7 @@
1
+ @import 'setup';
2
+
3
+ @include pmc-breakpoint(desktop) {
4
+ .lrv-u-left-50p\@desktop {
5
+ left: 50%;
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ @import 'setup';
2
+
3
+ .lrv-u-letter-spacing-015 {
4
+ letter-spacing: pmc-rem(2.4);
5
+ }
6
+
7
+ .lrv-u-letter-spacing-012\@mobile-max {
8
+ @include pmc-breakpoint( mobile-max ) {
9
+ letter-spacing: pmc-rem(1.95);
10
+ }
11
+ }
@@ -1,13 +1,49 @@
1
- @import '@penskemediacorp/larva-scss/dist/tokens';
2
- @import '@penskemediacorp/larva-scss/dist/generators';
3
-
4
- // TODO: refactor to custom property version, if we need to change the line height values.
5
- @include pmc-u-line-height(
6
- (
7
- small,
8
- normal,
9
- copy,
10
- large,
11
- ),
12
- $semantic-line-heights
13
- );
1
+ @import 'setup';
2
+
3
+ $warned-line-height: false;
4
+
5
+ @each $token, $value in $TOKENS-MAP {
6
+ $token-str: quote( $token );
7
+
8
+ @if $warned-line-height == false {
9
+ @warn 'Line height utilities will be will be deprecated. Please set up a-font using a style guide.';
10
+ $warned-line-height: true;
11
+ }
12
+
13
+ @if str-index( $token-str, 'line-height' ) and not str-index( $token-str, '-line-height-' ) {
14
+ .lrv-u-#{$token} {
15
+ line-height: $value;
16
+ }
17
+ }
18
+ }
19
+
20
+ //
21
+ // Media Queries
22
+ //
23
+
24
+
25
+ @each $token, $value in $TOKENS-MAP {
26
+ $token-str: quote( $token );
27
+
28
+ @if str-index( $token-str, 'line-height' ) and not str-index( $token-str, '-line-height-' ) {
29
+
30
+ @include pmc-breakpoint( desktop ) {
31
+ .lrv-u-#{$token}\@desktop {
32
+ line-height: $value;
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ @each $token, $value in $TOKENS-MAP {
39
+ $token-str: quote( $token );
40
+
41
+ @if str-index( $token-str, 'line-height' ) and not str-index( $token-str, '-line-height-' ) {
42
+
43
+ @include pmc-breakpoint( desktop-xl ) {
44
+ .lrv-u-#{$token}\@desktop-xl {
45
+ line-height: $value;
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,3 @@
1
+ .lrv-u-list-style-type-disclosure-closed {
2
+ list-style-type: disclosure-closed;
3
+ }
@@ -1,59 +1,194 @@
1
- @import '@penskemediacorp/larva-scss/dist/tokens';
2
- @import '@penskemediacorp/larva-scss/dist/generators';
3
-
4
- @include pmc-u-margin(
5
- (
6
- // Top
7
- ('t', $spacer-050),
8
- ('t', $spacer-1),
9
- ('t', $spacer-2),
10
-
11
- // Right
12
- ('r', $spacer-025),
13
- ('r', $spacer-050),
14
- ('r', $spacer-1),
15
- ('r', $spacer-2),
16
-
17
- // Bottom
18
- ('b', $spacer-0),
19
- ('b', $spacer-2),
20
- ('b', $spacer-050),
21
- ('b', $spacer-1),
22
- ('b', $spacer-025),
23
-
24
- // Left
25
- ('l', $spacer-025),
26
- ('l', $spacer-050),
27
- ('l', $spacer-1),
28
- ('l', $spacer-2),
29
-
30
- // Left/Right
31
- ('lr', $spacer-025),
32
- ('lr', $spacer-050),
33
- ('lr', $spacer-1),
34
-
35
- // Top/Bottom
36
- ('tb', $spacer-0),
37
- ('tb', $spacer-050),
38
- ('tb', $spacer-1),
39
- ('tb', $spacer-2),
40
-
41
- // All
42
- ('a', $spacer-0),
43
- )
1
+ @import 'setup';
2
+
3
+ $breakpoints: (
4
+ '',
5
+ 'mobile-max',
6
+ 'desktop',
7
+ 'desktop-xl'
44
8
  );
45
9
 
46
- .pmc-u-margin-l-auto {
10
+ .lrv-u-margin-r-175\@tablet {
11
+ @include pmc-breakpoint( tablet ) {
12
+ margin-right: $spacer-175;
13
+ }
14
+ }
15
+
16
+ .lrv-u-margin-t-150\@tablet {
17
+ @include pmc-breakpoint( tablet ) {
18
+ margin-top: $spacer-150;
19
+ }
20
+ }
21
+
22
+ .lrv-u-margin-r-2\@tablet {
23
+ @include pmc-breakpoint( tablet ) {
24
+ margin-right: $spacer-2;
25
+ }
26
+ }
27
+
28
+ @mixin _u-margin( $token-name, $token-selector, $value, $breakpoint-suffix: '' ) {
29
+ .lrv-u-margin-r-#{$token-selector}#{$breakpoint-suffix} {
30
+ margin-right: $value;
31
+ margin-right: var(--#{$token-name}, #{$value} );
32
+ }
33
+
34
+ .lrv-u-margin-l-#{$token-selector}#{$breakpoint-suffix} {
35
+ margin-left: $value;
36
+ margin-left: var(--#{$token-name}, #{$value} );
37
+ }
38
+
39
+ .lrv-u-margin-b-#{$token-selector}#{$breakpoint-suffix} {
40
+ margin-bottom: $value;
41
+ margin-bottom: var(--#{$token-name}, #{$value} );
42
+ }
43
+
44
+ .lrv-u-margin-t-#{$token-selector}#{$breakpoint-suffix} {
45
+ margin-top: $value;
46
+ margin-top: var(--#{$token-name}, #{$value} );
47
+ }
48
+
49
+ .lrv-u-margin-tb-#{$token-selector}#{$breakpoint-suffix} {
50
+ margin-top: $value;
51
+ margin-top: var(--#{$token-name}, #{$value} );
52
+ margin-bottom: $value;
53
+ margin-bottom: var(--#{$token-name}, #{$value} );
54
+ }
55
+
56
+ .lrv-u-margin-lr-#{$token-selector}#{$breakpoint-suffix} {
57
+ margin-left: $value;
58
+ margin-left: var(--#{$token-name}, #{$value} );
59
+ margin-right: $value;
60
+ margin-right: var(--#{$token-name}, #{$value} );
61
+ }
62
+
63
+ .lrv-u-margin-a-#{$token-selector}#{$breakpoint-suffix} {
64
+ margin: $value;
65
+ margin: var(--#{$token-name}, #{$value} );
66
+ }
67
+ }
68
+
69
+ // Auto margins
70
+
71
+ .lrv-u-margin-l-auto {
47
72
  margin-left: auto;
48
73
  }
49
74
 
50
- .pmc-u-margin-lr-auto {
75
+ .lrv-u-margin-r-auto {
76
+ margin-right: auto;
77
+ }
78
+
79
+ .lrv-u-margin-t-auto {
80
+ margin-top: auto;
81
+ }
82
+
83
+ .lrv-u-margin-b-auto {
84
+ margin-bottom: auto;
85
+ }
86
+
87
+ .lrv-u-margin-lr-auto {
51
88
  margin-left: auto;
52
89
  margin-right: auto;
53
90
  }
54
91
 
55
- .pmc-u-margin-l-auto\@tablet {
92
+ .lrv-u-margin-tb-auto {
93
+ margin-top: auto;
94
+ margin-bottom: auto;
95
+ }
96
+
97
+ @include pmc-breakpoint( desktop ) {
98
+
99
+ .lrv-u-margin-l-auto\@desktop {
100
+ margin-left: auto;
101
+ }
102
+
103
+ .lrv-u-margin-r-auto\@desktop {
104
+ margin-right: auto;
105
+ }
106
+
107
+ .lrv-u-margin-t-auto\@desktop {
108
+ margin-top: auto;
109
+ }
110
+
111
+ .lrv-u-margin-b-auto\@desktop {
112
+ margin-bottom: auto;
113
+ }
114
+
115
+ .lrv-u-margin-lr-auto\@desktop {
116
+ margin-left: auto;
117
+ margin-right: auto;
118
+ }
119
+
120
+ .lrv-u-margin-tb-auto\@desktop {
121
+ margin-top: auto;
122
+ margin-bottom: auto;
123
+ }
124
+
125
+ }
126
+
127
+ @each $breakpoint in $breakpoints {
128
+
129
+ @each $token, $value in $TOKENS-MAP {
130
+
131
+ $token-str: quote( $token );
132
+
133
+ // No negative spacing for padding
134
+ @if str-index( $token-str, 'spacing' ) and not str-index( $token-str, 'letter-spacing' ) {
135
+
136
+ $token-name: $token;
137
+ $token-selector: str-replace( $token-str, 'spacing-', '' );
138
+
139
+ @if '' == $breakpoint {
140
+ @include _u-margin( $token-name, $token-selector, $value );
141
+ } @else {
142
+
143
+ $breakpoint-suffix: '\\@#{$breakpoint}';
144
+
145
+ @include pmc-breakpoint( $breakpoint ) {
146
+ @include _u-margin( $token-name, $token-selector, $value, $breakpoint-suffix );
147
+ }
148
+ }
149
+
150
+ }
151
+ }
152
+ }
153
+
154
+ // Legacy - should not have mobile-max and tablet
155
+ $margins_with_breakpoints: (
156
+
157
+ // Breakpoints
158
+ ('a', $spacer-0, mobile-max),
159
+ ('t', $spacer-050, mobile-max),
160
+ ('t', $spacer-1, mobile-max),
161
+ ('t', $spacer-2, mobile-max),
162
+ ('r', $spacer-0, mobile-max),
163
+ ('b', $spacer-1, mobile-max),
164
+ ('b', $spacer-050, mobile-max),
165
+ ('tb', $spacer-0, mobile-max),
166
+ ('tb', $spacer-1, mobile-max),
167
+ ('l', $spacer-1, tablet),
168
+ ('r', $spacer-1, tablet),
169
+ ('r', $spacer-0, tablet),
170
+ ('b', $spacer-1, tablet),
171
+ ('b', $spacer-2, tablet),
172
+ ('t', $spacer-050, desktop-xl),
173
+ );
174
+
175
+ @include u-margin( $margins_with_breakpoints, $NAMESPACE: 'lrv-' );
176
+
177
+ // Legacy - tablet will be removed
178
+ .lrv-u-margin-l-auto\@tablet {
56
179
  @include pmc-breakpoint( tablet ) {
57
180
  margin-left: auto;
58
181
  }
59
- }
182
+ }
183
+
184
+ .lrv-u-margin-b-250\@mobile-max {
185
+ @include pmc-breakpoint( mobile-max ) {
186
+ margin-bottom: $spacer-250;
187
+ }
188
+ }
189
+
190
+ .lrv-u-margin-t-175\@desktop-xl {
191
+ @include pmc-breakpoint( desktop-xl ) {
192
+ margin-top: $spacer-175;
193
+ }
194
+ }
@@ -0,0 +1,25 @@
1
+ @import 'setup';
2
+
3
+ .lrv-u-max-width-100p {
4
+ max-width: 100%;
5
+ }
6
+
7
+ .lrv-u-max-width-100vw {
8
+ max-width: 100vw;
9
+ }
10
+
11
+ .lrv-u-max-width-150 {
12
+ max-width: pmc-rem(150);
13
+ }
14
+
15
+ .lrv-u-max-width-250 {
16
+ max-width: pmc-rem(250);
17
+ }
18
+
19
+ .lrv-u-max-width-500 {
20
+ max-width: pmc-rem(500);
21
+ }
22
+
23
+ .lrv-u-max-width-1000 {
24
+ max-width: pmc-rem(1000);
25
+ }
@@ -0,0 +1,3 @@
1
+ .lrv-u-opacity-0 {
2
+ opacity: 0;
3
+ }
@@ -1,8 +1,35 @@
1
1
  @import '@penskemediacorp/larva-scss/dist/tools';
2
2
 
3
- .pmc-u-order-100\@mobile-max {
3
+ .lrv-u-order-n1 {
4
+ order: -1;
5
+ }
6
+
7
+ .lrv-u-order-100 {
8
+ order: 100;
9
+ }
10
+
11
+ @include pmc-breakpoint( desktop ) {
12
+
13
+ .lrv-u-order-n1\@desktop {
14
+ order: -1;
15
+ }
16
+
17
+ .lrv-u-order-100\@desktop {
18
+ order: 100;
19
+ }
20
+ }
21
+
22
+ .lrv-u-order-n1\@mobile-max {
23
+
24
+ @include pmc-breakpoint( mobile-max ) {
25
+ order: -1;
26
+ }
27
+ }
28
+
29
+ // Legacy - should not use mobile-max
30
+ .lrv-u-order-100\@mobile-max {
4
31
 
5
32
  @include pmc-breakpoint( mobile-max ) {
6
33
  order: 100;
7
34
  }
8
- }
35
+ }
@@ -1,3 +1,15 @@
1
- .pmc-u-overflow-auto {
1
+ @import 'setup';
2
+
3
+ .lrv-u-overflow-auto {
2
4
  overflow: auto;
3
- }
5
+ }
6
+
7
+ .lrv-u-overflow-hidden {
8
+ overflow: hidden;
9
+ }
10
+
11
+ .lrv-u-overflow-auto\@mobile-max {
12
+ @include pmc-breakpoint( mobile-max ) {
13
+ overflow: auto;
14
+ }
15
+ }