@cloud-app-dev/vidc 3.1.1 → 3.1.3
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/Modal/index.d.ts +2 -2
- package/es/Modal/index.js +3 -12
- package/es/Modal/interface.d.ts +3 -319
- package/es/ThemeAntd/index.css +46 -6
- package/es/ThemeAntd/style/pagination.css +12 -0
- package/es/ThemeAntd/style/picker.css +10 -0
- package/es/ThemeAntd/style/scrollbar.css +6 -6
- package/es/ThemeAntd/style/table.css +10 -0
- package/es/ThemeAntd/style/tree.css +8 -0
- package/package.json +1 -1
- package/theme-config.ts +12 -7
package/es/Modal/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IModalProps } from './interface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import './index.less';
|
|
4
|
-
declare function Modal({ children, className, style, getContainer, ...props }:
|
|
4
|
+
declare function Modal({ children, className, style, getContainer, ...props }: IModalProps): JSX.Element;
|
|
5
5
|
declare namespace Modal {
|
|
6
6
|
var defaultProps: {
|
|
7
7
|
className: string;
|
package/es/Modal/index.js
CHANGED
|
@@ -19,7 +19,6 @@ import { __rest } from "tslib";
|
|
|
19
19
|
import React, { useContext, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
20
20
|
import * as ReactDOMClient from 'react-dom/client';
|
|
21
21
|
import CC from '../ConfigContext';
|
|
22
|
-
import ConfigContext from '../ConfigContext';
|
|
23
22
|
import "./index.css";
|
|
24
23
|
|
|
25
24
|
function Modal(_a) {
|
|
@@ -88,7 +87,7 @@ function useModal() {
|
|
|
88
87
|
}, /*#__PURE__*/React.createElement(Modal, {
|
|
89
88
|
okText: "\u786E\u5B9A",
|
|
90
89
|
cancelText: "\u53D6\u6D88",
|
|
91
|
-
|
|
90
|
+
open: state.visible,
|
|
92
91
|
onOk: state.onOk,
|
|
93
92
|
onCancel: close,
|
|
94
93
|
destroyOnClose: true,
|
|
@@ -122,11 +121,6 @@ function useModal() {
|
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
var RefModal = /*#__PURE__*/React.forwardRef(function RefModal(_, ref) {
|
|
125
|
-
var context = useContext(ConfigContext.Context);
|
|
126
|
-
var root = useMemo(function () {
|
|
127
|
-
return (context === null || context === void 0 ? void 0 : context.root) || document.body;
|
|
128
|
-
}, [context === null || context === void 0 ? void 0 : context.root]);
|
|
129
|
-
|
|
130
124
|
var _useState3 = useState({
|
|
131
125
|
content: null,
|
|
132
126
|
visible: false,
|
|
@@ -165,16 +159,13 @@ var RefModal = /*#__PURE__*/React.forwardRef(function RefModal(_, ref) {
|
|
|
165
159
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
166
160
|
okText: "\u786E\u5B9A",
|
|
167
161
|
cancelText: "\u53D6\u6D88",
|
|
168
|
-
|
|
162
|
+
open: state.visible,
|
|
169
163
|
onOk: state.onOk,
|
|
170
164
|
onCancel: close,
|
|
171
165
|
destroyOnClose: true,
|
|
172
166
|
title: state.title,
|
|
173
167
|
width: state.width,
|
|
174
|
-
className: state.className
|
|
175
|
-
getContainer: function getContainer() {
|
|
176
|
-
return root;
|
|
177
|
-
}
|
|
168
|
+
className: state.className
|
|
178
169
|
}, state.content);
|
|
179
170
|
});
|
|
180
171
|
Modal.info = _Modal.info;
|
package/es/Modal/interface.d.ts
CHANGED
|
@@ -1,326 +1,10 @@
|
|
|
1
|
+
import { ModalProps, ModalFuncProps } from 'antd/lib/modal/Modal';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
|
|
3
4
|
declare type getContainerFunc = () => HTMLElement;
|
|
4
5
|
|
|
5
|
-
export interface ModalProps {
|
|
6
|
-
|
|
7
|
-
* @description 对话框是否可见
|
|
8
|
-
* @default -
|
|
9
|
-
*/
|
|
10
|
-
visible?: boolean;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @description 确定按钮 loading
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
confirmLoading?: boolean;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @description 标题
|
|
20
|
-
* @default -
|
|
21
|
-
*/
|
|
22
|
-
title?: React.ReactNode | string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @description 是否显示右上角的关闭按钮
|
|
26
|
-
* @default true
|
|
27
|
-
*/
|
|
28
|
-
closable?: boolean;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @description 点击确定回调
|
|
32
|
-
* @type function(e: MouseEvent<HTMLElement>)
|
|
33
|
-
* @default -
|
|
34
|
-
*/
|
|
35
|
-
onOk?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @description 点击模态框右上角叉、取消按钮、Props.maskClosable 值为 true 时的遮罩层或键盘按下 Esc 时的回调
|
|
39
|
-
* @type function(e: MouseEvent<HTMLElement>)
|
|
40
|
-
* @default -
|
|
41
|
-
*/
|
|
42
|
-
onCancel?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @description 点Modal 完全关闭后的回调
|
|
46
|
-
* @type function
|
|
47
|
-
* @default -
|
|
48
|
-
*/
|
|
49
|
-
afterClose?: () => void;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @description 垂直居中展示 Modal
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
centered?: boolean;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @description 宽度
|
|
59
|
-
* @default 416
|
|
60
|
-
*/
|
|
61
|
-
width?: string | number;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @description 底部内容,当不需要默认底部按钮时,可以设为 footer={null}
|
|
65
|
-
* @default (确定取消按钮)
|
|
66
|
-
*/
|
|
67
|
-
footer?: React.ReactNode;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @description 确认按钮文字
|
|
71
|
-
* @default 确定
|
|
72
|
-
*/
|
|
73
|
-
okText?: React.ReactNode;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @description 确认按钮类型
|
|
77
|
-
* @default primary
|
|
78
|
-
*/
|
|
79
|
-
okType?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @description 取消按钮文字
|
|
83
|
-
* @default 取消
|
|
84
|
-
*/
|
|
85
|
-
cancelText?: React.ReactNode;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @description 点击蒙层是否允许关闭
|
|
89
|
-
* @default true
|
|
90
|
-
*/
|
|
91
|
-
maskClosable?: boolean;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* @description 强制渲染 Modal
|
|
95
|
-
* @default false
|
|
96
|
-
*/
|
|
97
|
-
forceRender?: boolean;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @description 确认按钮props
|
|
101
|
-
* @type Object
|
|
102
|
-
* @default -
|
|
103
|
-
*/
|
|
104
|
-
okButtonProps?: any;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @description 取消按钮props
|
|
108
|
-
* @type Object
|
|
109
|
-
* @default -
|
|
110
|
-
*/
|
|
111
|
-
cancelButtonProps?: any;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @description 关闭时销毁 Modal 里的子元素
|
|
115
|
-
* @default false
|
|
116
|
-
*/
|
|
117
|
-
destroyOnClose?: boolean;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @description 可用于设置浮层的样式,调整浮层位置等
|
|
121
|
-
* @default -
|
|
122
|
-
*/
|
|
123
|
-
style?: React.CSSProperties;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @description 对话框外层容器的类名
|
|
127
|
-
* @default -
|
|
128
|
-
*/
|
|
129
|
-
wrapClassName?: string;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @description mask动画
|
|
133
|
-
* @default -
|
|
134
|
-
*/
|
|
135
|
-
maskTransitionName?: string;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @description 动画
|
|
139
|
-
* @default -
|
|
140
|
-
*/
|
|
141
|
-
transitionName?: string;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @description 容器类名
|
|
145
|
-
* @default -
|
|
146
|
-
*/
|
|
147
|
-
className?: string;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @description 指定 Modal 挂载的 HTML 节点, false 为挂载在当前 dom
|
|
151
|
-
* @default body
|
|
152
|
-
*/
|
|
153
|
-
getContainer?: string | HTMLElement | getContainerFunc | false | null;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* @description 设置 Modal 的 z-index
|
|
157
|
-
* @default 1000
|
|
158
|
-
*/
|
|
159
|
-
zIndex?: number;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @description Modal body 样式
|
|
163
|
-
* @default -
|
|
164
|
-
*/
|
|
165
|
-
bodyStyle?: React.CSSProperties;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* @description 遮罩样式
|
|
169
|
-
* @default -
|
|
170
|
-
*/
|
|
171
|
-
maskStyle?: React.CSSProperties;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* @description 是否展示遮罩
|
|
175
|
-
* @default true
|
|
176
|
-
*/
|
|
177
|
-
mask?: boolean;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @description 是否支持键盘 esc 关闭
|
|
181
|
-
* @default true
|
|
182
|
-
*/
|
|
183
|
-
keyboard?: boolean;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* @description 自定义关闭图标
|
|
187
|
-
* @default -
|
|
188
|
-
*/
|
|
189
|
-
closeIcon?: React.ReactNode;
|
|
190
|
-
|
|
191
|
-
children: React.ReactNode;
|
|
192
|
-
}
|
|
193
|
-
export interface ModalFuncProps {
|
|
194
|
-
/**
|
|
195
|
-
* @description 容器类名
|
|
196
|
-
* @default -
|
|
197
|
-
*/
|
|
198
|
-
className?: string;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @description 标题
|
|
202
|
-
* @default -
|
|
203
|
-
*/
|
|
204
|
-
title?: React.ReactNode;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* @description 内容
|
|
208
|
-
* @default -
|
|
209
|
-
*/
|
|
210
|
-
content?: React.ReactNode;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* @description 点击确定回调
|
|
214
|
-
* @type function(e: MouseEvent<HTMLElement>)
|
|
215
|
-
* @default -
|
|
216
|
-
*/
|
|
217
|
-
onOk?: (...args: any[]) => any;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @description 点击模态框右上角叉、取消按钮、Props.maskClosable 值为 true 时的遮罩层或键盘按下 Esc 时的回调
|
|
221
|
-
* @type function(e: MouseEvent<HTMLElement>)
|
|
222
|
-
* @default -
|
|
223
|
-
*/
|
|
224
|
-
onCancel?: (...args: any[]) => any;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* @description 确认按钮props(antd ButtonProps)
|
|
228
|
-
* @type Object
|
|
229
|
-
* @default -
|
|
230
|
-
*/
|
|
231
|
-
okButtonProps?: any;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* @description 取消按钮props(antd ButtonProps)
|
|
235
|
-
* @type Object
|
|
236
|
-
* @default -
|
|
237
|
-
*/
|
|
238
|
-
cancelButtonProps?: any;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* @description 垂直居中展示 Modal
|
|
242
|
-
* @default false
|
|
243
|
-
*/
|
|
244
|
-
centered?: boolean;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @description 宽度
|
|
248
|
-
* @default 416
|
|
249
|
-
*/
|
|
250
|
-
width?: string | number;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* @description 确认按钮文字
|
|
254
|
-
* @default 确定
|
|
255
|
-
*/
|
|
256
|
-
okText?: React.ReactNode;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @description 确认按钮类型
|
|
260
|
-
* @default primary
|
|
261
|
-
*/
|
|
262
|
-
okType?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default';
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* @description 取消按钮文字
|
|
266
|
-
* @default 取消
|
|
267
|
-
*/
|
|
268
|
-
cancelText?: React.ReactNode;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @description 自定义图标
|
|
272
|
-
* @default <QuestionCircle />
|
|
273
|
-
*/
|
|
274
|
-
icon?: React.ReactNode;
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @description 是否展示遮罩
|
|
278
|
-
* @default true
|
|
279
|
-
*/
|
|
280
|
-
mask?: boolean;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* @description 点击蒙层是否允许关闭
|
|
284
|
-
* @default true
|
|
285
|
-
*/
|
|
286
|
-
maskClosable?: boolean;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @description 设置 Modal 的 z-index
|
|
290
|
-
* @default 1000
|
|
291
|
-
*/
|
|
292
|
-
zIndex?: number;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* @description 用于设置浮层的样式,调整浮层位置等
|
|
296
|
-
* @default -
|
|
297
|
-
*/
|
|
298
|
-
style?: React.CSSProperties;
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @description 遮罩样式
|
|
302
|
-
* @default -
|
|
303
|
-
*/
|
|
304
|
-
maskStyle?: React.CSSProperties;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @description 是否支持键盘 esc 关闭
|
|
308
|
-
* @default true
|
|
309
|
-
*/
|
|
310
|
-
keyboard?: boolean;
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* @description 指定 Modal 挂载的 HTML 节点, false 为挂载在当前 dom
|
|
314
|
-
* @default body
|
|
315
|
-
*/
|
|
316
|
-
getContainer?: string | HTMLElement | getContainerFunc | false | null;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @description 指定自动获得焦点的按钮
|
|
320
|
-
* @default ok
|
|
321
|
-
*/
|
|
322
|
-
autoFocusButton?: null | 'ok' | 'cancel';
|
|
323
|
-
}
|
|
6
|
+
export interface IModalProps extends ModalProps {}
|
|
7
|
+
export interface IModalFuncProps extends ModalFuncProps {}
|
|
324
8
|
export declare type ModalFunc = (props: ModalFuncProps) => {
|
|
325
9
|
destroy: () => void;
|
|
326
10
|
update: (newConfig: ModalFuncProps) => void;
|
package/es/ThemeAntd/index.css
CHANGED
|
@@ -252,9 +252,22 @@ div .cloudapp-pagination-jump-prev .cloudapp-pagination-item-container .cloudapp
|
|
|
252
252
|
div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis {
|
|
253
253
|
color: inherit;
|
|
254
254
|
}
|
|
255
|
+
div .cloudapp-pagination-options-quick-jumper input {
|
|
256
|
+
background-color: var(--form-bg);
|
|
257
|
+
border-color: var(--form-bd);
|
|
258
|
+
}
|
|
259
|
+
div .cloudapp-pagination-options-quick-jumper input:hover {
|
|
260
|
+
border-color: var(--form-active-bg);
|
|
261
|
+
}
|
|
262
|
+
div .cloudapp-pagination-options-quick-jumper input:focus,
|
|
263
|
+
div .cloudapp-pagination-options-quick-jumper input-focused {
|
|
264
|
+
border-color: var(--form-active-bg);
|
|
265
|
+
box-shadow: none;
|
|
266
|
+
}
|
|
255
267
|
div .cloudapp-picker {
|
|
256
268
|
background-color: var(--form-bg);
|
|
257
269
|
border-radius: var(--radius1);
|
|
270
|
+
border-color: var(--form-bd);
|
|
258
271
|
color: inherit;
|
|
259
272
|
}
|
|
260
273
|
div .cloudapp-picker:hover,
|
|
@@ -340,6 +353,15 @@ div .cloudapp-picker-separator {
|
|
|
340
353
|
div .cloudapp-picker-range .cloudapp-picker-active-bar {
|
|
341
354
|
background-color: var(--form-active-bg);
|
|
342
355
|
}
|
|
356
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell .cloudapp-picker-time-panel-cell-inner {
|
|
357
|
+
color: inherit;
|
|
358
|
+
}
|
|
359
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell-selected .cloudapp-picker-time-panel-cell-inner {
|
|
360
|
+
background-color: var(--form-active-bg);
|
|
361
|
+
}
|
|
362
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell .cloudapp-picker-time-panel-cell-inner:hover {
|
|
363
|
+
background-color: var(--form-active-bg);
|
|
364
|
+
}
|
|
343
365
|
div .cloudapp-popover-inner {
|
|
344
366
|
border-radius: var(--radius1);
|
|
345
367
|
}
|
|
@@ -424,23 +446,23 @@ div .cloudapp-radio-input:focus + .cloudapp-radio-inner {
|
|
|
424
446
|
box-shadow: unset;
|
|
425
447
|
}
|
|
426
448
|
::-webkit-scrollbar {
|
|
427
|
-
width:
|
|
428
|
-
height:
|
|
449
|
+
width: var(--scrollbar-width);
|
|
450
|
+
height: var(--scrollbar-width);
|
|
429
451
|
}
|
|
430
452
|
::-webkit-scrollbar-track {
|
|
431
453
|
-webkit-box-shadow: var(--scrollbar-track-shadow);
|
|
432
|
-
border-radius:
|
|
454
|
+
border-radius: var(--scrollbar-width);
|
|
433
455
|
}
|
|
434
456
|
::-webkit-scrollbar-thumb {
|
|
435
|
-
border-radius:
|
|
436
|
-
background:
|
|
457
|
+
border-radius: var(--scrollbar-width);
|
|
458
|
+
background: var(--scrollbar-thumb-bg);
|
|
437
459
|
-webkit-box-shadow: var(--scrollbar-thumb-shadow);
|
|
438
460
|
}
|
|
439
461
|
::-webkit-scrollbar-thumb:hover {
|
|
440
462
|
background: var(--scrollbar-thumb-hover-bg);
|
|
441
463
|
}
|
|
442
464
|
::-webkit-scrollbar-thumb:active {
|
|
443
|
-
background:
|
|
465
|
+
background: var(--scrollbar-thumb-bg);
|
|
444
466
|
}
|
|
445
467
|
div .cloudapp-select-single:not(.cloudapp-select-customize-input) .cloudapp-select-selector {
|
|
446
468
|
border-radius: var(--radius1);
|
|
@@ -504,6 +526,14 @@ div .cloudapp-tree {
|
|
|
504
526
|
color: inherit;
|
|
505
527
|
background: transparent;
|
|
506
528
|
}
|
|
529
|
+
div .cloudapp-tree .cloudapp-tree-node-content-wrapper:hover {
|
|
530
|
+
background-color: transparent;
|
|
531
|
+
border-bottom: 1px solid var(--secondary2);
|
|
532
|
+
}
|
|
533
|
+
div .cloudapp .cloudapp-node-content-wrapper.cloudapp-node-selected {
|
|
534
|
+
background-color: transparent;
|
|
535
|
+
border-bottom: 1px solid var(--secondary2);
|
|
536
|
+
}
|
|
507
537
|
div .cloudapp-table {
|
|
508
538
|
background-color: var(--table-bg);
|
|
509
539
|
color: inherit;
|
|
@@ -512,6 +542,10 @@ div .cloudapp-table {
|
|
|
512
542
|
div .cloudapp-table-tbody > tr.cloudapp-table-row:hover > td {
|
|
513
543
|
background: var(--table-row-hover-color);
|
|
514
544
|
}
|
|
545
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-row-selected > td {
|
|
546
|
+
background: var(--table-row-hover-color);
|
|
547
|
+
border-bottom-color: var(--table-bd);
|
|
548
|
+
}
|
|
515
549
|
div .cloudapp-table-thead > tr > th:not(.cloudapp-table-cell-scrollbar) {
|
|
516
550
|
background-color: var(--table-head-bg);
|
|
517
551
|
border-bottom-color: var(--table-bd);
|
|
@@ -540,6 +574,12 @@ div .cloudapp-table-row-expand-icon:focus,
|
|
|
540
574
|
div .cloudapp-table-row-expand-icon:hover {
|
|
541
575
|
color: var(--primary-dark);
|
|
542
576
|
}
|
|
577
|
+
div .cloudapp-empty-normal {
|
|
578
|
+
color: inherit;
|
|
579
|
+
}
|
|
580
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-placeholder:hover > td {
|
|
581
|
+
background-color: var(--table-row-hover-color);
|
|
582
|
+
}
|
|
543
583
|
:root {
|
|
544
584
|
color: var(--color);
|
|
545
585
|
}
|
|
@@ -68,3 +68,15 @@ div .cloudapp-pagination-jump-prev .cloudapp-pagination-item-container .cloudapp
|
|
|
68
68
|
div .cloudapp-pagination-jump-next .cloudapp-pagination-item-container .cloudapp-pagination-item-ellipsis {
|
|
69
69
|
color: inherit;
|
|
70
70
|
}
|
|
71
|
+
div .cloudapp-pagination-options-quick-jumper input {
|
|
72
|
+
background-color: var(--form-bg);
|
|
73
|
+
border-color: var(--form-bd);
|
|
74
|
+
}
|
|
75
|
+
div .cloudapp-pagination-options-quick-jumper input:hover {
|
|
76
|
+
border-color: var(--form-active-bg);
|
|
77
|
+
}
|
|
78
|
+
div .cloudapp-pagination-options-quick-jumper input:focus,
|
|
79
|
+
div .cloudapp-pagination-options-quick-jumper input-focused {
|
|
80
|
+
border-color: var(--form-active-bg);
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
div .cloudapp-picker {
|
|
2
2
|
background-color: var(--form-bg);
|
|
3
3
|
border-radius: var(--radius1);
|
|
4
|
+
border-color: var(--form-bd);
|
|
4
5
|
color: inherit;
|
|
5
6
|
}
|
|
6
7
|
div .cloudapp-picker:hover,
|
|
@@ -86,3 +87,12 @@ div .cloudapp-picker-separator {
|
|
|
86
87
|
div .cloudapp-picker-range .cloudapp-picker-active-bar {
|
|
87
88
|
background-color: var(--form-active-bg);
|
|
88
89
|
}
|
|
90
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell .cloudapp-picker-time-panel-cell-inner {
|
|
91
|
+
color: inherit;
|
|
92
|
+
}
|
|
93
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell-selected .cloudapp-picker-time-panel-cell-inner {
|
|
94
|
+
background-color: var(--form-active-bg);
|
|
95
|
+
}
|
|
96
|
+
div .cloudapp-picker-time-panel-column > li.cloudapp-picker-time-panel-cell .cloudapp-picker-time-panel-cell-inner:hover {
|
|
97
|
+
background-color: var(--form-active-bg);
|
|
98
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
::-webkit-scrollbar {
|
|
2
|
-
width:
|
|
3
|
-
height:
|
|
2
|
+
width: var(--scrollbar-width);
|
|
3
|
+
height: var(--scrollbar-width);
|
|
4
4
|
}
|
|
5
5
|
::-webkit-scrollbar-track {
|
|
6
6
|
-webkit-box-shadow: var(--scrollbar-track-shadow);
|
|
7
|
-
border-radius:
|
|
7
|
+
border-radius: var(--scrollbar-width);
|
|
8
8
|
}
|
|
9
9
|
::-webkit-scrollbar-thumb {
|
|
10
|
-
border-radius:
|
|
11
|
-
background:
|
|
10
|
+
border-radius: var(--scrollbar-width);
|
|
11
|
+
background: var(--scrollbar-thumb-bg);
|
|
12
12
|
-webkit-box-shadow: var(--scrollbar-thumb-shadow);
|
|
13
13
|
}
|
|
14
14
|
::-webkit-scrollbar-thumb:hover {
|
|
15
15
|
background: var(--scrollbar-thumb-hover-bg);
|
|
16
16
|
}
|
|
17
17
|
::-webkit-scrollbar-thumb:active {
|
|
18
|
-
background:
|
|
18
|
+
background: var(--scrollbar-thumb-bg);
|
|
19
19
|
}
|
|
@@ -6,6 +6,10 @@ div .cloudapp-table {
|
|
|
6
6
|
div .cloudapp-table-tbody > tr.cloudapp-table-row:hover > td {
|
|
7
7
|
background: var(--table-row-hover-color);
|
|
8
8
|
}
|
|
9
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-row-selected > td {
|
|
10
|
+
background: var(--table-row-hover-color);
|
|
11
|
+
border-bottom-color: var(--table-bd);
|
|
12
|
+
}
|
|
9
13
|
div .cloudapp-table-thead > tr > th:not(.cloudapp-table-cell-scrollbar) {
|
|
10
14
|
background-color: var(--table-head-bg);
|
|
11
15
|
border-bottom-color: var(--table-bd);
|
|
@@ -34,3 +38,9 @@ div .cloudapp-table-row-expand-icon:focus,
|
|
|
34
38
|
div .cloudapp-table-row-expand-icon:hover {
|
|
35
39
|
color: var(--primary-dark);
|
|
36
40
|
}
|
|
41
|
+
div .cloudapp-empty-normal {
|
|
42
|
+
color: inherit;
|
|
43
|
+
}
|
|
44
|
+
div .cloudapp-table-tbody > tr.cloudapp-table-placeholder:hover > td {
|
|
45
|
+
background-color: var(--table-row-hover-color);
|
|
46
|
+
}
|
|
@@ -2,3 +2,11 @@ div .cloudapp-tree {
|
|
|
2
2
|
color: inherit;
|
|
3
3
|
background: transparent;
|
|
4
4
|
}
|
|
5
|
+
div .cloudapp-tree .cloudapp-tree-node-content-wrapper:hover {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
border-bottom: 1px solid var(--secondary2);
|
|
8
|
+
}
|
|
9
|
+
div .cloudapp .cloudapp-node-content-wrapper.cloudapp-node-selected {
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
border-bottom: 1px solid var(--secondary2);
|
|
12
|
+
}
|
package/package.json
CHANGED
package/theme-config.ts
CHANGED
|
@@ -3,9 +3,9 @@ export const themeConfig = `
|
|
|
3
3
|
--primary: #248FFA;
|
|
4
4
|
--primary-light: #248FFA;
|
|
5
5
|
--primary-dark: #227BD5;
|
|
6
|
-
--secondary1: #
|
|
7
|
-
--secondary1-light: #
|
|
8
|
-
--secondary1-dark: #
|
|
6
|
+
--secondary1: #e8b127;
|
|
7
|
+
--secondary1-light: #e8b127;
|
|
8
|
+
--secondary1-dark: #e8b127;
|
|
9
9
|
--secondary2: #33AAFF;
|
|
10
10
|
--secondary2-light: #61BDFF;
|
|
11
11
|
--secondary2-dark: #2194E5;
|
|
@@ -42,10 +42,15 @@ export const themeConfig = `
|
|
|
42
42
|
--fs: 14px;
|
|
43
43
|
--fs-small: 12px;
|
|
44
44
|
--fs-large: 20px;
|
|
45
|
-
--
|
|
46
|
-
--color
|
|
47
|
-
--
|
|
48
|
-
--
|
|
45
|
+
--bd:rgba(255, 255, 255, 0.3);
|
|
46
|
+
--color:#ffffff;
|
|
47
|
+
--color1:#ffffff;
|
|
48
|
+
--color2:#fefefe;
|
|
49
|
+
--color3:#eeeeee;
|
|
50
|
+
--color4:#999999;
|
|
51
|
+
--color5:#666666;
|
|
52
|
+
--color6:#333333;
|
|
53
|
+
--color7:#000000;
|
|
49
54
|
--shadow1: 2px 0 10px 0 rgba(0,0,0,0.06);
|
|
50
55
|
--shadow2: 2px 0 10px 0 rgba(0,0,0,0.06);
|
|
51
56
|
--shadow3: 2px 0 10px 0 rgba(0,0,0,0.06);
|