@gooddata/sdk-ui-kit 10.17.0-alpha.6 → 10.17.0-alpha.8
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/esm/@ui/@dev/CodeSnippet.d.ts +11 -0
- package/esm/@ui/@dev/CodeSnippet.d.ts.map +1 -0
- package/esm/@ui/@dev/CodeSnippet.js +30 -0
- package/esm/@ui/@dev/CodeSnippet.js.map +1 -0
- package/esm/@ui/@dev/ComponentTable.d.ts +61 -0
- package/esm/@ui/@dev/ComponentTable.d.ts.map +1 -0
- package/esm/@ui/@dev/ComponentTable.js +88 -0
- package/esm/@ui/@dev/ComponentTable.js.map +1 -0
- package/esm/@ui/@types/icon.d.ts +5 -0
- package/esm/@ui/@types/icon.d.ts.map +1 -0
- package/esm/@ui/@types/icon.js +3 -0
- package/esm/@ui/@types/icon.js.map +1 -0
- package/esm/@ui/@types/size.d.ts +13 -0
- package/esm/@ui/@types/size.d.ts.map +1 -0
- package/esm/@ui/@types/size.js +2 -0
- package/esm/@ui/@types/size.js.map +1 -0
- package/esm/@ui/@types/themeColors.d.ts +5 -0
- package/esm/@ui/@types/themeColors.d.ts.map +1 -0
- package/esm/@ui/@types/themeColors.js +3 -0
- package/esm/@ui/@types/themeColors.js.map +1 -0
- package/esm/@ui/@types/variant.d.ts +21 -0
- package/esm/@ui/@types/variant.d.ts.map +1 -0
- package/esm/@ui/@types/variant.js +2 -0
- package/esm/@ui/@types/variant.js.map +1 -0
- package/esm/@ui/@utils/bem.d.ts +100 -0
- package/esm/@ui/@utils/bem.d.ts.map +1 -0
- package/esm/@ui/@utils/bem.js +112 -0
- package/esm/@ui/@utils/bem.js.map +1 -0
- package/esm/@ui/UiButton/UiButton.d.ts +23 -0
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -0
- package/esm/@ui/UiButton/UiButton.js +18 -0
- package/esm/@ui/UiButton/UiButton.js.map +1 -0
- package/esm/@ui/UiIcon/UiIcon.d.ts +17 -0
- package/esm/@ui/UiIcon/UiIcon.d.ts.map +1 -0
- package/esm/@ui/UiIcon/UiIcon.js +13 -0
- package/esm/@ui/UiIcon/UiIcon.js.map +1 -0
- package/esm/@ui/UiIcon/iconBem.d.ts +2 -0
- package/esm/@ui/UiIcon/iconBem.d.ts.map +1 -0
- package/esm/@ui/UiIcon/iconBem.js +4 -0
- package/esm/@ui/UiIcon/iconBem.js.map +1 -0
- package/esm/@ui/UiIcon/icons.d.ts +8 -0
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -0
- package/esm/@ui/UiIcon/icons.js +18 -0
- package/esm/@ui/UiIcon/icons.js.map +1 -0
- package/esm/Header/Header.js +1 -1
- package/esm/Header/Header.js.map +1 -1
- package/esm/SettingWidget/StylingSettingWidget/utils.js +1 -1
- package/esm/SettingWidget/StylingSettingWidget/utils.js.map +1 -1
- package/esm/index.d.ts +15 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +7 -0
- package/esm/index.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +174 -0
- package/package.json +15 -11
- package/src/@ui/UiButton/UiButton.scss +319 -0
- package/src/@ui/UiIcon/UiIcon.scss +61 -0
- package/src/@ui/defaultTheme.scss +222 -0
- package/src/@ui/index.scss +4 -0
- package/styles/css/bubble.css +42 -42
- package/styles/css/bubble.css.map +1 -1
- package/styles/css/button.css +27 -27
- package/styles/css/button.css.map +1 -1
- package/styles/css/datepicker.css +4 -4
- package/styles/css/descriptionPanel.css +3 -3
- package/styles/css/dialog.css +3 -3
- package/styles/css/dialog.css.map +1 -1
- package/styles/css/dropdown.css +4 -4
- package/styles/css/embedInsightDialog.css +1 -1
- package/styles/css/form.css +18 -18
- package/styles/css/form.css.map +1 -1
- package/styles/css/header.css +17 -17
- package/styles/css/header.css.map +1 -1
- package/styles/css/hyperlink.css +1 -1
- package/styles/css/insightList.css +2 -2
- package/styles/css/list.css +1 -1
- package/styles/css/loadingDots.css +1 -1
- package/styles/css/main.css +596 -136
- package/styles/css/main.css.map +1 -1
- package/styles/css/menu.css +1 -1
- package/styles/css/messages.css +1 -1
- package/styles/css/overlay.css +1 -1
- package/styles/css/settingWidget.css +1 -1
- package/styles/css/shareDialog.css +4 -4
- package/styles/css/shareDialogSelectControl.css +2 -2
- package/styles/css/stylingEditorDialog.css +1 -1
- package/styles/css/syntaxHighlightingInput.css +1 -1
- package/styles/css/tabs.css +1 -1
- package/styles/scss/Bubble/_variables.scss +8 -5
- package/styles/scss/Button/_variables.scss +20 -11
- package/styles/scss/Dialog/_variables.scss +3 -3
- package/styles/scss/button.scss +1 -1
- package/styles/scss/datepicker.scss +5 -5
- package/styles/scss/dialog.scss +3 -2
- package/styles/scss/dropdown.scss +4 -4
- package/styles/scss/embedInsightDialog.scss +2 -2
- package/styles/scss/form.scss +11 -10
- package/styles/scss/header.scss +23 -17
- package/styles/scss/insightList.scss +1 -1
- package/styles/scss/list.scss +2 -2
- package/styles/scss/loadingDots.scss +2 -2
- package/styles/scss/main.scss +3 -0
- package/styles/scss/overlay.scss +2 -2
- package/styles/scss/shareDialog.scss +6 -6
- package/styles/scss/shareDialogSelectControl.scss +2 -2
- package/styles/scss/syntaxHighlightingInput.scss +2 -2
- package/styles/scss/tabs.scss +2 -2
- package/styles/scss/variables.scss +6 -6
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-kit-button {
|
|
4
|
+
$root: &;
|
|
5
|
+
|
|
6
|
+
font-family: var(--gd-font-family);
|
|
7
|
+
gap: var(--gd-spacing-5px);
|
|
8
|
+
border-radius: var(--gd-button-borderRadius);
|
|
9
|
+
transition: var(--gd-transition-all);
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
border-style: solid;
|
|
15
|
+
border-width: 1px;
|
|
16
|
+
|
|
17
|
+
&:disabled {
|
|
18
|
+
cursor: default;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:not(&:disabled, &--variant-tertiary, &--variant-popout) {
|
|
22
|
+
&:active {
|
|
23
|
+
#{$root}__text {
|
|
24
|
+
// Move text inside the button on :active state.
|
|
25
|
+
padding-top: 1px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
#{$root}__icon {
|
|
29
|
+
// Move icon inside the button on :active state.
|
|
30
|
+
padding-top: 1px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__text {
|
|
36
|
+
transition: var(--gd-transition-all);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__icon {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
transition: var(--gd-transition-all);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--isLoading {
|
|
47
|
+
#{$root}__icon {
|
|
48
|
+
// Spin icon on loading state.
|
|
49
|
+
animation: rotate 1s infinite steps(30);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Size
|
|
55
|
+
*/
|
|
56
|
+
&--size {
|
|
57
|
+
&-small {
|
|
58
|
+
height: var(--gd-button-S);
|
|
59
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-10px);
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
|
|
62
|
+
&#{$root}--iconPosition {
|
|
63
|
+
&-left {
|
|
64
|
+
padding-left: var(--gd-spacing-7px);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-right {
|
|
68
|
+
padding-right: var(--gd-spacing-7px);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-medium {
|
|
74
|
+
height: var(--gd-button-M);
|
|
75
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-15px);
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
|
|
78
|
+
&#{$root}--iconPosition {
|
|
79
|
+
&-left {
|
|
80
|
+
padding-left: var(--gd-spacing-10px);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&-right {
|
|
84
|
+
padding-right: var(--gd-spacing-10px);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&-large {
|
|
90
|
+
height: var(--gd-button-L);
|
|
91
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-20px);
|
|
92
|
+
font-size: 16px;
|
|
93
|
+
|
|
94
|
+
&#{$root}--iconPosition {
|
|
95
|
+
&-left {
|
|
96
|
+
padding-left: var(--gd-spacing-15px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-right {
|
|
100
|
+
padding-right: var(--gd-spacing-15px);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Variant
|
|
108
|
+
*/
|
|
109
|
+
&--variant {
|
|
110
|
+
&-primary {
|
|
111
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
|
112
|
+
|
|
113
|
+
color: var(--gd-palette-complementary-0);
|
|
114
|
+
background-color: var(--gd-palette-primary-base);
|
|
115
|
+
border-color: var(--gd-palette-complementary-9-t90);
|
|
116
|
+
font-weight: 700;
|
|
117
|
+
|
|
118
|
+
&:not(&:disabled) {
|
|
119
|
+
&:focus {
|
|
120
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
121
|
+
inset;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:hover {
|
|
125
|
+
background-color: var(--gd-palette-primary-base-d06);
|
|
126
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
127
|
+
inset;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:active {
|
|
131
|
+
background: var(--gd-palette-primary-base-d12);
|
|
132
|
+
box-shadow: var(--gd-button-dropShadow, 0 2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
133
|
+
inset;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:disabled {
|
|
138
|
+
background-color: var(--gd-palette-primary-disabled);
|
|
139
|
+
box-shadow: none;
|
|
140
|
+
border-color: transparent;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&-secondary {
|
|
145
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-5);
|
|
146
|
+
|
|
147
|
+
color: var(--gd-palette-complementary-7);
|
|
148
|
+
border-color: var(--gd-palette-complementary-4);
|
|
149
|
+
background-color: var(--gd-palette-complementary-0);
|
|
150
|
+
font-weight: 400;
|
|
151
|
+
|
|
152
|
+
&:not(&:disabled) {
|
|
153
|
+
&:focus {
|
|
154
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
155
|
+
|
|
156
|
+
color: var(--gd-palette-complementary-8);
|
|
157
|
+
background: var(--gd-palette-complementary-1);
|
|
158
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-5-t40)
|
|
159
|
+
inset;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&:hover {
|
|
163
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
164
|
+
|
|
165
|
+
color: var(--gd-palette-complementary-8);
|
|
166
|
+
border-color: var(--gd-palette-complementary-5);
|
|
167
|
+
background: var(--gd-palette-complementary-0);
|
|
168
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-5-t40)
|
|
169
|
+
inset;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:active {
|
|
173
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
174
|
+
|
|
175
|
+
color: var(--gd-palette-complementary-8);
|
|
176
|
+
border-color: var(--gd-palette-complementary-5);
|
|
177
|
+
background: var(--gd-palette-complementary-3);
|
|
178
|
+
box-shadow: var(--gd-button-dropShadow, 0 2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
179
|
+
inset;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&:disabled {
|
|
184
|
+
color: var(--gd-palette-complementary-5);
|
|
185
|
+
border-color: var(--gd-palette-complementary-4);
|
|
186
|
+
background: var(--gd-palette-complementary-0);
|
|
187
|
+
box-shadow: none;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&-tertiary {
|
|
192
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-5);
|
|
193
|
+
|
|
194
|
+
color: var(--gd-palette-complementary-7);
|
|
195
|
+
text-decoration: underline;
|
|
196
|
+
background-color: transparent;
|
|
197
|
+
border-color: transparent;
|
|
198
|
+
|
|
199
|
+
&:not(&:disabled) {
|
|
200
|
+
&:focus {
|
|
201
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
202
|
+
|
|
203
|
+
color: var(--gd-palette-complementary-8);
|
|
204
|
+
}
|
|
205
|
+
&:hover {
|
|
206
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
207
|
+
|
|
208
|
+
color: var(--gd-palette-complementary-8);
|
|
209
|
+
}
|
|
210
|
+
&:active {
|
|
211
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
212
|
+
|
|
213
|
+
color: var(--gd-palette-complementary-8);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&:disabled {
|
|
218
|
+
color: var(--gd-palette-complementary-5);
|
|
219
|
+
text-decoration: none;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&#{$root}--size {
|
|
223
|
+
&-small,
|
|
224
|
+
&-medium {
|
|
225
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-5px);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&-large {
|
|
229
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-10px);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&-popout {
|
|
235
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
236
|
+
|
|
237
|
+
color: var(--gd-palette-primary-base);
|
|
238
|
+
background-color: transparent;
|
|
239
|
+
border-color: transparent;
|
|
240
|
+
|
|
241
|
+
&:not(&:disabled) {
|
|
242
|
+
&:focus {
|
|
243
|
+
text-decoration: underline;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&:hover {
|
|
247
|
+
color: var(--gd-palette-complementary-8);
|
|
248
|
+
text-decoration: underline;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&:active {
|
|
252
|
+
color: var(--gd-palette-primary-base);
|
|
253
|
+
text-decoration: underline;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&:disabled {
|
|
258
|
+
color: var(--gd-palette-complementary-5);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&#{$root}--size {
|
|
262
|
+
&-small,
|
|
263
|
+
&-medium {
|
|
264
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-5px);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&-large {
|
|
268
|
+
padding: var(--gd-spacing-6px) var(--gd-spacing-10px);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&-danger {
|
|
274
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
|
275
|
+
|
|
276
|
+
background: var(--gd-palette-error-base);
|
|
277
|
+
color: var(--gd-palette-complementary-0);
|
|
278
|
+
border-color: var(--gd-palette-complementary-9-t90);
|
|
279
|
+
font-weight: 700;
|
|
280
|
+
|
|
281
|
+
&:not(&:disabled) {
|
|
282
|
+
&:focus {
|
|
283
|
+
border-color: var(--gd-palette-complementary-9-t80);
|
|
284
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
285
|
+
inset;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&:hover {
|
|
289
|
+
border-color: var(--gd-palette-complementary-9-t80);
|
|
290
|
+
background-color: var(--gd-palette-error-base-d10);
|
|
291
|
+
box-shadow: var(--gd-button-dropShadow, 0 -2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
292
|
+
inset;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&:active {
|
|
296
|
+
border-color: var(--gd-palette-complementary-9-t80);
|
|
297
|
+
background: var(--gd-palette-error-base-d20);
|
|
298
|
+
box-shadow: var(--gd-button-dropShadow, 0 2px 0 0) var(--gd-palette-complementary-9-t85)
|
|
299
|
+
inset;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&:disabled {
|
|
304
|
+
background-color: var(--gd-palette-error-disabled);
|
|
305
|
+
box-shadow: none;
|
|
306
|
+
border-color: transparent;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@keyframes rotate {
|
|
313
|
+
from {
|
|
314
|
+
transform: rotate(0deg);
|
|
315
|
+
}
|
|
316
|
+
to {
|
|
317
|
+
transform: rotate(360deg);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
.gd-ui-kit-icon {
|
|
3
|
+
&--color {
|
|
4
|
+
&-primary {
|
|
5
|
+
--gd-icon-fill-color: var(--gd-palette-primary-base);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&-warning {
|
|
9
|
+
--gd-icon-fill-color: var(--gd-palette-warning-base);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&-error {
|
|
13
|
+
--gd-icon-fill-color: var(--gd-palette-error-base);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-complementary-0 {
|
|
17
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-complementary-1 {
|
|
21
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-complementary-2 {
|
|
25
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-2);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-complementary-3 {
|
|
29
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-3);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-complementary-4 {
|
|
33
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-4);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-complementary-5 {
|
|
37
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-5);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-complementary-6 {
|
|
41
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-6);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-complementary-7 {
|
|
45
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-7);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-complementary-8 {
|
|
49
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-8);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-complementary-9 {
|
|
53
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-9);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__fill {
|
|
58
|
+
transition: var(--gd-transition-all);
|
|
59
|
+
fill: var(--gd-icon-fill-color);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
// !!! This file is autogenerated and should not be edited manually. !!!
|
|
3
|
+
// To edit default values or add new css variables, please look into variablesSpec folder in @gooddata/sdk-ui-theme-provider package.
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
// Palette
|
|
7
|
+
--gd-palette-error-base: #e54d42;
|
|
8
|
+
--gd-palette-info-base: var(--gd-palette-primary-base, #14b2e2);
|
|
9
|
+
--gd-palette-primary-base: #14b2e2;
|
|
10
|
+
--gd-palette-success-base: #00c18d;
|
|
11
|
+
--gd-palette-warning-base: #fada23;
|
|
12
|
+
--gd-palette-complementary-0: #fff;
|
|
13
|
+
--gd-palette-complementary-1: #f5f8fa;
|
|
14
|
+
--gd-palette-complementary-2: #ebeff4;
|
|
15
|
+
--gd-palette-complementary-3: #dde4eb;
|
|
16
|
+
--gd-palette-complementary-4: #ccd8e2;
|
|
17
|
+
--gd-palette-complementary-5: #b0beca;
|
|
18
|
+
--gd-palette-complementary-6: #94a1ad;
|
|
19
|
+
--gd-palette-complementary-7: #6d7680;
|
|
20
|
+
--gd-palette-complementary-8: #464e56;
|
|
21
|
+
--gd-palette-complementary-9: #000;
|
|
22
|
+
|
|
23
|
+
// Button
|
|
24
|
+
--gd-button-borderRadius: 3px;
|
|
25
|
+
--gd-button-textCapitalization: none;
|
|
26
|
+
|
|
27
|
+
// Tooltip
|
|
28
|
+
--gd-tooltip-backgroundColor: var(--gd-palette-complementary-8-from-theme, rgba(70, 78, 86, 0.95));
|
|
29
|
+
--gd-tooltip-color: var(--gd-palette-complementary-0, #fff);
|
|
30
|
+
|
|
31
|
+
// Modal
|
|
32
|
+
--gd-modal-borderColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
33
|
+
--gd-modal-borderRadius: 3px;
|
|
34
|
+
--gd-modal-borderWidth: 0;
|
|
35
|
+
--gd-modal-outsideBackgroundColor: var(--gd-palette-complementary-2-from-theme, #eff1f3);
|
|
36
|
+
--gd-modal-title-color: var(--gd-palette-complementary-9, #000);
|
|
37
|
+
--gd-modal-title-lineColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
38
|
+
|
|
39
|
+
// Chart
|
|
40
|
+
--gd-chart-axisColor: var(--gd-palette-complementary-4-from-theme, #ccd6eb);
|
|
41
|
+
--gd-chart-axisLabelColor: var(--gd-palette-complementary-7, #6d7680);
|
|
42
|
+
--gd-chart-axisValueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
43
|
+
--gd-chart-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
44
|
+
--gd-chart-gridColor: var(--gd-palette-complementary-3-from-theme, #ebebeb);
|
|
45
|
+
--gd-chart-legendValueColor: var(--gd-palette-complementary-7, #6d7680);
|
|
46
|
+
--gd-chart-tooltipBackgroundColor: var(
|
|
47
|
+
--gd-palette-complementary-0-from-theme,
|
|
48
|
+
rgba(255, 255, 255, 0.95)
|
|
49
|
+
);
|
|
50
|
+
--gd-chart-tooltipBorderColor: var(--gd-palette-complementary-3-from-theme, rgba(201, 213, 224, 0.7));
|
|
51
|
+
--gd-chart-tooltipLabelColor: var(
|
|
52
|
+
--gd-palette-complementary-6-from-theme,
|
|
53
|
+
var(--gd-palette-complementary-9, #000)
|
|
54
|
+
);
|
|
55
|
+
--gd-chart-tooltipValueColor: var(--gd-palette-complementary-9, #000);
|
|
56
|
+
--gd-chart-legendLabelColor: var(--gd-palette-complementary-5, #b0beca);
|
|
57
|
+
|
|
58
|
+
// Table
|
|
59
|
+
--gd-table-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
60
|
+
--gd-table-gridColor: var(--gd-palette-complementary-4-from-theme, rgba(176, 190, 202, 0.5));
|
|
61
|
+
--gd-table-headerHoverBackgroundColor: var(
|
|
62
|
+
--gd-palette-complementary-1-from-theme,
|
|
63
|
+
var(--gd-palette-primary-dimmed, #e8f7fc)
|
|
64
|
+
);
|
|
65
|
+
--gd-table-headerLabelColor: var(
|
|
66
|
+
--gd-palette-complementary-7-from-theme,
|
|
67
|
+
var(--gd-palette-complementary-8, #464e56)
|
|
68
|
+
);
|
|
69
|
+
--gd-table-hoverBackgroundColor: var(--gd-palette-complementary-1-from-theme, rgba(109, 118, 128, 0.1));
|
|
70
|
+
--gd-table-loadingIconColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
71
|
+
--gd-table-nullValueColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
72
|
+
--gd-table-subtotalBackgroundColor: var(
|
|
73
|
+
--gd-palette-complementary-1-from-theme,
|
|
74
|
+
rgba(176, 190, 202, 0.1)
|
|
75
|
+
);
|
|
76
|
+
--gd-table-totalBackgroundColor: var(--gd-palette-complementary-2-from-theme, rgba(176, 190, 202, 0.2));
|
|
77
|
+
--gd-table-totalValueColor: var(--gd-palette-complementary-9, #000);
|
|
78
|
+
--gd-table-valueColor: var(--gd-palette-complementary-8, #464e56);
|
|
79
|
+
|
|
80
|
+
// Kpi
|
|
81
|
+
--gd-kpi-primaryMeasureColor: var(--gd-palette-complementary-9, #000);
|
|
82
|
+
--gd-kpi-secondaryInfoColor: var(--gd-palette-complementary-3-from-theme, rgba(176, 190, 202, 0.5));
|
|
83
|
+
|
|
84
|
+
// Analyticaldesigner
|
|
85
|
+
--gd-analyticalDesigner-title-color: var(--gd-palette-complementary-8, #464e56);
|
|
86
|
+
|
|
87
|
+
// Dashboards
|
|
88
|
+
--gd-dashboards-content-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
89
|
+
--gd-dashboards-content-kpiWidget-backgroundColor: var(
|
|
90
|
+
--gd-dashboards-content-widget-backgroundColor,
|
|
91
|
+
var(--gd-palette-complementary-0, #fff)
|
|
92
|
+
);
|
|
93
|
+
--gd-dashboards-content-kpiWidget-borderColor: var(
|
|
94
|
+
--gd-dashboards-content-widget-borderColor,
|
|
95
|
+
transparent
|
|
96
|
+
);
|
|
97
|
+
--gd-dashboards-content-kpiWidget-borderRadius: var(--gd-dashboards-content-widget-borderRadius, 15px);
|
|
98
|
+
--gd-dashboards-content-kpiWidget-borderWidth: var(--gd-dashboards-content-widget-borderWidth, 2px);
|
|
99
|
+
--gd-dashboards-content-kpiWidget-dropShadow: var(--gd-dashboards-content-widget-dropShadow, none);
|
|
100
|
+
--gd-dashboards-content-kpiWidget-kpi-primaryMeasureColor: var(
|
|
101
|
+
--gd-palette-complementary-9-from-theme,
|
|
102
|
+
#6d7680
|
|
103
|
+
);
|
|
104
|
+
--gd-dashboards-content-kpiWidget-kpi-secondaryInfoColor: var(--gd-palette-complementary-6, #94a1ad);
|
|
105
|
+
--gd-dashboards-content-kpiWidget-title-color: var(
|
|
106
|
+
--gd-dashboards-content-widget-title-color,
|
|
107
|
+
var(--gd-palette-complementary-8, #464e56)
|
|
108
|
+
);
|
|
109
|
+
--gd-dashboards-content-kpiWidget-title-textAlign: var(
|
|
110
|
+
--gd-dashboards-content-widget-title-textAlign,
|
|
111
|
+
center
|
|
112
|
+
);
|
|
113
|
+
--gd-dashboards-content-widget-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
114
|
+
--gd-dashboards-content-widget-borderColor: transparent;
|
|
115
|
+
--gd-dashboards-content-widget-borderRadius: 15px;
|
|
116
|
+
--gd-dashboards-content-widget-borderWidth: 2px;
|
|
117
|
+
--gd-dashboards-content-widget-chart-backgroundColor: var(
|
|
118
|
+
--gd-dashboards-content-widget-backgroundColor,
|
|
119
|
+
var(--gd-palette-complementary-0, #fff)
|
|
120
|
+
);
|
|
121
|
+
--gd-dashboards-content-widget-dropShadow: none;
|
|
122
|
+
--gd-dashboards-content-widget-table-backgroundColor: var(
|
|
123
|
+
--gd-dashboards-content-widget-backgroundColor,
|
|
124
|
+
var(--gd-palette-complementary-0, #fff)
|
|
125
|
+
);
|
|
126
|
+
--gd-dashboards-content-widget-title-color: var(--gd-palette-complementary-8, #464e56);
|
|
127
|
+
--gd-dashboards-content-widget-title-textAlign: center;
|
|
128
|
+
--gd-dashboards-filterBar-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
129
|
+
--gd-dashboards-filterBar-borderColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
130
|
+
--gd-dashboards-filterBar-filterButton-backgroundColor: transparent;
|
|
131
|
+
--gd-dashboards-navigation-backgroundColor: var(--gd-palette-complementary-1-from-theme, #303442);
|
|
132
|
+
--gd-dashboards-navigation-borderColor: var(
|
|
133
|
+
--gd-palette-complementary-4-from-theme,
|
|
134
|
+
rgba(148, 161, 173, 0.2)
|
|
135
|
+
);
|
|
136
|
+
--gd-dashboards-navigation-title-color: var(--gd-palette-complementary-6, #94a1ad);
|
|
137
|
+
--gd-dashboards-navigation-item-color: var(--gd-palette-complementary-8-from-theme, #94a1ad);
|
|
138
|
+
--gd-dashboards-navigation-item-hoverColor: var(--gd-palette-complementary-9-from-theme, #fff);
|
|
139
|
+
--gd-dashboards-navigation-item-selectedColor: var(--gd-palette-complementary-9-from-theme, #fff);
|
|
140
|
+
--gd-dashboards-navigation-item-selectedBackgroundColor: var(
|
|
141
|
+
--gd-palette-complementary-0-from-theme,
|
|
142
|
+
#131c28
|
|
143
|
+
);
|
|
144
|
+
--gd-dashboards-section-description-color: var(--gd-palette-complementary-6, #94a1ad);
|
|
145
|
+
--gd-dashboards-section-title-color: var(--gd-palette-complementary-8, #464e56);
|
|
146
|
+
--gd-dashboards-section-title-lineColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
147
|
+
--gd-dashboards-title-backgroundColor: var(--gd-palette-complementary-0, #fff);
|
|
148
|
+
--gd-dashboards-title-color: var(--gd-palette-complementary-8, #464e56);
|
|
149
|
+
--gd-dashboards-title-borderColor: var(--gd-palette-complementary-3, #dde4eb);
|
|
150
|
+
|
|
151
|
+
// Derived
|
|
152
|
+
--gd-palette-error-base-d10: #d62a1e;
|
|
153
|
+
--gd-palette-error-base-d20: #aa2117;
|
|
154
|
+
--gd-palette-error-base-t02: rgba(229, 77, 66, 0.98);
|
|
155
|
+
--gd-palette-error-base-t10: rgba(229, 77, 66, 0.9);
|
|
156
|
+
--gd-palette-error-base-t50: rgba(229, 77, 66, 0.5);
|
|
157
|
+
--gd-palette-error-base-t70d20: rgba(170, 33, 23, 0.3);
|
|
158
|
+
--gd-palette-error-base-t85: rgba(229, 77, 66, 0.15);
|
|
159
|
+
--gd-palette-error-dimmed: #fcedec;
|
|
160
|
+
--gd-palette-error-dimmed90: #e75e54;
|
|
161
|
+
--gd-palette-error-disabled: rgba(241, 161, 156, 0.6);
|
|
162
|
+
--gd-palette-error-focus: rgba(235, 119, 111, 0.6);
|
|
163
|
+
--gd-palette-error-lightest: #fff2f1;
|
|
164
|
+
--gd-palette-info-base-t02: var(--gd-palette-primary-base-t02, rgba(20, 178, 226, 0.98));
|
|
165
|
+
--gd-palette-info-base-t85: var(--gd-palette-primary-base-t85, rgba(20, 178, 226, 0.15));
|
|
166
|
+
--gd-palette-primary-base-d06: #129cc6;
|
|
167
|
+
--gd-palette-primary-base-d12: #0f86aa;
|
|
168
|
+
--gd-palette-primary-base-darken20: #0c6884;
|
|
169
|
+
--gd-palette-primary-base-dimmed-darken03: #daf2fa;
|
|
170
|
+
--gd-palette-primary-base-lighten45: #dff5fc;
|
|
171
|
+
--gd-palette-primary-base-mix15-white: rgba(220, 243, 251, 0.925);
|
|
172
|
+
--gd-palette-primary-base-t02: rgba(20, 178, 226, 0.98);
|
|
173
|
+
--gd-palette-primary-base-t10: rgba(20, 178, 226, 0.9);
|
|
174
|
+
--gd-palette-primary-base-t25: rgba(20, 178, 226, 0.75);
|
|
175
|
+
--gd-palette-primary-base-t50: rgba(20, 178, 226, 0.5);
|
|
176
|
+
--gd-palette-primary-base-t70: rgba(20, 178, 226, 0.3);
|
|
177
|
+
--gd-palette-primary-base-t80: rgba(20, 178, 226, 0.2);
|
|
178
|
+
--gd-palette-primary-base-t85: rgba(20, 178, 226, 0.15);
|
|
179
|
+
--gd-palette-primary-base-t90: rgba(20, 178, 226, 0.1);
|
|
180
|
+
--gd-palette-primary-dimmed: #e8f7fc;
|
|
181
|
+
--gd-palette-primary-dimmed50: #8ad9f1;
|
|
182
|
+
--gd-palette-primary-disabled: rgba(69, 199, 239, 0.6);
|
|
183
|
+
--gd-palette-primary-focus: rgba(41, 190, 236, 0.6);
|
|
184
|
+
--gd-palette-primary-lightest: #dff5fc;
|
|
185
|
+
--gd-palette-success-base-d06: #00a277;
|
|
186
|
+
--gd-palette-success-base-d12: #008460;
|
|
187
|
+
--gd-palette-success-base-t02: rgba(0, 193, 141, 0.98);
|
|
188
|
+
--gd-palette-success-base-t85: rgba(0, 193, 141, 0.15);
|
|
189
|
+
--gd-palette-success-dimmed: #e5f8f3;
|
|
190
|
+
--gd-palette-success-disabled: rgba(0, 224, 163, 0.5);
|
|
191
|
+
--gd-palette-success-focus: rgba(0, 224, 163, 0.5);
|
|
192
|
+
--gd-palette-warning-base-t50: rgba(250, 218, 35, 0.5);
|
|
193
|
+
--gd-palette-warning-base-t70d20: rgba(179, 153, 4, 0.3);
|
|
194
|
+
--gd-palette-warning-base-t85: rgba(250, 218, 35, 0.15);
|
|
195
|
+
--gd-palette-warning-dimmed: #fef8d3;
|
|
196
|
+
--gd-palette-warning-dimmed40: #8e8642;
|
|
197
|
+
--gd-palette-warning-text-dimmed: #6a6a4c;
|
|
198
|
+
--gd-palette-warning-low-base-m80: #d0f0f9;
|
|
199
|
+
--gd-palette-warning-medium-base-m80: #fef8d3;
|
|
200
|
+
--gd-palette-warning-high-base-m80: #fadbd9;
|
|
201
|
+
--gd-palette-complementary-0-t10: rgba(255, 255, 255, 0.95);
|
|
202
|
+
--gd-palette-complementary-0-t50: rgba(255, 255, 255, 0.5);
|
|
203
|
+
--gd-palette-complementary-5-t40: rgba(176, 190, 202, 0.6);
|
|
204
|
+
--gd-palette-complementary-9-t80: rgba(0, 0, 0, 0.2);
|
|
205
|
+
--gd-palette-complementary-9-t85: rgba(0, 0, 0, 0.15);
|
|
206
|
+
--gd-palette-complementary-9-t90: rgba(0, 0, 0, 0.1);
|
|
207
|
+
--gd-shadow-color: rgba(20, 56, 93, 0.15);
|
|
208
|
+
|
|
209
|
+
// Internal
|
|
210
|
+
--gd-font-family: gdcustomfont, Avenir, "Helvetica Neue", arial, sans-serif;
|
|
211
|
+
--gd-spacing-10px: 10px;
|
|
212
|
+
--gd-spacing-15px: 15px;
|
|
213
|
+
--gd-spacing-20px: 20px;
|
|
214
|
+
--gd-spacing-5px: 5px;
|
|
215
|
+
--gd-spacing-6px: 6px;
|
|
216
|
+
--gd-spacing-7px: 7px;
|
|
217
|
+
--gd-transition-all: all 0.25s ease-in-out;
|
|
218
|
+
--gd-button-L: 38px;
|
|
219
|
+
--gd-button-M: 32px;
|
|
220
|
+
--gd-button-S: 27px;
|
|
221
|
+
--gd-icon-fill-color: var(--gd-palette-complementary-9);
|
|
222
|
+
}
|