@cloud-app-dev/vidc 3.1.0 → 3.1.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/es/ThemeAntd/demo.css +16 -0
- package/es/ThemeAntd/demo.d.ts +1 -0
- package/es/ThemeAntd/demo.js +47 -5
- package/es/ThemeAntd/index.css +80 -20
- package/es/ThemeAntd/style/button.css +1 -1
- package/es/ThemeAntd/style/checkbox.css +2 -2
- package/es/ThemeAntd/style/input.css +4 -4
- package/es/ThemeAntd/style/pagination.css +24 -8
- package/es/ThemeAntd/style/picker.css +2 -0
- package/es/ThemeAntd/style/popover.css +1 -1
- package/es/ThemeAntd/style/radio.css +7 -1
- package/es/ThemeAntd/style/select.css +3 -3
- package/es/ThemeAntd/style/table.css +36 -0
- package/package.json +1 -1
- package/theme-config.ts +11 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.theme-antd-demo {
|
|
2
|
+
color: #fff;
|
|
3
|
+
background-color: #0f2e61;
|
|
4
|
+
padding: 40px;
|
|
5
|
+
--form-bg: #1d4788;
|
|
6
|
+
--form-bd: rgba(255, 255, 255, 0.3);
|
|
7
|
+
--form-active-bg: #e8b127;
|
|
8
|
+
--table-bg: #0f2e61;
|
|
9
|
+
--table-bd: rgba(255, 255, 255, 0.3);
|
|
10
|
+
--table-head-bg: #1d4788;
|
|
11
|
+
--table-row-hover-color: #1d4788;
|
|
12
|
+
--radius1: 4px;
|
|
13
|
+
}
|
|
14
|
+
.theme-antd-demo a {
|
|
15
|
+
color: inherit;
|
|
16
|
+
}
|
package/es/ThemeAntd/demo.d.ts
CHANGED
package/es/ThemeAntd/demo.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import "antd/lib/table/style";
|
|
2
|
+
import _Table from "antd/lib/table";
|
|
1
3
|
import "antd/lib/button/style";
|
|
2
4
|
import _Button from "antd/lib/button";
|
|
3
5
|
import "antd/lib/pagination/style";
|
|
@@ -16,13 +18,18 @@ import "antd/lib/input/style";
|
|
|
16
18
|
import _Input from "antd/lib/input";
|
|
17
19
|
import "antd/lib/config-provider/style";
|
|
18
20
|
import _ConfigProvider from "antd/lib/config-provider";
|
|
19
|
-
import React from 'react';
|
|
21
|
+
import React, { useRef } from 'react';
|
|
20
22
|
import ThemeAntd from '.';
|
|
23
|
+
import "./demo.css";
|
|
21
24
|
|
|
22
25
|
var App = function App() {
|
|
26
|
+
var ref = useRef();
|
|
23
27
|
return /*#__PURE__*/React.createElement(_ConfigProvider, {
|
|
24
28
|
prefixCls: "cloudapp"
|
|
25
|
-
}, /*#__PURE__*/React.createElement(ThemeAntd, null, /*#__PURE__*/React.createElement("div",
|
|
29
|
+
}, /*#__PURE__*/React.createElement(ThemeAntd, null, /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: "theme-antd-demo",
|
|
31
|
+
ref: ref
|
|
32
|
+
}, /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Input, {
|
|
26
33
|
placeholder: "\u6587\u672C\u8F93\u5165",
|
|
27
34
|
prefix: /*#__PURE__*/React.createElement("div", null, "111"),
|
|
28
35
|
suffix: /*#__PURE__*/React.createElement("div", null, "2222")
|
|
@@ -33,7 +40,10 @@ var App = function App() {
|
|
|
33
40
|
})), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Input.TextArea, {
|
|
34
41
|
placeholder: "\u591A\u884C\u6587\u672C\u8F93\u5165"
|
|
35
42
|
})), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Select, {
|
|
36
|
-
placeholder: "\u9009\u62E9\u8F93\u5165"
|
|
43
|
+
placeholder: "\u9009\u62E9\u8F93\u5165",
|
|
44
|
+
getPopupContainer: function getPopupContainer() {
|
|
45
|
+
return ref.current;
|
|
46
|
+
}
|
|
37
47
|
}, /*#__PURE__*/React.createElement(_Select.Option, {
|
|
38
48
|
value: 1
|
|
39
49
|
}, "\u9009\u98791"), /*#__PURE__*/React.createElement(_Select.Option, {
|
|
@@ -46,7 +56,15 @@ var App = function App() {
|
|
|
46
56
|
value: 1
|
|
47
57
|
}, "\u9009\u98791"), /*#__PURE__*/React.createElement(_Checkbox, {
|
|
48
58
|
value: 2
|
|
49
|
-
}, "\u9009\u98792"))), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_DatePicker,
|
|
59
|
+
}, "\u9009\u98792"))), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_DatePicker, {
|
|
60
|
+
getPopupContainer: function getPopupContainer() {
|
|
61
|
+
return ref.current;
|
|
62
|
+
}
|
|
63
|
+
})), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_DatePicker.RangePicker, {
|
|
64
|
+
getPopupContainer: function getPopupContainer() {
|
|
65
|
+
return ref.current;
|
|
66
|
+
}
|
|
67
|
+
})), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Pagination, {
|
|
50
68
|
total: 100
|
|
51
69
|
})), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Button, null, "\u6309\u94AE1"), /*#__PURE__*/React.createElement("span", {
|
|
52
70
|
style: {
|
|
@@ -54,7 +72,31 @@ var App = function App() {
|
|
|
54
72
|
}
|
|
55
73
|
}), /*#__PURE__*/React.createElement(_Button, {
|
|
56
74
|
type: "primary"
|
|
57
|
-
}, "\u6309\u94AE2"))
|
|
75
|
+
}, "\u6309\u94AE2")), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(_Table, {
|
|
76
|
+
columns: [{
|
|
77
|
+
title: '姓名',
|
|
78
|
+
dataIndex: 'name'
|
|
79
|
+
}, {
|
|
80
|
+
title: '年龄',
|
|
81
|
+
dataIndex: 'age'
|
|
82
|
+
}, {
|
|
83
|
+
title: '性别',
|
|
84
|
+
dataIndex: 'sex'
|
|
85
|
+
}],
|
|
86
|
+
dataSource: [{
|
|
87
|
+
name: '张三',
|
|
88
|
+
sex: '男',
|
|
89
|
+
age: 20
|
|
90
|
+
}, {
|
|
91
|
+
name: '李四',
|
|
92
|
+
sex: '男',
|
|
93
|
+
age: 20
|
|
94
|
+
}, {
|
|
95
|
+
name: '王五',
|
|
96
|
+
sex: '男',
|
|
97
|
+
age: 20
|
|
98
|
+
}]
|
|
99
|
+
})))));
|
|
58
100
|
};
|
|
59
101
|
|
|
60
102
|
export default App;
|
package/es/ThemeAntd/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
div .cloudapp-btn {
|
|
2
|
-
border-radius: var(--
|
|
2
|
+
border-radius: var(--radius1);
|
|
3
3
|
}
|
|
4
4
|
div .cloudapp-btn:hover,
|
|
5
5
|
div .cloudapp-btn:focus {
|
|
@@ -52,7 +52,7 @@ div .cloudapp-checkbox-checked .cloudapp-checkbox-inner {
|
|
|
52
52
|
background-color: var(--form-active-bg);
|
|
53
53
|
}
|
|
54
54
|
div .cloudapp-checkbox-inner {
|
|
55
|
-
border-radius: var(--
|
|
55
|
+
border-radius: var(--radius1);
|
|
56
56
|
background-color: var(--form-bg);
|
|
57
57
|
border-color: var(--form-bd);
|
|
58
58
|
}
|
|
@@ -84,7 +84,7 @@ div .cloudapp-checkbox-indeterminate .cloudapp-checkbox-inner {
|
|
|
84
84
|
}
|
|
85
85
|
div .cloudapp-tree-checkbox-inner {
|
|
86
86
|
border-color: var(--form-bd);
|
|
87
|
-
border-radius: var(--
|
|
87
|
+
border-radius: var(--radius1);
|
|
88
88
|
}
|
|
89
89
|
div .cloudapp-tree-checkbox-wrapper:hover .cloudapp-tree-checkbox-inner,
|
|
90
90
|
div .cloudapp-tree-checkbox:hover .cloudapp-tree-checkbox-inner,
|
|
@@ -120,7 +120,7 @@ div .cloudapp-form-item {
|
|
|
120
120
|
}
|
|
121
121
|
div .cloudapp-input {
|
|
122
122
|
color: inherit;
|
|
123
|
-
border-radius: var(--
|
|
123
|
+
border-radius: var(--radius1);
|
|
124
124
|
border-color: var(--form-bd);
|
|
125
125
|
background-color: var(--form-bg);
|
|
126
126
|
}
|
|
@@ -138,7 +138,7 @@ div .cloudapp-input-focused {
|
|
|
138
138
|
div .cloudapp-input-affix-wrapper {
|
|
139
139
|
background-color: var(--form-bg);
|
|
140
140
|
color: inherit;
|
|
141
|
-
border-radius: var(--
|
|
141
|
+
border-radius: var(--radius1);
|
|
142
142
|
border-color: var(--form-bd);
|
|
143
143
|
}
|
|
144
144
|
div .cloudapp-input-affix-wrapper:hover {
|
|
@@ -157,7 +157,7 @@ div .cloudapp-input[disabled] {
|
|
|
157
157
|
}
|
|
158
158
|
div .cloudapp-input-number {
|
|
159
159
|
color: inherit;
|
|
160
|
-
border-radius: var(--
|
|
160
|
+
border-radius: var(--radius1);
|
|
161
161
|
border-color: var(--form-bd);
|
|
162
162
|
background-color: var(--form-bg);
|
|
163
163
|
}
|
|
@@ -170,7 +170,7 @@ div .cloudapp-input-number-focused {
|
|
|
170
170
|
box-shadow: unset;
|
|
171
171
|
}
|
|
172
172
|
div .cloudapp-input-number-handler-wrap {
|
|
173
|
-
border-radius: 0 var(--
|
|
173
|
+
border-radius: 0 var(--radius1) var(---redius1) 0;
|
|
174
174
|
background-color: var(--form-bg);
|
|
175
175
|
color: inherit;
|
|
176
176
|
}
|
|
@@ -189,12 +189,12 @@ div .cloudapp-pagination-prev,
|
|
|
189
189
|
div .cloudapp-pagination-next,
|
|
190
190
|
div .cloudapp-pagination-jump-prev,
|
|
191
191
|
div .cloudapp-pagination-jump-next {
|
|
192
|
-
border-radius: var(--
|
|
192
|
+
border-radius: var(--radius1);
|
|
193
193
|
line-height: 28px;
|
|
194
194
|
}
|
|
195
195
|
div .cloudapp-pagination-prev .cloudapp-pagination-item-link,
|
|
196
196
|
div .cloudapp-pagination-next .cloudapp-pagination-item-link {
|
|
197
|
-
border-radius: var(--
|
|
197
|
+
border-radius: var(--radius1);
|
|
198
198
|
background-color: var(--form-bg);
|
|
199
199
|
border-color: var(--form-bd);
|
|
200
200
|
}
|
|
@@ -203,21 +203,19 @@ div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp
|
|
|
203
203
|
color: var(--form-active-bg);
|
|
204
204
|
}
|
|
205
205
|
div .cloudapp-pagination-item {
|
|
206
|
-
border-radius: var(--
|
|
206
|
+
border-radius: var(--radius1);
|
|
207
207
|
background-color: var(--form-bg);
|
|
208
208
|
border-color: var(--form-bd);
|
|
209
209
|
}
|
|
210
|
+
div .cloudapp-pagination-item a {
|
|
211
|
+
color: inherit;
|
|
212
|
+
}
|
|
210
213
|
div .cloudapp-pagination-item-active {
|
|
211
214
|
border-color: var(--form-active-bg);
|
|
212
|
-
background-color: var(--form-active-bg);
|
|
213
|
-
}
|
|
214
|
-
div .cloudapp-pagination-item-active a {
|
|
215
|
-
color: #fff;
|
|
216
215
|
}
|
|
217
216
|
div .cloudapp-pagination-item:focus,
|
|
218
217
|
div .cloudapp-pagination-item:hover {
|
|
219
218
|
border-color: var(--form-active-bg);
|
|
220
|
-
background-color: var(--form-active-bg);
|
|
221
219
|
}
|
|
222
220
|
div .cloudapp-pagination-item:focus a,
|
|
223
221
|
div .cloudapp-pagination-item:hover a {
|
|
@@ -236,6 +234,24 @@ div .cloudapp-pagination-disabled:hover .cloudapp-pagination-item-link,
|
|
|
236
234
|
div .cloudapp-pagination-disabled:focus .cloudapp-pagination-item-link {
|
|
237
235
|
border-color: var(--form-bd);
|
|
238
236
|
}
|
|
237
|
+
div .cloudapp-pagination-prev button,
|
|
238
|
+
div .cloudapp-pagination-next button {
|
|
239
|
+
color: inherit;
|
|
240
|
+
}
|
|
241
|
+
div .cloudapp-pagination-prev,
|
|
242
|
+
div .cloudapp-pagination-next,
|
|
243
|
+
div .cloudapp-pagination-jump-prev,
|
|
244
|
+
div .cloudapp-pagination-jump-next {
|
|
245
|
+
color: inherit;
|
|
246
|
+
}
|
|
247
|
+
div .cloudapp-pagination-disabled .cloudapp-pagination-item-link,
|
|
248
|
+
div .cloudapp-pagination-disabled:hover .cloudapp-pagination-item-link {
|
|
249
|
+
color: inherit;
|
|
250
|
+
}
|
|
251
|
+
div .cloudapp-pagination-jump-prev .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis,
|
|
252
|
+
div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis {
|
|
253
|
+
color: inherit;
|
|
254
|
+
}
|
|
239
255
|
div .cloudapp-picker {
|
|
240
256
|
background-color: var(--form-bg);
|
|
241
257
|
border-radius: var(--radius1);
|
|
@@ -264,6 +280,7 @@ div .cloudapp-picker-header button {
|
|
|
264
280
|
}
|
|
265
281
|
div .cloudapp-picker-panel-container {
|
|
266
282
|
background-color: var(--form-bg);
|
|
283
|
+
border-radius: var(--radius1);
|
|
267
284
|
}
|
|
268
285
|
div .cloudapp-picker-dropdown {
|
|
269
286
|
color: inherit;
|
|
@@ -288,6 +305,7 @@ div .cloudapp-picker-cell .cloudapp-picker-cell-inner {
|
|
|
288
305
|
}
|
|
289
306
|
div .cloudapp-picker-cell-in-view.cloudapp-picker-cell-today .cloudapp-picker-cell-inner::before {
|
|
290
307
|
border-radius: var(--radius1);
|
|
308
|
+
border-color: var(--form-active-bg);
|
|
291
309
|
}
|
|
292
310
|
div .cloudapp-picker-cell:hover:not(.cloudapp-picker-cell-in-view) .cloudapp-picker-cell-inner,
|
|
293
311
|
div .cloudapp-picker-cell:hover:not(.cloudapp-picker-cell-selected):not(.cloudapp-picker-cell-range-start):not(.cloudapp-picker-cell-range-end):not(.cloudapp-picker-cell-range-hover-start):not(.cloudapp-picker-cell-range-hover-end) .cloudapp-picker-cell-inner {
|
|
@@ -323,7 +341,13 @@ div .cloudapp-picker-range .cloudapp-picker-active-bar {
|
|
|
323
341
|
background-color: var(--form-active-bg);
|
|
324
342
|
}
|
|
325
343
|
div .cloudapp-popover-inner {
|
|
326
|
-
border-radius: var(--
|
|
344
|
+
border-radius: var(--radius1);
|
|
345
|
+
}
|
|
346
|
+
div .cloudapp-radio {
|
|
347
|
+
color: inherit;
|
|
348
|
+
}
|
|
349
|
+
div .cloudapp-radio-group {
|
|
350
|
+
color: inherit;
|
|
327
351
|
}
|
|
328
352
|
div .cloudapp-radio-button-wrapper {
|
|
329
353
|
outline: unset;
|
|
@@ -394,7 +418,7 @@ div .cloudapp-radio-button-wrapper:last-child {
|
|
|
394
418
|
border-radius: 0 var(--form-redius) var(--form-redius) 0;
|
|
395
419
|
}
|
|
396
420
|
div .cloudapp-radio-button-wrapper:first-child {
|
|
397
|
-
border-radius: var(--form-redius) 0 0 var(--
|
|
421
|
+
border-radius: var(--form-redius) 0 0 var(--radius1);
|
|
398
422
|
}
|
|
399
423
|
div .cloudapp-radio-input:focus + .cloudapp-radio-inner {
|
|
400
424
|
box-shadow: unset;
|
|
@@ -419,17 +443,17 @@ div .cloudapp-radio-input:focus + .cloudapp-radio-inner {
|
|
|
419
443
|
background: #999;
|
|
420
444
|
}
|
|
421
445
|
div .cloudapp-select-single:not(.cloudapp-select-customize-input) .cloudapp-select-selector {
|
|
422
|
-
border-radius: var(--
|
|
446
|
+
border-radius: var(--radius1);
|
|
423
447
|
border-color: var(--form-bd);
|
|
424
448
|
background-color: var(--form-bg);
|
|
425
449
|
}
|
|
426
450
|
div .cloudapp-select-multiple .cloudapp-select-selector {
|
|
427
|
-
border-radius: var(--
|
|
451
|
+
border-radius: var(--radius1);
|
|
428
452
|
border-color: var(--form-bd);
|
|
429
453
|
background-color: var(--form-bg);
|
|
430
454
|
}
|
|
431
455
|
div .cloudapp-select-multiple .cloudapp-select-selection-item {
|
|
432
|
-
border-radius: var(--
|
|
456
|
+
border-radius: var(--radius1);
|
|
433
457
|
border-color: var(--form-bd);
|
|
434
458
|
background-color: var(--form-bg);
|
|
435
459
|
}
|
|
@@ -480,6 +504,42 @@ div .cloudapp-tree {
|
|
|
480
504
|
color: inherit;
|
|
481
505
|
background: transparent;
|
|
482
506
|
}
|
|
507
|
+
div .cloudapp-table {
|
|
508
|
+
background-color: var(--table-bg);
|
|
509
|
+
color: inherit;
|
|
510
|
+
font-size: var(--fs);
|
|
511
|
+
}
|
|
512
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-row:hover > td {
|
|
513
|
+
background: var(--table-row-hover-color);
|
|
514
|
+
}
|
|
515
|
+
div .cloudapp-table-thead > tr > th:not(.cloudapp-table-cell-scrollbar) {
|
|
516
|
+
background-color: var(--table-head-bg);
|
|
517
|
+
border-bottom-color: var(--table-bd);
|
|
518
|
+
color: inherit;
|
|
519
|
+
}
|
|
520
|
+
div .cloudapp-table-thead > tr > th.cloudapp-table-cell-scrollbar {
|
|
521
|
+
box-shadow: none;
|
|
522
|
+
background-color: var(--table-head-bg);
|
|
523
|
+
}
|
|
524
|
+
div .cloudapp-table-cell-fix-left,
|
|
525
|
+
div .cloudapp-table-cell-fix-right {
|
|
526
|
+
background-color: var(--table-bg);
|
|
527
|
+
}
|
|
528
|
+
div .cloudapp-table-tbody > tr > td {
|
|
529
|
+
border-bottom-color: var(--table-bd);
|
|
530
|
+
}
|
|
531
|
+
div tr.cloudapp-table-expanded-row > td,
|
|
532
|
+
div tr.cloudapp-table-expanded-row:hover > td {
|
|
533
|
+
background-color: var(--table-row-hover-color);
|
|
534
|
+
}
|
|
535
|
+
div .cloudapp-table-row-expand-icon {
|
|
536
|
+
border-radius: var(--radius1);
|
|
537
|
+
color: var(--primary);
|
|
538
|
+
}
|
|
539
|
+
div .cloudapp-table-row-expand-icon:focus,
|
|
540
|
+
div .cloudapp-table-row-expand-icon:hover {
|
|
541
|
+
color: var(--primary-dark);
|
|
542
|
+
}
|
|
483
543
|
:root {
|
|
484
544
|
color: var(--color);
|
|
485
545
|
}
|
|
@@ -6,7 +6,7 @@ div .cloudapp-checkbox-checked .cloudapp-checkbox-inner {
|
|
|
6
6
|
background-color: var(--form-active-bg);
|
|
7
7
|
}
|
|
8
8
|
div .cloudapp-checkbox-inner {
|
|
9
|
-
border-radius: var(--
|
|
9
|
+
border-radius: var(--radius1);
|
|
10
10
|
background-color: var(--form-bg);
|
|
11
11
|
border-color: var(--form-bd);
|
|
12
12
|
}
|
|
@@ -38,7 +38,7 @@ div .cloudapp-checkbox-indeterminate .cloudapp-checkbox-inner {
|
|
|
38
38
|
}
|
|
39
39
|
div .cloudapp-tree-checkbox-inner {
|
|
40
40
|
border-color: var(--form-bd);
|
|
41
|
-
border-radius: var(--
|
|
41
|
+
border-radius: var(--radius1);
|
|
42
42
|
}
|
|
43
43
|
div .cloudapp-tree-checkbox-wrapper:hover .cloudapp-tree-checkbox-inner,
|
|
44
44
|
div .cloudapp-tree-checkbox:hover .cloudapp-tree-checkbox-inner,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
div .cloudapp-input {
|
|
2
2
|
color: inherit;
|
|
3
|
-
border-radius: var(--
|
|
3
|
+
border-radius: var(--radius1);
|
|
4
4
|
border-color: var(--form-bd);
|
|
5
5
|
background-color: var(--form-bg);
|
|
6
6
|
}
|
|
@@ -18,7 +18,7 @@ div .cloudapp-input-focused {
|
|
|
18
18
|
div .cloudapp-input-affix-wrapper {
|
|
19
19
|
background-color: var(--form-bg);
|
|
20
20
|
color: inherit;
|
|
21
|
-
border-radius: var(--
|
|
21
|
+
border-radius: var(--radius1);
|
|
22
22
|
border-color: var(--form-bd);
|
|
23
23
|
}
|
|
24
24
|
div .cloudapp-input-affix-wrapper:hover {
|
|
@@ -37,7 +37,7 @@ div .cloudapp-input[disabled] {
|
|
|
37
37
|
}
|
|
38
38
|
div .cloudapp-input-number {
|
|
39
39
|
color: inherit;
|
|
40
|
-
border-radius: var(--
|
|
40
|
+
border-radius: var(--radius1);
|
|
41
41
|
border-color: var(--form-bd);
|
|
42
42
|
background-color: var(--form-bg);
|
|
43
43
|
}
|
|
@@ -50,7 +50,7 @@ div .cloudapp-input-number-focused {
|
|
|
50
50
|
box-shadow: unset;
|
|
51
51
|
}
|
|
52
52
|
div .cloudapp-input-number-handler-wrap {
|
|
53
|
-
border-radius: 0 var(--
|
|
53
|
+
border-radius: 0 var(--radius1) var(---redius1) 0;
|
|
54
54
|
background-color: var(--form-bg);
|
|
55
55
|
color: inherit;
|
|
56
56
|
}
|
|
@@ -5,12 +5,12 @@ div .cloudapp-pagination-prev,
|
|
|
5
5
|
div .cloudapp-pagination-next,
|
|
6
6
|
div .cloudapp-pagination-jump-prev,
|
|
7
7
|
div .cloudapp-pagination-jump-next {
|
|
8
|
-
border-radius: var(--
|
|
8
|
+
border-radius: var(--radius1);
|
|
9
9
|
line-height: 28px;
|
|
10
10
|
}
|
|
11
11
|
div .cloudapp-pagination-prev .cloudapp-pagination-item-link,
|
|
12
12
|
div .cloudapp-pagination-next .cloudapp-pagination-item-link {
|
|
13
|
-
border-radius: var(--
|
|
13
|
+
border-radius: var(--radius1);
|
|
14
14
|
background-color: var(--form-bg);
|
|
15
15
|
border-color: var(--form-bd);
|
|
16
16
|
}
|
|
@@ -19,21 +19,19 @@ div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp
|
|
|
19
19
|
color: var(--form-active-bg);
|
|
20
20
|
}
|
|
21
21
|
div .cloudapp-pagination-item {
|
|
22
|
-
border-radius: var(--
|
|
22
|
+
border-radius: var(--radius1);
|
|
23
23
|
background-color: var(--form-bg);
|
|
24
24
|
border-color: var(--form-bd);
|
|
25
25
|
}
|
|
26
|
+
div .cloudapp-pagination-item a {
|
|
27
|
+
color: inherit;
|
|
28
|
+
}
|
|
26
29
|
div .cloudapp-pagination-item-active {
|
|
27
30
|
border-color: var(--form-active-bg);
|
|
28
|
-
background-color: var(--form-active-bg);
|
|
29
|
-
}
|
|
30
|
-
div .cloudapp-pagination-item-active a {
|
|
31
|
-
color: #fff;
|
|
32
31
|
}
|
|
33
32
|
div .cloudapp-pagination-item:focus,
|
|
34
33
|
div .cloudapp-pagination-item:hover {
|
|
35
34
|
border-color: var(--form-active-bg);
|
|
36
|
-
background-color: var(--form-active-bg);
|
|
37
35
|
}
|
|
38
36
|
div .cloudapp-pagination-item:focus a,
|
|
39
37
|
div .cloudapp-pagination-item:hover a {
|
|
@@ -52,3 +50,21 @@ div .cloudapp-pagination-disabled:hover .cloudapp-pagination-item-link,
|
|
|
52
50
|
div .cloudapp-pagination-disabled:focus .cloudapp-pagination-item-link {
|
|
53
51
|
border-color: var(--form-bd);
|
|
54
52
|
}
|
|
53
|
+
div .cloudapp-pagination-prev button,
|
|
54
|
+
div .cloudapp-pagination-next button {
|
|
55
|
+
color: inherit;
|
|
56
|
+
}
|
|
57
|
+
div .cloudapp-pagination-prev,
|
|
58
|
+
div .cloudapp-pagination-next,
|
|
59
|
+
div .cloudapp-pagination-jump-prev,
|
|
60
|
+
div .cloudapp-pagination-jump-next {
|
|
61
|
+
color: inherit;
|
|
62
|
+
}
|
|
63
|
+
div .cloudapp-pagination-disabled .cloudapp-pagination-item-link,
|
|
64
|
+
div .cloudapp-pagination-disabled:hover .cloudapp-pagination-item-link {
|
|
65
|
+
color: inherit;
|
|
66
|
+
}
|
|
67
|
+
div .cloudapp-pagination-jump-prev .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis,
|
|
68
|
+
div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis {
|
|
69
|
+
color: inherit;
|
|
70
|
+
}
|
|
@@ -26,6 +26,7 @@ div .cloudapp-picker-header button {
|
|
|
26
26
|
}
|
|
27
27
|
div .cloudapp-picker-panel-container {
|
|
28
28
|
background-color: var(--form-bg);
|
|
29
|
+
border-radius: var(--radius1);
|
|
29
30
|
}
|
|
30
31
|
div .cloudapp-picker-dropdown {
|
|
31
32
|
color: inherit;
|
|
@@ -50,6 +51,7 @@ div .cloudapp-picker-cell .cloudapp-picker-cell-inner {
|
|
|
50
51
|
}
|
|
51
52
|
div .cloudapp-picker-cell-in-view.cloudapp-picker-cell-today .cloudapp-picker-cell-inner::before {
|
|
52
53
|
border-radius: var(--radius1);
|
|
54
|
+
border-color: var(--form-active-bg);
|
|
53
55
|
}
|
|
54
56
|
div .cloudapp-picker-cell:hover:not(.cloudapp-picker-cell-in-view) .cloudapp-picker-cell-inner,
|
|
55
57
|
div .cloudapp-picker-cell:hover:not(.cloudapp-picker-cell-selected):not(.cloudapp-picker-cell-range-start):not(.cloudapp-picker-cell-range-end):not(.cloudapp-picker-cell-range-hover-start):not(.cloudapp-picker-cell-range-hover-end) .cloudapp-picker-cell-inner {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
div .cloudapp-radio {
|
|
2
|
+
color: inherit;
|
|
3
|
+
}
|
|
4
|
+
div .cloudapp-radio-group {
|
|
5
|
+
color: inherit;
|
|
6
|
+
}
|
|
1
7
|
div .cloudapp-radio-button-wrapper {
|
|
2
8
|
outline: unset;
|
|
3
9
|
}
|
|
@@ -67,7 +73,7 @@ div .cloudapp-radio-button-wrapper:last-child {
|
|
|
67
73
|
border-radius: 0 var(--form-redius) var(--form-redius) 0;
|
|
68
74
|
}
|
|
69
75
|
div .cloudapp-radio-button-wrapper:first-child {
|
|
70
|
-
border-radius: var(--form-redius) 0 0 var(--
|
|
76
|
+
border-radius: var(--form-redius) 0 0 var(--radius1);
|
|
71
77
|
}
|
|
72
78
|
div .cloudapp-radio-input:focus + .cloudapp-radio-inner {
|
|
73
79
|
box-shadow: unset;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
div .cloudapp-select-single:not(.cloudapp-select-customize-input) .cloudapp-select-selector {
|
|
2
|
-
border-radius: var(--
|
|
2
|
+
border-radius: var(--radius1);
|
|
3
3
|
border-color: var(--form-bd);
|
|
4
4
|
background-color: var(--form-bg);
|
|
5
5
|
}
|
|
6
6
|
div .cloudapp-select-multiple .cloudapp-select-selector {
|
|
7
|
-
border-radius: var(--
|
|
7
|
+
border-radius: var(--radius1);
|
|
8
8
|
border-color: var(--form-bd);
|
|
9
9
|
background-color: var(--form-bg);
|
|
10
10
|
}
|
|
11
11
|
div .cloudapp-select-multiple .cloudapp-select-selection-item {
|
|
12
|
-
border-radius: var(--
|
|
12
|
+
border-radius: var(--radius1);
|
|
13
13
|
border-color: var(--form-bd);
|
|
14
14
|
background-color: var(--form-bg);
|
|
15
15
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
div .cloudapp-table {
|
|
2
|
+
background-color: var(--table-bg);
|
|
3
|
+
color: inherit;
|
|
4
|
+
font-size: var(--fs);
|
|
5
|
+
}
|
|
6
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-row:hover > td {
|
|
7
|
+
background: var(--table-row-hover-color);
|
|
8
|
+
}
|
|
9
|
+
div .cloudapp-table-thead > tr > th:not(.cloudapp-table-cell-scrollbar) {
|
|
10
|
+
background-color: var(--table-head-bg);
|
|
11
|
+
border-bottom-color: var(--table-bd);
|
|
12
|
+
color: inherit;
|
|
13
|
+
}
|
|
14
|
+
div .cloudapp-table-thead > tr > th.cloudapp-table-cell-scrollbar {
|
|
15
|
+
box-shadow: none;
|
|
16
|
+
background-color: var(--table-head-bg);
|
|
17
|
+
}
|
|
18
|
+
div .cloudapp-table-cell-fix-left,
|
|
19
|
+
div .cloudapp-table-cell-fix-right {
|
|
20
|
+
background-color: var(--table-bg);
|
|
21
|
+
}
|
|
22
|
+
div .cloudapp-table-tbody > tr > td {
|
|
23
|
+
border-bottom-color: var(--table-bd);
|
|
24
|
+
}
|
|
25
|
+
div tr.cloudapp-table-expanded-row > td,
|
|
26
|
+
div tr.cloudapp-table-expanded-row:hover > td {
|
|
27
|
+
background-color: var(--table-row-hover-color);
|
|
28
|
+
}
|
|
29
|
+
div .cloudapp-table-row-expand-icon {
|
|
30
|
+
border-radius: var(--radius1);
|
|
31
|
+
color: var(--primary);
|
|
32
|
+
}
|
|
33
|
+
div .cloudapp-table-row-expand-icon:focus,
|
|
34
|
+
div .cloudapp-table-row-expand-icon:hover {
|
|
35
|
+
color: var(--primary-dark);
|
|
36
|
+
}
|
package/package.json
CHANGED
package/theme-config.ts
CHANGED
|
@@ -52,9 +52,11 @@ export const themeConfig = `
|
|
|
52
52
|
--radius1: 4px;
|
|
53
53
|
--radius2: 8px;
|
|
54
54
|
--radius3: 16px;
|
|
55
|
+
|
|
55
56
|
--header-color: #FFFFFF;
|
|
56
57
|
--header-bg: #348fe2;
|
|
57
58
|
--header-height: 66px;
|
|
59
|
+
|
|
58
60
|
--nav-height: 66px;
|
|
59
61
|
--nav-bg: #348fe2;
|
|
60
62
|
--nav-sub-bg: rgba(255,255,255,1);
|
|
@@ -69,6 +71,7 @@ export const themeConfig = `
|
|
|
69
71
|
--nav-sub-item-color-selected: #348fe2;
|
|
70
72
|
--nav-sub-item-color: rgba(0, 0, 0, 0.9);
|
|
71
73
|
--nav-bd-color: rgba(0,0,0,0);
|
|
74
|
+
|
|
72
75
|
--tab-height: 34px;
|
|
73
76
|
--tab-bg: #348fe2;
|
|
74
77
|
--tab-item-bg: #348fe2;
|
|
@@ -76,18 +79,21 @@ export const themeConfig = `
|
|
|
76
79
|
--tab-item-color: #FFFFFF;
|
|
77
80
|
--tab-item-selected-bg: #F3F5F6;
|
|
78
81
|
--tab-item-selected-color: rgba(0, 0, 0, 0.9);
|
|
82
|
+
|
|
79
83
|
--drawer-title-height: 48px;
|
|
80
84
|
--drawer-title-bg: rgba(255,255,255,1);
|
|
81
85
|
--drawer-divider-color: rgba(219,225,234,1);
|
|
82
86
|
--drawer-footer-height: 44px;
|
|
83
87
|
--drawer-footer-bg: rgba(255,255,255,1);
|
|
84
88
|
--drawer-content-bg: rgba(243,246,249,1);
|
|
89
|
+
|
|
85
90
|
--modal-title-height: 44px;
|
|
86
91
|
--modal-title-bg: #ffffff;
|
|
87
92
|
--modal-divider-color: rgba(219,225,234,1);
|
|
88
93
|
--modal-footer-height: 44px;
|
|
89
94
|
--modal-footer-bg: rgba(243,246,249,1);
|
|
90
95
|
--modal-content-bg: rgba(243,246,249,1);
|
|
96
|
+
|
|
91
97
|
--card-image-radius: 4px;
|
|
92
98
|
--card-image-bg: rgba(219,225,234,1);
|
|
93
99
|
--card-radius: 4px;
|
|
@@ -96,6 +102,11 @@ export const themeConfig = `
|
|
|
96
102
|
--card-bd-color: rgba(219,225,234,1);
|
|
97
103
|
--card-hover-bd-color: rgba(18,122,255,1);
|
|
98
104
|
--card-footer-bg: rgba(219,225,234,1);
|
|
105
|
+
|
|
106
|
+
--table-bg:#ffffff";
|
|
107
|
+
--table-head-bg:#fafafa";
|
|
108
|
+
--table-bd:rgba(245,245,245,1);
|
|
109
|
+
--table-row-hover-color:rgba(237,245,250,1);
|
|
99
110
|
|
|
100
111
|
--scrollbar-width: 8px;
|
|
101
112
|
--scrollbar-track-bg: rgba(239,241,244,1);
|