vanilla-framework 2.36.0 → 3.0.0-beta.1
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/README.md +1 -1
- package/_index.scss +1 -0
- package/package.json +14 -12
- package/scss/_base_blockquotes.scss +2 -2
- package/scss/_base_button.scss +9 -27
- package/scss/_base_code.scss +8 -9
- package/scss/_base_details.scss +2 -2
- package/scss/_base_forms-range.scss +1 -45
- package/scss/_base_forms.scss +17 -22
- package/scss/_base_grid-definitions.scss +2 -23
- package/scss/_base_hr.scss +1 -1
- package/scss/_base_icon-definitions.scss +0 -24
- package/scss/_base_lists.scss +5 -5
- package/scss/_base_media.scss +1 -6
- package/scss/_base_placeholders.scss +15 -18
- package/scss/_base_tables.scss +6 -6
- package/scss/_base_typography-definitions.scss +16 -24
- package/scss/_base_typography.scss +7 -17
- package/scss/_global_functions.scss +3 -11
- package/scss/_layouts_application-panels.scss +1 -1
- package/scss/_layouts_application.scss +1 -1
- package/scss/_layouts_fluid-breakout.scss +40 -150
- package/scss/_patterns_accordion.scss +16 -71
- package/scss/_patterns_article-pagination.scss +3 -6
- package/scss/_patterns_breadcrumbs.scss +1 -1
- package/scss/_patterns_buttons.scss +1 -35
- package/scss/_patterns_card.scss +8 -8
- package/scss/_patterns_chip.scss +3 -7
- package/scss/_patterns_code-snippet.scss +7 -7
- package/scss/_patterns_contextual-menu.scss +1 -1
- package/scss/_patterns_divider.scss +4 -4
- package/scss/_patterns_form-help-text.scss +2 -2
- package/scss/_patterns_form-password-toggle.scss +0 -6
- package/scss/_patterns_form-tick-elements.scss +217 -27
- package/scss/_patterns_form-validation.scss +2 -2
- package/scss/_patterns_forms.scss +7 -7
- package/scss/_patterns_grid.scss +6 -20
- package/scss/_patterns_heading-icon.scss +5 -5
- package/scss/_patterns_headings.scss +0 -26
- package/scss/_patterns_icons.scss +0 -58
- package/scss/_patterns_label.scss +1 -1
- package/scss/_patterns_links.scss +4 -33
- package/scss/_patterns_list-tree.scss +0 -1
- package/scss/_patterns_lists.scss +17 -32
- package/scss/_patterns_logo-section.scss +7 -5
- package/scss/_patterns_matrix.scss +15 -17
- package/scss/_patterns_media-object.scss +4 -4
- package/scss/_patterns_modal.scss +14 -9
- package/scss/_patterns_navigation.scss +317 -312
- package/scss/_patterns_notifications.scss +15 -57
- package/scss/_patterns_pagination.scss +6 -6
- package/scss/_patterns_pull-quotes.scss +4 -4
- package/scss/_patterns_search-and-filter.scss +6 -6
- package/scss/_patterns_search-box.scss +2 -3
- package/scss/_patterns_separator.scss +4 -4
- package/scss/_patterns_side-navigation.scss +12 -15
- package/scss/_patterns_strip.scss +1 -1
- package/scss/_patterns_table-expanding.scss +0 -13
- package/scss/_patterns_table-icons.scss +2 -2
- package/scss/_patterns_table-mobile-card.scss +3 -10
- package/scss/_patterns_table-of-contents.scss +1 -1
- package/scss/_patterns_tabs.scss +2 -2
- package/scss/_patterns_tooltips.scss +5 -5
- package/scss/_settings_breakpoints.scss +2 -3
- package/scss/_settings_grid.scss +1 -4
- package/scss/_settings_spacing.scss +38 -60
- package/scss/_settings_system.scss +1 -7
- package/scss/_utilities_baseline-grid.scss +1 -1
- package/scss/_utilities_embedded-media.scss +2 -2
- package/scss/_utilities_equal-height.scss +1 -1
- package/scss/_utilities_floats.scss +4 -4
- package/scss/_utilities_hide.scss +8 -8
- package/scss/_utilities_image-position.scss +1 -1
- package/scss/_utilities_show.scss +2 -6
- package/scss/_utilities_vertical-spacing.scss +6 -12
- package/scss/_vanilla.scss +0 -11
- package/scss/_base_forms-tick-elements.scss +0 -607
- package/scss/_base_typography-max-widths.scss +0 -36
- package/scss/_patterns_code-copyable.scss +0 -43
- package/scss/_patterns_code-numbered.scss +0 -13
- package/scss/_patterns_inline-images.scss +0 -37
- package/scss/_patterns_subnav.scss +0 -210
- package/scss/standalone/base.scss +0 -2
- package/scss/standalone/custom.scss +0 -7
- package/scss/standalone/dark.scss +0 -11
- package/scss/standalone/example.scss +0 -15
- package/scss/standalone/import.scss +0 -2
- package/scss/standalone/layouts_fluid-breakout-full.scss +0 -8
- package/scss/standalone/layouts_fluid-breakout.scss +0 -8
- package/scss/standalone/patterns_accordion.scss +0 -6
- package/scss/standalone/patterns_article-pagination.scss +0 -4
- package/scss/standalone/patterns_breadcrumbs.scss +0 -4
- package/scss/standalone/patterns_buttons.scss +0 -9
- package/scss/standalone/patterns_card.scss +0 -9
- package/scss/standalone/patterns_chip.scss +0 -6
- package/scss/standalone/patterns_code-copyable.scss +0 -4
- package/scss/standalone/patterns_code-numbered.scss +0 -4
- package/scss/standalone/patterns_code-snippet.scss +0 -6
- package/scss/standalone/patterns_contextual-menu.scss +0 -9
- package/scss/standalone/patterns_divider.scss +0 -7
- package/scss/standalone/patterns_form-password-toggle.scss +0 -19
- package/scss/standalone/patterns_form-tick-elements.scss +0 -13
- package/scss/standalone/patterns_forms.scss +0 -17
- package/scss/standalone/patterns_grid.scss +0 -4
- package/scss/standalone/patterns_heading-icon.scss +0 -4
- package/scss/standalone/patterns_headings.scss +0 -4
- package/scss/standalone/patterns_icons-additional.scss +0 -104
- package/scss/standalone/patterns_icons.scss +0 -7
- package/scss/standalone/patterns_image.scss +0 -4
- package/scss/standalone/patterns_inline-images.scss +0 -4
- package/scss/standalone/patterns_label.scss +0 -4
- package/scss/standalone/patterns_links.scss +0 -4
- package/scss/standalone/patterns_list-tree.scss +0 -4
- package/scss/standalone/patterns_lists.scss +0 -4
- package/scss/standalone/patterns_logo-section.scss +0 -4
- package/scss/standalone/patterns_matrix.scss +0 -4
- package/scss/standalone/patterns_media-object.scss +0 -4
- package/scss/standalone/patterns_modal.scss +0 -9
- package/scss/standalone/patterns_muted-heading.scss +0 -4
- package/scss/standalone/patterns_navigation.scss +0 -4
- package/scss/standalone/patterns_notifications.scss +0 -11
- package/scss/standalone/patterns_pagination.scss +0 -7
- package/scss/standalone/patterns_pull-quotes.scss +0 -4
- package/scss/standalone/patterns_search-and-filter.scss +0 -8
- package/scss/standalone/patterns_search-box.scss +0 -15
- package/scss/standalone/patterns_separator.scss +0 -4
- package/scss/standalone/patterns_side-navigation.scss +0 -11
- package/scss/standalone/patterns_skip-link.scss +0 -8
- package/scss/standalone/patterns_slider.scss +0 -4
- package/scss/standalone/patterns_strip.scss +0 -10
- package/scss/standalone/patterns_subnav.scss +0 -9
- package/scss/standalone/patterns_switch.scss +0 -4
- package/scss/standalone/patterns_tab-buttons.scss +0 -7
- package/scss/standalone/patterns_table-expanding.scss +0 -10
- package/scss/standalone/patterns_table-mobile-card.scss +0 -10
- package/scss/standalone/patterns_table-of-contents.scss +0 -7
- package/scss/standalone/patterns_table-overflow.scss +0 -10
- package/scss/standalone/patterns_table-sortable.scss +0 -10
- package/scss/standalone/patterns_tabs.scss +0 -4
- package/scss/standalone/patterns_tooltips.scss +0 -6
package/scss/_base_tables.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
border-collapse: collapse;
|
|
9
9
|
caption-side: bottom;
|
|
10
10
|
line-height: map-get($line-heights, default-text);
|
|
11
|
-
margin-bottom: $spv-
|
|
11
|
+
margin-bottom: $spv--x-large;
|
|
12
12
|
overflow-x: auto;
|
|
13
13
|
width: 100%;
|
|
14
14
|
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
font-weight: $font-weight-regular-text;
|
|
27
27
|
overflow: hidden;
|
|
28
|
-
padding-left: $sph
|
|
29
|
-
padding-right: $sph
|
|
28
|
+
padding-left: $sph--small;
|
|
29
|
+
padding-right: $sph--small;
|
|
30
30
|
text-align: left;
|
|
31
31
|
text-overflow: ellipsis;
|
|
32
32
|
vertical-align: top;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
th {
|
|
41
41
|
@extend %table-header-label;
|
|
42
42
|
|
|
43
|
-
padding-bottom: $spv
|
|
43
|
+
padding-bottom: $spv--large - map-get($nudges, nudge--x-small);
|
|
44
44
|
padding-top: map-get($nudges, nudge--x-small) + map-get($browser-rounding-compensations, small) + $sp-unit;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
caption {
|
|
68
|
-
padding-bottom: $spv
|
|
69
|
-
padding-top: $spv
|
|
68
|
+
padding-bottom: $spv--small;
|
|
69
|
+
padding-top: $spv--small;
|
|
70
70
|
}
|
|
71
71
|
// stylelint-enable selector-max-type
|
|
72
72
|
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
@import 'base_typography-max-widths';
|
|
2
|
-
|
|
3
1
|
@mixin vf-b-typography-definitions {
|
|
4
2
|
//@section Heading styling in placeholders
|
|
5
3
|
%vf-heading-1 {
|
|
6
|
-
@include heading-max-width--short;
|
|
7
|
-
|
|
8
4
|
font-size: #{map-get($font-sizes, h1-mobile)}rem;
|
|
9
5
|
font-style: normal;
|
|
10
6
|
font-weight: $font-weight-display-heading;
|
|
11
7
|
line-height: map-get($line-heights, h1-mobile);
|
|
12
8
|
margin-bottom: map-get($sp-after, h1-mobile) - map-get($nudges, nudge--h1-mobile);
|
|
13
9
|
margin-top: 0;
|
|
10
|
+
max-width: $max-width--default;
|
|
14
11
|
padding-top: map-get($nudges, nudge--h1-mobile) + map-get($browser-rounding-compensations, h1);
|
|
15
12
|
|
|
16
13
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
@@ -33,14 +30,13 @@
|
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
%vf-heading-2 {
|
|
36
|
-
@include heading-max-width--short;
|
|
37
|
-
|
|
38
33
|
font-size: #{map-get($font-sizes, h2-mobile)}rem;
|
|
39
34
|
font-style: normal;
|
|
40
35
|
font-weight: $font-weight-display-heading;
|
|
41
36
|
line-height: map-get($line-heights, h2-mobile);
|
|
42
37
|
margin-bottom: map-get($sp-after, h2-mobile) - map-get($nudges, nudge--h2-mobile);
|
|
43
38
|
margin-top: 0;
|
|
39
|
+
max-width: $max-width--default;
|
|
44
40
|
padding-top: map-get($nudges, nudge--h2-mobile) + map-get($browser-rounding-compensations, h2);
|
|
45
41
|
|
|
46
42
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
@@ -56,14 +52,13 @@
|
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
%vf-heading-3 {
|
|
59
|
-
@include heading-max-width--long;
|
|
60
|
-
|
|
61
55
|
font-size: #{map-get($font-sizes, h3-mobile)}rem;
|
|
62
56
|
font-style: normal;
|
|
63
57
|
font-weight: $font-weight-display-heading;
|
|
64
58
|
line-height: map-get($line-heights, h3-mobile);
|
|
65
59
|
margin-bottom: map-get($sp-after, h3-mobile) - map-get($nudges, nudge--h3-mobile);
|
|
66
60
|
margin-top: 0;
|
|
61
|
+
max-width: $max-width--default;
|
|
67
62
|
padding-top: map-get($nudges, nudge--h3-mobile);
|
|
68
63
|
|
|
69
64
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
@@ -79,14 +74,13 @@
|
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
%vf-heading-4 {
|
|
82
|
-
@include heading-max-width--long;
|
|
83
|
-
|
|
84
77
|
font-size: #{map-get($font-sizes, h4-mobile)}rem;
|
|
85
78
|
font-style: normal;
|
|
86
79
|
font-weight: $font-weight-regular-text;
|
|
87
80
|
line-height: map-get($line-heights, h4-mobile);
|
|
88
81
|
margin-bottom: map-get($sp-after, h4-mobile) - map-get($nudges, nudge--h4-mobile);
|
|
89
82
|
margin-top: 0;
|
|
83
|
+
max-width: $max-width--default;
|
|
90
84
|
padding-top: map-get($nudges, nudge--h4-mobile) + map-get($browser-rounding-compensations, h4);
|
|
91
85
|
|
|
92
86
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
@@ -109,14 +103,13 @@
|
|
|
109
103
|
}
|
|
110
104
|
|
|
111
105
|
%vf-heading-5 {
|
|
112
|
-
@include p-max-width;
|
|
113
|
-
|
|
114
106
|
font-size: 1rem;
|
|
115
107
|
font-style: normal;
|
|
116
108
|
font-weight: $font-weight-bold;
|
|
117
109
|
line-height: map-get($line-heights, default-text);
|
|
118
110
|
margin-bottom: map-get($sp-after, p) - map-get($nudges, nudge--p);
|
|
119
111
|
margin-top: 0;
|
|
112
|
+
max-width: $max-width--default;
|
|
120
113
|
padding-top: map-get($nudges, nudge--p) + map-get($browser-rounding-compensations, h5);
|
|
121
114
|
|
|
122
115
|
&.u-no-margin--bottom {
|
|
@@ -125,14 +118,13 @@
|
|
|
125
118
|
}
|
|
126
119
|
|
|
127
120
|
%vf-heading-6 {
|
|
128
|
-
@include p-max-width;
|
|
129
|
-
|
|
130
121
|
font-size: 1rem;
|
|
131
122
|
font-style: italic;
|
|
132
123
|
font-weight: $font-weight-regular-text;
|
|
133
124
|
line-height: map-get($line-heights, default-text);
|
|
134
125
|
margin-bottom: map-get($sp-after, p) - map-get($nudges, nudge--p);
|
|
135
126
|
margin-top: 0;
|
|
127
|
+
max-width: $max-width--default;
|
|
136
128
|
padding-top: map-get($nudges, nudge--h6) + map-get($browser-rounding-compensations, h6);
|
|
137
129
|
|
|
138
130
|
@if ($increase-font-size-on-larger-screens) {
|
|
@@ -234,42 +226,42 @@
|
|
|
234
226
|
// Placeholder naming: $sp + -- + {preceding element} + {following element}, e.g. for p + h1: $sp--ph1
|
|
235
227
|
|
|
236
228
|
%sp--ph1 {
|
|
237
|
-
padding-top: map-get($nudges, nudge--h1-mobile) + $spv-
|
|
229
|
+
padding-top: map-get($nudges, nudge--h1-mobile) + $spv--x-large;
|
|
238
230
|
|
|
239
231
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
240
|
-
padding-top: map-get($nudges, nudge--h1) + $spv-
|
|
232
|
+
padding-top: map-get($nudges, nudge--h1) + $spv--x-large;
|
|
241
233
|
}
|
|
242
234
|
}
|
|
243
235
|
|
|
244
236
|
%sp--ph2 {
|
|
245
|
-
padding-top: map-get($nudges, nudge--h2-mobile) + $spv-
|
|
237
|
+
padding-top: map-get($nudges, nudge--h2-mobile) + $spv--x-large;
|
|
246
238
|
|
|
247
239
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
248
|
-
padding-top: map-get($nudges, nudge--h2) + $spv-
|
|
240
|
+
padding-top: map-get($nudges, nudge--h2) + $spv--x-large;
|
|
249
241
|
}
|
|
250
242
|
}
|
|
251
243
|
|
|
252
244
|
%sp--ph3 {
|
|
253
|
-
padding-top: map-get($nudges, nudge--h3-mobile) + $spv-
|
|
245
|
+
padding-top: map-get($nudges, nudge--h3-mobile) + $spv--x-large;
|
|
254
246
|
|
|
255
247
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
256
|
-
padding-top: map-get($nudges, nudge--h3) + $spv-
|
|
248
|
+
padding-top: map-get($nudges, nudge--h3) + $spv--x-large;
|
|
257
249
|
}
|
|
258
250
|
}
|
|
259
251
|
|
|
260
252
|
%sp--ph4 {
|
|
261
|
-
padding-top: map-get($nudges, nudge--h4-mobile) + $spv-
|
|
253
|
+
padding-top: map-get($nudges, nudge--h4-mobile) + $spv--x-large;
|
|
262
254
|
|
|
263
255
|
@media (min-width: $breakpoint-heading-threshold) {
|
|
264
|
-
padding-top: map-get($nudges, nudge--h4) + $spv-
|
|
256
|
+
padding-top: map-get($nudges, nudge--h4) + $spv--x-large;
|
|
265
257
|
}
|
|
266
258
|
}
|
|
267
259
|
|
|
268
260
|
%sp--ph5 {
|
|
269
|
-
padding-top: map-get($nudges, nudge--p) + $spv-
|
|
261
|
+
padding-top: map-get($nudges, nudge--p) + $spv--x-large;
|
|
270
262
|
}
|
|
271
263
|
|
|
272
264
|
%sp--pmuted {
|
|
273
|
-
padding-top: map-get($nudges, nudge--small) + $spv-
|
|
265
|
+
padding-top: map-get($nudges, nudge--small) + $spv--x-large;
|
|
274
266
|
}
|
|
275
267
|
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
@import 'settings';
|
|
2
2
|
@import 'base_fontfaces';
|
|
3
|
-
@import 'base_typography-max-widths';
|
|
4
3
|
@import 'base_typography-heading-mixins';
|
|
5
4
|
|
|
6
5
|
// Typographic element styles
|
|
7
6
|
@mixin vf-b-typography {
|
|
8
7
|
@include vf-b-typography-fontfaces;
|
|
9
8
|
|
|
10
|
-
@include deprecate('3.0.0', 'The unused `vf-b-typography-max-widths` mixin will be removed') {
|
|
11
|
-
@include vf-b-typography-max-widths;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
9
|
// stylelint-disable selector-max-type -- base styles can use type selectors
|
|
15
10
|
html {
|
|
16
11
|
color: $color-dark;
|
|
@@ -62,7 +57,8 @@
|
|
|
62
57
|
|
|
63
58
|
p {
|
|
64
59
|
@extend %paragraph;
|
|
65
|
-
|
|
60
|
+
|
|
61
|
+
max-width: $max-width--default;
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
.p-text--default {
|
|
@@ -92,35 +88,29 @@
|
|
|
92
88
|
//@section Adjusted spacing for headings (or a p) following a paragraph
|
|
93
89
|
p:not([class*='p-heading--']):not([class*='p-muted-heading']) {
|
|
94
90
|
& + h1,
|
|
95
|
-
& + .p-heading--1
|
|
96
|
-
& + .p-heading--one {
|
|
91
|
+
& + .p-heading--1 {
|
|
97
92
|
@extend %sp--ph1;
|
|
98
93
|
}
|
|
99
94
|
|
|
100
95
|
& + h2,
|
|
101
|
-
& + .p-heading--2
|
|
102
|
-
& + .p-heading--two {
|
|
96
|
+
& + .p-heading--2 {
|
|
103
97
|
@extend %sp--ph2;
|
|
104
98
|
}
|
|
105
99
|
|
|
106
100
|
& + h3,
|
|
107
|
-
& + .p-heading--3
|
|
108
|
-
& + .p-heading--three {
|
|
101
|
+
& + .p-heading--3 {
|
|
109
102
|
@extend %sp--ph3;
|
|
110
103
|
}
|
|
111
104
|
|
|
112
105
|
& + h4,
|
|
113
|
-
& + .p-heading--4
|
|
114
|
-
& + .p-heading--four {
|
|
106
|
+
& + .p-heading--4 {
|
|
115
107
|
@extend %sp--ph4;
|
|
116
108
|
}
|
|
117
109
|
|
|
118
110
|
& + h5,
|
|
119
111
|
& + .p-heading--5,
|
|
120
|
-
& + .p-heading--five,
|
|
121
112
|
& + h6,
|
|
122
|
-
& + .p-heading--6
|
|
123
|
-
& + .p-heading--six {
|
|
113
|
+
& + .p-heading--6 {
|
|
124
114
|
@extend %sp--ph5;
|
|
125
115
|
}
|
|
126
116
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
1
3
|
// Functions used across multiple patterns or utils
|
|
2
4
|
|
|
3
5
|
/// Replace `$search` with `$replace` in `$string`
|
|
@@ -38,16 +40,6 @@
|
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
@mixin vf-external-link-color($color-link: $color-link, $color-icon: currentColor) {
|
|
42
|
-
.p-link--external {
|
|
43
|
-
color: $color-link;
|
|
44
|
-
|
|
45
|
-
&::after {
|
|
46
|
-
background-color: $color-icon;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
43
|
// Returns the font color to be presented on the passed background-color
|
|
52
44
|
// variable.
|
|
53
45
|
@function vf-determine-text-color($background-color) {
|
|
@@ -101,7 +93,7 @@
|
|
|
101
93
|
}
|
|
102
94
|
} @else if $exponent < 0 {
|
|
103
95
|
@for $i from 1 through -$exponent {
|
|
104
|
-
$value: $value
|
|
96
|
+
$value: math.div($value, $number);
|
|
105
97
|
}
|
|
106
98
|
}
|
|
107
99
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// default max width of the pinned aside panel in the application layout
|
|
4
4
|
$application-layout--aside-panel-max-width: 50vw !default;
|
|
5
5
|
// screen width breakpoint (min-width) at which side navigation is in collapsed mode
|
|
6
|
-
$application-layout--breakpoint-side-nav-collapsed: $breakpoint-
|
|
6
|
+
$application-layout--breakpoint-side-nav-collapsed: $breakpoint-small !default;
|
|
7
7
|
// screen width breakpoint (min-width) at which side navigation is in expanded mode
|
|
8
8
|
$application-layout--breakpoint-side-nav-expanded: $breakpoint-large !default;
|
|
9
9
|
// width of the collapsed side navigation
|
|
@@ -6,94 +6,22 @@
|
|
|
6
6
|
$grid-gap: $sp-unit * 2,
|
|
7
7
|
$suffix: ''
|
|
8
8
|
) {
|
|
9
|
-
%l-fluid-breakout-ie11-fallback#{$suffix} {
|
|
10
|
-
@media (min-width: $breakpoint-large) {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
%l-fluid-breakout__full-and-main-item-ie11-fallback#{$suffix} {
|
|
17
|
-
margin-right: $grid-gap;
|
|
18
|
-
|
|
19
|
-
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
20
|
-
flex: 1 1 auto;
|
|
21
|
-
width: $l-fluid-breakout-main-child-width;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
%l-fluid-breakout__main-ie11-fallback#{$suffix} {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex: 1 1 80%;
|
|
28
|
-
flex-wrap: wrap;
|
|
29
|
-
width: 100%;
|
|
30
|
-
|
|
31
|
-
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
32
|
-
width: calc(100% - #{$l-fluid-breakout-aside-width});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
%l-fluid-breakout__aside-common-properties-ie-11-fallback#{$suffix} {
|
|
37
|
-
flex: 0 0 auto;
|
|
38
|
-
justify-content: flex-start;
|
|
39
|
-
|
|
40
|
-
@media (min-width: $breakpoint-large) {
|
|
41
|
-
flex: 1 1 13%;
|
|
42
|
-
width: $l-fluid-breakout-aside-width;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
%l-fluid-breakout__aside--left-ie-11-fallback#{$suffix} {
|
|
47
|
-
@extend %l-fluid-breakout__aside-common-properties-ie-11-fallback#{$suffix};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
%l-fluid-breakout__aside--right-ie-11-fallback#{$suffix} {
|
|
51
|
-
@extend %l-fluid-breakout__aside-common-properties-ie-11-fallback#{$suffix};
|
|
52
|
-
|
|
53
|
-
@media (max-width: $l-fluid-breakout-3-col-threshold) {
|
|
54
|
-
padding-left: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
%l-fluid-breakout__toolbar-ie-11-fallback#{$suffix} {
|
|
59
|
-
@media (min-width: $breakpoint-large) {
|
|
60
|
-
flex: 1 1 100%;
|
|
61
|
-
margin-left: $l-fluid-breakout-aside-width;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
%l-fluid-breakout__toolbar-items-ie-11-fallback#{$suffix} {
|
|
66
|
-
@media (min-width: $breakpoint-large) {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex: 1 1 100%;
|
|
69
|
-
justify-content: space-between;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
9
|
.l-fluid-breakout#{$suffix} {
|
|
74
|
-
|
|
75
|
-
|
|
10
|
+
display: block;
|
|
11
|
+
grid-gap: 0 0;
|
|
76
12
|
padding-left: map-get($grid-margin-widths, small);
|
|
77
13
|
padding-right: map-get($grid-margin-widths, small);
|
|
78
14
|
|
|
79
|
-
@supports (display: grid) {
|
|
80
|
-
display: block;
|
|
81
|
-
grid-gap: 0 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
15
|
@media (min-width: $breakpoint-large) {
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns:
|
|
18
|
+
minmax($l-fluid-breakout-aside-width, 1fr)
|
|
19
|
+
minmax(0, $l-fluid-breakout-max-width)
|
|
20
|
+
minmax($l-fluid-breakout-aside-width, 1fr);
|
|
21
|
+
grid-template-rows: auto;
|
|
85
22
|
margin-left: auto;
|
|
86
23
|
margin-right: auto;
|
|
87
24
|
max-width: calc(2 * #{$l-fluid-breakout-aside-width} + #{$l-fluid-breakout-max-width});
|
|
88
|
-
|
|
89
|
-
@supports (display: grid) {
|
|
90
|
-
display: grid;
|
|
91
|
-
grid-template-columns:
|
|
92
|
-
minmax($l-fluid-breakout-aside-width, 1fr)
|
|
93
|
-
minmax(0, $l-fluid-breakout-max-width)
|
|
94
|
-
minmax($l-fluid-breakout-aside-width, 1fr);
|
|
95
|
-
grid-template-rows: auto;
|
|
96
|
-
}
|
|
97
25
|
}
|
|
98
26
|
|
|
99
27
|
@media (min-width: $threshold-4-6-col) {
|
|
@@ -116,15 +44,11 @@
|
|
|
116
44
|
}
|
|
117
45
|
|
|
118
46
|
.l-fluid-breakout__main {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
grid-row: 2;
|
|
125
|
-
grid-template-columns: repeat(auto-fit, minmax($l-fluid-breakout-main-child-width, 1fr));
|
|
126
|
-
width: 100%;
|
|
127
|
-
}
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-gap: 0 $grid-gap;
|
|
49
|
+
grid-row: 2;
|
|
50
|
+
grid-template-columns: repeat(auto-fit, minmax($l-fluid-breakout-main-child-width, 1fr));
|
|
51
|
+
width: 100%;
|
|
128
52
|
|
|
129
53
|
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
130
54
|
padding-left: map-get($grid-margin-widths, large);
|
|
@@ -132,22 +56,16 @@
|
|
|
132
56
|
}
|
|
133
57
|
|
|
134
58
|
@media (min-width: $breakpoint-large) {
|
|
135
|
-
|
|
136
|
-
grid-column: auto / span 2;
|
|
59
|
+
grid-column: auto / span 2;
|
|
137
60
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
grid-column: 2 / span 2;
|
|
141
|
-
}
|
|
61
|
+
&.no-aside {
|
|
62
|
+
grid-column: 2 / span 2;
|
|
142
63
|
}
|
|
143
64
|
}
|
|
144
65
|
|
|
145
66
|
&.is-full-width {
|
|
146
67
|
@media (min-width: $breakpoint-large) {
|
|
147
|
-
|
|
148
|
-
@supports (display: grid) {
|
|
149
|
-
grid-column: 1 / span 3;
|
|
150
|
-
}
|
|
68
|
+
grid-column: 1 / span 3;
|
|
151
69
|
}
|
|
152
70
|
}
|
|
153
71
|
|
|
@@ -159,37 +77,23 @@
|
|
|
159
77
|
}
|
|
160
78
|
|
|
161
79
|
.l-fluid-breakout__item {
|
|
162
|
-
@
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
// overwrite fallback margins
|
|
166
|
-
margin-left: 0;
|
|
167
|
-
margin-right: 0;
|
|
168
|
-
|
|
169
|
-
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
170
|
-
grid-column: auto / auto;
|
|
171
|
-
width: initial;
|
|
172
|
-
}
|
|
80
|
+
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
81
|
+
grid-column: auto / auto;
|
|
82
|
+
width: initial;
|
|
173
83
|
}
|
|
174
84
|
}
|
|
175
85
|
|
|
176
86
|
%l-fluid-breakout__aside-common-properties#{$suffix} {
|
|
177
|
-
|
|
178
|
-
|
|
87
|
+
grid-column-end: span 1;
|
|
88
|
+
grid-column-start: auto;
|
|
89
|
+
grid-row: 2 / 100;
|
|
179
90
|
|
|
180
91
|
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
181
92
|
align-items: start;
|
|
182
93
|
}
|
|
183
|
-
|
|
184
|
-
@supports (display: grid) {
|
|
185
|
-
grid-column-end: span 1;
|
|
186
|
-
grid-column-start: auto;
|
|
187
|
-
grid-row: 2 / 100;
|
|
188
|
-
}
|
|
189
94
|
}
|
|
190
95
|
|
|
191
96
|
.l-fluid-breakout__aside {
|
|
192
|
-
@extend %l-fluid-breakout__aside--right-ie-11-fallback#{$suffix};
|
|
193
97
|
@extend %l-fluid-breakout__aside-common-properties#{$suffix};
|
|
194
98
|
|
|
195
99
|
@media (min-width: $breakpoint-large) {
|
|
@@ -203,7 +107,6 @@
|
|
|
203
107
|
}
|
|
204
108
|
|
|
205
109
|
.l-fluid-breakout__aside--right {
|
|
206
|
-
@extend %l-fluid-breakout__aside--left-ie-11-fallback#{$suffix};
|
|
207
110
|
@extend %l-fluid-breakout__aside-common-properties#{$suffix};
|
|
208
111
|
|
|
209
112
|
@media (min-width: $breakpoint-large) {
|
|
@@ -220,24 +123,19 @@
|
|
|
220
123
|
}
|
|
221
124
|
|
|
222
125
|
.l-fluid-breakout__toolbar {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
margin-block-end: $spv-outer--medium;
|
|
126
|
+
margin-block-end: $spv--large;
|
|
226
127
|
|
|
227
128
|
@media (min-width: $breakpoint-large) {
|
|
129
|
+
display: grid;
|
|
130
|
+
grid-column: 1 / -1;
|
|
131
|
+
grid-template-columns:
|
|
132
|
+
minmax($l-fluid-breakout-aside-width, 1fr)
|
|
133
|
+
minmax(0, $l-fluid-breakout-max-width)
|
|
134
|
+
minmax($l-fluid-breakout-aside-width, 1fr);
|
|
135
|
+
grid-template-rows: auto;
|
|
136
|
+
margin-left: auto;
|
|
228
137
|
margin-right: auto;
|
|
229
138
|
max-width: calc(2 * #{$l-fluid-breakout-aside-width} + #{$l-fluid-breakout-max-width});
|
|
230
|
-
|
|
231
|
-
@supports (display: grid) {
|
|
232
|
-
display: grid;
|
|
233
|
-
grid-column: 1 / -1;
|
|
234
|
-
grid-template-columns:
|
|
235
|
-
minmax($l-fluid-breakout-aside-width, 1fr)
|
|
236
|
-
minmax(0, $l-fluid-breakout-max-width)
|
|
237
|
-
minmax($l-fluid-breakout-aside-width, 1fr);
|
|
238
|
-
grid-template-rows: auto;
|
|
239
|
-
margin-left: auto;
|
|
240
|
-
}
|
|
241
139
|
}
|
|
242
140
|
|
|
243
141
|
@media (min-width: $l-fluid-breakout-3-col-threshold) {
|
|
@@ -247,33 +145,25 @@
|
|
|
247
145
|
}
|
|
248
146
|
|
|
249
147
|
.l-fluid-breakout__toolbar-items {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
display: grid;
|
|
254
|
-
grid-column: 2 / -1;
|
|
255
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
148
|
+
display: grid;
|
|
149
|
+
grid-column: 2 / -1;
|
|
150
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
256
151
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
width: $l-fluid-breakout-main-child-width;
|
|
261
|
-
}
|
|
152
|
+
@media (max-width: $threshold-4-6-col - 1) {
|
|
153
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
154
|
+
width: $l-fluid-breakout-main-child-width;
|
|
262
155
|
}
|
|
263
156
|
}
|
|
264
157
|
|
|
265
158
|
.l-fluid-breakout__toolbar-item {
|
|
266
159
|
align-items: center;
|
|
267
160
|
display: flex;
|
|
268
|
-
|
|
269
|
-
@supports (display: grid) {
|
|
270
|
-
grid-column-end: span 1;
|
|
271
|
-
}
|
|
161
|
+
grid-column-end: span 1;
|
|
272
162
|
|
|
273
163
|
&:nth-child(2) {
|
|
274
164
|
justify-content: flex-end;
|
|
275
165
|
|
|
276
|
-
@media (max-width: $threshold-4-6-col) {
|
|
166
|
+
@media (max-width: $threshold-4-6-col - 1) {
|
|
277
167
|
justify-content: flex-start;
|
|
278
168
|
}
|
|
279
169
|
}
|