@sdata/web-vue 4.7.1 → 5.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/dist/sd.css +4004 -3955
- package/dist/sd.min.css +13 -13
- package/es/_components/input-label/style/index.css +47 -47
- package/es/_components/select-view/style/index.css +256 -256
- package/es/alert/style/index.css +48 -48
- package/es/alert/style/token.scss +257 -0
- package/es/anchor/style/index.css +18 -18
- package/es/anchor/style/token.scss +74 -0
- package/es/auto-complete/style/index.css +18 -18
- package/es/auto-complete/style/token.scss +94 -0
- package/es/avatar/style/index.css +31 -31
- package/es/avatar/style/token.scss +118 -0
- package/es/back-top/style/index.css +11 -11
- package/es/back-top/style/token.scss +60 -0
- package/es/badge/style/index.css +35 -35
- package/es/badge/style/token.scss +148 -0
- package/es/basic-crud-table/style/index.css +4 -4
- package/es/basic-crud-table/style/token.scss +20 -0
- package/es/bloom-menu/style/index.css +33 -34
- package/es/bloom-menu/style/index.scss +5 -5
- package/es/bloom-menu/style/token.scss +99 -0
- package/es/border-beam/style/token.scss +28 -0
- package/es/breadcrumb/style/index.css +17 -17
- package/es/breadcrumb/style/token.scss +97 -0
- package/es/button/style/index.css +379 -379
- package/es/button/style/index.scss +3 -3
- package/es/button/style/token.scss +1604 -0
- package/es/card/style/index.css +36 -36
- package/es/card/style/token.scss +162 -0
- package/es/carousel/style/index.css +41 -41
- package/es/carousel/style/token.scss +101 -0
- package/es/cascader/style/index.css +58 -58
- package/es/cascader/style/token.scss +89 -0
- package/es/checkbox/style/index.css +28 -28
- package/es/checkbox/style/token.scss +134 -0
- package/es/collapse/style/index.css +24 -24
- package/es/collapse/style/token.scss +136 -0
- package/es/color-picker/style/index.css +50 -50
- package/es/color-picker/style/token.scss +200 -0
- package/es/comment/style/index.css +15 -15
- package/es/comment/style/token.scss +83 -0
- package/es/config-provider/algorithms.d.ts +11 -0
- package/es/config-provider/algorithms.js +53 -0
- package/es/config-provider/global-theme.js +7 -4
- package/es/config-provider/theme-config.d.ts +11 -0
- package/es/config-provider/theme-config.js +114 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
- package/es/config-provider/theme.d.ts +4 -1
- package/es/config-provider/theme.js +6 -5
- package/es/config-provider/token-key.d.ts +1 -0
- package/es/config-provider/token-key.js +6 -0
- package/es/copy/style/index.css +1 -1
- package/es/copy/style/token.scss +9 -0
- package/es/cropper/style/index.css +7 -7
- package/es/cropper/style/token.scss +24 -0
- package/es/date-picker/style/index.css +73 -73
- package/es/date-picker/style/token.scss +229 -0
- package/es/descriptions/style/index.css +45 -45
- package/es/descriptions/style/token.scss +191 -0
- package/es/divider/style/index.css +11 -11
- package/es/divider/style/token.scss +60 -0
- package/es/drawer/style/index.css +13 -13
- package/es/drawer/style/token.scss +68 -0
- package/es/dropdown/style/index.css +24 -23
- package/es/dropdown/style/index.scss +4 -2
- package/es/dropdown/style/token.scss +123 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/ellipsis/interface.d.ts +1 -0
- package/es/ellipsis/style/index.css +2 -2
- package/es/ellipsis/style/token.scss +5 -0
- package/es/empty/style/index.css +7 -7
- package/es/empty/style/token.scss +35 -0
- package/es/file-previewer/style/index.css +44 -44
- package/es/file-previewer/style/token.scss +198 -0
- package/es/form/style/index.css +113 -113
- package/es/form/style/token.scss +340 -0
- package/es/image/style/index.css +83 -83
- package/es/image/style/token.scss +451 -0
- package/es/index.css +4004 -3955
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/input/style/index.css +104 -104
- package/es/input/style/input.scss +2 -8
- package/es/input/style/size.scss +4 -4
- package/es/input/style/token.scss +327 -0
- package/es/input-mask/style/index.css +1 -1
- package/es/input-mask/style/token.scss +8 -0
- package/es/input-number/style/index.css +19 -19
- package/es/input-number/style/token.scss +82 -0
- package/es/input-tag/style/index.css +209 -209
- package/es/input-tag/style/token.scss +226 -0
- package/es/json-form/style/index.css +2 -2
- package/es/json-form/style/token.scss +21 -0
- package/es/kv-list/style/index.css +13 -13
- package/es/kv-list/style/token.scss +29 -0
- package/es/layout/style/index.css +38 -38
- package/es/layout/style/token.scss +100 -0
- package/es/link/style/index.css +28 -28
- package/es/link/style/token.scss +117 -0
- package/es/list/style/index.css +27 -27
- package/es/list/style/token.scss +178 -0
- package/es/mention/style/token.scss +22 -0
- package/es/menu/style/index.css +153 -120
- package/es/menu/style/index.scss +12 -4
- package/es/menu/style/token.scss +390 -0
- package/es/message/style/index.css +33 -33
- package/es/message/style/token.scss +218 -0
- package/es/modal/style/index.css +21 -21
- package/es/modal/style/token.scss +115 -0
- package/es/model-selector/style/index.css +1 -1
- package/es/notification/style/index.css +44 -44
- package/es/notification/style/token.scss +241 -0
- package/es/number-flow/style/index.css +5 -5
- package/es/number-flow/style/token.scss +19 -0
- package/es/page-header/style/index.css +25 -25
- package/es/page-header/style/token.scss +139 -0
- package/es/pagination/style/index.css +85 -85
- package/es/pagination/style/token.scss +303 -0
- package/es/panel-group/style/index.css +7 -7
- package/es/panel-group/style/token.scss +28 -0
- package/es/popconfirm/style/index.css +18 -18
- package/es/popconfirm/style/token.scss +83 -0
- package/es/popover/style/index.css +12 -12
- package/es/popover/style/token.scss +58 -0
- package/es/progress/style/index.css +55 -55
- package/es/progress/style/token.scss +253 -0
- package/es/qr-code/style/index.css +18 -21
- package/es/qr-code/style/index.scss +4 -6
- package/es/qr-code/style/token.scss +59 -0
- package/es/radio/style/index.css +45 -44
- package/es/radio/style/index.scss +1 -0
- package/es/radio/style/token.scss +185 -0
- package/es/rate/style/index.css +8 -8
- package/es/rate/style/token.scss +19 -0
- package/es/regex-vis/style/index.css +51 -51
- package/es/regex-vis/style/token.scss +170 -0
- package/es/result/style/index.css +26 -26
- package/es/result/style/token.scss +139 -0
- package/es/rich-text-editor/style/index.css +31 -31
- package/es/rich-text-editor/style/token.scss +120 -0
- package/es/scrollbar/style/index.css +14 -14
- package/es/scrollbar/style/token.scss +33 -0
- package/es/secret/style/index.css +6 -6
- package/es/secret/style/token.scss +30 -0
- package/es/select/style/index.css +27 -27
- package/es/select/style/token.scss +151 -0
- package/es/selectable-card/style/index.css +53 -51
- package/es/selectable-card/style/index.scss +6 -2
- package/es/selectable-card/style/token.scss +60 -0
- package/es/sender/style/index.css +54 -54
- package/es/sender/style/token.scss +155 -0
- package/es/skeleton/style/index.css +12 -12
- package/es/skeleton/style/token.scss +60 -0
- package/es/slider/style/index.css +34 -34
- package/es/slider/style/token.scss +144 -0
- package/es/spin/style/index.css +11 -11
- package/es/spin/style/token.scss +60 -0
- package/es/split/style/index.css +2 -2
- package/es/split/style/token.scss +18 -0
- package/es/statistic/style/index.css +13 -13
- package/es/statistic/style/token.scss +73 -0
- package/es/steps/style/index.css +98 -98
- package/es/steps/style/token.scss +464 -0
- package/es/style/color/css-variables.scss +382 -381
- package/es/style/theme/css-variables.scss +329 -135
- package/es/style/theme/global.scss +5 -5
- package/es/style/theme/index.scss +1 -1
- package/es/style/theme/runtime.scss +29 -0
- package/es/switch/style/index.css +37 -37
- package/es/switch/style/token.scss +135 -0
- package/es/table/style/index.css +127 -127
- package/es/table/style/token.scss +425 -0
- package/es/tabs/style/index.css +196 -190
- package/es/tabs/style/index.scss +27 -17
- package/es/tabs/style/token.scss +534 -0
- package/es/tag/index.d.ts +13 -0
- package/es/tag/interface.d.ts +1 -0
- package/es/tag/style/index.css +159 -159
- package/es/tag/style/token.scss +513 -0
- package/es/tag/tag.vue.d.ts +13 -3
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
- package/es/tag-group/style/index.css +3 -3
- package/es/tag-group/style/token.scss +9 -0
- package/es/textarea/style/index.css +40 -40
- package/es/time-picker/style/index.css +12 -12
- package/es/time-picker/style/token.scss +50 -0
- package/es/timeline/style/index.css +22 -22
- package/es/timeline/style/token.scss +75 -0
- package/es/toolbar/style/index.css +6 -6
- package/es/toolbar/style/token.scss +45 -0
- package/es/tooltip/style/index.css +8 -8
- package/es/tooltip/style/token.scss +46 -0
- package/es/tour/style/index.css +28 -28
- package/es/tour/style/token.scss +65 -0
- package/es/transfer/style/index.css +46 -45
- package/es/transfer/style/index.scss +4 -1
- package/es/transfer/style/token.scss +199 -0
- package/es/tree/style/index.css +43 -36
- package/es/tree/style/index.scss +10 -0
- package/es/tree/style/token.scss +163 -0
- package/es/tree-select/style/index.css +9 -9
- package/es/tree-select/style/token.scss +21 -0
- package/es/trigger/style/index.css +7 -7
- package/es/trigger/style/token.scss +19 -0
- package/es/typography/style/index.css +40 -40
- package/es/typography/style/token.scss +220 -0
- package/es/upload/index.d.ts +3 -0
- package/es/upload/style/index.css +95 -95
- package/es/upload/style/token.scss +470 -0
- package/es/upload/upload.vue.d.ts +2 -0
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
- package/json/vetur-attributes.json +7 -0
- package/json/vetur-tags.json +4 -1
- package/json/web-types.json +18 -2
- package/package.json +7 -2
- package/es/style/color/palette-dark.d.ts +0 -4
- package/es/style/color/palette-dark.js +0 -10
- package/es/style/color/palette.d.ts +0 -4
- package/es/style/color/palette.js +0 -10
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -87,3 +88,220 @@ $message-loading-color-icon: global.$color-primary-6;
|
|
|
87
88
|
$message-loading-color-content: var(string.unquote('#{global.$sd-cssvars-prefix}-color-text-1'));
|
|
88
89
|
|
|
89
90
|
$message-loading-color-border: var(string.unquote('#{global.$sd-cssvars-prefix}-color-neutral-3'));
|
|
91
|
+
|
|
92
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
93
|
+
$message-wrapper-margin-top: theme-runtime.token(
|
|
94
|
+
'message',
|
|
95
|
+
'message-wrapper-margin-top',
|
|
96
|
+
$message-wrapper-margin-top,
|
|
97
|
+
'spacing-12'
|
|
98
|
+
);
|
|
99
|
+
$message-wrapper-margin-bottom: theme-runtime.token(
|
|
100
|
+
'message',
|
|
101
|
+
'message-wrapper-margin-bottom',
|
|
102
|
+
$message-wrapper-margin-bottom,
|
|
103
|
+
'spacing-12'
|
|
104
|
+
);
|
|
105
|
+
$message-padding-top: theme-runtime.token(
|
|
106
|
+
'message',
|
|
107
|
+
'message-padding-top',
|
|
108
|
+
$message-padding-top,
|
|
109
|
+
'spacing-5'
|
|
110
|
+
);
|
|
111
|
+
$message-padding-bottom: theme-runtime.token(
|
|
112
|
+
'message',
|
|
113
|
+
'message-padding-bottom',
|
|
114
|
+
$message-padding-bottom,
|
|
115
|
+
'spacing-5'
|
|
116
|
+
);
|
|
117
|
+
$message-padding-left: theme-runtime.token(
|
|
118
|
+
'message',
|
|
119
|
+
'message-padding-left',
|
|
120
|
+
$message-padding-left,
|
|
121
|
+
'spacing-7'
|
|
122
|
+
);
|
|
123
|
+
$message-padding-right: theme-runtime.token(
|
|
124
|
+
'message',
|
|
125
|
+
'message-padding-right',
|
|
126
|
+
$message-padding-right,
|
|
127
|
+
'spacing-7'
|
|
128
|
+
);
|
|
129
|
+
$message-margin-bottom: theme-runtime.token(
|
|
130
|
+
'message',
|
|
131
|
+
'message-margin-bottom',
|
|
132
|
+
$message-margin-bottom,
|
|
133
|
+
'spacing-7'
|
|
134
|
+
);
|
|
135
|
+
$message-border-radius: theme-runtime.token(
|
|
136
|
+
'message',
|
|
137
|
+
'message-border-radius',
|
|
138
|
+
$message-border-radius
|
|
139
|
+
);
|
|
140
|
+
$message-font-size-icon: theme-runtime.token(
|
|
141
|
+
'message',
|
|
142
|
+
'message-font-size-icon',
|
|
143
|
+
$message-font-size-icon
|
|
144
|
+
);
|
|
145
|
+
$message-font-size-content: theme-runtime.token(
|
|
146
|
+
'message',
|
|
147
|
+
'message-font-size-content',
|
|
148
|
+
$message-font-size-content,
|
|
149
|
+
'font-size-body-3'
|
|
150
|
+
);
|
|
151
|
+
$message-icon-margin-right: theme-runtime.token(
|
|
152
|
+
'message',
|
|
153
|
+
'message-icon-margin-right',
|
|
154
|
+
$message-icon-margin-right,
|
|
155
|
+
'spacing-4'
|
|
156
|
+
);
|
|
157
|
+
$message-border-width: theme-runtime.token(
|
|
158
|
+
'message',
|
|
159
|
+
'message-border-width',
|
|
160
|
+
$message-border-width
|
|
161
|
+
);
|
|
162
|
+
$message-border-style: theme-runtime.token(
|
|
163
|
+
'message',
|
|
164
|
+
'message-border-style',
|
|
165
|
+
$message-border-style
|
|
166
|
+
);
|
|
167
|
+
$message-color-close-icon: theme-runtime.token(
|
|
168
|
+
'message',
|
|
169
|
+
'message-color-close-icon',
|
|
170
|
+
$message-color-close-icon
|
|
171
|
+
);
|
|
172
|
+
$message-close-icon-top: theme-runtime.token(
|
|
173
|
+
'message',
|
|
174
|
+
'message-close-icon-top',
|
|
175
|
+
$message-close-icon-top
|
|
176
|
+
);
|
|
177
|
+
$message-close-icon-right: theme-runtime.token(
|
|
178
|
+
'message',
|
|
179
|
+
'message-close-icon-right',
|
|
180
|
+
$message-close-icon-right,
|
|
181
|
+
'spacing-7'
|
|
182
|
+
);
|
|
183
|
+
$message-normal-color-bg: theme-runtime.token(
|
|
184
|
+
'message',
|
|
185
|
+
'message-normal-color-bg',
|
|
186
|
+
$message-normal-color-bg
|
|
187
|
+
);
|
|
188
|
+
$message-normal-color-icon: theme-runtime.token(
|
|
189
|
+
'message',
|
|
190
|
+
'message-normal-color-icon',
|
|
191
|
+
$message-normal-color-icon
|
|
192
|
+
);
|
|
193
|
+
$message-normal-color-content: theme-runtime.token(
|
|
194
|
+
'message',
|
|
195
|
+
'message-normal-color-content',
|
|
196
|
+
$message-normal-color-content
|
|
197
|
+
);
|
|
198
|
+
$message-normal-color-border: theme-runtime.token(
|
|
199
|
+
'message',
|
|
200
|
+
'message-normal-color-border',
|
|
201
|
+
$message-normal-color-border
|
|
202
|
+
);
|
|
203
|
+
$message-info-color-bg: theme-runtime.token(
|
|
204
|
+
'message',
|
|
205
|
+
'message-info-color-bg',
|
|
206
|
+
$message-info-color-bg
|
|
207
|
+
);
|
|
208
|
+
$message-info-color-icon: theme-runtime.token(
|
|
209
|
+
'message',
|
|
210
|
+
'message-info-color-icon',
|
|
211
|
+
$message-info-color-icon,
|
|
212
|
+
'color-primary-6'
|
|
213
|
+
);
|
|
214
|
+
$message-info-color-content: theme-runtime.token(
|
|
215
|
+
'message',
|
|
216
|
+
'message-info-color-content',
|
|
217
|
+
$message-info-color-content
|
|
218
|
+
);
|
|
219
|
+
$message-info-color-border: theme-runtime.token(
|
|
220
|
+
'message',
|
|
221
|
+
'message-info-color-border',
|
|
222
|
+
$message-info-color-border
|
|
223
|
+
);
|
|
224
|
+
$message-success-color-bg: theme-runtime.token(
|
|
225
|
+
'message',
|
|
226
|
+
'message-success-color-bg',
|
|
227
|
+
$message-success-color-bg
|
|
228
|
+
);
|
|
229
|
+
$message-success-color-icon: theme-runtime.token(
|
|
230
|
+
'message',
|
|
231
|
+
'message-success-color-icon',
|
|
232
|
+
$message-success-color-icon,
|
|
233
|
+
'color-success-6'
|
|
234
|
+
);
|
|
235
|
+
$message-success-color-content: theme-runtime.token(
|
|
236
|
+
'message',
|
|
237
|
+
'message-success-color-content',
|
|
238
|
+
$message-success-color-content
|
|
239
|
+
);
|
|
240
|
+
$message-success-color-border: theme-runtime.token(
|
|
241
|
+
'message',
|
|
242
|
+
'message-success-color-border',
|
|
243
|
+
$message-success-color-border
|
|
244
|
+
);
|
|
245
|
+
$message-warning-color-bg: theme-runtime.token(
|
|
246
|
+
'message',
|
|
247
|
+
'message-warning-color-bg',
|
|
248
|
+
$message-warning-color-bg
|
|
249
|
+
);
|
|
250
|
+
$message-warning-color-icon: theme-runtime.token(
|
|
251
|
+
'message',
|
|
252
|
+
'message-warning-color-icon',
|
|
253
|
+
$message-warning-color-icon,
|
|
254
|
+
'color-warning-6'
|
|
255
|
+
);
|
|
256
|
+
$message-warning-color-content: theme-runtime.token(
|
|
257
|
+
'message',
|
|
258
|
+
'message-warning-color-content',
|
|
259
|
+
$message-warning-color-content
|
|
260
|
+
);
|
|
261
|
+
$message-warning-color-border: theme-runtime.token(
|
|
262
|
+
'message',
|
|
263
|
+
'message-warning-color-border',
|
|
264
|
+
$message-warning-color-border
|
|
265
|
+
);
|
|
266
|
+
$message-error-color-bg: theme-runtime.token(
|
|
267
|
+
'message',
|
|
268
|
+
'message-error-color-bg',
|
|
269
|
+
$message-error-color-bg
|
|
270
|
+
);
|
|
271
|
+
$message-error-color-icon: theme-runtime.token(
|
|
272
|
+
'message',
|
|
273
|
+
'message-error-color-icon',
|
|
274
|
+
$message-error-color-icon,
|
|
275
|
+
'color-danger-6'
|
|
276
|
+
);
|
|
277
|
+
$message-error-color-content: theme-runtime.token(
|
|
278
|
+
'message',
|
|
279
|
+
'message-error-color-content',
|
|
280
|
+
$message-error-color-content
|
|
281
|
+
);
|
|
282
|
+
$message-error-color-border: theme-runtime.token(
|
|
283
|
+
'message',
|
|
284
|
+
'message-error-color-border',
|
|
285
|
+
$message-error-color-border
|
|
286
|
+
);
|
|
287
|
+
$message-loading-color-bg: theme-runtime.token(
|
|
288
|
+
'message',
|
|
289
|
+
'message-loading-color-bg',
|
|
290
|
+
$message-loading-color-bg
|
|
291
|
+
);
|
|
292
|
+
$message-loading-color-icon: theme-runtime.token(
|
|
293
|
+
'message',
|
|
294
|
+
'message-loading-color-icon',
|
|
295
|
+
$message-loading-color-icon,
|
|
296
|
+
'color-primary-6'
|
|
297
|
+
);
|
|
298
|
+
$message-loading-color-content: theme-runtime.token(
|
|
299
|
+
'message',
|
|
300
|
+
'message-loading-color-content',
|
|
301
|
+
$message-loading-color-content
|
|
302
|
+
);
|
|
303
|
+
$message-loading-color-border: theme-runtime.token(
|
|
304
|
+
'message',
|
|
305
|
+
'message-loading-color-border',
|
|
306
|
+
$message-loading-color-border
|
|
307
|
+
);
|
package/es/modal/style/index.css
CHANGED
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
|
|
57
57
|
.sd-modal {
|
|
58
58
|
position: relative;
|
|
59
|
-
top: 100px;
|
|
59
|
+
top: var(--component-modal-modal-margin-top, var(--component-modal-margin-top, 100px));
|
|
60
60
|
display: inline-block;
|
|
61
|
-
width: 520px;
|
|
61
|
+
width: var(--component-modal-modal-default-size-width, var(--component-modal-default-size-width, 520px));
|
|
62
62
|
margin: 0 auto;
|
|
63
63
|
line-height: 1.5715;
|
|
64
64
|
white-space: initial;
|
|
65
65
|
text-align: left;
|
|
66
66
|
background-color: var(--sd-color-bg-3);
|
|
67
|
-
border-radius: var(--sd-border-radius-medium);
|
|
67
|
+
border-radius: var(--component-modal-modal-border-radius, var(--component-modal-border-radius, var(--sd-border-radius-medium)));
|
|
68
68
|
}
|
|
69
69
|
.sd-modal-draggable .sd-modal-header {
|
|
70
70
|
cursor: move;
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
align-items: center;
|
|
76
76
|
box-sizing: border-box;
|
|
77
77
|
width: 100%;
|
|
78
|
-
height: 48px;
|
|
79
|
-
padding: 0 20px;
|
|
80
|
-
border-bottom: 1px solid var(--sd-color-neutral-3);
|
|
78
|
+
height: var(--component-modal-modal-default-size-header-height, var(--component-modal-default-size-header-height, var(--size-12, 48px)));
|
|
79
|
+
padding: 0 var(--component-modal-modal-default-padding-horizontal, var(--component-modal-default-padding-horizontal, var(--spacing-8, 20px)));
|
|
80
|
+
border-bottom: 1px solid var(--component-modal-modal-color-border, var(--component-modal-color-border, var(--sd-color-neutral-3)));
|
|
81
81
|
}
|
|
82
82
|
.sd-modal-header-with-close .sd-modal-title-with-close {
|
|
83
83
|
padding-right: 20px;
|
|
@@ -109,36 +109,36 @@
|
|
|
109
109
|
}
|
|
110
110
|
.sd-modal-body {
|
|
111
111
|
position: relative;
|
|
112
|
-
padding: 24px 20px;
|
|
112
|
+
padding: var(--component-modal-modal-default-padding-content-vertical, var(--component-modal-default-padding-content-vertical, var(--spacing-9, 24px))) var(--component-modal-modal-default-padding-horizontal, var(--component-modal-default-padding-horizontal, var(--spacing-8, 20px)));
|
|
113
113
|
overflow: auto;
|
|
114
|
-
color: var(--sd-color-text-1);
|
|
115
|
-
font-size: 14px;
|
|
114
|
+
color: var(--component-modal-modal-color-content-text, var(--component-modal-color-content-text, var(--sd-color-text-1)));
|
|
115
|
+
font-size: var(--component-modal-modal-font-content-size, var(--component-modal-font-content-size, var(--font-size-body-3, 14px)));
|
|
116
116
|
}
|
|
117
117
|
.sd-modal-footer {
|
|
118
118
|
flex-shrink: 0;
|
|
119
119
|
box-sizing: border-box;
|
|
120
120
|
width: 100%;
|
|
121
|
-
padding: 16px 20px;
|
|
121
|
+
padding: var(--component-modal-modal-default-padding-footer-vertical, var(--component-modal-default-padding-footer-vertical, var(--spacing-7, 16px))) var(--component-modal-modal-default-padding-horizontal, var(--component-modal-default-padding-horizontal, var(--spacing-8, 20px)));
|
|
122
122
|
text-align: right;
|
|
123
|
-
border-top: 1px solid var(--sd-color-neutral-3);
|
|
123
|
+
border-top: 1px solid var(--component-modal-modal-color-border, var(--component-modal-color-border, var(--sd-color-neutral-3)));
|
|
124
124
|
}
|
|
125
125
|
.sd-modal-footer > .sd-btn:not(:nth-child(1)) {
|
|
126
|
-
margin-left: 12px;
|
|
126
|
+
margin-left: var(--component-modal-modal-margin-footer-button-left, var(--component-modal-margin-footer-button-left, var(--spacing-6, 12px)));
|
|
127
127
|
}
|
|
128
128
|
.sd-modal-close-btn {
|
|
129
129
|
margin-left: -12px;
|
|
130
|
-
color: var(--sd-color-text-1);
|
|
130
|
+
color: var(--component-modal-modal-color-header-text, var(--component-modal-color-header-text, var(--sd-color-text-1)));
|
|
131
131
|
font-size: 12px;
|
|
132
132
|
cursor: pointer;
|
|
133
133
|
}
|
|
134
134
|
.sd-modal-title {
|
|
135
|
-
color: var(--sd-color-text-1);
|
|
135
|
+
color: var(--component-modal-modal-color-header-text, var(--component-modal-color-header-text, var(--sd-color-text-1)));
|
|
136
136
|
font-weight: 500;
|
|
137
|
-
font-size: 16px;
|
|
137
|
+
font-size: var(--component-modal-modal-font-header-size, var(--component-modal-font-header-size, var(--font-size-title-1, 16px)));
|
|
138
138
|
}
|
|
139
139
|
.sd-modal-title-icon {
|
|
140
|
-
margin-right: 10px;
|
|
141
|
-
font-size: 18px;
|
|
140
|
+
margin-right: var(--component-modal-modal-margin-tip-icon-right, var(--component-modal-margin-tip-icon-right, var(--spacing-5, 10px)));
|
|
141
|
+
font-size: var(--component-modal-modal-size-tip-icon, var(--component-modal-size-tip-icon, 18px));
|
|
142
142
|
vertical-align: -0.15em;
|
|
143
143
|
}
|
|
144
144
|
.sd-modal-title-icon .sd-icon-info-circle-fill {
|
|
@@ -155,8 +155,8 @@
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.sd-modal-simple {
|
|
158
|
-
width: 400px;
|
|
159
|
-
padding: 24px 32px 32px;
|
|
158
|
+
width: var(--component-modal-modal-simple-size-width, var(--component-modal-simple-size-width, 400px));
|
|
159
|
+
padding: var(--component-modal-modal-simple-padding-top, var(--component-modal-simple-padding-top, var(--spacing-9, 24px))) var(--component-modal-modal-simple-padding-horizontal, var(--component-modal-simple-padding-horizontal, var(--spacing-10, 32px))) var(--component-modal-modal-simple-padding-bottom, var(--component-modal-simple-padding-bottom, var(--spacing-10, 32px)));
|
|
160
160
|
}
|
|
161
161
|
.sd-modal-simple .sd-modal-header,
|
|
162
162
|
.sd-modal-simple .sd-modal-footer {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
border: none;
|
|
166
166
|
}
|
|
167
167
|
.sd-modal-simple .sd-modal-header {
|
|
168
|
-
margin-bottom: 24px;
|
|
168
|
+
margin-bottom: var(--component-modal-modal-simple-margin-content-top, var(--component-modal-simple-margin-content-top, var(--spacing-9, 24px)));
|
|
169
169
|
}
|
|
170
170
|
.sd-modal-simple .sd-modal-title {
|
|
171
171
|
justify-content: center;
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
justify-content: center;
|
|
178
178
|
}
|
|
179
179
|
.sd-modal-simple .sd-modal-footer {
|
|
180
|
-
margin-top: 32px;
|
|
180
|
+
margin-top: var(--component-modal-modal-simple-margin-footer-top, var(--component-modal-simple-margin-footer-top, var(--spacing-10, 32px)));
|
|
181
181
|
text-align: center;
|
|
182
182
|
}
|
|
183
183
|
.sd-modal-simple .sd-modal-body {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -55,3 +56,117 @@ $modal-simple-margin-content-top: global.$spacing-9;
|
|
|
55
56
|
$modal-position-close-icon-right: 16px;
|
|
56
57
|
|
|
57
58
|
$modal-font-size-close-icon: 12px;
|
|
59
|
+
|
|
60
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
61
|
+
$modal-border-radius: theme-runtime.token('modal', 'modal-border-radius', $modal-border-radius);
|
|
62
|
+
$modal-size-tip-icon: theme-runtime.token('modal', 'modal-size-tip-icon', $modal-size-tip-icon);
|
|
63
|
+
$modal-margin-top: theme-runtime.token('modal', 'modal-margin-top', $modal-margin-top);
|
|
64
|
+
$modal-margin-tip-icon-right: theme-runtime.token(
|
|
65
|
+
'modal',
|
|
66
|
+
'modal-margin-tip-icon-right',
|
|
67
|
+
$modal-margin-tip-icon-right,
|
|
68
|
+
'spacing-5'
|
|
69
|
+
);
|
|
70
|
+
$modal-margin-footer-button-left: theme-runtime.token(
|
|
71
|
+
'modal',
|
|
72
|
+
'modal-margin-footer-button-left',
|
|
73
|
+
$modal-margin-footer-button-left,
|
|
74
|
+
'spacing-6'
|
|
75
|
+
);
|
|
76
|
+
$modal-color-border: theme-runtime.token('modal', 'modal-color-border', $modal-color-border);
|
|
77
|
+
$modal-color-header-text: theme-runtime.token(
|
|
78
|
+
'modal',
|
|
79
|
+
'modal-color-header-text',
|
|
80
|
+
$modal-color-header-text
|
|
81
|
+
);
|
|
82
|
+
$modal-color-content-text: theme-runtime.token(
|
|
83
|
+
'modal',
|
|
84
|
+
'modal-color-content-text',
|
|
85
|
+
$modal-color-content-text
|
|
86
|
+
);
|
|
87
|
+
$modal-font-header-size: theme-runtime.token(
|
|
88
|
+
'modal',
|
|
89
|
+
'modal-font-header-size',
|
|
90
|
+
$modal-font-header-size,
|
|
91
|
+
'font-size-title-1'
|
|
92
|
+
);
|
|
93
|
+
$modal-default-padding-horizontal: theme-runtime.token(
|
|
94
|
+
'modal',
|
|
95
|
+
'modal-default-padding-horizontal',
|
|
96
|
+
$modal-default-padding-horizontal,
|
|
97
|
+
'spacing-8'
|
|
98
|
+
);
|
|
99
|
+
$modal-default-size-header-height: theme-runtime.token(
|
|
100
|
+
'modal',
|
|
101
|
+
'modal-default-size-header-height',
|
|
102
|
+
$modal-default-size-header-height,
|
|
103
|
+
'size-12'
|
|
104
|
+
);
|
|
105
|
+
$modal-default-padding-content-vertical: theme-runtime.token(
|
|
106
|
+
'modal',
|
|
107
|
+
'modal-default-padding-content-vertical',
|
|
108
|
+
$modal-default-padding-content-vertical,
|
|
109
|
+
'spacing-9'
|
|
110
|
+
);
|
|
111
|
+
$modal-default-padding-footer-vertical: theme-runtime.token(
|
|
112
|
+
'modal',
|
|
113
|
+
'modal-default-padding-footer-vertical',
|
|
114
|
+
$modal-default-padding-footer-vertical,
|
|
115
|
+
'spacing-7'
|
|
116
|
+
);
|
|
117
|
+
$modal-default-size-width: theme-runtime.token(
|
|
118
|
+
'modal',
|
|
119
|
+
'modal-default-size-width',
|
|
120
|
+
$modal-default-size-width
|
|
121
|
+
);
|
|
122
|
+
$modal-font-content-size: theme-runtime.token(
|
|
123
|
+
'modal',
|
|
124
|
+
'modal-font-content-size',
|
|
125
|
+
$modal-font-content-size,
|
|
126
|
+
'font-size-body-3'
|
|
127
|
+
);
|
|
128
|
+
$modal-simple-align-header: theme-runtime.token(
|
|
129
|
+
'modal',
|
|
130
|
+
'modal-simple-align-header',
|
|
131
|
+
$modal-simple-align-header
|
|
132
|
+
);
|
|
133
|
+
$modal-simple-size-width: theme-runtime.token(
|
|
134
|
+
'modal',
|
|
135
|
+
'modal-simple-size-width',
|
|
136
|
+
$modal-simple-size-width
|
|
137
|
+
);
|
|
138
|
+
$modal-simple-padding-horizontal: theme-runtime.token(
|
|
139
|
+
'modal',
|
|
140
|
+
'modal-simple-padding-horizontal',
|
|
141
|
+
$modal-simple-padding-horizontal,
|
|
142
|
+
'spacing-10'
|
|
143
|
+
);
|
|
144
|
+
$modal-simple-padding-top: theme-runtime.token(
|
|
145
|
+
'modal',
|
|
146
|
+
'modal-simple-padding-top',
|
|
147
|
+
$modal-simple-padding-top,
|
|
148
|
+
'spacing-9'
|
|
149
|
+
);
|
|
150
|
+
$modal-simple-padding-bottom: theme-runtime.token(
|
|
151
|
+
'modal',
|
|
152
|
+
'modal-simple-padding-bottom',
|
|
153
|
+
$modal-simple-padding-bottom,
|
|
154
|
+
'spacing-10'
|
|
155
|
+
);
|
|
156
|
+
$modal-simple-margin-footer-top: theme-runtime.token(
|
|
157
|
+
'modal',
|
|
158
|
+
'modal-simple-margin-footer-top',
|
|
159
|
+
$modal-simple-margin-footer-top,
|
|
160
|
+
'spacing-10'
|
|
161
|
+
);
|
|
162
|
+
$modal-simple-margin-content-top: theme-runtime.token(
|
|
163
|
+
'modal',
|
|
164
|
+
'modal-simple-margin-content-top',
|
|
165
|
+
$modal-simple-margin-content-top,
|
|
166
|
+
'spacing-9'
|
|
167
|
+
);
|
|
168
|
+
$modal-position-close-icon-right: theme-runtime.token(
|
|
169
|
+
'modal',
|
|
170
|
+
'modal-position-close-icon-right',
|
|
171
|
+
$modal-position-close-icon-right
|
|
172
|
+
);
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
padding-left: 0;
|
|
23
23
|
}
|
|
24
24
|
.sd-notification-list-top-left {
|
|
25
|
-
top: 20px;
|
|
26
|
-
left: 20px;
|
|
25
|
+
top: var(--component-notification-notification-wrapper-margin-top, var(--component-notification-wrapper-margin-top, var(--spacing-8, 20px)));
|
|
26
|
+
left: var(--component-notification-notification-wrapper-margin-left, var(--component-notification-wrapper-margin-left, var(--spacing-8, 20px)));
|
|
27
27
|
}
|
|
28
28
|
.sd-notification-list-top-right {
|
|
29
|
-
top: 20px;
|
|
30
|
-
right: 20px;
|
|
29
|
+
top: var(--component-notification-notification-wrapper-margin-top, var(--component-notification-wrapper-margin-top, var(--spacing-8, 20px)));
|
|
30
|
+
right: var(--component-notification-notification-wrapper-margin-right, var(--component-notification-wrapper-margin-right, var(--spacing-8, 20px)));
|
|
31
31
|
}
|
|
32
32
|
.sd-notification-list-top-right .sd-notification {
|
|
33
33
|
margin-left: auto;
|
|
34
34
|
}
|
|
35
35
|
.sd-notification-list-bottom-left {
|
|
36
|
-
bottom: 20px;
|
|
37
|
-
left: 20px;
|
|
36
|
+
bottom: var(--component-notification-notification-wrapper-margin-bottom, var(--component-notification-wrapper-margin-bottom, var(--spacing-8, 20px)));
|
|
37
|
+
left: var(--component-notification-notification-wrapper-margin-left, var(--component-notification-wrapper-margin-left, var(--spacing-8, 20px)));
|
|
38
38
|
}
|
|
39
39
|
.sd-notification-list-bottom-right {
|
|
40
|
-
right: 20px;
|
|
41
|
-
bottom: 20px;
|
|
40
|
+
right: var(--component-notification-notification-wrapper-margin-right, var(--component-notification-wrapper-margin-right, var(--spacing-8, 20px)));
|
|
41
|
+
bottom: var(--component-notification-notification-wrapper-margin-bottom, var(--component-notification-wrapper-margin-bottom, var(--spacing-8, 20px)));
|
|
42
42
|
}
|
|
43
43
|
.sd-notification-list-bottom-right .sd-notification {
|
|
44
44
|
margin-left: auto;
|
|
@@ -49,103 +49,103 @@
|
|
|
49
49
|
display: flex;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
width: 340px;
|
|
52
|
-
padding: 20px 20px 20px 20px;
|
|
52
|
+
padding: var(--component-notification-notification-padding-top, var(--component-notification-padding-top, var(--spacing-8, 20px))) 20px var(--component-notification-notification-padding-bottom, var(--component-notification-padding-bottom, var(--spacing-8, 20px))) 20px;
|
|
53
53
|
overflow: hidden;
|
|
54
|
-
background-color: var(--sd-color-bg-popup);
|
|
55
|
-
border: 1px solid var(--sd-color-neutral-3);
|
|
56
|
-
border-radius: var(--sd-border-radius-medium);
|
|
54
|
+
background-color: var(--component-notification-notification-normal-color-bg, var(--component-notification-normal-color-bg, var(--sd-color-bg-popup)));
|
|
55
|
+
border: var(--component-notification-notification-border-width, var(--component-notification-border-width, 1px)) var(--component-notification-notification-border-style, var(--component-notification-border-style, solid)) var(--component-notification-notification-normal-color-border, var(--component-notification-normal-color-border, var(--sd-color-neutral-3)));
|
|
56
|
+
border-radius: var(--component-notification-notification-border-radius, var(--component-notification-border-radius, var(--sd-border-radius-medium)));
|
|
57
57
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
58
58
|
opacity: 1;
|
|
59
59
|
transition: opacity 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
60
60
|
}
|
|
61
61
|
.sd-notification:not(:last-child) {
|
|
62
|
-
margin-bottom: 20px;
|
|
62
|
+
margin-bottom: var(--component-notification-notification-margin-bottom, var(--component-notification-margin-bottom, var(--spacing-8, 20px)));
|
|
63
63
|
}
|
|
64
64
|
.sd-notification-icon {
|
|
65
65
|
display: flex;
|
|
66
66
|
align-items: center;
|
|
67
|
-
font-size: 24px;
|
|
67
|
+
font-size: var(--component-notification-notification-font-size-icon, var(--component-notification-font-size-icon, 24px));
|
|
68
68
|
}
|
|
69
69
|
.sd-notification-info {
|
|
70
|
-
background-color: var(--sd-color-bg-popup);
|
|
71
|
-
border-color: var(--sd-color-neutral-3);
|
|
70
|
+
background-color: var(--component-notification-notification-info-color-bg, var(--component-notification-info-color-bg, var(--sd-color-bg-popup)));
|
|
71
|
+
border-color: var(--component-notification-notification-info-color-border, var(--component-notification-info-color-border, var(--sd-color-neutral-3)));
|
|
72
72
|
}
|
|
73
73
|
.sd-notification-info .sd-notification-icon {
|
|
74
|
-
color: rgb(var(--sd-primary-6));
|
|
74
|
+
color: var(--component-notification-notification-info-color-icon, var(--component-notification-info-color-icon, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
75
75
|
}
|
|
76
76
|
.sd-notification-success {
|
|
77
|
-
background-color: var(--sd-color-bg-popup);
|
|
78
|
-
border-color: var(--sd-color-neutral-3);
|
|
77
|
+
background-color: var(--component-notification-notification-success-color-bg, var(--component-notification-success-color-bg, var(--sd-color-bg-popup)));
|
|
78
|
+
border-color: var(--component-notification-notification-success-color-border, var(--component-notification-success-color-border, var(--sd-color-neutral-3)));
|
|
79
79
|
}
|
|
80
80
|
.sd-notification-success .sd-notification-icon {
|
|
81
|
-
color: rgb(var(--sd-success-6));
|
|
81
|
+
color: var(--component-notification-notification-success-color-icon, var(--component-notification-success-color-icon, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
|
|
82
82
|
}
|
|
83
83
|
.sd-notification-warning {
|
|
84
|
-
background-color: var(--sd-color-bg-popup);
|
|
85
|
-
border-color: var(--sd-color-neutral-3);
|
|
84
|
+
background-color: var(--component-notification-notification-warning-color-bg, var(--component-notification-warning-color-bg, var(--sd-color-bg-popup)));
|
|
85
|
+
border-color: var(--component-notification-notification-warning-color-border, var(--component-notification-warning-color-border, var(--sd-color-neutral-3)));
|
|
86
86
|
}
|
|
87
87
|
.sd-notification-warning .sd-notification-icon {
|
|
88
|
-
color: rgb(var(--sd-warning-6));
|
|
88
|
+
color: var(--component-notification-notification-warning-color-icon, var(--component-notification-warning-color-icon, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
|
|
89
89
|
}
|
|
90
90
|
.sd-notification-error {
|
|
91
|
-
background-color: var(--sd-color-bg-popup);
|
|
92
|
-
border-color: var(--sd-color-neutral-3);
|
|
91
|
+
background-color: var(--component-notification-notification-error-color-bg, var(--component-notification-error-color-bg, var(--sd-color-bg-popup)));
|
|
92
|
+
border-color: var(--component-notification-notification-error-color-border, var(--component-notification-error-color-border, var(--sd-color-neutral-3)));
|
|
93
93
|
}
|
|
94
94
|
.sd-notification-error .sd-notification-icon {
|
|
95
|
-
color: rgb(var(--sd-danger-6));
|
|
95
|
+
color: var(--component-notification-notification-error-color-icon, var(--component-notification-error-color-icon, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
|
|
96
96
|
}
|
|
97
97
|
.sd-notification-left {
|
|
98
|
-
padding-right: 16px;
|
|
98
|
+
padding-right: var(--component-notification-notification-icon-margin-right, var(--component-notification-icon-margin-right, var(--spacing-7, 16px)));
|
|
99
99
|
}
|
|
100
100
|
.sd-notification-right {
|
|
101
101
|
flex: 1;
|
|
102
102
|
word-break: break-word;
|
|
103
103
|
}
|
|
104
104
|
.sd-notification-title {
|
|
105
|
-
color: var(--sd-color-text-1);
|
|
105
|
+
color: var(--component-notification-notification-normal-color-text-title, var(--component-notification-normal-color-text-title, var(--sd-color-text-1)));
|
|
106
106
|
font-weight: 500;
|
|
107
|
-
font-size: 16px;
|
|
107
|
+
font-size: var(--component-notification-notification-font-size-title, var(--component-notification-font-size-title, var(--font-size-title-1, 16px)));
|
|
108
108
|
}
|
|
109
109
|
.sd-notification-title + .sd-notification-content {
|
|
110
|
-
margin-top: 4px;
|
|
110
|
+
margin-top: var(--component-notification-notification-title-margin-bottom, var(--component-notification-title-margin-bottom, var(--spacing-2, 4px)));
|
|
111
111
|
}
|
|
112
112
|
.sd-notification-content {
|
|
113
|
-
color: var(--sd-color-text-1);
|
|
114
|
-
font-size: 14px;
|
|
113
|
+
color: var(--component-notification-notification-normal-color-text-content, var(--component-notification-normal-color-text-content, var(--sd-color-text-1)));
|
|
114
|
+
font-size: var(--component-notification-notification-font-size-content, var(--component-notification-font-size-content, var(--font-size-body-3, 14px)));
|
|
115
115
|
}
|
|
116
116
|
.sd-notification-info .sd-notification-title {
|
|
117
|
-
color: var(--sd-color-text-1);
|
|
117
|
+
color: var(--component-notification-notification-info-color-text-title, var(--component-notification-info-color-text-title, var(--sd-color-text-1)));
|
|
118
118
|
}
|
|
119
119
|
.sd-notification-info .sd-notification-content {
|
|
120
|
-
color: var(--sd-color-text-1);
|
|
120
|
+
color: var(--component-notification-notification-info-color-text-content, var(--component-notification-info-color-text-content, var(--sd-color-text-1)));
|
|
121
121
|
}
|
|
122
122
|
.sd-notification-success .sd-notification-title {
|
|
123
|
-
color: var(--sd-color-text-1);
|
|
123
|
+
color: var(--component-notification-notification-success-color-text-title, var(--component-notification-success-color-text-title, var(--sd-color-text-1)));
|
|
124
124
|
}
|
|
125
125
|
.sd-notification-success .sd-notification-content {
|
|
126
|
-
color: var(--sd-color-text-1);
|
|
126
|
+
color: var(--component-notification-notification-success-color-text-content, var(--component-notification-success-color-text-content, var(--sd-color-text-1)));
|
|
127
127
|
}
|
|
128
128
|
.sd-notification-warning .sd-notification-title {
|
|
129
|
-
color: var(--sd-color-text-1);
|
|
129
|
+
color: var(--component-notification-notification-warning-color-text-title, var(--component-notification-warning-color-text-title, var(--sd-color-text-1)));
|
|
130
130
|
}
|
|
131
131
|
.sd-notification-warning .sd-notification-content {
|
|
132
|
-
color: var(--sd-color-text-1);
|
|
132
|
+
color: var(--component-notification-notification-warning-color-text-content, var(--component-notification-warning-color-text-content, var(--sd-color-text-1)));
|
|
133
133
|
}
|
|
134
134
|
.sd-notification-error .sd-notification-title {
|
|
135
|
-
color: var(--sd-color-text-1);
|
|
135
|
+
color: var(--component-notification-notification-error-color-text-title, var(--component-notification-error-color-text-title, var(--sd-color-text-1)));
|
|
136
136
|
}
|
|
137
137
|
.sd-notification-error .sd-notification-content {
|
|
138
|
-
color: var(--sd-color-text-1);
|
|
138
|
+
color: var(--component-notification-notification-error-color-text-content, var(--component-notification-error-color-text-content, var(--sd-color-text-1)));
|
|
139
139
|
}
|
|
140
140
|
.sd-notification-footer {
|
|
141
|
-
margin-top: 16px;
|
|
141
|
+
margin-top: var(--component-notification-notification-btn-wrapper-margin-top, var(--component-notification-btn-wrapper-margin-top, var(--spacing-7, 16px)));
|
|
142
142
|
text-align: right;
|
|
143
143
|
}
|
|
144
144
|
.sd-notification-close-btn {
|
|
145
145
|
position: absolute;
|
|
146
|
-
top: 12px;
|
|
147
|
-
right: 12px;
|
|
148
|
-
color: var(--sd-color-text-1);
|
|
146
|
+
top: var(--component-notification-notification-close-icon-top, var(--component-notification-close-icon-top, var(--spacing-6, 12px)));
|
|
147
|
+
right: var(--component-notification-notification-close-icon-right, var(--component-notification-close-icon-right, var(--spacing-6, 12px)));
|
|
148
|
+
color: var(--component-notification-notification-color-close-icon, var(--component-notification-color-close-icon, var(--sd-color-text-1)));
|
|
149
149
|
font-size: 12px;
|
|
150
150
|
cursor: pointer;
|
|
151
151
|
}
|