@cloud-app-dev/vidc 3.2.17 → 3.2.19
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/.prettierrc.js +1 -1
- package/.stylelintrc.js +113 -0
- package/es/AppContext/Sync.d.ts +0 -1
- package/es/AppContext/index.js +3 -4
- package/es/Box/InfoBox/index.less +8 -6
- package/es/Box/TwoColumnBox/index.less +32 -22
- package/es/Box/index.d.ts +3 -3
- package/es/Box/index.less +1 -1
- package/es/CheckGroupFixed/demo.d.ts +0 -1
- package/es/CheckGroupFixed/index.d.ts +0 -1
- package/es/CheckGroupFixed/index.less +17 -14
- package/es/CustomRenderSelect/index.less +7 -7
- package/es/DisableMark/index.less +3 -3
- package/es/DomMove/demo.d.ts +0 -1
- package/es/DomMove/index.js +5 -5
- package/es/Drag/DragAndDropItem.js +1 -2
- package/es/Drag/DropItem.js +2 -2
- package/es/Drawer/Footer.d.ts +0 -1
- package/es/Drawer/index.d.ts +1 -1
- package/es/Drawer/index.js +19 -20
- package/es/Drawer/index.less +8 -8
- package/es/Drawer/interface.d.ts +4 -3
- package/es/DynamicGridList/Demo.d.ts +0 -1
- package/es/DynamicList/demo.d.ts +0 -1
- package/es/DynamicList/index.d.ts +0 -1
- package/es/DynamicList/index.less +2 -0
- package/es/ErrorFallback/index.d.ts +0 -1
- package/es/FullScreen/index.d.ts +0 -1
- package/es/FullScreen/index.less +6 -4
- package/es/GridList/Demo.d.ts +0 -1
- package/es/GridList/index.js +1 -1
- package/es/GridList/index.less +1 -1
- package/es/ImageView/index.less +2 -1
- package/es/Input/demo.d.ts +0 -1
- package/es/Input/index.d.ts +0 -1
- package/es/Input/index.less +1 -1
- package/es/InstanceHistory/index.d.ts +0 -1
- package/es/LabelValue/index.less +5 -2
- package/es/List/demo.d.ts +0 -1
- package/es/List/index.d.ts +4 -4
- package/es/List/index.less +2 -2
- package/es/ListWithSizeAnimate/demo.d.ts +0 -1
- package/es/ListWithSizeAnimate/demo.js +0 -1
- package/es/ListWithSizeAnimate/index.d.ts +0 -1
- package/es/ListWithSizeAnimate/index.js +18 -28
- package/es/ListWithSizeAnimate/index.less +10 -6
- package/es/Map/BasicMap/LeafletInstance.d.ts +1 -1
- package/es/Map/BasicMap/index.less +8 -3
- package/es/Map/ClusterLayer/hook.d.ts +2 -2
- package/es/Map/ClusterLayer/index.d.ts +0 -1
- package/es/Map/ClusterLayer/index.less +8 -6
- package/es/Map/FindPio/index.d.ts +0 -1
- package/es/Map/FindPio/index.less +2 -2
- package/es/Map/InfoWindow/MakerLikeWindow.d.ts +0 -1
- package/es/Map/InfoWindow/demo.d.ts +0 -1
- package/es/Map/InfoWindow/index.d.ts +0 -1
- package/es/Map/LevelCenter/DragMarker/index.d.ts +0 -1
- package/es/Map/LevelCenter/demo.d.ts +0 -1
- package/es/Map/LevelCenter/index.d.ts +1 -2
- package/es/Map/LevelCenter/index.js +3 -4
- package/es/Map/MapDrawSelect/demo.d.ts +0 -1
- package/es/Map/MapDrawSelect/index.d.ts +1 -2
- package/es/Map/MapDrawSelect/index.js +2 -3
- package/es/Map/ResetTools/index.d.ts +0 -1
- package/es/Map/ResetTools/index.less +10 -6
- package/es/Map/SinglePoint/index.d.ts +1 -1
- package/es/Map/SinglePoint/index.less +3 -3
- package/es/Map/icon.d.ts +1 -1
- package/es/Map/index.d.ts +11 -21
- package/es/Map/useMarker/index.d.ts +0 -1
- package/es/Map/useMarker/index.js +1 -1
- package/es/Map/withMap/index.d.ts +0 -1
- package/es/Modal/demo.d.ts +0 -1
- package/es/Modal/index.d.ts +9 -9
- package/es/Modal/index.js +17 -17
- package/es/Modal/index.less +10 -11
- package/es/Picture/component/DefaultRects/RectInfo.d.ts +0 -1
- package/es/Picture/component/DefaultRects/index.d.ts +1 -2
- package/es/Picture/component/DefaultRects/index.js +3 -1
- package/es/Picture/component/DefaultRects/index.less +51 -28
- package/es/Picture/component/DrawRect/index.d.ts +2 -3
- package/es/Picture/component/DrawRect/index.js +3 -1
- package/es/Picture/component/DrawRect/index.less +2 -2
- package/es/Picture/component/RectMenu/index.d.ts +0 -1
- package/es/Picture/component/RectMenu/index.less +11 -6
- package/es/Picture/component/Tools/index.d.ts +1 -1
- package/es/Picture/component/Tools/index.js +1 -1
- package/es/Picture/component/Tools/index.less +12 -6
- package/es/Picture/component/WheelScale/index.d.ts +0 -1
- package/es/Picture/demo.d.ts +0 -1
- package/es/Picture/index.d.ts +0 -1
- package/es/Picture/index.js +50 -26
- package/es/Picture/index.less +3 -2
- package/es/Picture/useDraw.d.ts +1 -1
- package/es/Picture/useDraw.js +1 -1
- package/es/Picture/utils.d.ts +3 -3
- package/es/Picture/utils.js +35 -34
- package/es/Player/api/index.d.ts +8 -8
- package/es/Player/api/index.js +67 -35
- package/es/Player/context.d.ts +4 -4
- package/es/Player/contraller_bar/contraller_event.js +4 -4
- package/es/Player/contraller_bar/left_bar.js +12 -10
- package/es/Player/contraller_bar/time.d.ts +0 -1
- package/es/Player/demo.d.ts +0 -1
- package/es/Player/empty.d.ts +1 -0
- package/es/Player/empty.js +6 -0
- package/es/Player/event/errorEvent.d.ts +3 -5
- package/es/Player/event/errorEvent.js +7 -8
- package/es/Player/event/index.d.ts +3 -3
- package/es/Player/event/index.js +1 -1
- package/es/Player/fps_play.d.ts +2 -3
- package/es/Player/fps_play.js +10 -8
- package/es/Player/frontend_player.d.ts +0 -1
- package/es/Player/frontend_player.js +13 -10
- package/es/Player/frontend_timeline.d.ts +0 -1
- package/es/Player/frontend_timeline.js +41 -41
- package/es/Player/iconfont.d.ts +0 -1
- package/es/Player/live_heart.d.ts +3 -3
- package/es/Player/live_heart.js +15 -5
- package/es/Player/message.d.ts +0 -1
- package/es/Player/message.js +5 -5
- package/es/Player/segment_player.d.ts +0 -1
- package/es/Player/segment_player.js +31 -24
- package/es/Player/segment_timeline.d.ts +0 -1
- package/es/Player/segment_timeline.js +71 -71
- package/es/Player/single_player.d.ts +1 -1
- package/es/Player/single_player.js +17 -21
- package/es/Player/style/bar.less +13 -9
- package/es/Player/style/index.less +8 -4
- package/es/Player/style/message.less +22 -16
- package/es/Player/style/slider.less +40 -37
- package/es/Player/style/timeline.less +43 -33
- package/es/Player/style/volume.less +7 -4
- package/es/Player/timeline.d.ts +0 -1
- package/es/Player/timeline.js +16 -8
- package/es/Player/util.d.ts +21 -7
- package/es/Player/util.js +82 -58
- package/es/PlayerExt/demo.d.ts +0 -1
- package/es/PlayerExt/index.d.ts +0 -1
- package/es/PlayerExt/index.less +2 -2
- package/es/Progress/index.d.ts +0 -1
- package/es/Progress/index.less +5 -4
- package/es/ROI/demo.d.ts +0 -1
- package/es/ROI/index.less +8 -4
- package/es/ScreenPlayer/Live.d.ts +0 -1
- package/es/ScreenPlayer/RatePick.d.ts +0 -1
- package/es/ScreenPlayer/Record.d.ts +0 -1
- package/es/ScreenPlayer/ScreenSelect.d.ts +0 -1
- package/es/ScreenPlayer/SegmentTimeLine.d.ts +0 -1
- package/es/ScreenPlayer/TimeMode.d.ts +0 -1
- package/es/ScreenPlayer/TimeSelect.d.ts +0 -1
- package/es/ScreenPlayer/demo.d.ts +0 -1
- package/es/ScreenPlayer/demo2.d.ts +0 -1
- package/es/ScreenPlayer/index.d.ts +2 -3
- package/es/ScreenPlayer/index.less +49 -26
- package/es/ScreenPlayer/useTimeSlider.d.ts +0 -1
- package/es/ScreenPlayer/useVideoFit.d.ts +2 -2
- package/es/TableLayout/index.less +1 -1
- package/es/ThemeAntd/demo.d.ts +0 -1
- package/es/ThemeAntd/demo.less +4 -3
- package/es/ThemeAntd/index.less +12 -12
- package/es/ThemeAntd/style/button.less +4 -4
- package/es/ThemeAntd/style/checkbox.less +3 -3
- package/es/ThemeAntd/style/input.less +7 -7
- package/es/ThemeAntd/style/pagination.less +4 -4
- package/es/ThemeAntd/style/picker.less +5 -5
- package/es/ThemeAntd/style/radio.less +2 -2
- package/es/ThemeAntd/style/scrollbar.less +5 -3
- package/es/ThemeAntd/style/select.less +8 -8
- package/es/ThemeAntd/style/table.less +4 -4
- package/es/Timeout/index.d.ts +0 -1
- package/es/Tree/demo.d.ts +0 -1
- package/es/Tree/index.d.ts +1 -1
- package/es/Tree/index.less +13 -12
- package/es/VList/index.d.ts +0 -1
- package/es/useDrawROI/index.d.ts +4 -4
- package/es/useFullscreen/demo.d.ts +0 -1
- package/es/useFullscreen/index.d.ts +4 -5
- package/es/useHistory/index.d.ts +0 -1
- package/es/useSimpleState/index.js +1 -1
- package/es/useVirtualList/index.d.ts +1 -1
- package/package.json +12 -6
- package/tsconfig.json +1 -0
- package/es/Drag/index.less +0 -0
- package/es/Map/LevelCenter/index.less +0 -2
- package/es/Map/MapDrawSelect/index.less +0 -2
- package/es/Map/useMarker/index.less +0 -0
package/es/PlayerExt/index.less
CHANGED
package/es/Progress/index.d.ts
CHANGED
package/es/Progress/index.less
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.@{ant-prefix}-progress.lm-c-loading-progress {
|
|
2
|
-
height: 2px;
|
|
3
|
-
overflow: hidden;
|
|
4
2
|
position: absolute;
|
|
5
|
-
left: 0;
|
|
6
3
|
top: 0;
|
|
4
|
+
left: 0;
|
|
7
5
|
z-index: 99;
|
|
8
|
-
|
|
6
|
+
height: 2px;
|
|
7
|
+
overflow: hidden;
|
|
9
8
|
opacity: 1;
|
|
9
|
+
transition: opacity 1s linear;
|
|
10
|
+
|
|
10
11
|
&.lm-c-loading-progress-over {
|
|
11
12
|
opacity: 0;
|
|
12
13
|
}
|
package/es/ROI/demo.d.ts
CHANGED
package/es/ROI/index.less
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
.rio-layout {
|
|
2
|
+
position: relative;
|
|
2
3
|
width: 100%;
|
|
3
4
|
height: 100%;
|
|
4
|
-
|
|
5
|
+
|
|
5
6
|
canvas {
|
|
6
7
|
position: absolute;
|
|
7
|
-
left: 0;
|
|
8
8
|
top: 0;
|
|
9
|
+
left: 0;
|
|
9
10
|
width: 100%;
|
|
10
11
|
height: 100%;
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
.rio-debug-box {
|
|
13
15
|
position: absolute;
|
|
14
|
-
left: 0;
|
|
15
16
|
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
display: flex;
|
|
16
19
|
width: 100%;
|
|
17
20
|
height: 100%;
|
|
18
|
-
display: flex;
|
|
19
21
|
flex-direction: column;
|
|
22
|
+
|
|
20
23
|
& > div {
|
|
21
24
|
display: flex;
|
|
22
25
|
flex: 1;
|
|
26
|
+
|
|
23
27
|
span {
|
|
24
28
|
flex: 1;
|
|
25
29
|
border: 1px solid #eee;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const Sceenplayer: {
|
|
3
|
-
LivePlayer:
|
|
4
|
-
RecordPlayer:
|
|
2
|
+
LivePlayer: any;
|
|
3
|
+
RecordPlayer: any;
|
|
5
4
|
};
|
|
6
5
|
export default Sceenplayer;
|
|
@@ -4,15 +4,19 @@
|
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
user-select: none;
|
|
6
6
|
min-width: 600px;
|
|
7
|
+
|
|
7
8
|
.player-layout {
|
|
8
9
|
height: calc(100% - 88px);
|
|
10
|
+
|
|
9
11
|
.player-with-ext-layout {
|
|
10
12
|
float: left;
|
|
13
|
+
|
|
11
14
|
.lm-player-ext-layout {
|
|
12
|
-
border: 1px solid var(--gray12);
|
|
13
15
|
height: 100%;
|
|
16
|
+
border: 1px solid var(--gray12);
|
|
14
17
|
box-sizing: border-box;
|
|
15
18
|
}
|
|
19
|
+
|
|
16
20
|
&.player-current-index {
|
|
17
21
|
.lm-player-ext-layout {
|
|
18
22
|
border: 1px solid var(--primary);
|
|
@@ -20,91 +24,105 @@
|
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
27
|
+
|
|
23
28
|
&.split-screen-player-live-wrapper {
|
|
24
29
|
.player-layout {
|
|
25
30
|
height: calc(100% - 42px);
|
|
26
31
|
}
|
|
27
32
|
}
|
|
33
|
+
|
|
28
34
|
.player-tools-group {
|
|
29
|
-
height: 88px;
|
|
30
35
|
position: relative;
|
|
36
|
+
height: 88px;
|
|
31
37
|
}
|
|
38
|
+
|
|
32
39
|
.player-record-time {
|
|
33
|
-
text-align: center;
|
|
34
|
-
background-color: var(--gray11);
|
|
35
|
-
line-height: 42px;
|
|
36
40
|
padding: 0 16px;
|
|
41
|
+
margin: 0 20px;
|
|
37
42
|
font-size: 16px;
|
|
43
|
+
line-height: 42px;
|
|
38
44
|
color: var(--gray1);
|
|
39
|
-
|
|
45
|
+
text-align: center;
|
|
46
|
+
background-color: var(--gray11);
|
|
40
47
|
}
|
|
48
|
+
|
|
41
49
|
.icon-chajian {
|
|
42
50
|
position: relative;
|
|
43
51
|
top: 1px;
|
|
44
52
|
left: 1px;
|
|
45
53
|
font-size: 22px !important;
|
|
46
54
|
}
|
|
55
|
+
|
|
47
56
|
.player-tools {
|
|
57
|
+
position: relative;
|
|
58
|
+
display: flex;
|
|
48
59
|
height: 42px;
|
|
49
|
-
background-color: #242c3d;
|
|
50
60
|
padding: 0 10px;
|
|
51
|
-
|
|
61
|
+
background-color: #242c3d;
|
|
52
62
|
align-items: center;
|
|
53
63
|
justify-content: space-between;
|
|
54
|
-
|
|
64
|
+
|
|
55
65
|
.player-tools-left,
|
|
56
66
|
.player-tools-right {
|
|
57
|
-
width: 35%;
|
|
58
67
|
display: grid;
|
|
68
|
+
width: 35%;
|
|
59
69
|
grid-template-columns: repeat(auto-fill, 32px);
|
|
60
70
|
grid-gap: 10px;
|
|
61
71
|
}
|
|
72
|
+
|
|
62
73
|
.player-tools-right {
|
|
63
74
|
display: flex;
|
|
64
75
|
justify-content: flex-end;
|
|
65
76
|
margin-right: 0;
|
|
66
77
|
margin-left: 4px;
|
|
67
78
|
}
|
|
79
|
+
|
|
68
80
|
.player-tools-mid {
|
|
69
81
|
display: flex;
|
|
70
82
|
align-items: center;
|
|
71
83
|
justify-self: center;
|
|
72
84
|
height: 100%;
|
|
85
|
+
|
|
73
86
|
.player-tools-item {
|
|
74
87
|
margin: 0;
|
|
75
88
|
}
|
|
76
89
|
}
|
|
77
90
|
|
|
78
91
|
.player-tools-item {
|
|
79
|
-
|
|
92
|
+
display: flex;
|
|
80
93
|
width: 32px;
|
|
81
94
|
height: 32px;
|
|
95
|
+
font-size: 18px;
|
|
82
96
|
color: var(--gray1);
|
|
83
97
|
cursor: pointer;
|
|
84
|
-
display: flex;
|
|
85
98
|
align-items: center;
|
|
86
99
|
justify-content: center;
|
|
100
|
+
|
|
87
101
|
.lm-player-iconfont {
|
|
88
102
|
font-size: 20px;
|
|
89
103
|
}
|
|
104
|
+
|
|
90
105
|
&:hover {
|
|
91
106
|
background-color: var(--gray11);
|
|
92
107
|
border-radius: var(--radius1);
|
|
93
108
|
}
|
|
94
109
|
}
|
|
110
|
+
|
|
95
111
|
.select-current-screen-item {
|
|
96
|
-
|
|
112
|
+
display: flex;
|
|
97
113
|
width: 32px;
|
|
98
114
|
height: 32px;
|
|
115
|
+
font-size: 18px;
|
|
99
116
|
color: var(--gray1);
|
|
100
117
|
text-align: center;
|
|
101
118
|
cursor: pointer;
|
|
102
|
-
display: flex;
|
|
103
119
|
align-items: center;
|
|
104
120
|
justify-content: center;
|
|
121
|
+
|
|
105
122
|
.lm-player-iconfont {
|
|
106
123
|
font-size: 20px;
|
|
107
124
|
}
|
|
125
|
+
|
|
108
126
|
&:hover {
|
|
109
127
|
background-color: var(--gray11);
|
|
110
128
|
border-radius: var(--radius1);
|
|
@@ -115,9 +133,10 @@
|
|
|
115
133
|
// 录像
|
|
116
134
|
&.split-screen-player-wrapper-record {
|
|
117
135
|
.record-time-line {
|
|
136
|
+
position: relative;
|
|
118
137
|
width: 100%;
|
|
119
138
|
height: 46px;
|
|
120
|
-
|
|
139
|
+
|
|
121
140
|
canvas {
|
|
122
141
|
box-sizing: border-box;
|
|
123
142
|
width: 100%;
|
|
@@ -125,13 +144,14 @@
|
|
|
125
144
|
cursor: pointer;
|
|
126
145
|
background-color: #030917;
|
|
127
146
|
}
|
|
147
|
+
|
|
128
148
|
.time-line-mask {
|
|
129
149
|
position: absolute;
|
|
130
|
-
left: 0;
|
|
131
150
|
top: 0;
|
|
151
|
+
left: 0;
|
|
152
|
+
z-index: 5;
|
|
132
153
|
width: 100%;
|
|
133
154
|
height: 100%;
|
|
134
|
-
z-index: 5;
|
|
135
155
|
cursor: not-allowed;
|
|
136
156
|
}
|
|
137
157
|
}
|
|
@@ -139,8 +159,8 @@
|
|
|
139
159
|
}
|
|
140
160
|
|
|
141
161
|
.player-time-select {
|
|
142
|
-
width: 190px;
|
|
143
162
|
display: flex;
|
|
163
|
+
width: 190px;
|
|
144
164
|
justify-content: space-around;
|
|
145
165
|
align-items: center;
|
|
146
166
|
}
|
|
@@ -152,27 +172,30 @@
|
|
|
152
172
|
background-color: transparent !important;
|
|
153
173
|
border-radius: var(--radius1) !important;
|
|
154
174
|
}
|
|
175
|
+
|
|
155
176
|
.anticon {
|
|
156
177
|
color: var(--gray1);
|
|
157
178
|
}
|
|
158
179
|
}
|
|
180
|
+
|
|
159
181
|
.custom-select-dropdown {
|
|
160
182
|
font-size: var(--fs-small);
|
|
183
|
+
|
|
161
184
|
.cloudapp-select-item {
|
|
162
185
|
font-size: var(--fs-small);
|
|
163
186
|
}
|
|
164
187
|
}
|
|
165
188
|
|
|
166
189
|
.select-current-rate-item {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
border: 1px solid var(--gray1);
|
|
170
|
-
padding: 2px 0;
|
|
190
|
+
position: relative;
|
|
191
|
+
top: 4px;
|
|
171
192
|
display: inline-block;
|
|
172
193
|
width: 64px;
|
|
173
|
-
|
|
174
|
-
|
|
194
|
+
padding: 2px 0;
|
|
195
|
+
font-size: 12px;
|
|
196
|
+
color: var(--gray1);
|
|
175
197
|
text-align: center;
|
|
176
|
-
|
|
177
|
-
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
border: 1px solid var(--gray1);
|
|
200
|
+
border-radius: 2px;
|
|
178
201
|
}
|
package/es/ThemeAntd/demo.d.ts
CHANGED
package/es/ThemeAntd/demo.less
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
.theme-antd-demo {
|
|
2
|
+
padding: 40px;
|
|
2
3
|
color: #fff;
|
|
3
4
|
background-color: #0f2e61;
|
|
4
|
-
|
|
5
|
+
|
|
5
6
|
a {
|
|
6
7
|
color: inherit;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
--form-bg: #1d4788;
|
|
10
|
-
--form-bd:
|
|
11
|
+
--form-bd: rgb(255 255 255 / 30%);
|
|
11
12
|
--form-active-bg: #e8b127;
|
|
12
13
|
--table-bg: #0f2e61;
|
|
13
|
-
--table-bd:
|
|
14
|
+
--table-bd: rgb(255 255 255 / 30%);
|
|
14
15
|
--table-head-bg: #1d4788;
|
|
15
16
|
--table-row-hover-color: #1d4788;
|
|
16
17
|
--radius1: 4px;
|
package/es/ThemeAntd/index.less
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
@import './style/button.less';
|
|
2
|
-
@import './style/checkbox.less';
|
|
3
|
-
@import './style/form.less';
|
|
4
|
-
@import './style/input.less';
|
|
5
|
-
@import './style/pagination.less';
|
|
6
|
-
@import './style/picker.less';
|
|
7
|
-
@import './style/popover.less';
|
|
8
|
-
@import './style/radio.less';
|
|
9
|
-
@import './style/scrollbar.less';
|
|
10
|
-
@import './style/select.less';
|
|
11
|
-
@import './style/tree.less';
|
|
12
|
-
@import './style/table.less';
|
|
1
|
+
@import url('./style/button.less');
|
|
2
|
+
@import url('./style/checkbox.less');
|
|
3
|
+
@import url('./style/form.less');
|
|
4
|
+
@import url('./style/input.less');
|
|
5
|
+
@import url('./style/pagination.less');
|
|
6
|
+
@import url('./style/picker.less');
|
|
7
|
+
@import url('./style/popover.less');
|
|
8
|
+
@import url('./style/radio.less');
|
|
9
|
+
@import url('./style/scrollbar.less');
|
|
10
|
+
@import url('./style/select.less');
|
|
11
|
+
@import url('./style/tree.less');
|
|
12
|
+
@import url('./style/table.less');
|
|
13
13
|
|
|
14
14
|
:root {
|
|
15
15
|
color: var(--color);
|
|
@@ -16,19 +16,19 @@ div {
|
|
|
16
16
|
|
|
17
17
|
.@{ant-prefix}-btn-primary:hover,
|
|
18
18
|
.@{ant-prefix}-btn-primary:focus {
|
|
19
|
+
color: var(--color);
|
|
19
20
|
background: var(--primary-dark);
|
|
20
21
|
border-color: var(--primary-dark);
|
|
21
|
-
color: var(--color);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.@{ant-prefix}-btn-primary[disabled],
|
|
25
25
|
.@{ant-prefix}-btn-primary[disabled]:hover,
|
|
26
26
|
.@{ant-prefix}-btn-primary[disabled]:focus,
|
|
27
27
|
.@{ant-prefix}-btn-primary[disabled]:active {
|
|
28
|
+
color: var(--color);
|
|
28
29
|
background: var(--primary-dark);
|
|
30
|
+
opacity: .8;
|
|
29
31
|
border-color: var(--primary-dark);
|
|
30
|
-
color: var(--color);
|
|
31
|
-
opacity: 0.8;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-primary {
|
|
@@ -49,9 +49,9 @@ div {
|
|
|
49
49
|
|
|
50
50
|
.@{ant-prefix}-btn-danger:hover,
|
|
51
51
|
.@{ant-prefix}-btn-danger:focus {
|
|
52
|
+
color: var(--color);
|
|
52
53
|
background: var(--danger-dark);
|
|
53
54
|
border-color: var(--danger-dark);
|
|
54
|
-
color: var(--color);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.@{ant-prefix}-btn-background-ghost.@{ant-prefix}-btn-danger {
|
|
@@ -7,8 +7,8 @@ div {
|
|
|
7
7
|
background-color: var(--form-active-bg);
|
|
8
8
|
}
|
|
9
9
|
.@{ant-prefix}-checkbox-inner {
|
|
10
|
-
border-radius: var(--radius1);
|
|
11
10
|
background-color: var(--form-bg);
|
|
11
|
+
border-radius: var(--radius1);
|
|
12
12
|
border-color: var(--form-bd);
|
|
13
13
|
}
|
|
14
14
|
.@{ant-prefix}-checkbox-wrapper {
|
|
@@ -16,7 +16,7 @@ div {
|
|
|
16
16
|
}
|
|
17
17
|
.@{ant-prefix}-checkbox-disabled + span {
|
|
18
18
|
color: inherit;
|
|
19
|
-
opacity:
|
|
19
|
+
opacity: .8;
|
|
20
20
|
}
|
|
21
21
|
.@{ant-prefix}-checkbox-disabled.@{ant-prefix}-checkbox-checked .@{ant-prefix}-checkbox-inner::after {
|
|
22
22
|
border-color: var(--form-bd);
|
|
@@ -34,7 +34,7 @@ div {
|
|
|
34
34
|
|
|
35
35
|
.@{ant-prefix}-checkbox-disabled .@{ant-prefix}-checkbox-inner {
|
|
36
36
|
background-color: var(--form-bg);
|
|
37
|
-
opacity:
|
|
37
|
+
opacity: .8;
|
|
38
38
|
}
|
|
39
39
|
.@{ant-prefix}-checkbox-indeterminate .@{ant-prefix}-checkbox-inner {
|
|
40
40
|
background-color: #fff;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
div {
|
|
2
2
|
.@{ant-prefix}-input {
|
|
3
3
|
color: inherit;
|
|
4
|
+
background-color: var(--form-bg);
|
|
4
5
|
border-radius: var(--radius1);
|
|
5
6
|
border-color: var(--form-bd);
|
|
6
|
-
background-color: var(--form-bg);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.@{ant-prefix}-input-affix-wrapper:not(.@{ant-prefix}-input-affix-wrapper-disabled):hover {
|
|
@@ -21,8 +21,8 @@ div {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.@{ant-prefix}-input-affix-wrapper {
|
|
24
|
-
background-color: var(--form-bg);
|
|
25
24
|
color: inherit;
|
|
25
|
+
background-color: var(--form-bg);
|
|
26
26
|
border-radius: var(--radius1);
|
|
27
27
|
border-color: var(--form-bd);
|
|
28
28
|
}
|
|
@@ -38,17 +38,17 @@ div {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.@{ant-prefix}-input[disabled] {
|
|
41
|
-
background-color: var(--form-bd);
|
|
42
41
|
color: inherit;
|
|
42
|
+
background-color: var(--form-bd);
|
|
43
|
+
opacity: .7;
|
|
43
44
|
border-color: var(--form-bd);
|
|
44
|
-
opacity: 0.7;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.@{ant-prefix}-input-number {
|
|
48
48
|
color: inherit;
|
|
49
|
+
background-color: var(--form-bg);
|
|
49
50
|
border-radius: var(--radius1);
|
|
50
51
|
border-color: var(--form-bd);
|
|
51
|
-
background-color: var(--form-bg);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.@{ant-prefix}-input-number:hover {
|
|
@@ -62,9 +62,9 @@ div {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.@{ant-prefix}-input-number-handler-wrap {
|
|
65
|
-
border-radius: 0 var(--radius1) var(---redius1) 0;
|
|
66
|
-
background-color: var(--form-bg);
|
|
67
65
|
color: inherit;
|
|
66
|
+
background-color: var(--form-bg);
|
|
67
|
+
border-radius: 0 var(--radius1) var(--redius1) 0;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.@{ant-prefix}-input-number-handler {
|
|
@@ -7,14 +7,14 @@ div {
|
|
|
7
7
|
.@{ant-prefix}-pagination-next,
|
|
8
8
|
.@{ant-prefix}-pagination-jump-prev,
|
|
9
9
|
.@{ant-prefix}-pagination-jump-next {
|
|
10
|
-
border-radius: var(--radius1);
|
|
11
10
|
line-height: 28px;
|
|
11
|
+
border-radius: var(--radius1);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.@{ant-prefix}-pagination-prev .@{ant-prefix}-pagination-item-link,
|
|
15
15
|
.@{ant-prefix}-pagination-next .@{ant-prefix}-pagination-item-link {
|
|
16
|
-
border-radius: var(--radius1);
|
|
17
16
|
background-color: var(--form-bg);
|
|
17
|
+
border-radius: var(--radius1);
|
|
18
18
|
border-color: var(--form-bd);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -24,8 +24,8 @@ div {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.@{ant-prefix}-pagination-item {
|
|
27
|
-
border-radius: var(--radius1);
|
|
28
27
|
background-color: var(--form-bg);
|
|
28
|
+
border-radius: var(--radius1);
|
|
29
29
|
border-color: var(--form-bd);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -51,9 +51,9 @@ div {
|
|
|
51
51
|
.@{ant-prefix}-pagination-next:focus:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
|
|
52
52
|
.@{ant-prefix}-pagination-prev:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link,
|
|
53
53
|
.@{ant-prefix}-pagination-next:hover:not(.@{ant-prefix}-pagination-disabled) .@{ant-prefix}-pagination-item-link {
|
|
54
|
+
color: #fff;
|
|
54
55
|
background-color: var(--form-active-bg);
|
|
55
56
|
border-color: var(--form-active-bg);
|
|
56
|
-
color: #fff;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.@{ant-prefix}-pagination-disabled .@{ant-prefix}-pagination-item-link,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
div {
|
|
2
2
|
.@{ant-prefix}-picker {
|
|
3
|
+
color: inherit;
|
|
3
4
|
background-color: var(--form-bg);
|
|
4
5
|
border-radius: var(--radius1);
|
|
5
6
|
border-color: var(--form-bd);
|
|
6
|
-
color: inherit;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.@{ant-prefix}-picker:hover,
|
|
@@ -38,7 +38,7 @@ div {
|
|
|
38
38
|
|
|
39
39
|
.@{ant-prefix}-picker-cell {
|
|
40
40
|
color: inherit;
|
|
41
|
-
opacity:
|
|
41
|
+
opacity: .6;
|
|
42
42
|
}
|
|
43
43
|
.@{ant-prefix}-picker-cell-in-view {
|
|
44
44
|
color: inherit;
|
|
@@ -60,7 +60,7 @@ div {
|
|
|
60
60
|
}
|
|
61
61
|
.@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-in-view) .@{ant-prefix}-picker-cell-inner,
|
|
62
62
|
.@{ant-prefix}-picker-cell:hover:not(.@{ant-prefix}-picker-cell-selected):not(.@{ant-prefix}-picker-cell-range-start):not(.@{ant-prefix}-picker-cell-range-end):not(.@{ant-prefix}-picker-cell-range-hover-start):not(.@{ant-prefix}-picker-cell-range-hover-end)
|
|
63
|
-
|
|
63
|
+
.@{ant-prefix}-picker-cell-inner {
|
|
64
64
|
background-color: var(--form-bg);
|
|
65
65
|
}
|
|
66
66
|
.@{ant-prefix}-picker-input > input {
|
|
@@ -77,11 +77,11 @@ div {
|
|
|
77
77
|
.@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-start:not(.@{ant-prefix}-picker-cell-range-start-single)::before,
|
|
78
78
|
.@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-range-end:not(.@{ant-prefix}-picker-cell-range-end-single)::before {
|
|
79
79
|
background-color: var(--form-active-bg);
|
|
80
|
-
opacity:
|
|
80
|
+
opacity: .8;
|
|
81
81
|
}
|
|
82
82
|
.@{ant-prefix}-picker-cell-in-view.@{ant-prefix}-picker-cell-in-range::before {
|
|
83
83
|
background-color: var(--form-active-bg);
|
|
84
|
-
opacity:
|
|
84
|
+
opacity: .8;
|
|
85
85
|
}
|
|
86
86
|
.@{ant-prefix}-picker-focused .@{ant-prefix}-picker-separator {
|
|
87
87
|
color: inherit;
|
|
@@ -25,7 +25,7 @@ div {
|
|
|
25
25
|
}
|
|
26
26
|
.@{ant-prefix}-radio-disabled .@{ant-prefix}-radio-inner {
|
|
27
27
|
background-color: var(--form-bg);;
|
|
28
|
-
opacity:
|
|
28
|
+
opacity: .8;
|
|
29
29
|
}
|
|
30
30
|
.@{ant-prefix}-radio-button-wrapper:hover {
|
|
31
31
|
color: var(--form-active-bg);
|
|
@@ -48,7 +48,7 @@ div {
|
|
|
48
48
|
}
|
|
49
49
|
.@{ant-prefix}-radio-disabled + span {
|
|
50
50
|
color: inherit;
|
|
51
|
-
opacity:
|
|
51
|
+
opacity: .8;
|
|
52
52
|
}
|
|
53
53
|
.@{ant-prefix}-radio-wrapper:hover .@{ant-prefix}-radio,
|
|
54
54
|
.@{ant-prefix}-radio:hover .@{ant-prefix}-radio-inner,
|
|
@@ -4,18 +4,20 @@
|
|
|
4
4
|
height: var(--scrollbar-width);
|
|
5
5
|
} // 滚动条滑槽样式
|
|
6
6
|
::-webkit-scrollbar-track {
|
|
7
|
-
|
|
7
|
+
box-shadow: var(--scrollbar-track-shadow);
|
|
8
8
|
border-radius: var(--scrollbar-width);
|
|
9
9
|
}
|
|
10
10
|
// 滚动条样式
|
|
11
11
|
::-webkit-scrollbar-thumb {
|
|
12
|
-
border-radius: var(--scrollbar-width);
|
|
13
12
|
background: var(--scrollbar-thumb-bg);
|
|
14
|
-
-
|
|
13
|
+
border-radius: var(--scrollbar-width);
|
|
14
|
+
box-shadow: var(--scrollbar-thumb-shadow);
|
|
15
15
|
}
|
|
16
|
+
|
|
16
17
|
::-webkit-scrollbar-thumb:hover {
|
|
17
18
|
background: var(--scrollbar-thumb-hover-bg);
|
|
18
19
|
}
|
|
20
|
+
|
|
19
21
|
::-webkit-scrollbar-thumb:active {
|
|
20
22
|
background: var(--scrollbar-thumb-bg);
|
|
21
23
|
} // 浏览器失焦的样式
|