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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
.p-accordion__list {
|
|
7
7
|
list-style-type: none;
|
|
8
|
-
margin: 0 0 $spv-
|
|
8
|
+
margin: 0 0 $spv--x-large 0;
|
|
9
9
|
padding: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -15,35 +15,31 @@
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.p-accordion__tab
|
|
19
|
-
|
|
18
|
+
.p-accordion__tab {
|
|
19
|
+
// calculate icon top position based on top padding (from %single-border-text-vpadding--scaling)
|
|
20
|
+
// and offset to align it with baseline of accordion tab text element
|
|
21
|
+
$icon-top-position: calc(#{$table-cell-vertical-padding + (map-get($line-heights, default-text) - $icon-size) * 0.5});
|
|
22
|
+
|
|
20
23
|
@extend %single-border-text-vpadding--scaling;
|
|
21
24
|
@include vf-focus;
|
|
22
25
|
|
|
23
|
-
background
|
|
26
|
+
background: {
|
|
27
|
+
color: inherit;
|
|
28
|
+
position: top $icon-top-position left $sph--large;
|
|
29
|
+
repeat: no-repeat;
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
border: 0;
|
|
25
33
|
border-radius: 0;
|
|
34
|
+
font-size: inherit;
|
|
26
35
|
justify-content: flex-start;
|
|
27
36
|
margin-bottom: 0;
|
|
28
|
-
padding-left: $sph
|
|
29
|
-
padding-right: $sph
|
|
37
|
+
padding-left: $sph--large + $icon-size + $sph--large;
|
|
38
|
+
padding-right: $sph--large;
|
|
30
39
|
text-align: left;
|
|
31
40
|
transition-duration: 0s;
|
|
32
41
|
width: 100%;
|
|
33
42
|
z-index: 2;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.p-accordion__tab {
|
|
37
|
-
// calculate icon top position based on top padding (from %single-border-text-vpadding--scaling)
|
|
38
|
-
// and offset to align it with baseline of accordion tab text element
|
|
39
|
-
$icon-top-position: calc(#{$table-cell-vertical-padding + (map-get($line-heights, default-text) - $icon-size) * 0.5});
|
|
40
|
-
|
|
41
|
-
background: {
|
|
42
|
-
position: top $icon-top-position left $sph-inner;
|
|
43
|
-
repeat: no-repeat;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
font-size: inherit;
|
|
47
43
|
|
|
48
44
|
// aria-selected controls the open and closed state for the accordion tab
|
|
49
45
|
&[aria-expanded='true'] {
|
|
@@ -65,57 +61,6 @@
|
|
|
65
61
|
}
|
|
66
62
|
}
|
|
67
63
|
|
|
68
|
-
@include deprecate('3.0.0', '.p-accordion__title and .p-accordion__tab--with-title are being deprecated, please use .p-accordion__heading > .p-accordion__tab pattern instead') {
|
|
69
|
-
.p-accordion__title {
|
|
70
|
-
margin-bottom: 0;
|
|
71
|
-
padding-top: 0;
|
|
72
|
-
position: relative;
|
|
73
|
-
text-indent: -$sph-inner - $icon-size;
|
|
74
|
-
|
|
75
|
-
&::before {
|
|
76
|
-
background-size: $icon-size;
|
|
77
|
-
content: '';
|
|
78
|
-
display: inline-block;
|
|
79
|
-
height: $icon-size;
|
|
80
|
-
margin-right: $sph-inner;
|
|
81
|
-
width: $icon-size;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// FIXME: we shouldn't be targeting types directly here
|
|
86
|
-
// stylelint-disable selector-max-type
|
|
87
|
-
h2.p-accordion__title::before {
|
|
88
|
-
// make icon bigger for h2 (same as p-icon)
|
|
89
|
-
$icon-size-h2: $x-height;
|
|
90
|
-
|
|
91
|
-
background-size: $icon-size-h2;
|
|
92
|
-
height: $icon-size-h2;
|
|
93
|
-
width: $icon-size-h2;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
h5.p-accordion__title::before,
|
|
97
|
-
h6.p-accordion__title::before {
|
|
98
|
-
// align icon within font metrics same as p-icon pattern
|
|
99
|
-
$vertical-offset: 0.5px;
|
|
100
|
-
|
|
101
|
-
vertical-align: calc(#{$vertical-offset} + #{0.5 * $cap-height} - #{0.5 * $icon-size});
|
|
102
|
-
}
|
|
103
|
-
// stylelint-enable selector-max-type
|
|
104
|
-
|
|
105
|
-
// override base expanded button styles
|
|
106
|
-
.p-accordion__tab--with-title[aria-expanded] {
|
|
107
|
-
background-color: inherit;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.p-accordion__tab--with-title[aria-expanded='true'] .p-accordion__title::before {
|
|
111
|
-
@include vf-icon-minus($color-mid-dark);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.p-accordion__tab--with-title[aria-expanded='false'] .p-accordion__title::before {
|
|
115
|
-
@include vf-icon-plus($color-mid-dark);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
64
|
.p-accordion__heading {
|
|
120
65
|
margin-bottom: 0;
|
|
121
66
|
max-width: none;
|
|
@@ -154,7 +99,7 @@
|
|
|
154
99
|
.p-accordion__panel {
|
|
155
100
|
margin: 0;
|
|
156
101
|
overflow: auto; // include child margins into its height
|
|
157
|
-
padding-left: $sph
|
|
102
|
+
padding-left: $sph--large + $icon-size + $sph--large * 2;
|
|
158
103
|
|
|
159
104
|
// Hides panel content
|
|
160
105
|
&[aria-hidden='true'] {
|
|
@@ -49,17 +49,14 @@
|
|
|
49
49
|
width: 50%;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.p-article-pagination__link {
|
|
53
|
-
@extend %p-article-pagination__link;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
52
|
.p-article-pagination__link--previous {
|
|
57
53
|
@extend %p-article-pagination__link;
|
|
58
54
|
|
|
59
55
|
padding-left: $sp-xx-large;
|
|
60
56
|
text-align: left;
|
|
61
57
|
|
|
62
|
-
@media (max-width: $breakpoint-x-small) {
|
|
58
|
+
@media (max-width: $breakpoint-x-small - 1) {
|
|
59
|
+
margin-right: 0;
|
|
63
60
|
width: auto;
|
|
64
61
|
|
|
65
62
|
&:only-child {
|
|
@@ -87,7 +84,7 @@
|
|
|
87
84
|
padding-right: $sp-xx-large;
|
|
88
85
|
text-align: right;
|
|
89
86
|
|
|
90
|
-
@media (max-width: $breakpoint-x-small) {
|
|
87
|
+
@media (max-width: $breakpoint-x-small - 1) {
|
|
91
88
|
width: 100%;
|
|
92
89
|
}
|
|
93
90
|
|
|
@@ -5,7 +5,6 @@ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
|
|
|
5
5
|
// Default button styling
|
|
6
6
|
@mixin vf-p-buttons {
|
|
7
7
|
@include vf-button-plain;
|
|
8
|
-
@include vf-button-neutral;
|
|
9
8
|
@include vf-button-brand;
|
|
10
9
|
@include vf-button-positive;
|
|
11
10
|
@include vf-button-negative;
|
|
@@ -13,16 +12,9 @@ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
|
|
|
13
12
|
@include vf-button-link;
|
|
14
13
|
@include vf-button-inline;
|
|
15
14
|
@include vf-button-processing;
|
|
16
|
-
@include vf-button-active;
|
|
17
15
|
@include vf-button-icon;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
|
-
@mixin vf-button-white-success-icon {
|
|
21
|
-
@include deprecate('3.0.0', 'vf-button-white-success-icon mixin will be removed as it is not needed, %vf-button-white-success-icon is part of base styles') {
|
|
22
|
-
//
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
18
|
@mixin vf-button-plain {
|
|
27
19
|
%p-button-light {
|
|
28
20
|
@include vf-button-pattern();
|
|
@@ -62,21 +54,6 @@ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
|
|
|
62
54
|
}
|
|
63
55
|
}
|
|
64
56
|
|
|
65
|
-
// p-button--neutral is is exactly the same as p-button, so we are deprecating it
|
|
66
|
-
@mixin vf-button-neutral {
|
|
67
|
-
@include deprecate('3.0.0', 'Use the `p-button` instead') {
|
|
68
|
-
%p-button--neutral {
|
|
69
|
-
@extend %vf-button-base;
|
|
70
|
-
|
|
71
|
-
@include vf-button-pattern;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.p-button--neutral {
|
|
75
|
-
@extend %p-button--neutral;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
57
|
@mixin vf-button-brand {
|
|
81
58
|
%p-button--brand-light {
|
|
82
59
|
@include vf-button-pattern(
|
|
@@ -313,10 +290,7 @@ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
|
|
|
313
290
|
|
|
314
291
|
@mixin vf-button-inline {
|
|
315
292
|
[class*='p-button'].is-inline {
|
|
316
|
-
|
|
317
|
-
margin-left: $sph-outer;
|
|
318
|
-
width: auto;
|
|
319
|
-
}
|
|
293
|
+
margin-left: $sph--large;
|
|
320
294
|
}
|
|
321
295
|
}
|
|
322
296
|
|
|
@@ -326,14 +300,6 @@ $hover-background-opacity-percentage: $hover-background-opacity-amount * 100%;
|
|
|
326
300
|
}
|
|
327
301
|
}
|
|
328
302
|
|
|
329
|
-
@mixin vf-button-active {
|
|
330
|
-
@include deprecate('3.0.0', 'Use the `vf-button-processing instead') {
|
|
331
|
-
[class*='p-button'].is-active {
|
|
332
|
-
opacity: 1 !important;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
303
|
@mixin vf-button-icon {
|
|
338
304
|
[class*='p-button'].has-icon {
|
|
339
305
|
@extend %vf-button-has-icon;
|
package/scss/_patterns_card.scss
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@extend %vf-is-bordered;
|
|
15
15
|
@extend %vf-has-round-corners;
|
|
16
16
|
|
|
17
|
-
padding: calc(#{$spv
|
|
17
|
+
padding: calc(#{$spv--large} - 1px);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
.p-card--overlay {
|
|
35
35
|
background: transparentize($color-x-light, 0.1);
|
|
36
36
|
color: $color-dark;
|
|
37
|
-
margin-bottom: $spv-
|
|
37
|
+
margin-bottom: $spv--x-large;
|
|
38
38
|
overflow: auto;
|
|
39
|
-
padding: $spv
|
|
39
|
+
padding: $spv--large;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
@extend %vf-has-box-shadow;
|
|
47
47
|
@extend %vf-has-round-corners;
|
|
48
48
|
|
|
49
|
-
margin-bottom: $spv-
|
|
49
|
+
margin-bottom: $spv--x-large;
|
|
50
50
|
overflow: auto;
|
|
51
|
-
padding: $spv
|
|
51
|
+
padding: $spv--large;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
|
|
59
59
|
.p-card__image {
|
|
60
60
|
display: block;
|
|
61
|
-
margin-bottom: $spv
|
|
61
|
+
margin-bottom: $spv--small;
|
|
62
62
|
width: 100%;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.p-card__header {
|
|
66
66
|
border-bottom: 1px solid $color-mid-light;
|
|
67
|
-
padding-bottom: $spv
|
|
67
|
+
padding-bottom: $spv--large;
|
|
68
68
|
|
|
69
69
|
> .p-link--soft {
|
|
70
70
|
display: inline-block;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.p-card__inner {
|
|
76
|
-
@extend %vf-card-
|
|
76
|
+
@extend %vf-card-padding;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.p-card__content {
|
package/scss/_patterns_chip.scss
CHANGED
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
border-radius: $chip-line-height;
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
line-height: $chip-line-height;
|
|
16
|
-
margin: map-get($nudges, nudge--p) $sph
|
|
16
|
+
margin: map-get($nudges, nudge--p) $sph--small 0 0;
|
|
17
17
|
max-width: 100%;
|
|
18
18
|
padding-bottom: 0.25rem;
|
|
19
|
-
padding-left: $sph
|
|
20
|
-
padding-right: $sph
|
|
19
|
+
padding-left: $sph--large;
|
|
20
|
+
padding-right: $sph--large;
|
|
21
21
|
padding-top: 0.25rem;
|
|
22
22
|
user-select: none;
|
|
23
23
|
white-space: nowrap;
|
|
@@ -82,10 +82,6 @@
|
|
|
82
82
|
position: relative;
|
|
83
83
|
top: 0.05rem;
|
|
84
84
|
|
|
85
|
-
@media (max-width: $breakpoint-x-small) {
|
|
86
|
-
width: auto;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
85
|
[class*='p-icon'] {
|
|
90
86
|
vertical-align: calc(#{0.5 * $cap-height} - #{0.5 * $default-icon-size});
|
|
91
87
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@import 'settings';
|
|
2
2
|
|
|
3
3
|
$color-snippet-heading-bg: rgba($color-x-dark, 0.08);
|
|
4
|
-
$code-snippet-header-v-spacing: $spv
|
|
4
|
+
$code-snippet-header-v-spacing: $spv--small;
|
|
5
5
|
|
|
6
6
|
@mixin vf-p-code-snippet {
|
|
7
7
|
.p-code-snippet {
|
|
8
|
-
margin-bottom: $spv-
|
|
8
|
+
margin-bottom: $spv--x-large;
|
|
9
9
|
|
|
10
10
|
&.is-bordered {
|
|
11
11
|
border: 1px solid $colors--light-theme--border-low-contrast;
|
|
@@ -24,7 +24,7 @@ $code-snippet-header-v-spacing: $spv-inner--small;
|
|
|
24
24
|
.p-code-snippet__block--icon {
|
|
25
25
|
@extend %leading-linux-prompt-icon;
|
|
26
26
|
|
|
27
|
-
padding-left: #{$sph
|
|
27
|
+
padding-left: #{$sph--large + map-get($icon-sizes, default) + $sph--small};
|
|
28
28
|
position: relative;
|
|
29
29
|
|
|
30
30
|
&.is-windows-prompt::before {
|
|
@@ -51,8 +51,8 @@ $code-snippet-header-v-spacing: $spv-inner--small;
|
|
|
51
51
|
background-color: $color-code-heading-background;
|
|
52
52
|
display: flex;
|
|
53
53
|
justify-content: space-between;
|
|
54
|
-
padding-left: $sph
|
|
55
|
-
padding-right: $sph
|
|
54
|
+
padding-left: $sph--large;
|
|
55
|
+
padding-right: $sph--large;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.p-code-snippet__title {
|
|
@@ -71,10 +71,10 @@ $code-snippet-header-v-spacing: $spv-inner--small;
|
|
|
71
71
|
border: 0;
|
|
72
72
|
color: $color-dark;
|
|
73
73
|
margin-bottom: 0;
|
|
74
|
-
margin-left: $sph
|
|
74
|
+
margin-left: $sph--small;
|
|
75
75
|
min-width: min-content;
|
|
76
76
|
padding-bottom: $code-snippet-header-v-spacing;
|
|
77
|
-
padding-left: $sph
|
|
77
|
+
padding-left: $sph--large;
|
|
78
78
|
padding-top: $code-snippet-header-v-spacing;
|
|
79
79
|
width: min-content;
|
|
80
80
|
}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
.p-divider {
|
|
5
5
|
@extend %vf-row;
|
|
6
6
|
|
|
7
|
-
margin-bottom: $spv-
|
|
7
|
+
margin-bottom: $spv--x-large;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.p-divider__block {
|
|
11
11
|
position: relative;
|
|
12
12
|
|
|
13
|
-
@media (max-width: $threshold-6-12-col) {
|
|
14
|
-
padding-bottom: $spv
|
|
15
|
-
padding-top: $spv
|
|
13
|
+
@media (max-width: $threshold-6-12-col - 1) {
|
|
14
|
+
padding-bottom: $spv--large;
|
|
15
|
+
padding-top: $spv--large;
|
|
16
16
|
|
|
17
17
|
&:not(:first-child)::before {
|
|
18
18
|
content: '';
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
@extend %small-text;
|
|
6
6
|
|
|
7
7
|
color: $color-mid-dark;
|
|
8
|
-
margin-top:
|
|
8
|
+
margin-top: -$sp-unit;
|
|
9
9
|
|
|
10
10
|
&.is-tick-element {
|
|
11
|
-
margin-left: $sph
|
|
11
|
+
margin-left: $sph--large + $form-tick-box-size;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
}
|