@carbon/styles 1.77.0-rc.0 → 1.77.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/css/styles.css +135 -215
- package/css/styles.min.css +1 -1
- package/package.json +7 -7
- package/scss/__tests__/__snapshots__/config-test.js.snap +1 -1
- package/scss/__tests__/__snapshots__/type-test.js.snap +1464 -4539
- package/scss/__tests__/type-test.js +2 -2
- package/scss/_config.scss +3 -3
- package/scss/_feature-flags.scss +1 -0
- package/scss/components/_index.scss +1 -0
- package/scss/components/dialog/_dialog.scss +1 -12
- package/scss/components/menu/_menu.scss +56 -8
- package/scss/components/menu-button/_menu-button.scss +0 -15
- package/scss/components/modal/_modal.scss +49 -25
package/css/styles.css
CHANGED
|
@@ -1,198 +1,4 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
:root {
|
|
3
|
-
--cds-caption-01-font-size: 0.75rem;
|
|
4
|
-
--cds-caption-01-font-weight: 400;
|
|
5
|
-
--cds-caption-01-line-height: 1.33333;
|
|
6
|
-
--cds-caption-01-letter-spacing: 0.32px;
|
|
7
|
-
--cds-caption-02-font-size: 0.875rem;
|
|
8
|
-
--cds-caption-02-font-weight: 400;
|
|
9
|
-
--cds-caption-02-line-height: 1.28572;
|
|
10
|
-
--cds-caption-02-letter-spacing: 0.32px;
|
|
11
|
-
--cds-label-01-font-size: 0.75rem;
|
|
12
|
-
--cds-label-01-font-weight: 400;
|
|
13
|
-
--cds-label-01-line-height: 1.33333;
|
|
14
|
-
--cds-label-01-letter-spacing: 0.32px;
|
|
15
|
-
--cds-label-02-font-size: 0.875rem;
|
|
16
|
-
--cds-label-02-font-weight: 400;
|
|
17
|
-
--cds-label-02-line-height: 1.28572;
|
|
18
|
-
--cds-label-02-letter-spacing: 0.16px;
|
|
19
|
-
--cds-helper-text-01-font-size: 0.75rem;
|
|
20
|
-
--cds-helper-text-01-line-height: 1.33333;
|
|
21
|
-
--cds-helper-text-01-letter-spacing: 0.32px;
|
|
22
|
-
--cds-helper-text-02-font-size: 0.875rem;
|
|
23
|
-
--cds-helper-text-02-font-weight: 400;
|
|
24
|
-
--cds-helper-text-02-line-height: 1.28572;
|
|
25
|
-
--cds-helper-text-02-letter-spacing: 0.16px;
|
|
26
|
-
--cds-body-short-01-font-size: 0.875rem;
|
|
27
|
-
--cds-body-short-01-font-weight: 400;
|
|
28
|
-
--cds-body-short-01-line-height: 1.28572;
|
|
29
|
-
--cds-body-short-01-letter-spacing: 0.16px;
|
|
30
|
-
--cds-body-short-02-font-size: 1rem;
|
|
31
|
-
--cds-body-short-02-font-weight: 400;
|
|
32
|
-
--cds-body-short-02-line-height: 1.375;
|
|
33
|
-
--cds-body-short-02-letter-spacing: 0;
|
|
34
|
-
--cds-body-long-01-font-size: 0.875rem;
|
|
35
|
-
--cds-body-long-01-font-weight: 400;
|
|
36
|
-
--cds-body-long-01-line-height: 1.42857;
|
|
37
|
-
--cds-body-long-01-letter-spacing: 0.16px;
|
|
38
|
-
--cds-body-long-02-font-size: 1rem;
|
|
39
|
-
--cds-body-long-02-font-weight: 400;
|
|
40
|
-
--cds-body-long-02-line-height: 1.5;
|
|
41
|
-
--cds-body-long-02-letter-spacing: 0;
|
|
42
|
-
--cds-code-01-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;
|
|
43
|
-
--cds-code-01-font-size: 0.75rem;
|
|
44
|
-
--cds-code-01-font-weight: 400;
|
|
45
|
-
--cds-code-01-line-height: 1.33333;
|
|
46
|
-
--cds-code-01-letter-spacing: 0.32px;
|
|
47
|
-
--cds-code-02-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;
|
|
48
|
-
--cds-code-02-font-size: 0.875rem;
|
|
49
|
-
--cds-code-02-font-weight: 400;
|
|
50
|
-
--cds-code-02-line-height: 1.42857;
|
|
51
|
-
--cds-code-02-letter-spacing: 0.32px;
|
|
52
|
-
--cds-heading-01-font-size: 0.875rem;
|
|
53
|
-
--cds-heading-01-font-weight: 600;
|
|
54
|
-
--cds-heading-01-line-height: 1.42857;
|
|
55
|
-
--cds-heading-01-letter-spacing: 0.16px;
|
|
56
|
-
--cds-heading-02-font-size: 1rem;
|
|
57
|
-
--cds-heading-02-font-weight: 600;
|
|
58
|
-
--cds-heading-02-line-height: 1.5;
|
|
59
|
-
--cds-heading-02-letter-spacing: 0;
|
|
60
|
-
--cds-productive-heading-01-font-size: 0.875rem;
|
|
61
|
-
--cds-productive-heading-01-font-weight: 600;
|
|
62
|
-
--cds-productive-heading-01-line-height: 1.28572;
|
|
63
|
-
--cds-productive-heading-01-letter-spacing: 0.16px;
|
|
64
|
-
--cds-productive-heading-02-font-size: 1rem;
|
|
65
|
-
--cds-productive-heading-02-font-weight: 600;
|
|
66
|
-
--cds-productive-heading-02-line-height: 1.375;
|
|
67
|
-
--cds-productive-heading-02-letter-spacing: 0;
|
|
68
|
-
--cds-productive-heading-03-font-size: 1.25rem;
|
|
69
|
-
--cds-productive-heading-03-font-weight: 400;
|
|
70
|
-
--cds-productive-heading-03-line-height: 1.4;
|
|
71
|
-
--cds-productive-heading-03-letter-spacing: 0;
|
|
72
|
-
--cds-productive-heading-04-font-size: 1.75rem;
|
|
73
|
-
--cds-productive-heading-04-font-weight: 400;
|
|
74
|
-
--cds-productive-heading-04-line-height: 1.28572;
|
|
75
|
-
--cds-productive-heading-04-letter-spacing: 0;
|
|
76
|
-
--cds-productive-heading-05-font-size: 2rem;
|
|
77
|
-
--cds-productive-heading-05-font-weight: 400;
|
|
78
|
-
--cds-productive-heading-05-line-height: 1.25;
|
|
79
|
-
--cds-productive-heading-05-letter-spacing: 0;
|
|
80
|
-
--cds-productive-heading-06-font-size: 2.625rem;
|
|
81
|
-
--cds-productive-heading-06-font-weight: 300;
|
|
82
|
-
--cds-productive-heading-06-line-height: 1.199;
|
|
83
|
-
--cds-productive-heading-06-letter-spacing: 0;
|
|
84
|
-
--cds-productive-heading-07-font-size: 3.375rem;
|
|
85
|
-
--cds-productive-heading-07-font-weight: 300;
|
|
86
|
-
--cds-productive-heading-07-line-height: 1.19;
|
|
87
|
-
--cds-productive-heading-07-letter-spacing: 0;
|
|
88
|
-
--cds-expressive-paragraph-01-font-size: 1.5rem;
|
|
89
|
-
--cds-expressive-paragraph-01-font-weight: 300;
|
|
90
|
-
--cds-expressive-paragraph-01-line-height: 1.334;
|
|
91
|
-
--cds-expressive-paragraph-01-letter-spacing: 0;
|
|
92
|
-
--cds-expressive-heading-01-font-size: 0.875rem;
|
|
93
|
-
--cds-expressive-heading-01-font-weight: 600;
|
|
94
|
-
--cds-expressive-heading-01-line-height: 1.42857;
|
|
95
|
-
--cds-expressive-heading-01-letter-spacing: 0.16px;
|
|
96
|
-
--cds-expressive-heading-02-font-size: 1rem;
|
|
97
|
-
--cds-expressive-heading-02-font-weight: 600;
|
|
98
|
-
--cds-expressive-heading-02-line-height: 1.5;
|
|
99
|
-
--cds-expressive-heading-02-letter-spacing: 0;
|
|
100
|
-
--cds-expressive-heading-03-font-size: 1.25rem;
|
|
101
|
-
--cds-expressive-heading-03-font-weight: 400;
|
|
102
|
-
--cds-expressive-heading-03-line-height: 1.4;
|
|
103
|
-
--cds-expressive-heading-03-letter-spacing: 0;
|
|
104
|
-
--cds-expressive-heading-04-font-size: 1.75rem;
|
|
105
|
-
--cds-expressive-heading-04-font-weight: 400;
|
|
106
|
-
--cds-expressive-heading-04-line-height: 1.28572;
|
|
107
|
-
--cds-expressive-heading-04-letter-spacing: 0;
|
|
108
|
-
--cds-expressive-heading-05-font-size: 2rem;
|
|
109
|
-
--cds-expressive-heading-05-font-weight: 400;
|
|
110
|
-
--cds-expressive-heading-05-line-height: 1.25;
|
|
111
|
-
--cds-expressive-heading-05-letter-spacing: 0;
|
|
112
|
-
--cds-expressive-heading-06-font-size: 2rem;
|
|
113
|
-
--cds-expressive-heading-06-font-weight: 600;
|
|
114
|
-
--cds-expressive-heading-06-line-height: 1.25;
|
|
115
|
-
--cds-expressive-heading-06-letter-spacing: 0;
|
|
116
|
-
--cds-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;
|
|
117
|
-
--cds-quotation-01-font-size: 1.25rem;
|
|
118
|
-
--cds-quotation-01-font-weight: 400;
|
|
119
|
-
--cds-quotation-01-line-height: 1.3;
|
|
120
|
-
--cds-quotation-01-letter-spacing: 0;
|
|
121
|
-
--cds-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;
|
|
122
|
-
--cds-quotation-02-font-size: 2rem;
|
|
123
|
-
--cds-quotation-02-font-weight: 300;
|
|
124
|
-
--cds-quotation-02-line-height: 1.25;
|
|
125
|
-
--cds-quotation-02-letter-spacing: 0;
|
|
126
|
-
--cds-display-01-font-size: 2.625rem;
|
|
127
|
-
--cds-display-01-font-weight: 300;
|
|
128
|
-
--cds-display-01-line-height: 1.19;
|
|
129
|
-
--cds-display-01-letter-spacing: 0;
|
|
130
|
-
--cds-display-02-font-size: 2.625rem;
|
|
131
|
-
--cds-display-02-font-weight: 600;
|
|
132
|
-
--cds-display-02-line-height: 1.19;
|
|
133
|
-
--cds-display-02-letter-spacing: 0;
|
|
134
|
-
--cds-display-03-font-size: 2.625rem;
|
|
135
|
-
--cds-display-03-font-weight: 300;
|
|
136
|
-
--cds-display-03-line-height: 1.19;
|
|
137
|
-
--cds-display-03-letter-spacing: 0;
|
|
138
|
-
--cds-display-04-font-size: 2.625rem;
|
|
139
|
-
--cds-display-04-font-weight: 300;
|
|
140
|
-
--cds-display-04-line-height: 1.19;
|
|
141
|
-
--cds-display-04-letter-spacing: 0;
|
|
142
|
-
--cds-legal-01-font-size: 0.75rem;
|
|
143
|
-
--cds-legal-01-font-weight: 400;
|
|
144
|
-
--cds-legal-01-line-height: 1.33333;
|
|
145
|
-
--cds-legal-01-letter-spacing: 0.32px;
|
|
146
|
-
--cds-legal-02-font-size: 0.875rem;
|
|
147
|
-
--cds-legal-02-font-weight: 400;
|
|
148
|
-
--cds-legal-02-line-height: 1.28572;
|
|
149
|
-
--cds-legal-02-letter-spacing: 0.16px;
|
|
150
|
-
--cds-body-compact-01-font-size: 0.875rem;
|
|
151
|
-
--cds-body-compact-01-font-weight: 400;
|
|
152
|
-
--cds-body-compact-01-line-height: 1.28572;
|
|
153
|
-
--cds-body-compact-01-letter-spacing: 0.16px;
|
|
154
|
-
--cds-body-compact-02-font-size: 1rem;
|
|
155
|
-
--cds-body-compact-02-font-weight: 400;
|
|
156
|
-
--cds-body-compact-02-line-height: 1.375;
|
|
157
|
-
--cds-body-compact-02-letter-spacing: 0;
|
|
158
|
-
--cds-heading-compact-01-font-size: 0.875rem;
|
|
159
|
-
--cds-heading-compact-01-font-weight: 600;
|
|
160
|
-
--cds-heading-compact-01-line-height: 1.28572;
|
|
161
|
-
--cds-heading-compact-01-letter-spacing: 0.16px;
|
|
162
|
-
--cds-heading-compact-02-font-size: 1rem;
|
|
163
|
-
--cds-heading-compact-02-font-weight: 600;
|
|
164
|
-
--cds-heading-compact-02-line-height: 1.375;
|
|
165
|
-
--cds-heading-compact-02-letter-spacing: 0;
|
|
166
|
-
--cds-body-01-font-size: 0.875rem;
|
|
167
|
-
--cds-body-01-font-weight: 400;
|
|
168
|
-
--cds-body-01-line-height: 1.42857;
|
|
169
|
-
--cds-body-01-letter-spacing: 0.16px;
|
|
170
|
-
--cds-body-02-font-size: 1rem;
|
|
171
|
-
--cds-body-02-font-weight: 400;
|
|
172
|
-
--cds-body-02-line-height: 1.5;
|
|
173
|
-
--cds-body-02-letter-spacing: 0;
|
|
174
|
-
--cds-heading-03-font-size: 1.25rem;
|
|
175
|
-
--cds-heading-03-font-weight: 400;
|
|
176
|
-
--cds-heading-03-line-height: 1.4;
|
|
177
|
-
--cds-heading-03-letter-spacing: 0;
|
|
178
|
-
--cds-heading-04-font-size: 1.75rem;
|
|
179
|
-
--cds-heading-04-font-weight: 400;
|
|
180
|
-
--cds-heading-04-line-height: 1.28572;
|
|
181
|
-
--cds-heading-04-letter-spacing: 0;
|
|
182
|
-
--cds-heading-05-font-size: 2rem;
|
|
183
|
-
--cds-heading-05-font-weight: 400;
|
|
184
|
-
--cds-heading-05-line-height: 1.25;
|
|
185
|
-
--cds-heading-05-letter-spacing: 0;
|
|
186
|
-
--cds-heading-06-font-size: 2.625rem;
|
|
187
|
-
--cds-heading-06-font-weight: 300;
|
|
188
|
-
--cds-heading-06-line-height: 1.199;
|
|
189
|
-
--cds-heading-06-letter-spacing: 0;
|
|
190
|
-
--cds-heading-07-font-size: 3.375rem;
|
|
191
|
-
--cds-heading-07-font-weight: 300;
|
|
192
|
-
--cds-heading-07-line-height: 1.19;
|
|
193
|
-
--cds-heading-07-letter-spacing: 0;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
2
|
html,
|
|
197
3
|
body,
|
|
198
4
|
div,
|
|
@@ -10979,14 +10785,6 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
10979
10785
|
block-size: 3rem;
|
|
10980
10786
|
}
|
|
10981
10787
|
|
|
10982
|
-
.cds--menu-item__icon {
|
|
10983
|
-
display: none;
|
|
10984
|
-
}
|
|
10985
|
-
|
|
10986
|
-
.cds--menu--with-icons .cds--menu-item__icon {
|
|
10987
|
-
display: flex;
|
|
10988
|
-
}
|
|
10989
|
-
|
|
10990
10788
|
.cds--menu-item__label {
|
|
10991
10789
|
overflow: hidden;
|
|
10992
10790
|
text-overflow: ellipsis;
|
|
@@ -11016,12 +10814,35 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
11016
10814
|
box-sizing: inherit;
|
|
11017
10815
|
}
|
|
11018
10816
|
|
|
10817
|
+
.cds--menu-item__icon,
|
|
10818
|
+
.cds--menu-item__selection-icon {
|
|
10819
|
+
display: none;
|
|
10820
|
+
}
|
|
10821
|
+
|
|
11019
10822
|
.cds--menu--with-icons > .cds--menu-item,
|
|
11020
10823
|
.cds--menu--with-icons > .cds--menu-item-group > ul > .cds--menu-item,
|
|
11021
|
-
.cds--menu--with-icons > .cds--menu-item-radio-group > ul > .cds--menu-item
|
|
10824
|
+
.cds--menu--with-icons > .cds--menu-item-radio-group > ul > .cds--menu-item,
|
|
10825
|
+
.cds--menu--with-selectable-items > .cds--menu-item,
|
|
10826
|
+
.cds--menu--with-selectable-items > .cds--menu-item-group > ul > .cds--menu-item,
|
|
10827
|
+
.cds--menu--with-selectable-items > .cds--menu-item-radio-group > ul > .cds--menu-item {
|
|
11022
10828
|
grid-template-columns: 1rem 1fr max-content;
|
|
11023
10829
|
}
|
|
11024
10830
|
|
|
10831
|
+
.cds--menu--with-icons > .cds--menu-item > .cds--menu-item__icon,
|
|
10832
|
+
.cds--menu--with-icons > .cds--menu-item-group > ul > .cds--menu-item > .cds--menu-item__icon,
|
|
10833
|
+
.cds--menu--with-icons > .cds--menu-item-radio-group > ul > .cds--menu-item > .cds--menu-item__icon,
|
|
10834
|
+
.cds--menu--with-selectable-items > .cds--menu-item > .cds--menu-item__selection-icon,
|
|
10835
|
+
.cds--menu--with-selectable-items > .cds--menu-item-group > ul > .cds--menu-item > .cds--menu-item__selection-icon,
|
|
10836
|
+
.cds--menu--with-selectable-items > .cds--menu-item-radio-group > ul > .cds--menu-item > .cds--menu-item__selection-icon {
|
|
10837
|
+
display: flex;
|
|
10838
|
+
}
|
|
10839
|
+
|
|
10840
|
+
.cds--menu--with-icons.cds--menu--with-selectable-items > .cds--menu-item,
|
|
10841
|
+
.cds--menu--with-icons.cds--menu--with-selectable-items > .cds--menu-item-group > ul > .cds--menu-item,
|
|
10842
|
+
.cds--menu--with-icons.cds--menu--with-selectable-items > .cds--menu-item-radio-group > ul > .cds--menu-item {
|
|
10843
|
+
grid-template-columns: 1rem 1rem 1fr max-content;
|
|
10844
|
+
}
|
|
10845
|
+
|
|
11025
10846
|
.cds--menu-item--disabled {
|
|
11026
10847
|
color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
|
|
11027
10848
|
cursor: not-allowed;
|
|
@@ -15372,6 +15193,117 @@ th .cds--table-sort__flex {
|
|
|
15372
15193
|
}
|
|
15373
15194
|
}
|
|
15374
15195
|
|
|
15196
|
+
.cds--dialog {
|
|
15197
|
+
padding: 0;
|
|
15198
|
+
border: none;
|
|
15199
|
+
background-color: var(--cds-layer);
|
|
15200
|
+
color: var(--cds-text-primary, #161616);
|
|
15201
|
+
inline-size: 48rem;
|
|
15202
|
+
max-block-size: 50%;
|
|
15203
|
+
max-inline-size: 100%;
|
|
15204
|
+
opacity: 0;
|
|
15205
|
+
transform: translateY(calc(-1 * 1.5rem));
|
|
15206
|
+
/** opening and closing is used in as allow-discrete is not currently supported wide enough
|
|
15207
|
+
* https://caniuse.com/mdn-css_properties_display_is_transitionable
|
|
15208
|
+
*/
|
|
15209
|
+
transition: opacity 240ms cubic-bezier(0.4, 0.14, 1, 1), transform 240ms cubic-bezier(0.4, 0.14, 1, 1), overlay 240ms cubic-bezier(0.4, 0.14, 1, 1) allow-discrete, display 240ms cubic-bezier(0.4, 0.14, 1, 1) allow-discrete;
|
|
15210
|
+
/** starting style also not supported widely
|
|
15211
|
+
* https://caniuse.com/mdn-css_at-rules_starting-style
|
|
15212
|
+
*/
|
|
15213
|
+
/* Before-open state */
|
|
15214
|
+
/* Needs to be after the previous dialog[open] rule to take effect,
|
|
15215
|
+
as the specificity is the same */
|
|
15216
|
+
}
|
|
15217
|
+
@media (prefers-reduced-motion) {
|
|
15218
|
+
.cds--dialog {
|
|
15219
|
+
transition: none;
|
|
15220
|
+
}
|
|
15221
|
+
}
|
|
15222
|
+
@media (min-width: 42rem) {
|
|
15223
|
+
.cds--dialog {
|
|
15224
|
+
max-inline-size: 84%;
|
|
15225
|
+
}
|
|
15226
|
+
}
|
|
15227
|
+
@media (min-width: 66rem) {
|
|
15228
|
+
.cds--dialog {
|
|
15229
|
+
max-inline-size: 72%;
|
|
15230
|
+
}
|
|
15231
|
+
}
|
|
15232
|
+
@media (min-width: 82rem) {
|
|
15233
|
+
.cds--dialog {
|
|
15234
|
+
max-inline-size: 64%;
|
|
15235
|
+
}
|
|
15236
|
+
}
|
|
15237
|
+
@media (min-width: 82rem) {
|
|
15238
|
+
.cds--dialog {
|
|
15239
|
+
max-inline-size: 60%;
|
|
15240
|
+
}
|
|
15241
|
+
}
|
|
15242
|
+
.cds--dialog[open] {
|
|
15243
|
+
opacity: 1;
|
|
15244
|
+
transform: translateY(0);
|
|
15245
|
+
transition: opacity 240ms cubic-bezier(0, 0, 0.3, 1), transform 240ms cubic-bezier(0, 0, 0.3, 1), overlay 240ms cubic-bezier(0, 0, 0.3, 1) allow-discrete, display 240ms cubic-bezier(0, 0, 0.3, 1) allow-discrete;
|
|
15246
|
+
}
|
|
15247
|
+
@media (prefers-reduced-motion) {
|
|
15248
|
+
.cds--dialog[open] {
|
|
15249
|
+
transition: none;
|
|
15250
|
+
}
|
|
15251
|
+
}
|
|
15252
|
+
@starting-style {
|
|
15253
|
+
.cds--dialog[open] {
|
|
15254
|
+
opacity: 0;
|
|
15255
|
+
transform: translateY(calc(-1 * 1.5rem));
|
|
15256
|
+
}
|
|
15257
|
+
}
|
|
15258
|
+
|
|
15259
|
+
.cds--dialog__header {
|
|
15260
|
+
position: relative;
|
|
15261
|
+
overflow: visible;
|
|
15262
|
+
inline-size: 100%;
|
|
15263
|
+
min-block-size: 3rem;
|
|
15264
|
+
}
|
|
15265
|
+
|
|
15266
|
+
/* Transition the :backdrop when the dialog modal is promoted to the top layer */
|
|
15267
|
+
.cds--dialog::backdrop {
|
|
15268
|
+
background-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));
|
|
15269
|
+
opacity: 0;
|
|
15270
|
+
/* opening and closing is used in as allow-discrete is not currently supported wide enough
|
|
15271
|
+
* https://caniuse.com/mdn-css_properties_display_is_transitionable
|
|
15272
|
+
*/
|
|
15273
|
+
transition: background-color 240ms cubic-bezier(0, 0, 0.3, 1), opacity 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
15274
|
+
}
|
|
15275
|
+
@media (prefers-reduced-motion) {
|
|
15276
|
+
.cds--dialog::backdrop {
|
|
15277
|
+
transition: none;
|
|
15278
|
+
}
|
|
15279
|
+
}
|
|
15280
|
+
|
|
15281
|
+
.cds--dialog[open]::backdrop {
|
|
15282
|
+
opacity: 1;
|
|
15283
|
+
transition: background-color 240ms cubic-bezier(0.4, 0.14, 1, 1), opacity 240ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
15284
|
+
}
|
|
15285
|
+
@media (prefers-reduced-motion) {
|
|
15286
|
+
.cds--dialog[open]::backdrop {
|
|
15287
|
+
transition: none;
|
|
15288
|
+
}
|
|
15289
|
+
}
|
|
15290
|
+
|
|
15291
|
+
/** starting style also not supported widely
|
|
15292
|
+
* https://caniuse.com/mdn-css_at-rules_starting-style
|
|
15293
|
+
*/
|
|
15294
|
+
/* This starting-style rule cannot be nested inside the above selector
|
|
15295
|
+
because the nesting selector cannot represent pseudo-elements. */
|
|
15296
|
+
@starting-style {
|
|
15297
|
+
.cds--dialog[open]::backdrop {
|
|
15298
|
+
opacity: 0;
|
|
15299
|
+
}
|
|
15300
|
+
}
|
|
15301
|
+
.cds--dialog__header-controls {
|
|
15302
|
+
position: absolute;
|
|
15303
|
+
inset-block-start: 0;
|
|
15304
|
+
inset-inline-end: 0;
|
|
15305
|
+
}
|
|
15306
|
+
|
|
15375
15307
|
.cds--dropdown__wrapper--inline {
|
|
15376
15308
|
display: inline-grid;
|
|
15377
15309
|
align-items: center;
|
|
@@ -19804,18 +19736,6 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
19804
19736
|
transform: rotate(180deg);
|
|
19805
19737
|
}
|
|
19806
19738
|
|
|
19807
|
-
.cds--menu-button__top {
|
|
19808
|
-
transform: translate(0, calc(-100% - var(--cds-popover-offset, 3rem)));
|
|
19809
|
-
}
|
|
19810
|
-
|
|
19811
|
-
.cds--menu-button__top-start {
|
|
19812
|
-
transform: translate(0, calc(-100% - var(--cds-popover-offset, 3rem)));
|
|
19813
|
-
}
|
|
19814
|
-
|
|
19815
|
-
.cds--menu-button__top-end {
|
|
19816
|
-
transform: translate(0, calc(-100% - var(--cds-popover-offset, 3rem)));
|
|
19817
|
-
}
|
|
19818
|
-
|
|
19819
19739
|
.cds--modal {
|
|
19820
19740
|
position: fixed;
|
|
19821
19741
|
z-index: 9000;
|