@ebay/skin 15.0.0-1 → 15.1.0-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/.github/PULL_REQUEST_TEMPLATE.md +1 -0
- package/_cdn/skin/v15.1.0-0/skin-default.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-full.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-headless.min.css +6 -0
- package/_cdn/skin/v15.1.0-0/skin-legacy.min.css +6 -0
- package/dist/combobox/combobox.css +6 -0
- package/dist/drawer-dialog/drawer-dialog.css +11 -5
- package/dist/filter-menu/filter-menu.css +54 -45
- package/dist/filter-menu-button/filter-menu-button.css +24 -0
- package/dist/floating-label/floating-label.css +12 -0
- package/dist/fullscreen-dialog/fullscreen-dialog.css +3 -0
- package/dist/inline-notice/inline-notice.css +1 -1
- package/dist/lightbox-dialog/lightbox-dialog.css +3 -0
- package/dist/listbox/listbox.css +6 -0
- package/dist/listbox-button/listbox-button.css +22 -0
- package/dist/menu/menu.css +2 -0
- package/dist/page-notice/page-notice.css +4 -1
- package/dist/panel-dialog/panel-dialog.css +3 -0
- package/dist/section-notice/section-notice.css +4 -1
- package/dist/tourtip/tourtip.css +28 -0
- package/package.json +21 -21
- package/src/less/drawer-dialog/drawer-dialog.less +10 -5
- package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +12 -174
- package/src/less/filter-menu/filter-menu.less +16 -52
- package/src/less/filter-menu/stories/filter-menu.stories.js +40 -0
- package/src/less/floating-label/floating-label.less +15 -0
- package/src/less/floating-label/stories/floating-label.stories.js +1 -1
- package/src/less/inline-notice/inline-notice.less +1 -1
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +23 -0
- package/src/less/listbox-button/listbox-button.less +20 -0
- package/src/less/listbox-button/stories/base.stories.js +48 -41
- package/src/less/listbox-button/stories/cascade.stories.js +21 -18
- package/src/less/listbox-button/stories/dimensions.stories.js +7 -6
- package/src/less/menu/menu.less +2 -0
- package/src/less/mixins/private/dialog-mixins.less +3 -0
- package/src/less/mixins/private/filter-menu-mixins.less +13 -0
- package/src/less/mixins/private/listbox-mixins.less +7 -0
- package/src/less/page-notice/page-notice.less +5 -1
- package/src/less/page-notice/stories/page-notice.stories.js +16 -0
- package/src/less/section-notice/section-notice.less +5 -1
- package/src/less/section-notice/stories/section-notice.stories.js +16 -0
- package/src/less/tourtip/stories/tourtip.stories.js +51 -0
- package/src/less/tourtip/tourtip.less +40 -0
- package/_cdn/skin/v15.0.0-1/skin-default.min.css +0 -6
- package/_cdn/skin/v15.0.0-1/skin-full.min.css +0 -6
- package/_cdn/skin/v15.0.0-1/skin-headless.min.css +0 -6
- package/_cdn/skin/v15.0.0-1/skin-legacy.min.css +0 -6
|
@@ -5,9 +5,10 @@ export const RTL = () => `
|
|
|
5
5
|
<span class="listbox-button">
|
|
6
6
|
<button class="btn btn--form" aria-expanded="true" aria-haspopup="listbox">
|
|
7
7
|
<span class="btn__cell">
|
|
8
|
-
<span class="
|
|
8
|
+
<span class="btn__label">Color: </span>
|
|
9
|
+
<span class="btn__text">Red</span>
|
|
9
10
|
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
|
|
10
|
-
<use
|
|
11
|
+
<use href="#icon-dropdown"></use>
|
|
11
12
|
</svg>
|
|
12
13
|
</span>
|
|
13
14
|
</button>
|
|
@@ -16,25 +17,25 @@ export const RTL = () => `
|
|
|
16
17
|
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
17
18
|
<span class="listbox-button__value">Red</span>
|
|
18
19
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
19
|
-
<use
|
|
20
|
+
<use href="#icon-tick-small"></use>
|
|
20
21
|
</svg>
|
|
21
22
|
</div>
|
|
22
23
|
<div class="listbox-button__option" role="option">
|
|
23
24
|
<span class="listbox-button__value">Blue</span>
|
|
24
25
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
25
|
-
<use
|
|
26
|
+
<use href="#icon-tick-small"></use>
|
|
26
27
|
</svg>
|
|
27
28
|
</div>
|
|
28
29
|
<div class="listbox-button__option" role="option">
|
|
29
30
|
<span class="listbox-button__value">Yellow</span>
|
|
30
31
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
31
|
-
<use
|
|
32
|
+
<use href="#icon-tick-small"></use>
|
|
32
33
|
</svg>
|
|
33
34
|
</div>
|
|
34
35
|
<div class="listbox-button__option" role="option">
|
|
35
36
|
<span class="listbox-button__value">Green</span>
|
|
36
37
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
37
|
-
<use
|
|
38
|
+
<use href="#icon-tick-small"></use>
|
|
38
39
|
</svg>
|
|
39
40
|
</div>
|
|
40
41
|
</div>
|
|
@@ -48,9 +49,10 @@ export const color = () => `
|
|
|
48
49
|
<span class="listbox-button">
|
|
49
50
|
<button class="btn btn--form" aria-expanded="true" aria-haspopup="listbox">
|
|
50
51
|
<span class="btn__cell">
|
|
51
|
-
<span class="
|
|
52
|
+
<span class="btn__label">Color: </span>
|
|
53
|
+
<span class="btn__text">Red</span>
|
|
52
54
|
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
|
|
53
|
-
<use
|
|
55
|
+
<use href="#icon-dropdown"></use>
|
|
54
56
|
</svg>
|
|
55
57
|
</span>
|
|
56
58
|
</button>
|
|
@@ -59,25 +61,25 @@ export const color = () => `
|
|
|
59
61
|
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
60
62
|
<span class="listbox-button__value">Red</span>
|
|
61
63
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
62
|
-
<use
|
|
64
|
+
<use href="#icon-tick-small"></use>
|
|
63
65
|
</svg>
|
|
64
66
|
</div>
|
|
65
67
|
<div class="listbox-button__option" role="option">
|
|
66
68
|
<span class="listbox-button__value">Blue</span>
|
|
67
69
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
68
|
-
<use
|
|
70
|
+
<use href="#icon-tick-small"></use>
|
|
69
71
|
</svg>
|
|
70
72
|
</div>
|
|
71
73
|
<div class="listbox-button__option" role="option">
|
|
72
74
|
<span class="listbox-button__value">Yellow</span>
|
|
73
75
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
74
|
-
<use
|
|
76
|
+
<use href="#icon-tick-small"></use>
|
|
75
77
|
</svg>
|
|
76
78
|
</div>
|
|
77
79
|
<div class="listbox-button__option" role="option">
|
|
78
80
|
<span class="listbox-button__value">Green</span>
|
|
79
81
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
80
|
-
<use
|
|
82
|
+
<use href="#icon-tick-small"></use>
|
|
81
83
|
</svg>
|
|
82
84
|
</div>
|
|
83
85
|
</div>
|
|
@@ -91,9 +93,10 @@ export const fontSize = () => `
|
|
|
91
93
|
<span class="listbox-button">
|
|
92
94
|
<button class="btn btn--form" aria-expanded="true" aria-haspopup="listbox">
|
|
93
95
|
<span class="btn__cell">
|
|
94
|
-
<span class="
|
|
96
|
+
<span class="btn__label">Color: </span>
|
|
97
|
+
<span class="btn__text">Red</span>
|
|
95
98
|
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
|
|
96
|
-
<use
|
|
99
|
+
<use href="#icon-dropdown"></use>
|
|
97
100
|
</svg>
|
|
98
101
|
</span>
|
|
99
102
|
</button>
|
|
@@ -102,25 +105,25 @@ export const fontSize = () => `
|
|
|
102
105
|
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
103
106
|
<span class="listbox-button__value">Red</span>
|
|
104
107
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
105
|
-
<use
|
|
108
|
+
<use href="#icon-tick-small"></use>
|
|
106
109
|
</svg>
|
|
107
110
|
</div>
|
|
108
111
|
<div class="listbox-button__option" role="option">
|
|
109
112
|
<span class="listbox-button__value">Blue</span>
|
|
110
113
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
111
|
-
<use
|
|
114
|
+
<use href="#icon-tick-small"></use>
|
|
112
115
|
</svg>
|
|
113
116
|
</div>
|
|
114
117
|
<div class="listbox-button__option" role="option">
|
|
115
118
|
<span class="listbox-button__value">Yellow</span>
|
|
116
119
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
117
|
-
<use
|
|
120
|
+
<use href="#icon-tick-small"></use>
|
|
118
121
|
</svg>
|
|
119
122
|
</div>
|
|
120
123
|
<div class="listbox-button__option" role="option">
|
|
121
124
|
<span class="listbox-button__value">Green</span>
|
|
122
125
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
123
|
-
<use
|
|
126
|
+
<use href="#icon-tick-small"></use>
|
|
124
127
|
</svg>
|
|
125
128
|
</div>
|
|
126
129
|
</div>
|
|
@@ -4,9 +4,10 @@ export const fluid = () => `
|
|
|
4
4
|
<span class="listbox-button listbox-button--fluid">
|
|
5
5
|
<button class="btn btn--form" aria-expanded="true" aria-haspopup="listbox">
|
|
6
6
|
<span class="btn__cell">
|
|
7
|
-
|
|
7
|
+
<span class="btn__label">Color: </span>
|
|
8
|
+
<span class="btn__text">Red</span>
|
|
8
9
|
<svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
|
|
9
|
-
<use
|
|
10
|
+
<use href="#icon-dropdown"></use>
|
|
10
11
|
</svg>
|
|
11
12
|
</span>
|
|
12
13
|
</button>
|
|
@@ -15,25 +16,25 @@ export const fluid = () => `
|
|
|
15
16
|
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
16
17
|
<span class="listbox-button__value">Red</span>
|
|
17
18
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
18
|
-
<use
|
|
19
|
+
<use href="#icon-tick-small"></use>
|
|
19
20
|
</svg>
|
|
20
21
|
</div>
|
|
21
22
|
<div class="listbox-button__option" role="option">
|
|
22
23
|
<span class="listbox-button__value">Blue</span>
|
|
23
24
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
24
|
-
<use
|
|
25
|
+
<use href="#icon-tick-small"></use>
|
|
25
26
|
</svg>
|
|
26
27
|
</div>
|
|
27
28
|
<div class="listbox-button__option" role="option">
|
|
28
29
|
<span class="listbox-button__value">Yellow</span>
|
|
29
30
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
30
|
-
<use
|
|
31
|
+
<use href="#icon-tick-small"></use>
|
|
31
32
|
</svg>
|
|
32
33
|
</div>
|
|
33
34
|
<div class="listbox-button__option" role="option">
|
|
34
35
|
<span class="listbox-button__value">Green</span>
|
|
35
36
|
<svg class="icon icon--tick-small" focusable="false" height="8" width="8">
|
|
36
|
-
<use
|
|
37
|
+
<use href="#icon-tick-small"></use>
|
|
37
38
|
</svg>
|
|
38
39
|
</div>
|
|
39
40
|
</div>
|
package/src/less/menu/menu.less
CHANGED
|
@@ -66,6 +66,8 @@ a.fake-menu__item:not([href]),
|
|
|
66
66
|
button.fake-menu__item[disabled],
|
|
67
67
|
div.menu__item[role^="menuitem"][aria-disabled="true"] {
|
|
68
68
|
.color-token(menu-menuitem-disabled-foreground-color, color-foreground-disabled);
|
|
69
|
+
background-color: unset;
|
|
70
|
+
font-weight: unset;
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
div.menu__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-small {
|
|
@@ -12,4 +12,17 @@
|
|
|
12
12
|
&:hover {
|
|
13
13
|
background-color: var(--color-state-primary-hover, color-state-primary-hover);
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
&:disabled,
|
|
17
|
+
&[aria-disabled="true"] {
|
|
18
|
+
.color-token(filter-menu-item-foreground-color-disabled, color-foreground-disabled);
|
|
19
|
+
|
|
20
|
+
span > svg {
|
|
21
|
+
.color-token(filter-menu-item-icon-color-disabled, color-foreground-disabled);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
background-color: inherit;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
15
28
|
}
|
|
@@ -17,6 +17,13 @@
|
|
|
17
17
|
&:active {
|
|
18
18
|
font-weight: bold;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
&:disabled,
|
|
22
|
+
&[aria-disabled="true"] {
|
|
23
|
+
.color-token(listbox-option-disabled-foreground-color, color-foreground-disabled);
|
|
24
|
+
background-color: unset;
|
|
25
|
+
font-weight: unset;
|
|
26
|
+
}
|
|
20
27
|
}
|
|
21
28
|
|
|
22
29
|
.listbox-option-status() {
|
|
@@ -112,9 +112,13 @@ span[role="region"].page-notice {
|
|
|
112
112
|
text-align: right;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
/* support legacy 6.5 notice with heading + paragaphs */
|
|
116
115
|
.page-notice__main p {
|
|
117
116
|
font-size: @font-size-regular;
|
|
117
|
+
margin: 2px 0 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* support legacy 6.5 notice with heading + paragaphs */
|
|
121
|
+
.page-notice__main .page-notice__title ~ p {
|
|
118
122
|
margin: @spacing-50 0 0;
|
|
119
123
|
}
|
|
120
124
|
|
|
@@ -126,6 +126,22 @@ export const informationWithLink = () => `
|
|
|
126
126
|
</section>
|
|
127
127
|
`;
|
|
128
128
|
|
|
129
|
+
export const InformationWithParagraph = () => `
|
|
130
|
+
<section class="page-notice page-notice--information" role="region" aria-label="Information">
|
|
131
|
+
<div class="page-notice__header">
|
|
132
|
+
<svg class="icon icon--information-filled-small" focusable="false" height="16" width="16" role="img" aria-label="Information">
|
|
133
|
+
<use href="#icon-information-filled-small"></use>
|
|
134
|
+
</svg>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="page-notice__main">
|
|
137
|
+
<p>You have opted into eBay Pay</p>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="page-notice__footer">
|
|
140
|
+
<button class="fake-link">Dismiss</button>
|
|
141
|
+
</div>
|
|
142
|
+
</section>
|
|
143
|
+
`;
|
|
144
|
+
|
|
129
145
|
export const dismissableWithTitle = () => `
|
|
130
146
|
<section class="page-notice page-notice--information" role="region" aria-label="Information">
|
|
131
147
|
<div class="page-notice__header">
|
|
@@ -71,9 +71,13 @@ span[role="region"].section-notice {
|
|
|
71
71
|
width: auto;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
/* support legacy 6.5 notice with heading + paragaphs */
|
|
75
74
|
.section-notice__main p {
|
|
76
75
|
font-size: @font-size-regular;
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* support legacy 6.5 notice with heading + paragaphs */
|
|
80
|
+
.section-notice__main .section-notice__title ~ p {
|
|
77
81
|
margin: @spacing-50 0 0;
|
|
78
82
|
}
|
|
79
83
|
|
|
@@ -30,6 +30,22 @@ export const generalWithLink = () => `
|
|
|
30
30
|
</div>
|
|
31
31
|
`;
|
|
32
32
|
|
|
33
|
+
export const confirmationWithParagraph = () => `
|
|
34
|
+
<div class="section-notice section-notice--confirmation" role="region">
|
|
35
|
+
<div class="section-notice__header" role="region" aria-roledescription="Notice">
|
|
36
|
+
<svg aria-hidden="true" focusable="false" class="icon--confirmation-filled-small">
|
|
37
|
+
<use href="#icon-confirmation-filled-small"></use>
|
|
38
|
+
</svg>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="section-notice__main">
|
|
41
|
+
<p>Your price has been updated.</p>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="section-notice__footer">
|
|
44
|
+
<button class="fake-link">Dismiss</button>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
`;
|
|
48
|
+
|
|
33
49
|
export const confirmationWithButton = () => `
|
|
34
50
|
<div class="section-notice section-notice--confirmation" role="region">
|
|
35
51
|
<div class="section-notice__header" role="region" aria-roledescription="Notice">
|
|
@@ -41,3 +41,54 @@ export const expanded = () => `
|
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
</div>`;
|
|
44
|
+
|
|
45
|
+
export const withActions = () => `
|
|
46
|
+
<div class="tourtip tourtip--expanded">
|
|
47
|
+
<p class="tourtip__host">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
48
|
+
<div class="tourtip__overlay" style="left: calc(50% - 200px); right: auto; top: calc(100% + 12px); bottom: auto" role="region" aria-labelledby="tourtip-label">
|
|
49
|
+
<span class="tourtip__pointer tourtip__pointer--top"></span>
|
|
50
|
+
<div class="tourtip__mask">
|
|
51
|
+
<div class="tourtip__cell">
|
|
52
|
+
<span class="tourtip__content">
|
|
53
|
+
<h2 class="tourtip__heading" id="tourtip-label">Tourtip</h2>
|
|
54
|
+
<p>Here's something new to help you be successful at your task.</p>
|
|
55
|
+
</span>
|
|
56
|
+
<button class="icon-btn tourtip__close" type="button" aria-label="Dismiss tourtip">
|
|
57
|
+
<svg class="icon icon--close" focusable="false" height="24" width="24" aria-hidden="true">
|
|
58
|
+
<use xlink:href="#icon-close"></use>
|
|
59
|
+
</svg>
|
|
60
|
+
</button>
|
|
61
|
+
<div class="tourtip__footer">
|
|
62
|
+
<span class="tourtip__index">1 / 3</span>
|
|
63
|
+
<button class="fake-link">Back</button>
|
|
64
|
+
<button class="btn btn--primary">Next</button>
|
|
65
|
+
</span>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>`;
|
|
70
|
+
|
|
71
|
+
export const withOneAction = () => `
|
|
72
|
+
<div class="tourtip tourtip--expanded">
|
|
73
|
+
<p class="tourtip__host">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
|
74
|
+
<div class="tourtip__overlay" style="left: calc(50% - 200px); right: auto; top: calc(100% + 12px); bottom: auto" role="region" aria-labelledby="tourtip-label">
|
|
75
|
+
<span class="tourtip__pointer tourtip__pointer--top"></span>
|
|
76
|
+
<div class="tourtip__mask">
|
|
77
|
+
<div class="tourtip__cell">
|
|
78
|
+
<span class="tourtip__content">
|
|
79
|
+
<h2 class="tourtip__heading" id="tourtip-label">Tourtip</h2>
|
|
80
|
+
<p>Here's something new to help you be successful at your task.</p>
|
|
81
|
+
</span>
|
|
82
|
+
<button class="icon-btn tourtip__close" type="button" aria-label="Dismiss tourtip">
|
|
83
|
+
<svg class="icon icon--close" focusable="false" height="24" width="24" aria-hidden="true">
|
|
84
|
+
<use xlink:href="#icon-close"></use>
|
|
85
|
+
</svg>
|
|
86
|
+
</button>
|
|
87
|
+
<div class="tourtip__footer">
|
|
88
|
+
<span class="tourtip__index">2 / 3</span>
|
|
89
|
+
<button class="btn btn--primary">Next</button>
|
|
90
|
+
</span>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>`;
|
|
@@ -30,6 +30,8 @@ span.tourtip__mask {
|
|
|
30
30
|
.tourtip__cell {
|
|
31
31
|
.bubble-cell();
|
|
32
32
|
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
|
|
33
35
|
a {
|
|
34
36
|
.color-token(tourtip-foreground-color, color-foreground-primary);
|
|
35
37
|
|
|
@@ -41,10 +43,14 @@ span.tourtip__mask {
|
|
|
41
43
|
|
|
42
44
|
.tourtip__content {
|
|
43
45
|
.bubble-content();
|
|
46
|
+
|
|
47
|
+
flex-basis: 0;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
button.tourtip__close {
|
|
47
51
|
.bubble-close();
|
|
52
|
+
|
|
53
|
+
outline-offset: -2px;
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
button.tourtip__close > svg {
|
|
@@ -121,6 +127,40 @@ span.tourtip__heading {
|
|
|
121
127
|
display: block;
|
|
122
128
|
}
|
|
123
129
|
|
|
130
|
+
.tourtip__footer {
|
|
131
|
+
align-items: center;
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: end;
|
|
134
|
+
margin-top: 16px;
|
|
135
|
+
width: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.tourtip__footer > button:not(:last-child),
|
|
139
|
+
.tourtip__footer > a:not(:last-child) {
|
|
140
|
+
margin-right: 8px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// stylelint-disable no-descending-specificity
|
|
144
|
+
// TODO need to remove this once we update fake-links/links to allow no underline and black text
|
|
145
|
+
.tourtip__footer > .fake-link,
|
|
146
|
+
.tourtip__footer > a {
|
|
147
|
+
color: var(--color-foreground-primary);
|
|
148
|
+
|
|
149
|
+
text-decoration: none;
|
|
150
|
+
|
|
151
|
+
&:hover:not(:disabled) {
|
|
152
|
+
color: var(--color-foreground-primary);
|
|
153
|
+
|
|
154
|
+
text-decoration: underline;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
// stylelint-enable no-descending-specificity
|
|
158
|
+
|
|
159
|
+
.tourtip__index {
|
|
160
|
+
.color-token(tourtip-index-color, color-foreground-secondary);
|
|
161
|
+
flex: 1;
|
|
162
|
+
}
|
|
163
|
+
|
|
124
164
|
@media (min-width: 601px) {
|
|
125
165
|
.tourtip__overlay {
|
|
126
166
|
.bubble-large-screen();
|