@ebay/skin 16.7.1 → 16.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.
- package/.storybook/preview-head.html +152 -11
- package/_cdn/skin/v16.8.0/skin-default.min.css +41 -0
- package/_cdn/skin/v16.8.0/skin-full.min.css +88 -0
- package/_cdn/skin/v16.8.0/skin-headless.min.css +6 -0
- package/_cdn/skin/v16.8.0/skin-legacy.min.css +41 -0
- package/dist/alert-dialog/alert-dialog.css +8 -8
- package/dist/avatar/avatar.css +9 -9
- package/dist/breadcrumbs/breadcrumbs.css +6 -6
- package/dist/button/button.css +10 -28
- package/dist/calendar/calendar.css +7 -7
- package/dist/carousel/carousel.css +10 -26
- package/dist/chip/chip.css +7 -7
- package/dist/combobox/combobox.css +6 -4
- package/dist/confirm-dialog/confirm-dialog.css +9 -9
- package/dist/cta-button/cta-button.css +8 -6
- package/dist/date-textbox/date-textbox.css +4 -4
- package/dist/details/details.css +3 -6
- package/dist/drawer-dialog/drawer-dialog.css +4 -3
- package/dist/field/field.css +5 -5
- package/dist/filter-button/filter-button.css +2 -2
- package/dist/filter-menu/filter-menu.css +2 -2
- package/dist/filter-menu-button/filter-menu-button.css +6 -9
- package/dist/floating-label/floating-label.css +1 -1
- package/dist/fullscreen-dialog/fullscreen-dialog.css +6 -5
- package/dist/global/global.css +2 -2
- package/dist/icon/icon.css +28 -0
- package/dist/infotip/infotip.css +5 -5
- package/dist/inline-notice/inline-notice.css +4 -6
- package/dist/legacy-textbox/legacy-textbox.css +1 -1
- package/dist/lightbox-dialog/lightbox-dialog.css +15 -17
- package/dist/listbox/listbox.css +3 -6
- package/dist/listbox-button/listbox-button.css +2 -5
- package/dist/menu/menu.css +2 -2
- package/dist/menu-button/menu-button.css +2 -2
- package/dist/mixins/typography-mixins.less +24 -24
- package/dist/mixins/utility-mixins.less +1 -0
- package/dist/page-grid/page-grid.css +5 -5
- package/dist/page-notice/page-notice.css +16 -21
- package/dist/pagination/pagination.css +9 -17
- package/dist/panel-dialog/panel-dialog.css +7 -6
- package/dist/progress-bar/progress-bar.css +2 -2
- package/dist/progress-stepper/progress-stepper.css +11 -14
- package/dist/section-notice/section-notice.css +17 -19
- package/dist/section-title/section-title.css +19 -20
- package/dist/segmented-buttons/segmented-buttons.css +11 -12
- package/dist/select/select.css +4 -4
- package/dist/signal/signal.css +2 -2
- package/dist/snackbar-dialog/snackbar-dialog.css +8 -14
- package/dist/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
- package/dist/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
- package/dist/svg/icon/icon-close-12.svg +3 -1
- package/dist/svg/icons.svg +150 -0
- package/dist/tabs/tabs.css +6 -10
- package/dist/textbox/textbox.css +12 -17
- package/dist/toast-dialog/toast-dialog.css +9 -10
- package/dist/toggle-button/toggle-button.css +17 -17
- package/dist/toggle-button-group/toggle-button-group.css +4 -4
- package/dist/tokens/evo-core.css +36 -0
- package/dist/tooltip/tooltip.css +5 -5
- package/dist/tourtip/tourtip.css +6 -6
- package/dist/typography/typography.css +23 -23
- package/dist/utility/utility.css +2 -0
- package/dist/variables/variables.less +6 -5
- package/dist/video/video.css +2 -5
- package/package.json +9 -9
- package/scripts/generate-images.js +18 -1
- package/src/less/alert-dialog/alert-dialog.less +6 -6
- package/src/less/avatar/avatar.less +9 -9
- package/src/less/breadcrumbs/breadcrumbs.less +6 -6
- package/src/less/button/button.less +5 -29
- package/src/less/calendar/calendar.less +7 -7
- package/src/less/carousel/carousel.less +6 -37
- package/src/less/chip/chip.less +7 -7
- package/src/less/combobox/combobox.less +6 -4
- package/src/less/confirm-dialog/confirm-dialog.less +7 -7
- package/src/less/cta-button/cta-button.less +4 -4
- package/src/less/date-textbox/date-textbox.less +5 -5
- package/src/less/details/details.less +2 -7
- package/src/less/drawer-dialog/drawer-dialog.less +1 -1
- package/src/less/field/field.less +4 -5
- package/src/less/filter-menu-button/filter-menu-button.less +1 -6
- package/src/less/floating-label/floating-label.less +1 -1
- package/src/less/global/global.less +2 -2
- package/src/less/icon/generated/icon.less +28 -0
- package/src/less/infotip/infotip.less +3 -3
- package/src/less/infotip/stories/infotip.stories.js +26 -0
- package/src/less/inline-notice/inline-notice.less +3 -9
- package/src/less/legacy-textbox/legacy-textbox.less +1 -1
- package/src/less/lightbox-dialog/lightbox-dialog.less +6 -10
- package/src/less/listbox/listbox.less +2 -7
- package/src/less/listbox-button/listbox-button.less +1 -6
- package/src/less/menu/menu.less +2 -2
- package/src/less/menu-button/menu-button.less +2 -2
- package/src/less/mixins/private/bubble-mixins.less +5 -4
- package/src/less/mixins/private/button-mixins.less +3 -3
- package/src/less/mixins/private/dialog-mixins.less +10 -10
- package/src/less/mixins/private/filter-button-mixins.less +2 -2
- package/src/less/mixins/private/filter-menu-mixins.less +1 -1
- package/src/less/mixins/public/typography-mixins.less +24 -24
- package/src/less/mixins/public/utility-mixins.less +1 -0
- package/src/less/page-notice/page-notice.less +14 -23
- package/src/less/pagination/pagination.less +7 -18
- package/src/less/panel-dialog/panel-dialog.less +1 -1
- package/src/less/progress-bar/progress-bar.less +2 -2
- package/src/less/progress-stepper/progress-stepper.less +8 -14
- package/src/less/section-notice/section-notice.less +15 -20
- package/src/less/section-title/section-title.less +10 -12
- package/src/less/segmented-buttons/segmented-buttons.less +6 -15
- package/src/less/select/select.less +4 -4
- package/src/less/signal/signal.less +2 -2
- package/src/less/snackbar-dialog/snackbar-dialog.less +6 -16
- package/src/less/tabs/tabs.less +5 -15
- package/src/less/textbox/stories/rtl/textbox.stories.js +1 -1
- package/src/less/textbox/stories/textbox.stories.js +1 -1
- package/src/less/textbox/textbox.less +14 -18
- package/src/less/toast-dialog/toast-dialog.less +8 -13
- package/src/less/toggle-button/toggle-button.less +17 -17
- package/src/less/toggle-button-group/toggle-button-group.less +4 -4
- package/src/less/tooltip/tooltip.less +1 -1
- package/src/less/tourtip/tourtip.less +3 -3
- package/src/less/typography/typography.less +2 -2
- package/src/less/variables/variables.less +6 -5
- package/src/less/video/video.less +1 -8
- package/src/svg/icon/icon-ai-spectrum-16-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-20-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-24-colored.svg +24 -0
- package/src/svg/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
- package/src/svg/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
- package/src/svg/icon/icon-close-12.svg +3 -1
- package/src/svg/icons.svg +150 -0
- package/src/tokens/evo-core.css +36 -0
- package/svg.svg +150 -0
- package/_cdn/skin/v16.7.1/skin-default.min.css +0 -41
- package/_cdn/skin/v16.7.1/skin-full.min.css +0 -88
- package/_cdn/skin/v16.7.1/skin-headless.min.css +0 -6
- package/_cdn/skin/v16.7.1/skin-legacy.min.css +0 -41
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
.confirm-dialog__window {
|
|
11
11
|
.lightbox-dialog-window();
|
|
12
12
|
|
|
13
|
-
margin-left:
|
|
14
|
-
margin-right:
|
|
15
|
-
padding:
|
|
13
|
+
margin-left: var(--spacing-200);
|
|
14
|
+
margin-right: var(--spacing-200);
|
|
15
|
+
padding: var(--spacing-200);
|
|
16
16
|
text-align: center;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.confirm-dialog__main {
|
|
26
|
-
margin:
|
|
27
|
-
min-height:
|
|
26
|
+
margin: var(--spacing-200) 0;
|
|
27
|
+
min-height: var(--spacing-200);
|
|
28
28
|
|
|
29
29
|
& > :first-child {
|
|
30
30
|
margin-top: 0;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
a.confirm-dialog__confirm,
|
|
39
39
|
button.confirm-dialog__confirm {
|
|
40
|
-
margin-left:
|
|
40
|
+
margin-left: var(--spacing-100);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.confirm-dialog--show,
|
|
@@ -91,7 +91,7 @@ button.confirm-dialog__confirm {
|
|
|
91
91
|
.confirm-dialog__window {
|
|
92
92
|
.lightbox-dialog-window-large();
|
|
93
93
|
|
|
94
|
-
max-width: calc(88% -
|
|
94
|
+
max-width: calc(88% - var(--spacing-400));
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -13,7 +13,7 @@ a.cta-btn {
|
|
|
13
13
|
);
|
|
14
14
|
.color-token(cta-btn-foreground-color, color-foreground-primary);
|
|
15
15
|
display: inline-block;
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: var(--font-size-default);
|
|
17
17
|
max-width: 100%;
|
|
18
18
|
padding: @button-padding-vertical 20px;
|
|
19
19
|
}
|
|
@@ -70,7 +70,7 @@ a.cta-btn--truncated {
|
|
|
70
70
|
a.cta-btn--large {
|
|
71
71
|
border-radius: @button-border-radius-large;
|
|
72
72
|
display: inline-flex;
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: var(--font-size-medium);
|
|
74
74
|
min-height: @button-height-large;
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -79,7 +79,7 @@ a.cta-btn--large-truncated {
|
|
|
79
79
|
.btn-truncate();
|
|
80
80
|
border-radius: @button-border-radius-large;
|
|
81
81
|
display: inline-flex;
|
|
82
|
-
font-size:
|
|
82
|
+
font-size: var(--font-size-medium);
|
|
83
83
|
height: @button-height-large;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -87,7 +87,7 @@ a.cta-btn--large-truncated {
|
|
|
87
87
|
a.cta-btn--large-fixed-height {
|
|
88
88
|
border-radius: @button-border-radius-large;
|
|
89
89
|
display: inline-flex;
|
|
90
|
-
font-size:
|
|
90
|
+
font-size: var(--font-size-medium);
|
|
91
91
|
height: @button-height-large;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
@import "../mixins/private/bubble-mixins.less";
|
|
4
4
|
|
|
5
5
|
.date-textbox {
|
|
6
|
-
// 343px - (2 *
|
|
6
|
+
// 343px - (2 * var(--spacing-200)) [not autmatically compiled by LESS]
|
|
7
7
|
--calendar-month-width: 311px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.date-textbox > .textbox + .textbox {
|
|
11
|
-
margin-left:
|
|
11
|
+
margin-left: var(--spacing-100);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.date-textbox__popover {
|
|
15
15
|
.background-color-token(calendar-background-color, color-background-primary);
|
|
16
|
-
border-radius:
|
|
16
|
+
border-radius: var(--spacing-200);
|
|
17
17
|
filter: var(--bubble-filter);
|
|
18
|
-
margin-left:
|
|
19
|
-
padding:
|
|
18
|
+
margin-left: calc(var(--spacing-100) * -1);
|
|
19
|
+
padding: var(--spacing-200);
|
|
20
20
|
position: absolute;
|
|
21
21
|
z-index: 1;
|
|
22
22
|
}
|
|
@@ -31,12 +31,12 @@ summary.details__summary--center {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
summary.details__summary--small {
|
|
34
|
-
font-size:
|
|
34
|
+
font-size: var(--font-size-small);
|
|
35
35
|
padding: 4px 8px;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
span.details__icon {
|
|
39
|
-
margin-
|
|
39
|
+
margin-inline-start: 8px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// progressive enhancement - override hidden SVG
|
|
@@ -44,11 +44,6 @@ span.details__icon[hidden] {
|
|
|
44
44
|
display: inline-block;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
[dir="rtl"] span.details__icon {
|
|
48
|
-
margin-left: 0;
|
|
49
|
-
margin-right: 8px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
47
|
details.details[open] {
|
|
53
48
|
span.details__icon {
|
|
54
49
|
transform: rotate(180deg);
|
|
@@ -40,7 +40,7 @@ div.field--table {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.field__description--group > :last-child {
|
|
43
|
-
margin-
|
|
43
|
+
margin-inline-start: 5px;
|
|
44
44
|
text-align: right;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -56,9 +56,9 @@ div.field--table {
|
|
|
56
56
|
|
|
57
57
|
.field__description {
|
|
58
58
|
.color-token(field-description-color, color-foreground-secondary);
|
|
59
|
-
font-size:
|
|
60
|
-
line-height:
|
|
61
|
-
margin-top:
|
|
59
|
+
font-size: var(--font-size-small);
|
|
60
|
+
line-height: var(--spacing-200);
|
|
61
|
+
margin-top: var(--spacing-50);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.field__description--confirmation {
|
|
@@ -167,7 +167,6 @@ div.field__description {
|
|
|
167
167
|
|
|
168
168
|
[dir="rtl"] {
|
|
169
169
|
.field__description--group > :last-child {
|
|
170
|
-
margin-right: 5px;
|
|
171
170
|
text-align: left;
|
|
172
171
|
}
|
|
173
172
|
}
|
|
@@ -38,7 +38,7 @@ button.filter-menu-button__button {
|
|
|
38
38
|
svg.icon--chevron-down-12 {
|
|
39
39
|
align-self: center;
|
|
40
40
|
.color-token(filter-menu-button-icon-color, color-foreground-primary);
|
|
41
|
-
margin-
|
|
41
|
+
margin-inline-start: 8px;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -252,11 +252,6 @@ div.filter-menu-button__item[role^="menuitem"]:focus:not(:focus-visible) {
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
[dir="rtl"] {
|
|
255
|
-
.filter-menu-button__button-cell .icon--chevron-down-12 {
|
|
256
|
-
margin-left: 0;
|
|
257
|
-
margin-right: 8px;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
255
|
.filter-menu-button__checkbox {
|
|
261
256
|
margin-left: 8px;
|
|
262
257
|
}
|
|
@@ -5,7 +5,7 @@ body {
|
|
|
5
5
|
.background-color-token(color-background-primary);
|
|
6
6
|
.color-token(color-foreground-primary);
|
|
7
7
|
font-family: @font-family-default;
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: var(--font-size-default);
|
|
9
9
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
10
10
|
-webkit-text-size-adjust: 100%;
|
|
11
11
|
}
|
|
@@ -16,7 +16,7 @@ fieldset {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
legend {
|
|
19
|
-
margin-bottom:
|
|
19
|
+
margin-bottom: var(--spacing-100);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
a {
|
|
@@ -51,6 +51,34 @@ svg.icon--ai-filled-24 {
|
|
|
51
51
|
height: 24px;
|
|
52
52
|
width: 24px;
|
|
53
53
|
}
|
|
54
|
+
svg.icon--ai-spectrum-16-colored {
|
|
55
|
+
height: 16px;
|
|
56
|
+
width: 16px;
|
|
57
|
+
}
|
|
58
|
+
svg.icon--ai-spectrum-20-colored {
|
|
59
|
+
height: 20px;
|
|
60
|
+
width: 20px;
|
|
61
|
+
}
|
|
62
|
+
svg.icon--ai-spectrum-24-colored {
|
|
63
|
+
height: 24px;
|
|
64
|
+
width: 24px;
|
|
65
|
+
}
|
|
66
|
+
svg.icon--ai-spectrum-filled-16-colored {
|
|
67
|
+
height: 16px;
|
|
68
|
+
width: 16px;
|
|
69
|
+
}
|
|
70
|
+
svg.icon--ai-spectrum-filled-20-colored {
|
|
71
|
+
height: 20px;
|
|
72
|
+
width: 20px;
|
|
73
|
+
}
|
|
74
|
+
svg.icon--ai-spectrum-filled-24-colored {
|
|
75
|
+
height: 24px;
|
|
76
|
+
width: 24px;
|
|
77
|
+
}
|
|
78
|
+
svg.icon--ai-spectrum-thin-16-colored {
|
|
79
|
+
height: 16px;
|
|
80
|
+
width: 16px;
|
|
81
|
+
}
|
|
54
82
|
svg.icon--ai-thin-16 {
|
|
55
83
|
height: 16px;
|
|
56
84
|
width: 16px;
|
|
@@ -16,7 +16,7 @@ span.infotip {
|
|
|
16
16
|
.color-token(infotip-foreground-color, color-foreground-primary);
|
|
17
17
|
display: none;
|
|
18
18
|
left: 0 - 6px;
|
|
19
|
-
margin-top:
|
|
19
|
+
margin-top: var(--spacing-200);
|
|
20
20
|
position: absolute;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -97,7 +97,7 @@ span.infotip__mask {
|
|
|
97
97
|
.infotip__heading {
|
|
98
98
|
font-size: 1em;
|
|
99
99
|
font-weight: bold;
|
|
100
|
-
margin: 0 0
|
|
100
|
+
margin: 0 0 var(--spacing-50);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
span.infotip__heading {
|
|
@@ -121,7 +121,7 @@ span.infotip__heading {
|
|
|
121
121
|
|
|
122
122
|
button.infotip__close,
|
|
123
123
|
.infotip__close {
|
|
124
|
-
margin-left:
|
|
124
|
+
margin-left: var(--spacing-200);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@media (min-width: @_screen-size-SM) {
|
|
@@ -105,3 +105,29 @@ export const paragraphExpanded = () => `
|
|
|
105
105
|
</span>
|
|
106
106
|
</span>
|
|
107
107
|
</p>`;
|
|
108
|
+
|
|
109
|
+
export const infotipModal = () => `
|
|
110
|
+
<span class="infotip infotip--modal">
|
|
111
|
+
<button class="icon-btn icon-btn--transparent dialog-button" type="button" data-makeup-for="lightbox-dialog-mini-infotip-0" aria-expanded="true" aria-label="Help">
|
|
112
|
+
<svg class="icon icon--information-16" focusable="false" width="16" height="16" aria-hidden="true">
|
|
113
|
+
<use href="#icon-information-16"></use>
|
|
114
|
+
</svg>
|
|
115
|
+
</button>
|
|
116
|
+
</span>
|
|
117
|
+
<div aria-labelledby="mini-dialog-title" aria-modal="true" class="lightbox-dialog" role="dialog">
|
|
118
|
+
<div class="lightbox-dialog__window">
|
|
119
|
+
<button class="lightbox-dialog__handle" type="button"></button>
|
|
120
|
+
<div class="lightbox-dialog__header">
|
|
121
|
+
<h2>Info</h2>
|
|
122
|
+
<button aria-label="Close dialog" class="icon-btn lightbox-dialog__close" type="button">
|
|
123
|
+
<svg aria-hidden="true" class="icon icon--close-16" focusable="false" height="16" width="16">
|
|
124
|
+
<use href="#icon-close-16"></use>
|
|
125
|
+
</svg>
|
|
126
|
+
</button>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="lightbox-dialog__main" id="mini-dialog-title">
|
|
129
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
`;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import "../mixins/private/token-mixins.less";
|
|
3
3
|
|
|
4
4
|
.inline-notice {
|
|
5
|
-
margin:
|
|
5
|
+
margin: var(--spacing-100) 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
div.inline-notice {
|
|
@@ -15,8 +15,8 @@ span.inline-notice {
|
|
|
15
15
|
|
|
16
16
|
.inline-notice__header {
|
|
17
17
|
display: flex;
|
|
18
|
-
margin-
|
|
19
|
-
margin-top:
|
|
18
|
+
margin-inline-end: var(--spacing-100);
|
|
19
|
+
margin-top: var(--spacing-50);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.inline-notice p {
|
|
@@ -27,9 +27,3 @@ span.inline-notice {
|
|
|
27
27
|
.inline-notice button.fake-link {
|
|
28
28
|
.color-token(color-foreground-primary);
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
[dir="rtl"] {
|
|
32
|
-
.inline-notice__header .icon.icon--confirmation-filled-16 {
|
|
33
|
-
margin-left: @spacing-100;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -92,7 +92,7 @@ label.legacy-floating-label__label {
|
|
|
92
92
|
|
|
93
93
|
label.legacy-floating-label__label--inline {
|
|
94
94
|
bottom: 0.4375rem; // a11y: the position must be relative to the text size
|
|
95
|
-
font-size:
|
|
95
|
+
font-size: var(--font-size-default);
|
|
96
96
|
transform: none;
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.lightbox-dialog--expressive .lightbox-dialog__window {
|
|
44
|
-
padding-bottom:
|
|
44
|
+
padding-bottom: var(--spacing-100);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.lightbox-dialog--expressive .lightbox-dialog__header > * {
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.lightbox-dialog--expressive .lightbox-dialog__header {
|
|
52
|
-
margin:
|
|
52
|
+
margin: var(--spacing-300) var(--spacing-300) 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.lightbox-dialog--expressive .lightbox-dialog__main,
|
|
56
56
|
.lightbox-dialog--expressive .lightbox-dialog__footer {
|
|
57
|
-
padding:
|
|
57
|
+
padding: var(--spacing-200) var(--spacing-300);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// inherits from .icon-btn
|
|
@@ -71,7 +71,7 @@ button.icon-btn.lightbox-dialog__close {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
button.icon-btn.lightbox-dialog__prev {
|
|
74
|
-
margin-
|
|
74
|
+
margin-inline-end: var(--spacing-200);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev,
|
|
@@ -86,7 +86,7 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
86
86
|
|
|
87
87
|
.lightbox-dialog__title {
|
|
88
88
|
&:not(:first-child) {
|
|
89
|
-
margin-left:
|
|
89
|
+
margin-left: var(--spacing-200);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -185,10 +185,6 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
[dir="rtl"] {
|
|
188
|
-
button.icon-btn.lightbox-dialog__prev {
|
|
189
|
-
margin-left: 16px;
|
|
190
|
-
margin-right: 0;
|
|
191
|
-
}
|
|
192
188
|
button.icon-btn.lightbox-dialog__prev .icon--chevron-left-16 {
|
|
193
189
|
transform: rotate(180deg);
|
|
194
190
|
}
|
|
@@ -198,7 +194,7 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
198
194
|
.lightbox-dialog__window {
|
|
199
195
|
.lightbox-dialog-window-large();
|
|
200
196
|
|
|
201
|
-
max-width: calc(88% -
|
|
197
|
+
max-width: calc(88% - var(--spacing-400));
|
|
202
198
|
}
|
|
203
199
|
|
|
204
200
|
.lightbox-dialog__handle {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@import "../mixins/public/utility-mixins.less";
|
|
6
6
|
|
|
7
7
|
div.listbox {
|
|
8
|
-
margin:
|
|
8
|
+
margin: var(--spacing-200) 0; // margin collapse sensible default
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
span.listbox {
|
|
@@ -43,12 +43,7 @@ span.listbox__value {
|
|
|
43
43
|
div.listbox__option svg.icon {
|
|
44
44
|
.listbox-option-status();
|
|
45
45
|
|
|
46
|
-
margin-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
[dir="rtl"] div.listbox__option svg.icon {
|
|
50
|
-
margin-left: 0;
|
|
51
|
-
margin-right: @spacing-100;
|
|
46
|
+
margin-inline-start: var(--spacing-100);
|
|
52
47
|
}
|
|
53
48
|
|
|
54
49
|
div.listbox__options[role="listbox"]:focus
|
|
@@ -100,7 +100,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox,
|
|
|
100
100
|
.listbox-button__option svg.icon {
|
|
101
101
|
.listbox-option-status();
|
|
102
102
|
|
|
103
|
-
margin-
|
|
103
|
+
margin-inline-start: var(--spacing-100);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
|
|
@@ -131,11 +131,6 @@ span.listbox-button__value {
|
|
|
131
131
|
|
|
132
132
|
// stylelint-disable no-descending-specificity
|
|
133
133
|
[dir="rtl"] {
|
|
134
|
-
.listbox-button__option svg.icon {
|
|
135
|
-
margin-left: 0;
|
|
136
|
-
margin-right: @spacing-100;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
134
|
.listbox-button .btn__label {
|
|
140
135
|
.color-token(listbox-button-label-color, color-foreground-secondary);
|
|
141
136
|
margin-left: 3px;
|
package/src/less/menu/menu.less
CHANGED
|
@@ -34,8 +34,8 @@ span.fake-menu__items {
|
|
|
34
34
|
.menu__item > svg.icon--tick-16:last-child,
|
|
35
35
|
.fake-menu__item > svg.icon--tick-16:last-child,
|
|
36
36
|
.menu__item .badge {
|
|
37
|
-
margin-left:
|
|
38
|
-
margin-right:
|
|
37
|
+
margin-left: var(--spacing-100);
|
|
38
|
+
margin-right: var(--spacing-100);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
a.fake-menu__item {
|
|
@@ -49,7 +49,7 @@ div.menu-button__item[role^="menuitem"] {
|
|
|
49
49
|
|
|
50
50
|
.menu-button__item svg.icon--tick-16:last-child,
|
|
51
51
|
.fake-menu-button__item svg.icon--tick-16:last-child {
|
|
52
|
-
margin-left:
|
|
52
|
+
margin-left: var(--spacing-100);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
// anchor tag specific
|
|
@@ -135,7 +135,7 @@ div.menu-button__item--badged[role^="menuitem"] {
|
|
|
135
135
|
a.fake-menu-button__item--badged .badge,
|
|
136
136
|
button.fake-menu-button__item--badged .badge,
|
|
137
137
|
div.menu-button__item--badged[role^="menuitem"] .badge {
|
|
138
|
-
margin-left:
|
|
138
|
+
margin-left: var(--spacing-50);
|
|
139
139
|
position: absolute;
|
|
140
140
|
top: 6px;
|
|
141
141
|
z-index: 1;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// creates basic layout
|
|
31
|
-
.bubble-cell(@tourtip-spacing:
|
|
31
|
+
.bubble-cell(@tourtip-spacing: var(--spacing-100) var(--spacing-200)) {
|
|
32
32
|
display: flex;
|
|
33
33
|
padding: @tourtip-spacing;
|
|
34
34
|
word-break: break-word;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
p:not(:first-of-type) {
|
|
45
|
-
margin-top:
|
|
45
|
+
margin-top: var(--spacing-50);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -51,8 +51,9 @@
|
|
|
51
51
|
background: none;
|
|
52
52
|
border: 0;
|
|
53
53
|
flex-shrink: 0;
|
|
54
|
-
height:
|
|
55
|
-
margin:
|
|
54
|
+
height: var(--spacing-400);
|
|
55
|
+
margin: calc(var(--spacing-100) * -1) calc(var(--spacing-100) * -1) 0
|
|
56
|
+
var(--spacing-100);
|
|
56
57
|
padding: 0;
|
|
57
58
|
white-space: nowrap;
|
|
58
59
|
width: 32px;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
.btn-large() {
|
|
39
39
|
border-radius: var(--btn-border-radius, calc(@button-height-large / 2));
|
|
40
|
-
font-size:
|
|
40
|
+
font-size: var(--font-size-medium);
|
|
41
41
|
min-height: @button-height-large;
|
|
42
42
|
padding: @button-padding-vertical-large @button-padding-horizontal;
|
|
43
43
|
}
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
align-self: center;
|
|
47
47
|
|
|
48
48
|
&:first-child {
|
|
49
|
-
margin-
|
|
49
|
+
margin-inline-end: 8px; // when icon is placed before button text
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&:last-child {
|
|
53
|
-
margin-
|
|
53
|
+
margin-inline-start: 8px; // when icon is placed after button text
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&:only-child {
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
.border-radius-token(lightbox-border-radius, border-radius-100);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.dialog-header-content(@top-margin:
|
|
58
|
+
.dialog-header-content(@top-margin: var(--spacing-200)) {
|
|
59
59
|
display: flex;
|
|
60
60
|
// Fix for Safari not honoring min-height
|
|
61
61
|
flex-shrink: 0;
|
|
62
|
-
margin: @top-margin
|
|
62
|
+
margin: @top-margin var(--spacing-200) 0;
|
|
63
63
|
position: relative;
|
|
64
64
|
|
|
65
65
|
h1,
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
& > :last-child:not(:only-child) {
|
|
80
|
-
margin-
|
|
80
|
+
margin-inline-start: var(--spacing-200);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.dialog-body-content() {
|
|
85
85
|
box-sizing: border-box;
|
|
86
86
|
flex: 1 1 auto;
|
|
87
|
-
padding:
|
|
87
|
+
padding: var(--spacing-200);
|
|
88
88
|
position: relative;
|
|
89
89
|
|
|
90
90
|
& > :first-child {
|
|
@@ -100,31 +100,31 @@
|
|
|
100
100
|
display: flex;
|
|
101
101
|
flex-direction: column;
|
|
102
102
|
justify-content: center;
|
|
103
|
-
padding:
|
|
103
|
+
padding: var(--spacing-200);
|
|
104
104
|
position: relative;
|
|
105
105
|
|
|
106
106
|
& > :not(:first-child) {
|
|
107
|
-
margin-top:
|
|
107
|
+
margin-top: var(--spacing-200);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// Unused, small and large are the same now
|
|
112
112
|
.dialog-header-content-large() {
|
|
113
|
-
margin:
|
|
113
|
+
margin: var(--spacing-200) var(--spacing-200) 0;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// Unused, small and large are the same now
|
|
117
117
|
.dialog-body-content-large() {
|
|
118
|
-
margin:
|
|
118
|
+
margin: var(--spacing-200);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.dialog-footer-content-large() {
|
|
122
122
|
flex-direction: row;
|
|
123
123
|
justify-content: flex-end;
|
|
124
|
-
padding: 0
|
|
124
|
+
padding: 0 var(--spacing-200) var(--spacing-200);
|
|
125
125
|
|
|
126
126
|
& > :not(:first-child) {
|
|
127
|
-
margin-left:
|
|
127
|
+
margin-left: var(--spacing-100);
|
|
128
128
|
margin-top: initial;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
flex: 0 1 auto;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
font-family: inherit;
|
|
11
|
-
font-size:
|
|
11
|
+
font-size: var(--font-size-default);
|
|
12
12
|
height: 32px;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
margin: 0;
|
|
15
15
|
max-width: 280px;
|
|
16
16
|
min-width: 56px;
|
|
17
|
-
padding: 0
|
|
17
|
+
padding: 0 var(--spacing-200);
|
|
18
18
|
text-align: center;
|
|
19
19
|
text-decoration: none;
|
|
20
20
|
vertical-align: bottom;
|