@whitesev/pops 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +249 -249
- package/dist/index.amd.js +736 -948
- package/dist/index.amd.js.map +1 -1
- package/dist/index.amd.min.js +1 -1
- package/dist/index.amd.min.js.map +1 -1
- package/dist/index.cjs.js +736 -948
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +736 -948
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/index.iife.js +736 -948
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/dist/index.system.js +736 -948
- package/dist/index.system.js.map +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/dist/index.umd.js +736 -948
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/types/src/PopsCore.d.ts +15 -7
- package/dist/types/src/components/folder/types/index.d.ts +43 -13
- package/dist/types/src/types/PopsDOMUtilsEventType.d.ts +313 -313
- package/dist/types/src/types/animation.d.ts +19 -19
- package/dist/types/src/types/button.d.ts +94 -94
- package/dist/types/src/types/components.d.ts +211 -211
- package/dist/types/src/types/event.d.ts +43 -43
- package/dist/types/src/types/global.d.ts +31 -31
- package/dist/types/src/types/icon.d.ts +32 -32
- package/dist/types/src/types/inst.d.ts +28 -28
- package/dist/types/src/types/main.d.ts +66 -66
- package/dist/types/src/types/mask.d.ts +52 -52
- package/dist/types/src/types/position.d.ts +60 -60
- package/package.json +28 -27
- package/src/Pops.ts +206 -206
- package/src/PopsAnimation.ts +32 -32
- package/src/PopsCSS.ts +54 -54
- package/src/PopsCore.ts +53 -37
- package/src/PopsIcon.ts +95 -95
- package/src/PopsInst.ts +21 -21
- package/src/components/alert/defaultConfig.ts +62 -62
- package/src/components/alert/index.ts +163 -163
- package/src/components/alert/types/index.ts +23 -23
- package/src/components/confirm/defaultConfig.ts +90 -90
- package/src/components/confirm/index.ts +165 -165
- package/src/components/confirm/types/index.ts +13 -17
- package/src/components/drawer/defaultConfig.ts +89 -89
- package/src/components/drawer/index.css +37 -37
- package/src/components/drawer/index.ts +245 -245
- package/src/components/drawer/types/index.ts +62 -61
- package/src/components/folder/defaultConfig.ts +151 -151
- package/src/components/folder/folderIcon.ts +28 -28
- package/src/components/folder/index.css +303 -303
- package/src/components/folder/index.ts +953 -932
- package/src/components/folder/types/index.ts +143 -110
- package/src/components/iframe/defaultConfig.ts +60 -60
- package/src/components/iframe/index.css +76 -76
- package/src/components/iframe/index.ts +331 -331
- package/src/components/iframe/types/index.ts +96 -96
- package/src/components/loading/defaultConfig.ts +29 -29
- package/src/components/loading/index.css +66 -66
- package/src/components/loading/index.ts +101 -101
- package/src/components/loading/types/index.ts +36 -34
- package/src/components/panel/css/components-select.css +84 -84
- package/src/components/panel/defaultConfig.ts +868 -868
- package/src/components/panel/handlerComponents.ts +3993 -3993
- package/src/components/panel/index.css +1403 -1403
- package/src/components/panel/index.ts +221 -221
- package/src/components/panel/types/components-button.ts +56 -56
- package/src/components/panel/types/components-common.ts +73 -73
- package/src/components/panel/types/components-container.ts +25 -25
- package/src/components/panel/types/components-deepMenu.ts +64 -64
- package/src/components/panel/types/components-input.ts +90 -90
- package/src/components/panel/types/components-own.ts +16 -16
- package/src/components/panel/types/components-select.ts +169 -169
- package/src/components/panel/types/components-selectMultiple.ts +105 -104
- package/src/components/panel/types/components-slider.ts +55 -55
- package/src/components/panel/types/components-switch.ts +33 -33
- package/src/components/panel/types/components-textarea.ts +45 -45
- package/src/components/panel/types/index.ts +244 -244
- package/src/components/prompt/defaultConfig.ts +94 -94
- package/src/components/prompt/index.css +34 -34
- package/src/components/prompt/index.ts +187 -215
- package/src/components/prompt/types/index.ts +57 -56
- package/src/components/rightClickMenu/defaultConfig.ts +103 -103
- package/src/components/rightClickMenu/index.css +115 -115
- package/src/components/rightClickMenu/index.ts +662 -662
- package/src/components/rightClickMenu/types/index.ts +145 -143
- package/src/components/searchSuggestion/defaultConfig.ts +63 -63
- package/src/components/searchSuggestion/index.ts +813 -813
- package/src/components/searchSuggestion/types/index.ts +244 -242
- package/src/components/tooltip/defaultConfig.ts +33 -33
- package/src/components/tooltip/index.css +199 -199
- package/src/components/tooltip/index.ts +617 -617
- package/src/components/tooltip/types/index.ts +123 -121
- package/src/config/CommonCSSClassName.ts +17 -17
- package/src/config/GlobalConfig.ts +63 -63
- package/src/css/animation.css +987 -987
- package/src/css/button.css +551 -551
- package/src/css/common.css +54 -54
- package/src/css/index.css +253 -253
- package/src/css/ninePalaceGridPosition.css +50 -50
- package/src/css/scrollbar.css +22 -22
- package/src/handler/PopsElementHandler.ts +303 -303
- package/src/handler/PopsHandler.ts +611 -611
- package/src/types/PopsDOMUtilsEventType.d.ts +313 -313
- package/src/types/animation.d.ts +19 -19
- package/src/types/button.d.ts +94 -94
- package/src/types/components.d.ts +211 -211
- package/src/types/event.d.ts +43 -43
- package/src/types/global.d.ts +31 -31
- package/src/types/icon.d.ts +32 -32
- package/src/types/inst.d.ts +28 -28
- package/src/types/main.d.ts +66 -66
- package/src/types/mask.d.ts +52 -52
- package/src/types/position.d.ts +60 -60
- package/src/utils/PopsDOMUtils.ts +2483 -2483
- package/src/utils/PopsDOMUtilsEventsConfig.ts +4 -4
- package/src/utils/PopsInstanceUtils.ts +714 -714
- package/src/utils/PopsMathUtils.ts +71 -71
- package/src/utils/PopsSafeUtils.ts +22 -22
- package/src/utils/PopsUtils.ts +391 -421
|
@@ -1,1403 +1,1403 @@
|
|
|
1
|
-
.pops[type-value="panel"] {
|
|
2
|
-
--pops-bg-color: #f2f2f2;
|
|
3
|
-
--pops-color: #333333;
|
|
4
|
-
--panel-title-bg-color: #ffffff;
|
|
5
|
-
|
|
6
|
-
--panel-aside-bg-color: #ffffff;
|
|
7
|
-
--panel-aside-hover-color: rgb(64, 158, 255);
|
|
8
|
-
--panel-aside-hover-bg-color: rgba(64, 158, 255, 0.1);
|
|
9
|
-
|
|
10
|
-
--pops-panel-forms-margin-top-bottom: 10px;
|
|
11
|
-
--pops-panel-forms-margin-left-right: 20px;
|
|
12
|
-
--pops-panel-forms-header-icon-size: calc(var(--pops-panel-forms-container-li-padding-left-right) + 1px);
|
|
13
|
-
--pops-panel-forms-header-padding-top-bottom: 15px;
|
|
14
|
-
--pops-panel-forms-header-padding-left-right: 10px;
|
|
15
|
-
--pops-panel-forms-container-item-left-text-gap: 6px;
|
|
16
|
-
--pops-panel-forms-container-item-left-desc-text-size: 0.8em;
|
|
17
|
-
--pops-panel-forms-container-item-left-desc-text-color: #6c6c6c;
|
|
18
|
-
--pops-panel-forms-container-item-bg-color: #ffffff;
|
|
19
|
-
--pops-panel-forms-container-item-title-color: #333;
|
|
20
|
-
--pops-panel-forms-container-item-border-radius: 6px;
|
|
21
|
-
--pops-panel-forms-container-item-margin-top-bottom: 10px;
|
|
22
|
-
--pops-panel-forms-container-item-margin-left-right: var(--pops-panel-forms-margin-left-right);
|
|
23
|
-
--pops-panel-forms-container-li-border-color: var(--pops-bd-color);
|
|
24
|
-
--pops-panel-forms-container-li-padding-top-bottom: 12px;
|
|
25
|
-
--pops-panel-forms-container-li-padding-left-right: 16px;
|
|
26
|
-
|
|
27
|
-
--pops-panel-forms-container-deepMenu-item-active-bg: #e9e9e9;
|
|
28
|
-
}
|
|
29
|
-
.pops[type-value="panel"] {
|
|
30
|
-
color: var(--pops-color);
|
|
31
|
-
background: var(--pops-bg-color);
|
|
32
|
-
}
|
|
33
|
-
.pops[type-value] .pops-panel-title {
|
|
34
|
-
background: var(--panel-title-bg-color);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* ↓panel的CSS↓ */
|
|
38
|
-
/* 左侧的列表 */
|
|
39
|
-
aside.pops-panel-aside {
|
|
40
|
-
box-sizing: border-box;
|
|
41
|
-
flex-shrink: 0;
|
|
42
|
-
max-width: 200px;
|
|
43
|
-
min-width: 100px;
|
|
44
|
-
height: 100%;
|
|
45
|
-
background: var(--panel-aside-bg-color);
|
|
46
|
-
border-right: 1px solid var(--panel-aside-bg-color);
|
|
47
|
-
font-size: 0.9em;
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
}
|
|
52
|
-
aside.pops-panel-aside .pops-panel-aside-top-container {
|
|
53
|
-
overflow: auto;
|
|
54
|
-
}
|
|
55
|
-
aside.pops-panel-aside ul li {
|
|
56
|
-
margin: 6px 8px;
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
padding: 6px 10px;
|
|
59
|
-
cursor: default;
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
justify-content: flex-start;
|
|
63
|
-
}
|
|
64
|
-
aside.pops-panel-aside .pops-is-visited,
|
|
65
|
-
aside.pops-panel-aside ul li:not(.pops-panel-disabled-aside-hover-css):hover {
|
|
66
|
-
color: var(--panel-aside-hover-color);
|
|
67
|
-
background: var(--panel-aside-hover-bg-color);
|
|
68
|
-
}
|
|
69
|
-
/* 左侧的列表 */
|
|
70
|
-
|
|
71
|
-
/* 底部的容器 */
|
|
72
|
-
.pops-panel-bottom-wrapper {
|
|
73
|
-
background: var(--panel-aside-bg-color);
|
|
74
|
-
border-top: 1px solid #ebeef5;
|
|
75
|
-
}
|
|
76
|
-
.pops-panel-bottom-wrapper:has(.pops-panel-bottom-left-container:empty):has(.pops-panel-bottom-right-container:empty) {
|
|
77
|
-
border-top: 0;
|
|
78
|
-
}
|
|
79
|
-
.pops-panel-bottom-container {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-wrap: nowrap;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
}
|
|
84
|
-
.pops-panel-bottom-left-container {
|
|
85
|
-
}
|
|
86
|
-
.pops-panel-bottom-right-container {
|
|
87
|
-
}
|
|
88
|
-
.pops-panel-bottom-wrapper .pops-panel-bottom-item {
|
|
89
|
-
list-style-type: none;
|
|
90
|
-
margin: 6px 8px;
|
|
91
|
-
border-radius: 4px;
|
|
92
|
-
padding: 6px 10px;
|
|
93
|
-
cursor: default;
|
|
94
|
-
}
|
|
95
|
-
.pops-panel-bottom-wrapper:not(.pops-panel-disable-bottom-item-hover-css) .pops-panel-bottom-item:hover {
|
|
96
|
-
color: var(--panel-aside-hover-color);
|
|
97
|
-
background: var(--panel-aside-hover-bg-color);
|
|
98
|
-
}
|
|
99
|
-
/* 底部的容器 */
|
|
100
|
-
|
|
101
|
-
.pops-panel-content {
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: row;
|
|
104
|
-
flex: 1;
|
|
105
|
-
overflow: auto;
|
|
106
|
-
flex-basis: auto;
|
|
107
|
-
box-sizing: border-box;
|
|
108
|
-
min-width: 0;
|
|
109
|
-
bottom: 0 !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.pops-panel-section-wrapper {
|
|
113
|
-
width: 100%;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
display: flex;
|
|
116
|
-
flex-direction: column;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
section.pops-panel-container {
|
|
120
|
-
width: 100%;
|
|
121
|
-
overflow: hidden;
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
}
|
|
125
|
-
section.pops-panel-container .pops-panel-container-header-ul,
|
|
126
|
-
section.pops-panel-container .pops-panel-deepMenu-container-header-ul {
|
|
127
|
-
border-bottom: 1px solid rgba(223, 223, 223, var(--pops-bg-opacity));
|
|
128
|
-
flex: 0 auto;
|
|
129
|
-
}
|
|
130
|
-
section.pops-panel-container .pops-panel-container-header-ul li,
|
|
131
|
-
section.pops-panel-container .pops-panel-container-header-ul li.pops-panel-container-header-title-text {
|
|
132
|
-
display: flex;
|
|
133
|
-
justify-content: flex-start !important;
|
|
134
|
-
margin: 0px !important;
|
|
135
|
-
padding: var(--pops-panel-forms-header-padding-top-bottom)
|
|
136
|
-
calc(var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right));
|
|
137
|
-
text-align: left;
|
|
138
|
-
}
|
|
139
|
-
section.pops-panel-container ul.pops-panel-container-main-ul {
|
|
140
|
-
overflow: auto;
|
|
141
|
-
/*flex: 1;*/
|
|
142
|
-
}
|
|
143
|
-
section.pops-panel-container > ul li:not(.pops-panel-forms-container-item) {
|
|
144
|
-
display: flex;
|
|
145
|
-
justify-content: space-between;
|
|
146
|
-
align-items: center;
|
|
147
|
-
margin: var(--pops-panel-forms-margin-top-bottom)
|
|
148
|
-
calc(var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-margin-left-right));
|
|
149
|
-
gap: 10px;
|
|
150
|
-
}
|
|
151
|
-
section.pops-panel-container .pops-panel-forms-container-item-header-text {
|
|
152
|
-
margin: 10px;
|
|
153
|
-
margin-left: calc(
|
|
154
|
-
var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right)
|
|
155
|
-
);
|
|
156
|
-
font-size: 0.9em;
|
|
157
|
-
text-align: left;
|
|
158
|
-
color: var(--pops-panel-forms-container-item-title-color);
|
|
159
|
-
}
|
|
160
|
-
section.pops-panel-container li.pops-panel-forms-container-item {
|
|
161
|
-
/* 去除<li>左侧的圆点 */
|
|
162
|
-
display: block;
|
|
163
|
-
}
|
|
164
|
-
section.pops-panel-container .pops-panel-forms-container-item ul.pops-panel-forms-container-item-formlist {
|
|
165
|
-
border-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
166
|
-
background: var(--pops-panel-forms-container-item-bg-color);
|
|
167
|
-
margin: var(--pops-panel-forms-container-item-margin-top-bottom) var(--pops-panel-forms-margin-left-right);
|
|
168
|
-
}
|
|
169
|
-
section.pops-panel-container .pops-panel-forms-container-item ul.pops-panel-forms-container-item-formlist li {
|
|
170
|
-
display: flex;
|
|
171
|
-
justify-content: space-between;
|
|
172
|
-
align-items: center;
|
|
173
|
-
padding: var(--pops-panel-forms-container-li-padding-top-bottom)
|
|
174
|
-
var(--pops-panel-forms-container-li-padding-left-right);
|
|
175
|
-
margin: 0px 0px;
|
|
176
|
-
border-bottom: 1px solid var(--pops-panel-forms-container-li-border-color);
|
|
177
|
-
text-align: left;
|
|
178
|
-
}
|
|
179
|
-
/*section.pops-panel-container
|
|
180
|
-
.pops-panel-forms-container-item
|
|
181
|
-
ul
|
|
182
|
-
li.pops-panel-deepMenu-nav-item {
|
|
183
|
-
padding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px;
|
|
184
|
-
margin: 0px var(--pops-panel-forms-container-li-padding-left-right);
|
|
185
|
-
border-bottom: 1px solid var(--pops-panel-forms-container-li-border-color);
|
|
186
|
-
}*/
|
|
187
|
-
section.pops-panel-container
|
|
188
|
-
.pops-panel-forms-container-item
|
|
189
|
-
ul.pops-panel-forms-container-item-formlist
|
|
190
|
-
li:last-child {
|
|
191
|
-
border: 0px;
|
|
192
|
-
}
|
|
193
|
-
/* 左侧的文字 */
|
|
194
|
-
section.pops-panel-container .pops-panel-item-left-text {
|
|
195
|
-
display: flex;
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
gap: var(--pops-panel-forms-container-item-left-text-gap);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/* 左侧的主文字 */
|
|
201
|
-
/*section.pops-panel-container .pops-panel-item-left-main-text {
|
|
202
|
-
|
|
203
|
-
}*/
|
|
204
|
-
/* 左侧的描述文字 */
|
|
205
|
-
section.pops-panel-container .pops-panel-item-left-desc-text {
|
|
206
|
-
font-size: var(--pops-panel-forms-container-item-left-desc-text-size);
|
|
207
|
-
color: var(--pops-panel-forms-container-item-left-desc-text-color);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* 折叠面板 */
|
|
211
|
-
section.pops-panel-container .pops-panel-forms-fold {
|
|
212
|
-
border-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
213
|
-
background: var(--pops-panel-forms-container-item-bg-color);
|
|
214
|
-
margin: var(--pops-panel-forms-margin-top-bottom) var(--pops-panel-forms-margin-left-right);
|
|
215
|
-
}
|
|
216
|
-
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-fold-container {
|
|
217
|
-
display: flex;
|
|
218
|
-
align-items: center;
|
|
219
|
-
fill: #6c6c6c;
|
|
220
|
-
justify-content: space-between;
|
|
221
|
-
margin: 0px var(--pops-panel-forms-container-li-padding-left-right) !important;
|
|
222
|
-
padding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px !important;
|
|
223
|
-
}
|
|
224
|
-
section.pops-panel-container .pops-panel-forms-fold[data-fold-enable] .pops-panel-forms-fold-container-icon {
|
|
225
|
-
transform: rotate(90deg);
|
|
226
|
-
}
|
|
227
|
-
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-fold-container-icon {
|
|
228
|
-
width: 15px;
|
|
229
|
-
height: 15px;
|
|
230
|
-
display: flex;
|
|
231
|
-
align-items: center;
|
|
232
|
-
transform: rotate(-90deg);
|
|
233
|
-
transition: transform 0.3s;
|
|
234
|
-
}
|
|
235
|
-
/* 折叠状态 */
|
|
236
|
-
section.pops-panel-container .pops-panel-forms-fold[data-fold-enable] .pops-panel-forms-container-item-formlist {
|
|
237
|
-
height: 0;
|
|
238
|
-
}
|
|
239
|
-
/* 非折叠状态 */
|
|
240
|
-
section.pops-panel-container .pops-panel-forms-fold ul.pops-panel-forms-container-item-formlist {
|
|
241
|
-
margin: 0;
|
|
242
|
-
}
|
|
243
|
-
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-container-item-formlist {
|
|
244
|
-
transition: height 0.3s;
|
|
245
|
-
overflow: hidden;
|
|
246
|
-
border-radius: unset;
|
|
247
|
-
background: unset;
|
|
248
|
-
margin: 0;
|
|
249
|
-
height: calc-size(auto, size);
|
|
250
|
-
}
|
|
251
|
-
/* 折叠面板 */
|
|
252
|
-
|
|
253
|
-
/* 姑且认为小于600px的屏幕为移动端 */
|
|
254
|
-
@media (max-width: 600px) {
|
|
255
|
-
/* 兼容移动端CSS */
|
|
256
|
-
.pops[type-value="panel"] {
|
|
257
|
-
--pops-panel-forms-margin-left-right: 10px;
|
|
258
|
-
}
|
|
259
|
-
.pops[type-value="panel"] {
|
|
260
|
-
width: 92%;
|
|
261
|
-
width: 92vw;
|
|
262
|
-
width: 92dvw;
|
|
263
|
-
}
|
|
264
|
-
.pops[type-value="panel"] .pops-panel-content aside.pops-panel-aside {
|
|
265
|
-
max-width: 20%;
|
|
266
|
-
min-width: auto;
|
|
267
|
-
}
|
|
268
|
-
.pops[type-value="panel"] section.pops-panel-container .pops-panel-forms-container-item > div {
|
|
269
|
-
text-align: left;
|
|
270
|
-
--pops-panel-forms-margin-left-right: 0px;
|
|
271
|
-
}
|
|
272
|
-
.pops[type-value="panel"] section.pops-panel-container .pops-panel-forms-container-item ul {
|
|
273
|
-
margin: 0px !important;
|
|
274
|
-
}
|
|
275
|
-
.pops[type-value="panel"] section.pops-panel-container > ul > li {
|
|
276
|
-
margin: 10px 10px;
|
|
277
|
-
}
|
|
278
|
-
.pops[type-value="panel"] section.pops-panel-container > ul > li div:nth-child(2) {
|
|
279
|
-
max-width: 55%;
|
|
280
|
-
}
|
|
281
|
-
.pops[type-value="panel"] .pops-panel-select .el-select__selected-item.el-select__placeholder {
|
|
282
|
-
max-width: -moz-available;
|
|
283
|
-
max-width: -webkit-fill-available;
|
|
284
|
-
}
|
|
285
|
-
.pops[type-value="panel"] section.pops-panel-container > ul > li .pops-panel-input span.pops-panel-input__suffix {
|
|
286
|
-
padding: 0 4px;
|
|
287
|
-
}
|
|
288
|
-
.pops[type-value="panel"] section.pops-panel-container .pops-panel-select select {
|
|
289
|
-
min-width: 88px !important;
|
|
290
|
-
width: -moz-available;
|
|
291
|
-
width: -webkit-fill-available;
|
|
292
|
-
}
|
|
293
|
-
.pops[type-value="panel"] section.pops-panel-container .pops-panel-container-header-ul li {
|
|
294
|
-
font-size: 16px;
|
|
295
|
-
}
|
|
296
|
-
.pops[type-value="panel"] .pops-panel-title p[pops],
|
|
297
|
-
.pops[type-value="panel"] section.pops-panel-container > ul li,
|
|
298
|
-
.pops[type-value="panel"] aside.pops-panel-aside ul li {
|
|
299
|
-
font-size: 14px;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
/* switch的CSS */
|
|
303
|
-
.pops-panel-switch {
|
|
304
|
-
--panel-switch-core-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));
|
|
305
|
-
--panel-switch-core-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));
|
|
306
|
-
--panel-switch-circle-color: #dcdfe6;
|
|
307
|
-
--panel-switch-circle-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
308
|
-
--panel-switch-checked-circle-color: #409eff;
|
|
309
|
-
--panel-switch-checked-core-bd-color: rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
310
|
-
--panel-switch-checked-core-bg-color: rgb(64, 158, 255, var(--pops-bg-opacity));
|
|
311
|
-
}
|
|
312
|
-
.pops-panel-switch {
|
|
313
|
-
display: inline-flex;
|
|
314
|
-
flex-direction: row-reverse;
|
|
315
|
-
align-items: center;
|
|
316
|
-
position: relative;
|
|
317
|
-
font-size: 14px;
|
|
318
|
-
line-height: normal;
|
|
319
|
-
align-content: center;
|
|
320
|
-
height: 32px;
|
|
321
|
-
vertical-align: middle;
|
|
322
|
-
-webkit-user-select: none;
|
|
323
|
-
-moz-user-select: none;
|
|
324
|
-
-ms-user-select: none;
|
|
325
|
-
user-select: none;
|
|
326
|
-
}
|
|
327
|
-
.pops-panel-switch input.pops-panel-switch__input {
|
|
328
|
-
position: absolute;
|
|
329
|
-
width: 0;
|
|
330
|
-
height: 0;
|
|
331
|
-
opacity: 0;
|
|
332
|
-
margin: 0;
|
|
333
|
-
}
|
|
334
|
-
.pops-panel-switch:has(input.pops-panel-switch__input:disabled),
|
|
335
|
-
.pops-panel-switch[data-disabled],
|
|
336
|
-
.pops-panel-switch[data-disabled] .pops-panel-switch__core,
|
|
337
|
-
.pops-panel-switch input.pops-panel-switch__input:disabled + .pops-panel-switch__core {
|
|
338
|
-
cursor: not-allowed;
|
|
339
|
-
opacity: 0.6;
|
|
340
|
-
}
|
|
341
|
-
.pops-panel-switch span.pops-panel-switch__core {
|
|
342
|
-
display: inline-flex;
|
|
343
|
-
position: relative;
|
|
344
|
-
align-items: center;
|
|
345
|
-
min-width: 40px;
|
|
346
|
-
height: 20px;
|
|
347
|
-
border: 1px solid var(--panel-switch-core-bd-color);
|
|
348
|
-
outline: 0;
|
|
349
|
-
border-radius: 10px;
|
|
350
|
-
box-sizing: border-box;
|
|
351
|
-
background: var(--panel-switch-core-bg-color);
|
|
352
|
-
cursor: pointer;
|
|
353
|
-
transition:
|
|
354
|
-
border-color 0.3s,
|
|
355
|
-
background-color 0.3s;
|
|
356
|
-
}
|
|
357
|
-
.pops-panel-switch .pops-panel-switch__action {
|
|
358
|
-
position: absolute;
|
|
359
|
-
left: 1px;
|
|
360
|
-
border-radius: 100%;
|
|
361
|
-
transition: all 0.3s;
|
|
362
|
-
width: 16px;
|
|
363
|
-
height: 16px;
|
|
364
|
-
display: flex;
|
|
365
|
-
justify-content: center;
|
|
366
|
-
align-items: center;
|
|
367
|
-
background-color: var(--panel-switch-circle-bg-color);
|
|
368
|
-
color: var(--panel-switch-circle-color);
|
|
369
|
-
}
|
|
370
|
-
.pops-panel-switch.pops-panel-switch-is-checked span.pops-panel-switch__core {
|
|
371
|
-
border-color: var(--panel-switch-checked-core-bd-color);
|
|
372
|
-
background-color: var(--panel-switch-checked-core-bg-color);
|
|
373
|
-
}
|
|
374
|
-
.pops-panel-switch.pops-panel-switch-is-checked .pops-panel-switch__action {
|
|
375
|
-
left: calc(100% - 17px);
|
|
376
|
-
color: var(--panel-switch-checked-circle-color);
|
|
377
|
-
}
|
|
378
|
-
/* switch的CSS */
|
|
379
|
-
|
|
380
|
-
/* slider旧的CSS */
|
|
381
|
-
section.pops-panel-container .pops-panel-slider:has(> input[type="range"]) {
|
|
382
|
-
overflow: hidden;
|
|
383
|
-
height: 25px;
|
|
384
|
-
line-height: normal;
|
|
385
|
-
align-content: center;
|
|
386
|
-
display: flex;
|
|
387
|
-
align-items: center;
|
|
388
|
-
}
|
|
389
|
-
section.pops-panel-container .pops-panel-slider input[type="range"] {
|
|
390
|
-
height: 6px;
|
|
391
|
-
background: rgb(228, 231, 237, var(--pops-bg-opacity));
|
|
392
|
-
outline: 0;
|
|
393
|
-
-webkit-appearance: none;
|
|
394
|
-
appearance: none;
|
|
395
|
-
width: 100%;
|
|
396
|
-
}
|
|
397
|
-
section.pops-panel-container .pops-panel-slider input[type="range"]::-webkit-slider-thumb {
|
|
398
|
-
width: 20px;
|
|
399
|
-
height: 20px;
|
|
400
|
-
border-radius: 50%;
|
|
401
|
-
border: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
402
|
-
background-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
403
|
-
box-shadow:
|
|
404
|
-
0 0 2px rgba(0, 0, 0, 0.3),
|
|
405
|
-
0 3px 5px rgba(0, 0, 0, 0.2);
|
|
406
|
-
cursor: pointer;
|
|
407
|
-
-webkit-appearance: none;
|
|
408
|
-
appearance: none;
|
|
409
|
-
border-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;
|
|
410
|
-
}
|
|
411
|
-
section.pops-panel-container .pops-panel-slider input[type="range"]::-moz-range-thumb {
|
|
412
|
-
width: 20px;
|
|
413
|
-
height: 20px;
|
|
414
|
-
border-radius: 50%;
|
|
415
|
-
border: 1px solid rgb(64, 159, 255, var(--pops-bd-opacity));
|
|
416
|
-
background-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
417
|
-
box-shadow:
|
|
418
|
-
0 0 2px rgba(0, 0, 0, 0.3),
|
|
419
|
-
0 3px 5px rgba(0, 0, 0, 0.2);
|
|
420
|
-
cursor: pointer;
|
|
421
|
-
-webkit-appearance: none;
|
|
422
|
-
appearance: none;
|
|
423
|
-
}
|
|
424
|
-
section.pops-panel-container .pops-panel-slider input[type="range"]::-moz-range-progress {
|
|
425
|
-
height: 6px;
|
|
426
|
-
border-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;
|
|
427
|
-
}
|
|
428
|
-
/* slider旧的CSS */
|
|
429
|
-
|
|
430
|
-
/* slider的CSS */
|
|
431
|
-
.pops-slider {
|
|
432
|
-
--pops-slider-color-white: #ffffff;
|
|
433
|
-
--pops-slider-color-primary: #409eff;
|
|
434
|
-
--pops-slider-color-info: #909399;
|
|
435
|
-
--pops-slider-text-color-placeholder: #a8abb2;
|
|
436
|
-
--pops-slider-border-color-light: #e4e7ed;
|
|
437
|
-
--pops-slider-border-radius-circle: 100%;
|
|
438
|
-
--pops-slider-transition-duration-fast: 0.2s;
|
|
439
|
-
|
|
440
|
-
--pops-slider-main-bg-color: var(--pops-slider-color-primary);
|
|
441
|
-
--pops-slider-runway-bg-color: var(--pops-slider-border-color-light);
|
|
442
|
-
--pops-slider-stop-bg-color: var(--pops-slider-color-white);
|
|
443
|
-
--pops-slider-disabled-color: var(--pops-slider-text-color-placeholder);
|
|
444
|
-
--pops-slider-border-radius: 3px;
|
|
445
|
-
--pops-slider-height: 6px;
|
|
446
|
-
--pops-slider-button-size: 20px;
|
|
447
|
-
--pops-slider-button-wrapper-size: 36px;
|
|
448
|
-
--pops-slider-button-wrapper-offset: -15px;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
.pops-slider {
|
|
452
|
-
width: 100%;
|
|
453
|
-
height: 32px;
|
|
454
|
-
display: flex;
|
|
455
|
-
align-items: center;
|
|
456
|
-
-webkit-user-select: none;
|
|
457
|
-
-moz-user-select: none;
|
|
458
|
-
-ms-user-select: none;
|
|
459
|
-
user-select: none;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.pops-slider-width {
|
|
463
|
-
flex: 0 0 52%;
|
|
464
|
-
margin-left: 10px;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.pops-slider__runway {
|
|
468
|
-
flex: 1;
|
|
469
|
-
height: var(--pops-slider-height);
|
|
470
|
-
background-color: var(--pops-slider-runway-bg-color);
|
|
471
|
-
border-radius: var(--pops-slider-border-radius);
|
|
472
|
-
position: relative;
|
|
473
|
-
cursor: pointer;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.pops-slider__runway.show-input {
|
|
477
|
-
margin-right: 30px;
|
|
478
|
-
width: auto;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
.pops-slider__runway.pops-slider-is-disabled {
|
|
482
|
-
cursor: default;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__bar {
|
|
486
|
-
background-color: var(--pops-slider-disabled-color);
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button {
|
|
490
|
-
border-color: var(--pops-slider-disabled-color);
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
494
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
495
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
496
|
-
cursor: not-allowed;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
500
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
501
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
502
|
-
transform: scale(1);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
506
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
507
|
-
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
508
|
-
cursor: not-allowed;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.pops-slider__input {
|
|
512
|
-
flex-shrink: 0;
|
|
513
|
-
width: 130px;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.pops-slider__bar {
|
|
517
|
-
height: var(--pops-slider-height);
|
|
518
|
-
background-color: var(--pops-slider-main-bg-color);
|
|
519
|
-
border-top-left-radius: var(--pops-slider-border-radius);
|
|
520
|
-
border-bottom-left-radius: var(--pops-slider-border-radius);
|
|
521
|
-
position: absolute;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.pops-slider__button-wrapper {
|
|
525
|
-
height: var(--pops-slider-button-wrapper-size);
|
|
526
|
-
width: var(--pops-slider-button-wrapper-size);
|
|
527
|
-
position: absolute;
|
|
528
|
-
z-index: 1;
|
|
529
|
-
top: var(--pops-slider-button-wrapper-offset);
|
|
530
|
-
transform: translate(-50%);
|
|
531
|
-
background-color: transparent;
|
|
532
|
-
text-align: center;
|
|
533
|
-
-webkit-user-select: none;
|
|
534
|
-
-moz-user-select: none;
|
|
535
|
-
-ms-user-select: none;
|
|
536
|
-
user-select: none;
|
|
537
|
-
line-height: normal;
|
|
538
|
-
outline: none;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
.pops-slider__button-wrapper:after {
|
|
542
|
-
display: inline-block;
|
|
543
|
-
content: "";
|
|
544
|
-
height: 100%;
|
|
545
|
-
vertical-align: middle;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.pops-slider__button:hover,
|
|
549
|
-
.pops-slider__button.hover {
|
|
550
|
-
cursor: grab;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.pops-slider__button {
|
|
554
|
-
display: inline-block;
|
|
555
|
-
width: var(--pops-slider-button-size);
|
|
556
|
-
height: var(--pops-slider-button-size);
|
|
557
|
-
vertical-align: middle;
|
|
558
|
-
border: solid 2px var(--pops-slider-main-bg-color);
|
|
559
|
-
background-color: var(--pops-slider-color-white);
|
|
560
|
-
border-radius: 50%;
|
|
561
|
-
box-sizing: border-box;
|
|
562
|
-
transition: var(--pops-slider-transition-duration-fast);
|
|
563
|
-
-webkit-user-select: none;
|
|
564
|
-
-moz-user-select: none;
|
|
565
|
-
-ms-user-select: none;
|
|
566
|
-
user-select: none;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.pops-slider__button:hover,
|
|
570
|
-
.pops-slider__button.hover,
|
|
571
|
-
.pops-slider__button.dragging {
|
|
572
|
-
transform: scale(1.2);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.pops-slider__button:hover,
|
|
576
|
-
.pops-slider__button.hover {
|
|
577
|
-
cursor: grab;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.pops-slider__button.dragging {
|
|
581
|
-
cursor: grabbing;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.pops-slider__stop {
|
|
585
|
-
position: absolute;
|
|
586
|
-
height: var(--pops-slider-height);
|
|
587
|
-
width: var(--pops-slider-height);
|
|
588
|
-
border-radius: var(--pops-slider-border-radius-circle);
|
|
589
|
-
background-color: var(--pops-slider-stop-bg-color);
|
|
590
|
-
transform: translate(-50%);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.pops-slider__marks {
|
|
594
|
-
top: 0;
|
|
595
|
-
left: 12px;
|
|
596
|
-
width: 18px;
|
|
597
|
-
height: 100%;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
.pops-slider__marks-text {
|
|
601
|
-
position: absolute;
|
|
602
|
-
transform: translate(-50%);
|
|
603
|
-
font-size: 14px;
|
|
604
|
-
color: var(--pops-slider-color-info);
|
|
605
|
-
margin-top: 15px;
|
|
606
|
-
white-space: pre;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.pops-slider.is-vertical {
|
|
610
|
-
position: relative;
|
|
611
|
-
display: inline-flex;
|
|
612
|
-
width: auto;
|
|
613
|
-
height: 100%;
|
|
614
|
-
flex: 0;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.pops-slider.is-vertical .pops-slider__runway {
|
|
618
|
-
width: var(--pops-slider-height);
|
|
619
|
-
height: 100%;
|
|
620
|
-
margin: 0 16px;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.pops-slider.is-vertical .pops-slider__bar {
|
|
624
|
-
width: var(--pops-slider-height);
|
|
625
|
-
height: auto;
|
|
626
|
-
border-radius: 0 0 3px 3px;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
.pops-slider.is-vertical .pops-slider__button-wrapper {
|
|
630
|
-
top: auto;
|
|
631
|
-
left: var(--pops-slider-button-wrapper-offset);
|
|
632
|
-
transform: translateY(50%);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.pops-slider.is-vertical .pops-slider__stop {
|
|
636
|
-
transform: translateY(50%);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.pops-slider.is-vertical .pops-slider__marks-text {
|
|
640
|
-
margin-top: 0;
|
|
641
|
-
left: 15px;
|
|
642
|
-
transform: translateY(50%);
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.pops-slider--large {
|
|
646
|
-
height: 40px;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.pops-slider--small {
|
|
650
|
-
height: 24px;
|
|
651
|
-
}
|
|
652
|
-
/* slider的CSS */
|
|
653
|
-
|
|
654
|
-
/* input的CSS */
|
|
655
|
-
.pops-panel-input {
|
|
656
|
-
--el-disabled-text-color: #a8abb2;
|
|
657
|
-
--el-disabled-bg-color: #f5f7fa;
|
|
658
|
-
--el-disabled-border-color: #e4e7ed;
|
|
659
|
-
--el-color-danger: #f56c6c;
|
|
660
|
-
|
|
661
|
-
--pops-panel-components-input-border-radius: 4px;
|
|
662
|
-
--pops-panel-components-input-text-color: #000000;
|
|
663
|
-
--pops-panel-components-input-text-bg-color: transparent;
|
|
664
|
-
--pops-panel-components-input-text-default-padding: 8px;
|
|
665
|
-
--pops-panel-components-input-bd-color: #dcdfe6;
|
|
666
|
-
--pops-panel-components-input-bg-color: #ffffff;
|
|
667
|
-
--pops-panel-components-input-hover-bd-color: #c0c4cc;
|
|
668
|
-
--pops-panel-components-input-focus-bd-color: #409eff;
|
|
669
|
-
--pops-panel-components-input-suffix-color: #a8abb2;
|
|
670
|
-
--pops-panel-components-input-suffix-bg-color: #ffffff;
|
|
671
|
-
}
|
|
672
|
-
.pops-panel-input {
|
|
673
|
-
display: flex;
|
|
674
|
-
align-items: center;
|
|
675
|
-
flex-direction: column;
|
|
676
|
-
position: relative;
|
|
677
|
-
box-shadow: none;
|
|
678
|
-
width: 200px;
|
|
679
|
-
border: 0px;
|
|
680
|
-
}
|
|
681
|
-
.pops-panel-input_inner {
|
|
682
|
-
display: flex;
|
|
683
|
-
align-items: center;
|
|
684
|
-
width: 100%;
|
|
685
|
-
border: 1px solid var(--pops-panel-components-input-bd-color);
|
|
686
|
-
border-radius: var(--pops-panel-components-input-border-radius);
|
|
687
|
-
background-color: var(--pops-panel-components-input-bg-color);
|
|
688
|
-
box-shadow: none;
|
|
689
|
-
}
|
|
690
|
-
.pops-panel-input_inner:hover {
|
|
691
|
-
border: 1px solid var(--pops-panel-components-input-hover-bd-color);
|
|
692
|
-
}
|
|
693
|
-
.pops-panel-input:has(input:disabled):hover {
|
|
694
|
-
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
695
|
-
}
|
|
696
|
-
.pops-panel-input_inner:has(input:focus) {
|
|
697
|
-
outline: 0;
|
|
698
|
-
border: 1px solid var(--pops-panel-components-input-focus-bd-color);
|
|
699
|
-
border-radius: var(--pops-panel-components-input-border-radius);
|
|
700
|
-
box-shadow: none;
|
|
701
|
-
}
|
|
702
|
-
.pops-panel-input input {
|
|
703
|
-
display: inline-flex;
|
|
704
|
-
justify-content: center;
|
|
705
|
-
text-align: start;
|
|
706
|
-
align-items: center;
|
|
707
|
-
align-content: center;
|
|
708
|
-
white-space: nowrap;
|
|
709
|
-
cursor: text;
|
|
710
|
-
box-sizing: border-box;
|
|
711
|
-
-webkit-user-select: none;
|
|
712
|
-
-moz-user-select: none;
|
|
713
|
-
-ms-user-select: none;
|
|
714
|
-
user-select: none;
|
|
715
|
-
vertical-align: middle;
|
|
716
|
-
-webkit-appearance: none;
|
|
717
|
-
appearance: none;
|
|
718
|
-
color: var(--pops-panel-components-input-text-color);
|
|
719
|
-
background-color: var(--pops-panel-components-input-text-bg-color);
|
|
720
|
-
outline: 0;
|
|
721
|
-
transition: 0.1s;
|
|
722
|
-
border: 0;
|
|
723
|
-
font-size: 14px;
|
|
724
|
-
font-weight: 500;
|
|
725
|
-
line-height: normal;
|
|
726
|
-
height: 32px;
|
|
727
|
-
width: 100%;
|
|
728
|
-
flex: 1;
|
|
729
|
-
/*margin-right: calc(1em + 8px);*/
|
|
730
|
-
margin: 0px;
|
|
731
|
-
padding: var(--pops-panel-components-input-text-default-padding);
|
|
732
|
-
}
|
|
733
|
-
.pops-panel-input input[type="search"]::-webkit-search-cancel-button {
|
|
734
|
-
-webkit-appearance: none;
|
|
735
|
-
display: none;
|
|
736
|
-
}
|
|
737
|
-
/* 颜色选择器不需要那么宽 */
|
|
738
|
-
.pops-panel-input:has(input[type="color"]) {
|
|
739
|
-
width: 50px;
|
|
740
|
-
}
|
|
741
|
-
.pops-panel-input input[type="color"] {
|
|
742
|
-
padding: 0px;
|
|
743
|
-
}
|
|
744
|
-
.pops-panel-input_inner:has(input[type="file"]) {
|
|
745
|
-
border: 0px;
|
|
746
|
-
background: transparent;
|
|
747
|
-
}
|
|
748
|
-
.pops-panel-input input[type="file"] {
|
|
749
|
-
padding: 0px;
|
|
750
|
-
line-height: 32px;
|
|
751
|
-
}
|
|
752
|
-
.pops-panel-input span.pops-panel-input__suffix {
|
|
753
|
-
display: inline-flex;
|
|
754
|
-
white-space: nowrap;
|
|
755
|
-
flex-shrink: 0;
|
|
756
|
-
flex-wrap: nowrap;
|
|
757
|
-
height: 100%;
|
|
758
|
-
height: -moz-available;
|
|
759
|
-
height: -webkit-fill-available;
|
|
760
|
-
text-align: center;
|
|
761
|
-
color: var(--pops-panel-components-input-suffix-color);
|
|
762
|
-
background: var(--pops-panel-components-input-suffix-bg-color);
|
|
763
|
-
transition: all 0.3s;
|
|
764
|
-
pointer-events: none;
|
|
765
|
-
padding: 0 8px;
|
|
766
|
-
position: relative;
|
|
767
|
-
right: 0px;
|
|
768
|
-
border-top-right-radius: 4px;
|
|
769
|
-
border-bottom-right-radius: 4px;
|
|
770
|
-
border: 1px solid transparent;
|
|
771
|
-
}
|
|
772
|
-
.pops-panel-input span.pops-panel-input__suffix-inner {
|
|
773
|
-
pointer-events: all;
|
|
774
|
-
display: inline-flex;
|
|
775
|
-
align-items: center;
|
|
776
|
-
justify-content: center;
|
|
777
|
-
}
|
|
778
|
-
/* 如果包含清空图标的按钮,则默认隐藏清空图标,当:hover、:focus、:focus-within、:active时显示清空图标 */
|
|
779
|
-
.pops-panel-input span.pops-panel-input__suffix:has(svg[data-type="circleClose"]) {
|
|
780
|
-
display: none;
|
|
781
|
-
}
|
|
782
|
-
.pops-panel-input:hover span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
783
|
-
.pops-panel-input:focus span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
784
|
-
.pops-panel-input:focus-within span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
785
|
-
.pops-panel-input:active span.pops-panel-input__suffix:has(svg[data-type="circleClose"]) {
|
|
786
|
-
display: inline-flex;
|
|
787
|
-
}
|
|
788
|
-
/* 当清空图标显示时或查看图标存在时,则隐藏输入框的padding-right */
|
|
789
|
-
.pops-panel-input:hover:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
790
|
-
.pops-panel-input:focus:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
791
|
-
.pops-panel-input:focus-within:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
792
|
-
.pops-panel-input:active:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
793
|
-
.pops-panel-input:has(span.pops-panel-input__suffix svg[data-type="view"]) input,
|
|
794
|
-
.pops-panel-input:has(span.pops-panel-input__suffix svg[data-type="hide"]) input {
|
|
795
|
-
padding-right: 0;
|
|
796
|
-
}
|
|
797
|
-
.pops-panel-input .pops-panel-icon {
|
|
798
|
-
cursor: pointer;
|
|
799
|
-
}
|
|
800
|
-
.pops-panel-input .pops-panel-icon {
|
|
801
|
-
height: inherit;
|
|
802
|
-
line-height: normal;
|
|
803
|
-
align-content: center;
|
|
804
|
-
display: flex;
|
|
805
|
-
justify-content: center;
|
|
806
|
-
align-items: center;
|
|
807
|
-
transition: all 0.3s;
|
|
808
|
-
}
|
|
809
|
-
.pops-panel-input .pops-panel-icon svg {
|
|
810
|
-
height: 1em;
|
|
811
|
-
width: 1em;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
.pops-input-disabled {
|
|
815
|
-
background-color: var(--pops-components-is-disabled-bg-color);
|
|
816
|
-
border-radius: 4px;
|
|
817
|
-
}
|
|
818
|
-
.pops-panel-input.pops-input-disabled:hover {
|
|
819
|
-
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
820
|
-
}
|
|
821
|
-
.pops-panel-input input:disabled,
|
|
822
|
-
.pops-panel-input input:disabled + .pops-panel-input__suffix {
|
|
823
|
-
-webkit-user-select: none;
|
|
824
|
-
-moz-user-select: none;
|
|
825
|
-
-ms-user-select: none;
|
|
826
|
-
user-select: none;
|
|
827
|
-
color: var(--el-disabled-text-color);
|
|
828
|
-
-webkit-text-fill-color: var(--el-disabled-text-color);
|
|
829
|
-
cursor: not-allowed;
|
|
830
|
-
}
|
|
831
|
-
.pops-panel-input input:disabled + .pops-panel-input__suffix {
|
|
832
|
-
display: none;
|
|
833
|
-
}
|
|
834
|
-
/* 校验样式 */
|
|
835
|
-
.pops-panel-input:has(.pops-panel-input-valid-error) {
|
|
836
|
-
--pops-panel-components-input-bd-color: var(--el-color-danger) !important;
|
|
837
|
-
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
838
|
-
--pops-panel-components-input-focus-bd-color: var(--pops-panel-components-input-bd-color);
|
|
839
|
-
}
|
|
840
|
-
.pops-panel-input .pops-panel-input-valid-error {
|
|
841
|
-
width: 100%;
|
|
842
|
-
color: var(--el-color-danger);
|
|
843
|
-
font-weight: 500;
|
|
844
|
-
font-size: 0.8em;
|
|
845
|
-
box-sizing: border-box;
|
|
846
|
-
vertical-align: middle;
|
|
847
|
-
display: inline-flex;
|
|
848
|
-
position: relative;
|
|
849
|
-
}
|
|
850
|
-
/* input的CSS */
|
|
851
|
-
|
|
852
|
-
/* textarea的CSS */
|
|
853
|
-
.pops-panel-textarea {
|
|
854
|
-
--pops-panel-components-textarea-text-color: #000000;
|
|
855
|
-
--pops-panel-components-textarea-text-bg-color: #ffffff;
|
|
856
|
-
--pops-panel-components-textarea-bd-color: #dcdfe6;
|
|
857
|
-
--pops-panel-components-textarea-hover-bd-color: #c0c4cc;
|
|
858
|
-
--pops-panel-components-textarea-focus-bd-color: #409eff;
|
|
859
|
-
}
|
|
860
|
-
.pops-panel-textarea textarea {
|
|
861
|
-
width: 100%;
|
|
862
|
-
/*vertical-align: bottom;*/
|
|
863
|
-
position: relative;
|
|
864
|
-
display: block;
|
|
865
|
-
resize: none;
|
|
866
|
-
padding: 5px 11px;
|
|
867
|
-
/*line-height: 1;*/
|
|
868
|
-
box-sizing: border-box;
|
|
869
|
-
font-size: inherit;
|
|
870
|
-
font-family: inherit;
|
|
871
|
-
color: var(--pops-panel-components-textarea-text-color);
|
|
872
|
-
background-color: var(--pops-panel-components-textarea-text-bg-color);
|
|
873
|
-
background-image: none;
|
|
874
|
-
-webkit-appearance: none;
|
|
875
|
-
appearance: none;
|
|
876
|
-
box-shadow: none;
|
|
877
|
-
border-radius: 0;
|
|
878
|
-
transition: box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
879
|
-
border: 1px solid var(--pops-panel-components-textarea-bd-color);
|
|
880
|
-
}
|
|
881
|
-
.pops-panel-textarea textarea:hover {
|
|
882
|
-
border-color: var(--pops-panel-components-textarea-hover-bd-color);
|
|
883
|
-
}
|
|
884
|
-
.pops-panel-textarea:has(textarea:disabled):hover {
|
|
885
|
-
--pops-panel-components-textarea-hover-bd-color: var(--pops-panel-components-textarea-bd-color);
|
|
886
|
-
}
|
|
887
|
-
.pops-panel-textarea-disable {
|
|
888
|
-
--pops-panel-components-textarea-text-bg-color: var(--pops-components-is-disabled-bg-color) !important;
|
|
889
|
-
--pops-panel-components-textarea-text-color: var(--pops-components-is-disabled-text-color);
|
|
890
|
-
}
|
|
891
|
-
.pops-panel-textarea-disable textarea {
|
|
892
|
-
cursor: not-allowed;
|
|
893
|
-
}
|
|
894
|
-
.pops-panel-textarea textarea:focus {
|
|
895
|
-
outline: 0;
|
|
896
|
-
border-color: var(--pops-panel-components-textarea-focus-bd-color);
|
|
897
|
-
}
|
|
898
|
-
/* textarea的CSS */
|
|
899
|
-
|
|
900
|
-
/* select的CSS */
|
|
901
|
-
.pops-panel-select {
|
|
902
|
-
--pops-panel-components-select-disabled-text-color: #a8abb2;
|
|
903
|
-
--pops-panel-components-select-text-color: #000000;
|
|
904
|
-
--pops-panel-components-select-bd-color: rgb(184, 184, 184, var(--pops-bd-opacity));
|
|
905
|
-
--pops-panel-components-select-hover-bd-color: rgb(184, 184, 184, var(--pops-bd-opacity));
|
|
906
|
-
--pops-panel-components-select-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
907
|
-
}
|
|
908
|
-
.pops-panel-select {
|
|
909
|
-
border: 0;
|
|
910
|
-
}
|
|
911
|
-
.pops-panel-select select {
|
|
912
|
-
width: 100%;
|
|
913
|
-
height: 32px;
|
|
914
|
-
line-height: normal;
|
|
915
|
-
align-content: center;
|
|
916
|
-
min-width: 200px;
|
|
917
|
-
border: 1px solid var(--pops-panel-components-select-bd-color);
|
|
918
|
-
border-radius: 5px;
|
|
919
|
-
text-align: center;
|
|
920
|
-
outline: 0;
|
|
921
|
-
color: var(--pops-panel-components-select-text-color);
|
|
922
|
-
background-color: var(--pops-panel-components-select-bg-color);
|
|
923
|
-
box-shadow: none;
|
|
924
|
-
}
|
|
925
|
-
.pops-panel-select select:hover {
|
|
926
|
-
border: 1px solid var(--pops-panel-components-select-hover-bd-color);
|
|
927
|
-
}
|
|
928
|
-
.pops-panel-select-disable {
|
|
929
|
-
--pops-panel-components-select-text-color: var(--pops-components-is-disabled-text-color);
|
|
930
|
-
--pops-panel-components-select-bg-color: var(--pops-components-is-disabled-bg-color);
|
|
931
|
-
}
|
|
932
|
-
.pops-panel-select-disable select {
|
|
933
|
-
cursor: not-allowed;
|
|
934
|
-
}
|
|
935
|
-
.pops-panel-select-disable select:hover {
|
|
936
|
-
box-shadow: none;
|
|
937
|
-
--pops-panel-components-select-hover-bd-color: var(--pops-panel-components-select-bd-color);
|
|
938
|
-
}
|
|
939
|
-
.pops-panel-select select:focus {
|
|
940
|
-
border: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
941
|
-
box-shadow: none;
|
|
942
|
-
}
|
|
943
|
-
/* select的CSS */
|
|
944
|
-
|
|
945
|
-
/* select dialog 的CSS */
|
|
946
|
-
.pops-panel-select[data-mode="dialog"] {
|
|
947
|
-
}
|
|
948
|
-
/* select dialog 的CSS */
|
|
949
|
-
|
|
950
|
-
/* select horizontal 的CSS */
|
|
951
|
-
.pops-panel-select[data-mode="horizontal"] {
|
|
952
|
-
--pops-panel-components-select-horizontal-selected-text-color: #626aef;
|
|
953
|
-
--pops-panel-components-select-horizontal-selected-bg-color: #eff0fd;
|
|
954
|
-
}
|
|
955
|
-
.pops-panel-select[data-mode="horizontal"] .el-select__wrapper {
|
|
956
|
-
padding: 0;
|
|
957
|
-
gap: 0;
|
|
958
|
-
border: 0;
|
|
959
|
-
}
|
|
960
|
-
.pops-panel-select[data-mode="horizontal"] .select-item {
|
|
961
|
-
flex: 1;
|
|
962
|
-
display: flex;
|
|
963
|
-
justify-content: center;
|
|
964
|
-
align-items: center;
|
|
965
|
-
border: 1px solid var(--el-border-color);
|
|
966
|
-
height: -moz-available;
|
|
967
|
-
height: -webkit-fill-available;
|
|
968
|
-
border-left: 0;
|
|
969
|
-
}
|
|
970
|
-
.pops-panel-select[data-mode="horizontal"] .select-item:hover {
|
|
971
|
-
color: var(--el-color-primary);
|
|
972
|
-
}
|
|
973
|
-
.pops-panel-select[data-mode="horizontal"] .select-item:first-child {
|
|
974
|
-
border-left: 1px solid var(--el-border-color);
|
|
975
|
-
border-top-left-radius: var(--el-border-radius-base);
|
|
976
|
-
border-bottom-left-radius: var(--el-border-radius-base);
|
|
977
|
-
}
|
|
978
|
-
.pops-panel-select[data-mode="horizontal"] .select-item:last-child {
|
|
979
|
-
border-top-right-radius: var(--el-border-radius-base);
|
|
980
|
-
border-bottom-right-radius: var(--el-border-radius-base);
|
|
981
|
-
}
|
|
982
|
-
.pops-panel-select[data-mode="horizontal"] .select-item.select__selected-item {
|
|
983
|
-
color: var(--pops-panel-components-select-horizontal-selected-text-color);
|
|
984
|
-
background-color: var(--pops-panel-components-select-horizontal-selected-bg-color);
|
|
985
|
-
border-color: var(--pops-panel-components-select-horizontal-selected-bg-color);
|
|
986
|
-
}
|
|
987
|
-
.pops-panel-select[data-mode="horizontal"] .select-item:has(+ .select__selected-item) {
|
|
988
|
-
border-right: 0;
|
|
989
|
-
}
|
|
990
|
-
.pops-panel-select[data-mode="horizontal"] .select-item[disabled] {
|
|
991
|
-
color: var(--pops-panel-components-select-disabled-text-color);
|
|
992
|
-
--pops-panel-components-select-horizontal-selected-text-color: var(
|
|
993
|
-
--pops-panel-components-select-disabled-text-color
|
|
994
|
-
);
|
|
995
|
-
cursor: not-allowed;
|
|
996
|
-
background: unset;
|
|
997
|
-
}
|
|
998
|
-
/* select horizontal 的CSS */
|
|
999
|
-
|
|
1000
|
-
/* select-multiple的CSS*/
|
|
1001
|
-
.pops-panel-select-multiple,
|
|
1002
|
-
.pops-panel-select {
|
|
1003
|
-
--el-border-radius-base: 4px;
|
|
1004
|
-
--el-fill-color-blank: #ffffff;
|
|
1005
|
-
--el-transition-duration: 0.3s;
|
|
1006
|
-
--el-border-color: #cbcbcb;
|
|
1007
|
-
--el-text-color-placeholder: #a8abb2;
|
|
1008
|
-
--color: inherit;
|
|
1009
|
-
--el-select-input-color: #a8abb2;
|
|
1010
|
-
--el-select-input-font-size: 14px;
|
|
1011
|
-
--el-text-color-regular: #606266;
|
|
1012
|
-
--el-color-info: #909399;
|
|
1013
|
-
--el-color-info-light-9: #f4f4f5;
|
|
1014
|
-
--el-color-info-light-8: #e9e9eb;
|
|
1015
|
-
--el-color-primary-light-9: #ecf5ff;
|
|
1016
|
-
--el-color-primary-light-8: #d9ecff;
|
|
1017
|
-
--el-color-primary: #409eff;
|
|
1018
|
-
--el-color-white: #ffffff;
|
|
1019
|
-
width: 200px;
|
|
1020
|
-
}
|
|
1021
|
-
.pops-panel-select .el-select__wrapper,
|
|
1022
|
-
.pops-panel-select-multiple .el-select__wrapper {
|
|
1023
|
-
display: flex;
|
|
1024
|
-
align-items: center;
|
|
1025
|
-
position: relative;
|
|
1026
|
-
box-sizing: border-box;
|
|
1027
|
-
cursor: pointer;
|
|
1028
|
-
text-align: left;
|
|
1029
|
-
font-size: 14px;
|
|
1030
|
-
padding: 4px 12px;
|
|
1031
|
-
gap: 6px;
|
|
1032
|
-
min-height: 32px;
|
|
1033
|
-
line-height: normal;
|
|
1034
|
-
align-content: center;
|
|
1035
|
-
border-radius: var(--el-border-radius-base);
|
|
1036
|
-
background-color: var(--el-fill-color-blank);
|
|
1037
|
-
transition: var(--el-transition-duration);
|
|
1038
|
-
transform: translateZ(0);
|
|
1039
|
-
border: 1px solid var(--el-border-color);
|
|
1040
|
-
}
|
|
1041
|
-
.pops-panel-select .el-select__wrapper.is-focused,
|
|
1042
|
-
.pops-panel-select-multiple .el-select__wrapper.is-focused {
|
|
1043
|
-
--el-border-color: var(--el-color-primary);
|
|
1044
|
-
}
|
|
1045
|
-
.pops-panel-select .el-select__selection,
|
|
1046
|
-
.pops-panel-select-multiple .el-select__selection {
|
|
1047
|
-
position: relative;
|
|
1048
|
-
display: flex;
|
|
1049
|
-
flex-wrap: wrap;
|
|
1050
|
-
align-items: center;
|
|
1051
|
-
flex: 1;
|
|
1052
|
-
min-width: 0;
|
|
1053
|
-
gap: 6px;
|
|
1054
|
-
}
|
|
1055
|
-
.pops-panel-select .el-select__selection[data-selected-text-align="left"] {
|
|
1056
|
-
justify-content: left;
|
|
1057
|
-
}
|
|
1058
|
-
.pops-panel-select .el-select__selection[data-selected-text-align="center"] {
|
|
1059
|
-
justify-content: center;
|
|
1060
|
-
}
|
|
1061
|
-
.pops-panel-select .el-select__selection[data-selected-text-align="right"] {
|
|
1062
|
-
justify-content: right;
|
|
1063
|
-
}
|
|
1064
|
-
.pops-panel-select .el-select__selected-item,
|
|
1065
|
-
.pops-panel-select-multiple .el-select__selected-item {
|
|
1066
|
-
display: flex;
|
|
1067
|
-
flex-wrap: wrap;
|
|
1068
|
-
-webkit-user-select: none;
|
|
1069
|
-
-moz-user-select: none;
|
|
1070
|
-
-ms-user-select: none;
|
|
1071
|
-
user-select: none;
|
|
1072
|
-
}
|
|
1073
|
-
.pops-panel-select .el-select__selected-item span {
|
|
1074
|
-
overflow: hidden;
|
|
1075
|
-
white-space: nowrap;
|
|
1076
|
-
text-overflow: ellipsis;
|
|
1077
|
-
}
|
|
1078
|
-
.pops-panel-select .el-select__selected-item.el-select__choose_tag .el-tag,
|
|
1079
|
-
.pops-panel-select-multiple .el-select__selected-item.el-select__choose_tag .el-tag {
|
|
1080
|
-
max-width: 200px;
|
|
1081
|
-
}
|
|
1082
|
-
.pops-panel-select .el-select__input-wrapper,
|
|
1083
|
-
.pops-panel-select-multiple .el-select__input-wrapper {
|
|
1084
|
-
max-width: 100%;
|
|
1085
|
-
}
|
|
1086
|
-
.pops-panel-select .el-select__selection.is-near,
|
|
1087
|
-
.pops-panel-select-multiple .el-select__selection.is-near {
|
|
1088
|
-
margin-left: -8px;
|
|
1089
|
-
}
|
|
1090
|
-
.pops-panel-select .el-select__placeholder,
|
|
1091
|
-
.pops-panel-select-multiple .el-select__placeholder {
|
|
1092
|
-
position: absolute;
|
|
1093
|
-
display: block;
|
|
1094
|
-
top: 50%;
|
|
1095
|
-
transform: translateY(-50%);
|
|
1096
|
-
width: 100%;
|
|
1097
|
-
overflow: hidden;
|
|
1098
|
-
text-overflow: ellipsis;
|
|
1099
|
-
white-space: nowrap;
|
|
1100
|
-
color: var(--el-input-text-color, var(--el-text-color-regular));
|
|
1101
|
-
}
|
|
1102
|
-
.pops-panel-select .el-select__placeholder.is-transparent,
|
|
1103
|
-
.pops-panel-select-multiple .el-select__placeholder.is-transparent {
|
|
1104
|
-
-webkit-user-select: none;
|
|
1105
|
-
-moz-user-select: none;
|
|
1106
|
-
-ms-user-select: none;
|
|
1107
|
-
user-select: none;
|
|
1108
|
-
color: var(--el-text-color-placeholder);
|
|
1109
|
-
}
|
|
1110
|
-
.pops-panel-select .el-select__prefix,
|
|
1111
|
-
.pops-panel-select .el-select__suffix,
|
|
1112
|
-
.pops-panel-select-multiple .el-select__prefix,
|
|
1113
|
-
.pops-panel-select-multiple .el-select__suffix {
|
|
1114
|
-
display: flex;
|
|
1115
|
-
align-items: center;
|
|
1116
|
-
flex-shrink: 0;
|
|
1117
|
-
gap: 6px;
|
|
1118
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1119
|
-
}
|
|
1120
|
-
.pops-panel-select .el-icon,
|
|
1121
|
-
.pops-panel-select-multiple .el-icon {
|
|
1122
|
-
--color: inherit;
|
|
1123
|
-
height: 1em;
|
|
1124
|
-
width: 1em;
|
|
1125
|
-
line-height: normal;
|
|
1126
|
-
align-content: center;
|
|
1127
|
-
display: inline-flex;
|
|
1128
|
-
justify-content: center;
|
|
1129
|
-
align-items: center;
|
|
1130
|
-
position: relative;
|
|
1131
|
-
fill: currentColor;
|
|
1132
|
-
color: var(--color);
|
|
1133
|
-
font-size: inherit;
|
|
1134
|
-
}
|
|
1135
|
-
.pops-panel-select .el-icon svg,
|
|
1136
|
-
.pops-panel-select-multiple .el-icon svg {
|
|
1137
|
-
height: 1em;
|
|
1138
|
-
width: 1em;
|
|
1139
|
-
}
|
|
1140
|
-
.pops-panel-select .el-select__caret,
|
|
1141
|
-
.pops-panel-select-multiple .el-select__caret {
|
|
1142
|
-
color: var(--el-select-input-color);
|
|
1143
|
-
font-size: var(--el-select-input-font-size);
|
|
1144
|
-
transition: transform var(--el-transition-duration);
|
|
1145
|
-
transform: rotate(0);
|
|
1146
|
-
cursor: pointer;
|
|
1147
|
-
}
|
|
1148
|
-
/* 把箭头旋转 */
|
|
1149
|
-
.pops-panel-select[data-show-option] .el-select__caret,
|
|
1150
|
-
.pops-panel-select-multiple[data-show-option] .el-select__caret {
|
|
1151
|
-
transform: rotate(180deg);
|
|
1152
|
-
}
|
|
1153
|
-
.pops-panel-select-multiple .el-tag {
|
|
1154
|
-
--el-tag-font-size: 12px;
|
|
1155
|
-
--el-tag-border-radius: 4px;
|
|
1156
|
-
--el-tag-border-radius-rounded: 9999px;
|
|
1157
|
-
}
|
|
1158
|
-
.pops-panel-select-multiple .el-tag {
|
|
1159
|
-
background-color: var(--el-tag-bg-color);
|
|
1160
|
-
border-color: var(--el-tag-border-color);
|
|
1161
|
-
color: var(--el-tag-text-color);
|
|
1162
|
-
display: inline-flex;
|
|
1163
|
-
justify-content: center;
|
|
1164
|
-
align-items: center;
|
|
1165
|
-
vertical-align: middle;
|
|
1166
|
-
height: 24px;
|
|
1167
|
-
padding: 0 9px;
|
|
1168
|
-
font-size: var(--el-tag-font-size);
|
|
1169
|
-
line-height: normal;
|
|
1170
|
-
align-content: center;
|
|
1171
|
-
border-width: 1px;
|
|
1172
|
-
border-style: solid;
|
|
1173
|
-
border-radius: var(--el-tag-border-radius);
|
|
1174
|
-
box-sizing: border-box;
|
|
1175
|
-
white-space: nowrap;
|
|
1176
|
-
--el-icon-size: 14px;
|
|
1177
|
-
--el-tag-bg-color: var(--el-color-primary-light-9);
|
|
1178
|
-
--el-tag-border-color: var(--el-color-primary-light-8);
|
|
1179
|
-
--el-tag-hover-color: var(--el-color-primary);
|
|
1180
|
-
}
|
|
1181
|
-
.pops-panel-select-multiple .el-select__selection .el-tag {
|
|
1182
|
-
cursor: pointer;
|
|
1183
|
-
border-color: transparent;
|
|
1184
|
-
}
|
|
1185
|
-
.pops-panel-select-multiple .el-tag.el-tag--info {
|
|
1186
|
-
--el-tag-bg-color: var(--el-color-info-light-9);
|
|
1187
|
-
--el-tag-border-color: var(--el-color-info-light-8);
|
|
1188
|
-
--el-tag-hover-color: var(--el-color-info);
|
|
1189
|
-
}
|
|
1190
|
-
.pops-panel-select-multiple .el-tag.el-tag--info {
|
|
1191
|
-
--el-tag-text-color: var(--el-color-info);
|
|
1192
|
-
}
|
|
1193
|
-
.pops-panel-select-multiple .el-tag.is-closable {
|
|
1194
|
-
padding-right: 5px;
|
|
1195
|
-
}
|
|
1196
|
-
.pops-panel-select-multiple .el-select__selection .el-tag .el-tag__content {
|
|
1197
|
-
min-width: 0;
|
|
1198
|
-
}
|
|
1199
|
-
.pops-panel-select-multiple .el-tag .el-tag__close {
|
|
1200
|
-
flex-shrink: 0;
|
|
1201
|
-
color: var(--el-tag-text-color);
|
|
1202
|
-
}
|
|
1203
|
-
.pops-panel-select-multiple .el-tag .el-tag__close:hover {
|
|
1204
|
-
color: var(--el-color-white);
|
|
1205
|
-
background-color: var(--el-tag-hover-color);
|
|
1206
|
-
}
|
|
1207
|
-
.pops-panel-select-multiple .el-tag .el-icon {
|
|
1208
|
-
border-radius: 50%;
|
|
1209
|
-
cursor: pointer;
|
|
1210
|
-
font-size: calc(var(--el-icon-size) - 2px);
|
|
1211
|
-
height: var(--el-icon-size);
|
|
1212
|
-
width: var(--el-icon-size);
|
|
1213
|
-
}
|
|
1214
|
-
.pops-panel-select-multiple .el-tag .el-tag__close {
|
|
1215
|
-
margin-left: 6px;
|
|
1216
|
-
}
|
|
1217
|
-
.pops-panel-select-multiple .el-select__tags-text {
|
|
1218
|
-
display: block;
|
|
1219
|
-
line-height: normal;
|
|
1220
|
-
align-content: center;
|
|
1221
|
-
overflow: hidden;
|
|
1222
|
-
text-overflow: ellipsis;
|
|
1223
|
-
white-space: nowrap;
|
|
1224
|
-
}
|
|
1225
|
-
/* 禁用样式 */
|
|
1226
|
-
.pops-panel-select-disable {
|
|
1227
|
-
--el-fill-color-blank: #f5f7fa;
|
|
1228
|
-
--color: #a8abb2;
|
|
1229
|
-
--el-border-color: #cbcbcb;
|
|
1230
|
-
}
|
|
1231
|
-
.pops-panel-select-disable .el-tag.el-tag--info {
|
|
1232
|
-
--el-tag-bg-color: #e7e7e7;
|
|
1233
|
-
--el-tag-text-color: var(--pops-components-is-disabled-text-color);
|
|
1234
|
-
}
|
|
1235
|
-
.pops-panel-select-disable .el-select__selection .el-tag,
|
|
1236
|
-
.pops-panel-select-disable .el-tag .el-tag__close:hover,
|
|
1237
|
-
.pops-panel-select-disable .el-select__wrapper,
|
|
1238
|
-
.pops-panel-select-disable .el-select__caret {
|
|
1239
|
-
cursor: not-allowed;
|
|
1240
|
-
}
|
|
1241
|
-
/* select-multiple的CSS*/
|
|
1242
|
-
|
|
1243
|
-
/* deepMenu的css */
|
|
1244
|
-
.pops-panel-deepMenu-nav-item {
|
|
1245
|
-
cursor: pointer;
|
|
1246
|
-
}
|
|
1247
|
-
.pops-panel-deepMenu-nav-item:active {
|
|
1248
|
-
background: var(--pops-panel-forms-container-deepMenu-item-active-bg);
|
|
1249
|
-
-webkit-user-select: none;
|
|
1250
|
-
-moz-user-select: none;
|
|
1251
|
-
-ms-user-select: none;
|
|
1252
|
-
user-select: none;
|
|
1253
|
-
}
|
|
1254
|
-
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:active {
|
|
1255
|
-
padding: var(--pops-panel-forms-container-li-padding-top-bottom)
|
|
1256
|
-
var(--pops-panel-forms-container-li-padding-left-right);
|
|
1257
|
-
margin: 0px;
|
|
1258
|
-
}
|
|
1259
|
-
/* 去除上个兄弟item的底部边框颜色 */
|
|
1260
|
-
section.pops-panel-container .pops-panel-forms-container-item ul li:has(+ .pops-panel-deepMenu-nav-item:active) {
|
|
1261
|
-
border-bottom: 1px solid transparent;
|
|
1262
|
-
}
|
|
1263
|
-
/* 第一个和最后一个跟随圆角 */
|
|
1264
|
-
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:first-child:active {
|
|
1265
|
-
border-top-left-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1266
|
-
border-top-right-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1267
|
-
}
|
|
1268
|
-
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:last-child:active {
|
|
1269
|
-
border-bottom-left-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1270
|
-
border-bottom-right-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1271
|
-
}
|
|
1272
|
-
.pops-panel-deepMenu-nav-item .pops-panel-deepMenu {
|
|
1273
|
-
display: flex;
|
|
1274
|
-
align-items: center;
|
|
1275
|
-
color: #6c6c6c;
|
|
1276
|
-
fill: #6c6c6c;
|
|
1277
|
-
}
|
|
1278
|
-
.pops-panel-deepMenu-nav-item .pops-panel-deepMenu-arrowRight-icon {
|
|
1279
|
-
width: 15px;
|
|
1280
|
-
height: 15px;
|
|
1281
|
-
display: flex;
|
|
1282
|
-
align-items: center;
|
|
1283
|
-
}
|
|
1284
|
-
section.pops-panel-deepMenu-container .pops-panel-container-header-ul li.pops-panel-deepMenu-container-header {
|
|
1285
|
-
display: flex;
|
|
1286
|
-
align-items: center;
|
|
1287
|
-
width: -moz-available;
|
|
1288
|
-
width: -webkit-fill-available;
|
|
1289
|
-
padding: var(--pops-panel-forms-header-padding-top-bottom)
|
|
1290
|
-
calc(
|
|
1291
|
-
var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right) -
|
|
1292
|
-
var(--pops-panel-forms-header-icon-size)
|
|
1293
|
-
);
|
|
1294
|
-
gap: 0px;
|
|
1295
|
-
}
|
|
1296
|
-
.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {
|
|
1297
|
-
width: var(--pops-panel-forms-header-icon-size);
|
|
1298
|
-
height: var(--pops-panel-forms-header-icon-size);
|
|
1299
|
-
display: flex;
|
|
1300
|
-
align-items: center;
|
|
1301
|
-
cursor: pointer;
|
|
1302
|
-
}
|
|
1303
|
-
/* 修复safari上图标大小未正常显示 */
|
|
1304
|
-
.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon > svg {
|
|
1305
|
-
width: inherit;
|
|
1306
|
-
height: inherit;
|
|
1307
|
-
}
|
|
1308
|
-
/* deepMenu的css */
|
|
1309
|
-
|
|
1310
|
-
/* 文字对齐 */
|
|
1311
|
-
.pops-panel-item-left-desc-text:has(code) {
|
|
1312
|
-
display: flex;
|
|
1313
|
-
align-items: baseline;
|
|
1314
|
-
flex-wrap: wrap;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
@media (prefers-color-scheme: dark) {
|
|
1318
|
-
.pops[type-value="panel"] {
|
|
1319
|
-
--pops-bg-color: #000000;
|
|
1320
|
-
--pops-color: #f2f2f2;
|
|
1321
|
-
--panel-title-bg-color: #000000;
|
|
1322
|
-
--panel-aside-bg-color: #262626;
|
|
1323
|
-
--pops-panel-forms-container-item-left-desc-text-color: #6c6c6c;
|
|
1324
|
-
--pops-panel-forms-container-item-bg-color: #262626;
|
|
1325
|
-
--pops-panel-forms-container-item-title-color: #c1c1c1;
|
|
1326
|
-
|
|
1327
|
-
--pops-panel-forms-container-li-border-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1328
|
-
--pops-panel-forms-container-deepMenu-item-active-bg: #333333;
|
|
1329
|
-
}
|
|
1330
|
-
.pops[type-value="panel"] .pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {
|
|
1331
|
-
fill: #f2f2f2;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
/* switch的CSS */
|
|
1335
|
-
.pops-panel-switch {
|
|
1336
|
-
--panel-switch-core-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));
|
|
1337
|
-
--panel-switch-core-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));
|
|
1338
|
-
--panel-switch-circle-color: #dcdfe6;
|
|
1339
|
-
--panel-switch-circle-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
1340
|
-
--panel-switch-checked-circle-color: #409eff;
|
|
1341
|
-
--panel-switch-checked-core-bd-color: rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
1342
|
-
--panel-switch-checked-core-bg-color: rgb(64, 158, 255, var(--pops-bg-opacity));
|
|
1343
|
-
}
|
|
1344
|
-
/* select的CSS */
|
|
1345
|
-
.pops-panel-select {
|
|
1346
|
-
--pops-panel-components-select-text-color: #f2f2f2;
|
|
1347
|
-
--pops-panel-components-select-bd-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1348
|
-
--pops-panel-components-select-bg-color: #141414;
|
|
1349
|
-
}
|
|
1350
|
-
/* select-multiple的CSS*/
|
|
1351
|
-
.pops-panel-select-multiple {
|
|
1352
|
-
--el-fill-color-blank: #141414;
|
|
1353
|
-
--el-border-color: #4c4d4f;
|
|
1354
|
-
--el-text-color-placeholder: #a8abb2;
|
|
1355
|
-
--el-select-input-color: #a8abb2;
|
|
1356
|
-
--el-text-color-regular: #606266;
|
|
1357
|
-
--el-color-info: #909399;
|
|
1358
|
-
--el-color-info-light-8: #e9e9eb;
|
|
1359
|
-
--el-color-primary-light-9: #ecf5ff;
|
|
1360
|
-
--el-color-primary-light-8: #d9ecff;
|
|
1361
|
-
--el-color-primary: #409eff;
|
|
1362
|
-
--el-color-white: #ffffff;
|
|
1363
|
-
}
|
|
1364
|
-
.pops-panel-select-multiple .el-tag {
|
|
1365
|
-
--el-color-info-light-9: #202121;
|
|
1366
|
-
}
|
|
1367
|
-
.pops-panel-select-multiple-disable {
|
|
1368
|
-
--el-border-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1369
|
-
}
|
|
1370
|
-
.pops-panel-select-multiple-disable .el-tag.el-tag--info {
|
|
1371
|
-
--el-tag-bg-color: #2f2f2f;
|
|
1372
|
-
}
|
|
1373
|
-
/* select-multiple的CSS*/
|
|
1374
|
-
/* slider的CSS */
|
|
1375
|
-
.pops-slider {
|
|
1376
|
-
--pops-slider-border-color-light: #414243;
|
|
1377
|
-
}
|
|
1378
|
-
/* input的CSS */
|
|
1379
|
-
.pops-panel-input {
|
|
1380
|
-
--pops-panel-components-input-text-color: #f2f2f2;
|
|
1381
|
-
--pops-panel-components-input-bd-color: #4f5052;
|
|
1382
|
-
--pops-panel-components-input-bg-color: #141414;
|
|
1383
|
-
--pops-panel-components-input-hover-bd-color: #6f7175;
|
|
1384
|
-
--pops-panel-components-input-focus-bd-color: #409eff;
|
|
1385
|
-
--pops-panel-components-input-suffix-color: #a8abb2;
|
|
1386
|
-
}
|
|
1387
|
-
/* textarea的CSS */
|
|
1388
|
-
.pops-panel-textarea {
|
|
1389
|
-
--pops-panel-components-textarea-text-color: #f2f2f2;
|
|
1390
|
-
--pops-panel-components-textarea-text-bg-color: #141414;
|
|
1391
|
-
--pops-panel-components-textarea-bd-color: #4f5052;
|
|
1392
|
-
--pops-panel-components-textarea-hover-bd-color: #6f7175;
|
|
1393
|
-
--pops-panel-components-textarea-focus-bd-color: #409eff;
|
|
1394
|
-
}
|
|
1395
|
-
.pops-panel-textarea-disable {
|
|
1396
|
-
--pops-panel-components-textarea-text-color: var(--pops-components-is-disabled-text-color);
|
|
1397
|
-
--pops-panel-components-textarea-text-bg-color: var(--pops-components-is-disabled-bg-color);
|
|
1398
|
-
}
|
|
1399
|
-
/* slider */
|
|
1400
|
-
.pops-slider {
|
|
1401
|
-
--pops-slider-text-color-placeholder: #8d9095;
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1
|
+
.pops[type-value="panel"] {
|
|
2
|
+
--pops-bg-color: #f2f2f2;
|
|
3
|
+
--pops-color: #333333;
|
|
4
|
+
--panel-title-bg-color: #ffffff;
|
|
5
|
+
|
|
6
|
+
--panel-aside-bg-color: #ffffff;
|
|
7
|
+
--panel-aside-hover-color: rgb(64, 158, 255);
|
|
8
|
+
--panel-aside-hover-bg-color: rgba(64, 158, 255, 0.1);
|
|
9
|
+
|
|
10
|
+
--pops-panel-forms-margin-top-bottom: 10px;
|
|
11
|
+
--pops-panel-forms-margin-left-right: 20px;
|
|
12
|
+
--pops-panel-forms-header-icon-size: calc(var(--pops-panel-forms-container-li-padding-left-right) + 1px);
|
|
13
|
+
--pops-panel-forms-header-padding-top-bottom: 15px;
|
|
14
|
+
--pops-panel-forms-header-padding-left-right: 10px;
|
|
15
|
+
--pops-panel-forms-container-item-left-text-gap: 6px;
|
|
16
|
+
--pops-panel-forms-container-item-left-desc-text-size: 0.8em;
|
|
17
|
+
--pops-panel-forms-container-item-left-desc-text-color: #6c6c6c;
|
|
18
|
+
--pops-panel-forms-container-item-bg-color: #ffffff;
|
|
19
|
+
--pops-panel-forms-container-item-title-color: #333;
|
|
20
|
+
--pops-panel-forms-container-item-border-radius: 6px;
|
|
21
|
+
--pops-panel-forms-container-item-margin-top-bottom: 10px;
|
|
22
|
+
--pops-panel-forms-container-item-margin-left-right: var(--pops-panel-forms-margin-left-right);
|
|
23
|
+
--pops-panel-forms-container-li-border-color: var(--pops-bd-color);
|
|
24
|
+
--pops-panel-forms-container-li-padding-top-bottom: 12px;
|
|
25
|
+
--pops-panel-forms-container-li-padding-left-right: 16px;
|
|
26
|
+
|
|
27
|
+
--pops-panel-forms-container-deepMenu-item-active-bg: #e9e9e9;
|
|
28
|
+
}
|
|
29
|
+
.pops[type-value="panel"] {
|
|
30
|
+
color: var(--pops-color);
|
|
31
|
+
background: var(--pops-bg-color);
|
|
32
|
+
}
|
|
33
|
+
.pops[type-value] .pops-panel-title {
|
|
34
|
+
background: var(--panel-title-bg-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* ↓panel的CSS↓ */
|
|
38
|
+
/* 左侧的列表 */
|
|
39
|
+
aside.pops-panel-aside {
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
max-width: 200px;
|
|
43
|
+
min-width: 100px;
|
|
44
|
+
height: 100%;
|
|
45
|
+
background: var(--panel-aside-bg-color);
|
|
46
|
+
border-right: 1px solid var(--panel-aside-bg-color);
|
|
47
|
+
font-size: 0.9em;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
}
|
|
52
|
+
aside.pops-panel-aside .pops-panel-aside-top-container {
|
|
53
|
+
overflow: auto;
|
|
54
|
+
}
|
|
55
|
+
aside.pops-panel-aside ul li {
|
|
56
|
+
margin: 6px 8px;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
padding: 6px 10px;
|
|
59
|
+
cursor: default;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: flex-start;
|
|
63
|
+
}
|
|
64
|
+
aside.pops-panel-aside .pops-is-visited,
|
|
65
|
+
aside.pops-panel-aside ul li:not(.pops-panel-disabled-aside-hover-css):hover {
|
|
66
|
+
color: var(--panel-aside-hover-color);
|
|
67
|
+
background: var(--panel-aside-hover-bg-color);
|
|
68
|
+
}
|
|
69
|
+
/* 左侧的列表 */
|
|
70
|
+
|
|
71
|
+
/* 底部的容器 */
|
|
72
|
+
.pops-panel-bottom-wrapper {
|
|
73
|
+
background: var(--panel-aside-bg-color);
|
|
74
|
+
border-top: 1px solid #ebeef5;
|
|
75
|
+
}
|
|
76
|
+
.pops-panel-bottom-wrapper:has(.pops-panel-bottom-left-container:empty):has(.pops-panel-bottom-right-container:empty) {
|
|
77
|
+
border-top: 0;
|
|
78
|
+
}
|
|
79
|
+
.pops-panel-bottom-container {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-wrap: nowrap;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
}
|
|
84
|
+
.pops-panel-bottom-left-container {
|
|
85
|
+
}
|
|
86
|
+
.pops-panel-bottom-right-container {
|
|
87
|
+
}
|
|
88
|
+
.pops-panel-bottom-wrapper .pops-panel-bottom-item {
|
|
89
|
+
list-style-type: none;
|
|
90
|
+
margin: 6px 8px;
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
padding: 6px 10px;
|
|
93
|
+
cursor: default;
|
|
94
|
+
}
|
|
95
|
+
.pops-panel-bottom-wrapper:not(.pops-panel-disable-bottom-item-hover-css) .pops-panel-bottom-item:hover {
|
|
96
|
+
color: var(--panel-aside-hover-color);
|
|
97
|
+
background: var(--panel-aside-hover-bg-color);
|
|
98
|
+
}
|
|
99
|
+
/* 底部的容器 */
|
|
100
|
+
|
|
101
|
+
.pops-panel-content {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: row;
|
|
104
|
+
flex: 1;
|
|
105
|
+
overflow: auto;
|
|
106
|
+
flex-basis: auto;
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
min-width: 0;
|
|
109
|
+
bottom: 0 !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.pops-panel-section-wrapper {
|
|
113
|
+
width: 100%;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
section.pops-panel-container {
|
|
120
|
+
width: 100%;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
}
|
|
125
|
+
section.pops-panel-container .pops-panel-container-header-ul,
|
|
126
|
+
section.pops-panel-container .pops-panel-deepMenu-container-header-ul {
|
|
127
|
+
border-bottom: 1px solid rgba(223, 223, 223, var(--pops-bg-opacity));
|
|
128
|
+
flex: 0 auto;
|
|
129
|
+
}
|
|
130
|
+
section.pops-panel-container .pops-panel-container-header-ul li,
|
|
131
|
+
section.pops-panel-container .pops-panel-container-header-ul li.pops-panel-container-header-title-text {
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: flex-start !important;
|
|
134
|
+
margin: 0px !important;
|
|
135
|
+
padding: var(--pops-panel-forms-header-padding-top-bottom)
|
|
136
|
+
calc(var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right));
|
|
137
|
+
text-align: left;
|
|
138
|
+
}
|
|
139
|
+
section.pops-panel-container ul.pops-panel-container-main-ul {
|
|
140
|
+
overflow: auto;
|
|
141
|
+
/*flex: 1;*/
|
|
142
|
+
}
|
|
143
|
+
section.pops-panel-container > ul li:not(.pops-panel-forms-container-item) {
|
|
144
|
+
display: flex;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
align-items: center;
|
|
147
|
+
margin: var(--pops-panel-forms-margin-top-bottom)
|
|
148
|
+
calc(var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-margin-left-right));
|
|
149
|
+
gap: 10px;
|
|
150
|
+
}
|
|
151
|
+
section.pops-panel-container .pops-panel-forms-container-item-header-text {
|
|
152
|
+
margin: 10px;
|
|
153
|
+
margin-left: calc(
|
|
154
|
+
var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right)
|
|
155
|
+
);
|
|
156
|
+
font-size: 0.9em;
|
|
157
|
+
text-align: left;
|
|
158
|
+
color: var(--pops-panel-forms-container-item-title-color);
|
|
159
|
+
}
|
|
160
|
+
section.pops-panel-container li.pops-panel-forms-container-item {
|
|
161
|
+
/* 去除<li>左侧的圆点 */
|
|
162
|
+
display: block;
|
|
163
|
+
}
|
|
164
|
+
section.pops-panel-container .pops-panel-forms-container-item ul.pops-panel-forms-container-item-formlist {
|
|
165
|
+
border-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
166
|
+
background: var(--pops-panel-forms-container-item-bg-color);
|
|
167
|
+
margin: var(--pops-panel-forms-container-item-margin-top-bottom) var(--pops-panel-forms-margin-left-right);
|
|
168
|
+
}
|
|
169
|
+
section.pops-panel-container .pops-panel-forms-container-item ul.pops-panel-forms-container-item-formlist li {
|
|
170
|
+
display: flex;
|
|
171
|
+
justify-content: space-between;
|
|
172
|
+
align-items: center;
|
|
173
|
+
padding: var(--pops-panel-forms-container-li-padding-top-bottom)
|
|
174
|
+
var(--pops-panel-forms-container-li-padding-left-right);
|
|
175
|
+
margin: 0px 0px;
|
|
176
|
+
border-bottom: 1px solid var(--pops-panel-forms-container-li-border-color);
|
|
177
|
+
text-align: left;
|
|
178
|
+
}
|
|
179
|
+
/*section.pops-panel-container
|
|
180
|
+
.pops-panel-forms-container-item
|
|
181
|
+
ul
|
|
182
|
+
li.pops-panel-deepMenu-nav-item {
|
|
183
|
+
padding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px;
|
|
184
|
+
margin: 0px var(--pops-panel-forms-container-li-padding-left-right);
|
|
185
|
+
border-bottom: 1px solid var(--pops-panel-forms-container-li-border-color);
|
|
186
|
+
}*/
|
|
187
|
+
section.pops-panel-container
|
|
188
|
+
.pops-panel-forms-container-item
|
|
189
|
+
ul.pops-panel-forms-container-item-formlist
|
|
190
|
+
li:last-child {
|
|
191
|
+
border: 0px;
|
|
192
|
+
}
|
|
193
|
+
/* 左侧的文字 */
|
|
194
|
+
section.pops-panel-container .pops-panel-item-left-text {
|
|
195
|
+
display: flex;
|
|
196
|
+
flex-direction: column;
|
|
197
|
+
gap: var(--pops-panel-forms-container-item-left-text-gap);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* 左侧的主文字 */
|
|
201
|
+
/*section.pops-panel-container .pops-panel-item-left-main-text {
|
|
202
|
+
|
|
203
|
+
}*/
|
|
204
|
+
/* 左侧的描述文字 */
|
|
205
|
+
section.pops-panel-container .pops-panel-item-left-desc-text {
|
|
206
|
+
font-size: var(--pops-panel-forms-container-item-left-desc-text-size);
|
|
207
|
+
color: var(--pops-panel-forms-container-item-left-desc-text-color);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* 折叠面板 */
|
|
211
|
+
section.pops-panel-container .pops-panel-forms-fold {
|
|
212
|
+
border-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
213
|
+
background: var(--pops-panel-forms-container-item-bg-color);
|
|
214
|
+
margin: var(--pops-panel-forms-margin-top-bottom) var(--pops-panel-forms-margin-left-right);
|
|
215
|
+
}
|
|
216
|
+
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-fold-container {
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
fill: #6c6c6c;
|
|
220
|
+
justify-content: space-between;
|
|
221
|
+
margin: 0px var(--pops-panel-forms-container-li-padding-left-right) !important;
|
|
222
|
+
padding: var(--pops-panel-forms-container-li-padding-top-bottom) 0px !important;
|
|
223
|
+
}
|
|
224
|
+
section.pops-panel-container .pops-panel-forms-fold[data-fold-enable] .pops-panel-forms-fold-container-icon {
|
|
225
|
+
transform: rotate(90deg);
|
|
226
|
+
}
|
|
227
|
+
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-fold-container-icon {
|
|
228
|
+
width: 15px;
|
|
229
|
+
height: 15px;
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
transform: rotate(-90deg);
|
|
233
|
+
transition: transform 0.3s;
|
|
234
|
+
}
|
|
235
|
+
/* 折叠状态 */
|
|
236
|
+
section.pops-panel-container .pops-panel-forms-fold[data-fold-enable] .pops-panel-forms-container-item-formlist {
|
|
237
|
+
height: 0;
|
|
238
|
+
}
|
|
239
|
+
/* 非折叠状态 */
|
|
240
|
+
section.pops-panel-container .pops-panel-forms-fold ul.pops-panel-forms-container-item-formlist {
|
|
241
|
+
margin: 0;
|
|
242
|
+
}
|
|
243
|
+
section.pops-panel-container .pops-panel-forms-fold .pops-panel-forms-container-item-formlist {
|
|
244
|
+
transition: height 0.3s;
|
|
245
|
+
overflow: hidden;
|
|
246
|
+
border-radius: unset;
|
|
247
|
+
background: unset;
|
|
248
|
+
margin: 0;
|
|
249
|
+
height: calc-size(auto, size);
|
|
250
|
+
}
|
|
251
|
+
/* 折叠面板 */
|
|
252
|
+
|
|
253
|
+
/* 姑且认为小于600px的屏幕为移动端 */
|
|
254
|
+
@media (max-width: 600px) {
|
|
255
|
+
/* 兼容移动端CSS */
|
|
256
|
+
.pops[type-value="panel"] {
|
|
257
|
+
--pops-panel-forms-margin-left-right: 10px;
|
|
258
|
+
}
|
|
259
|
+
.pops[type-value="panel"] {
|
|
260
|
+
width: 92%;
|
|
261
|
+
width: 92vw;
|
|
262
|
+
width: 92dvw;
|
|
263
|
+
}
|
|
264
|
+
.pops[type-value="panel"] .pops-panel-content aside.pops-panel-aside {
|
|
265
|
+
max-width: 20%;
|
|
266
|
+
min-width: auto;
|
|
267
|
+
}
|
|
268
|
+
.pops[type-value="panel"] section.pops-panel-container .pops-panel-forms-container-item > div {
|
|
269
|
+
text-align: left;
|
|
270
|
+
--pops-panel-forms-margin-left-right: 0px;
|
|
271
|
+
}
|
|
272
|
+
.pops[type-value="panel"] section.pops-panel-container .pops-panel-forms-container-item ul {
|
|
273
|
+
margin: 0px !important;
|
|
274
|
+
}
|
|
275
|
+
.pops[type-value="panel"] section.pops-panel-container > ul > li {
|
|
276
|
+
margin: 10px 10px;
|
|
277
|
+
}
|
|
278
|
+
.pops[type-value="panel"] section.pops-panel-container > ul > li div:nth-child(2) {
|
|
279
|
+
max-width: 55%;
|
|
280
|
+
}
|
|
281
|
+
.pops[type-value="panel"] .pops-panel-select .el-select__selected-item.el-select__placeholder {
|
|
282
|
+
max-width: -moz-available;
|
|
283
|
+
max-width: -webkit-fill-available;
|
|
284
|
+
}
|
|
285
|
+
.pops[type-value="panel"] section.pops-panel-container > ul > li .pops-panel-input span.pops-panel-input__suffix {
|
|
286
|
+
padding: 0 4px;
|
|
287
|
+
}
|
|
288
|
+
.pops[type-value="panel"] section.pops-panel-container .pops-panel-select select {
|
|
289
|
+
min-width: 88px !important;
|
|
290
|
+
width: -moz-available;
|
|
291
|
+
width: -webkit-fill-available;
|
|
292
|
+
}
|
|
293
|
+
.pops[type-value="panel"] section.pops-panel-container .pops-panel-container-header-ul li {
|
|
294
|
+
font-size: 16px;
|
|
295
|
+
}
|
|
296
|
+
.pops[type-value="panel"] .pops-panel-title p[pops],
|
|
297
|
+
.pops[type-value="panel"] section.pops-panel-container > ul li,
|
|
298
|
+
.pops[type-value="panel"] aside.pops-panel-aside ul li {
|
|
299
|
+
font-size: 14px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
/* switch的CSS */
|
|
303
|
+
.pops-panel-switch {
|
|
304
|
+
--panel-switch-core-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));
|
|
305
|
+
--panel-switch-core-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));
|
|
306
|
+
--panel-switch-circle-color: #dcdfe6;
|
|
307
|
+
--panel-switch-circle-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
308
|
+
--panel-switch-checked-circle-color: #409eff;
|
|
309
|
+
--panel-switch-checked-core-bd-color: rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
310
|
+
--panel-switch-checked-core-bg-color: rgb(64, 158, 255, var(--pops-bg-opacity));
|
|
311
|
+
}
|
|
312
|
+
.pops-panel-switch {
|
|
313
|
+
display: inline-flex;
|
|
314
|
+
flex-direction: row-reverse;
|
|
315
|
+
align-items: center;
|
|
316
|
+
position: relative;
|
|
317
|
+
font-size: 14px;
|
|
318
|
+
line-height: normal;
|
|
319
|
+
align-content: center;
|
|
320
|
+
height: 32px;
|
|
321
|
+
vertical-align: middle;
|
|
322
|
+
-webkit-user-select: none;
|
|
323
|
+
-moz-user-select: none;
|
|
324
|
+
-ms-user-select: none;
|
|
325
|
+
user-select: none;
|
|
326
|
+
}
|
|
327
|
+
.pops-panel-switch input.pops-panel-switch__input {
|
|
328
|
+
position: absolute;
|
|
329
|
+
width: 0;
|
|
330
|
+
height: 0;
|
|
331
|
+
opacity: 0;
|
|
332
|
+
margin: 0;
|
|
333
|
+
}
|
|
334
|
+
.pops-panel-switch:has(input.pops-panel-switch__input:disabled),
|
|
335
|
+
.pops-panel-switch[data-disabled],
|
|
336
|
+
.pops-panel-switch[data-disabled] .pops-panel-switch__core,
|
|
337
|
+
.pops-panel-switch input.pops-panel-switch__input:disabled + .pops-panel-switch__core {
|
|
338
|
+
cursor: not-allowed;
|
|
339
|
+
opacity: 0.6;
|
|
340
|
+
}
|
|
341
|
+
.pops-panel-switch span.pops-panel-switch__core {
|
|
342
|
+
display: inline-flex;
|
|
343
|
+
position: relative;
|
|
344
|
+
align-items: center;
|
|
345
|
+
min-width: 40px;
|
|
346
|
+
height: 20px;
|
|
347
|
+
border: 1px solid var(--panel-switch-core-bd-color);
|
|
348
|
+
outline: 0;
|
|
349
|
+
border-radius: 10px;
|
|
350
|
+
box-sizing: border-box;
|
|
351
|
+
background: var(--panel-switch-core-bg-color);
|
|
352
|
+
cursor: pointer;
|
|
353
|
+
transition:
|
|
354
|
+
border-color 0.3s,
|
|
355
|
+
background-color 0.3s;
|
|
356
|
+
}
|
|
357
|
+
.pops-panel-switch .pops-panel-switch__action {
|
|
358
|
+
position: absolute;
|
|
359
|
+
left: 1px;
|
|
360
|
+
border-radius: 100%;
|
|
361
|
+
transition: all 0.3s;
|
|
362
|
+
width: 16px;
|
|
363
|
+
height: 16px;
|
|
364
|
+
display: flex;
|
|
365
|
+
justify-content: center;
|
|
366
|
+
align-items: center;
|
|
367
|
+
background-color: var(--panel-switch-circle-bg-color);
|
|
368
|
+
color: var(--panel-switch-circle-color);
|
|
369
|
+
}
|
|
370
|
+
.pops-panel-switch.pops-panel-switch-is-checked span.pops-panel-switch__core {
|
|
371
|
+
border-color: var(--panel-switch-checked-core-bd-color);
|
|
372
|
+
background-color: var(--panel-switch-checked-core-bg-color);
|
|
373
|
+
}
|
|
374
|
+
.pops-panel-switch.pops-panel-switch-is-checked .pops-panel-switch__action {
|
|
375
|
+
left: calc(100% - 17px);
|
|
376
|
+
color: var(--panel-switch-checked-circle-color);
|
|
377
|
+
}
|
|
378
|
+
/* switch的CSS */
|
|
379
|
+
|
|
380
|
+
/* slider旧的CSS */
|
|
381
|
+
section.pops-panel-container .pops-panel-slider:has(> input[type="range"]) {
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
height: 25px;
|
|
384
|
+
line-height: normal;
|
|
385
|
+
align-content: center;
|
|
386
|
+
display: flex;
|
|
387
|
+
align-items: center;
|
|
388
|
+
}
|
|
389
|
+
section.pops-panel-container .pops-panel-slider input[type="range"] {
|
|
390
|
+
height: 6px;
|
|
391
|
+
background: rgb(228, 231, 237, var(--pops-bg-opacity));
|
|
392
|
+
outline: 0;
|
|
393
|
+
-webkit-appearance: none;
|
|
394
|
+
appearance: none;
|
|
395
|
+
width: 100%;
|
|
396
|
+
}
|
|
397
|
+
section.pops-panel-container .pops-panel-slider input[type="range"]::-webkit-slider-thumb {
|
|
398
|
+
width: 20px;
|
|
399
|
+
height: 20px;
|
|
400
|
+
border-radius: 50%;
|
|
401
|
+
border: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
402
|
+
background-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
403
|
+
box-shadow:
|
|
404
|
+
0 0 2px rgba(0, 0, 0, 0.3),
|
|
405
|
+
0 3px 5px rgba(0, 0, 0, 0.2);
|
|
406
|
+
cursor: pointer;
|
|
407
|
+
-webkit-appearance: none;
|
|
408
|
+
appearance: none;
|
|
409
|
+
border-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;
|
|
410
|
+
}
|
|
411
|
+
section.pops-panel-container .pops-panel-slider input[type="range"]::-moz-range-thumb {
|
|
412
|
+
width: 20px;
|
|
413
|
+
height: 20px;
|
|
414
|
+
border-radius: 50%;
|
|
415
|
+
border: 1px solid rgb(64, 159, 255, var(--pops-bd-opacity));
|
|
416
|
+
background-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
417
|
+
box-shadow:
|
|
418
|
+
0 0 2px rgba(0, 0, 0, 0.3),
|
|
419
|
+
0 3px 5px rgba(0, 0, 0, 0.2);
|
|
420
|
+
cursor: pointer;
|
|
421
|
+
-webkit-appearance: none;
|
|
422
|
+
appearance: none;
|
|
423
|
+
}
|
|
424
|
+
section.pops-panel-container .pops-panel-slider input[type="range"]::-moz-range-progress {
|
|
425
|
+
height: 6px;
|
|
426
|
+
border-image: linear-gradient(#409eff, #409eff) 0 fill/9 25 9 0/0 0 0 100vw;
|
|
427
|
+
}
|
|
428
|
+
/* slider旧的CSS */
|
|
429
|
+
|
|
430
|
+
/* slider的CSS */
|
|
431
|
+
.pops-slider {
|
|
432
|
+
--pops-slider-color-white: #ffffff;
|
|
433
|
+
--pops-slider-color-primary: #409eff;
|
|
434
|
+
--pops-slider-color-info: #909399;
|
|
435
|
+
--pops-slider-text-color-placeholder: #a8abb2;
|
|
436
|
+
--pops-slider-border-color-light: #e4e7ed;
|
|
437
|
+
--pops-slider-border-radius-circle: 100%;
|
|
438
|
+
--pops-slider-transition-duration-fast: 0.2s;
|
|
439
|
+
|
|
440
|
+
--pops-slider-main-bg-color: var(--pops-slider-color-primary);
|
|
441
|
+
--pops-slider-runway-bg-color: var(--pops-slider-border-color-light);
|
|
442
|
+
--pops-slider-stop-bg-color: var(--pops-slider-color-white);
|
|
443
|
+
--pops-slider-disabled-color: var(--pops-slider-text-color-placeholder);
|
|
444
|
+
--pops-slider-border-radius: 3px;
|
|
445
|
+
--pops-slider-height: 6px;
|
|
446
|
+
--pops-slider-button-size: 20px;
|
|
447
|
+
--pops-slider-button-wrapper-size: 36px;
|
|
448
|
+
--pops-slider-button-wrapper-offset: -15px;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.pops-slider {
|
|
452
|
+
width: 100%;
|
|
453
|
+
height: 32px;
|
|
454
|
+
display: flex;
|
|
455
|
+
align-items: center;
|
|
456
|
+
-webkit-user-select: none;
|
|
457
|
+
-moz-user-select: none;
|
|
458
|
+
-ms-user-select: none;
|
|
459
|
+
user-select: none;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.pops-slider-width {
|
|
463
|
+
flex: 0 0 52%;
|
|
464
|
+
margin-left: 10px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.pops-slider__runway {
|
|
468
|
+
flex: 1;
|
|
469
|
+
height: var(--pops-slider-height);
|
|
470
|
+
background-color: var(--pops-slider-runway-bg-color);
|
|
471
|
+
border-radius: var(--pops-slider-border-radius);
|
|
472
|
+
position: relative;
|
|
473
|
+
cursor: pointer;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.pops-slider__runway.show-input {
|
|
477
|
+
margin-right: 30px;
|
|
478
|
+
width: auto;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.pops-slider__runway.pops-slider-is-disabled {
|
|
482
|
+
cursor: default;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__bar {
|
|
486
|
+
background-color: var(--pops-slider-disabled-color);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button {
|
|
490
|
+
border-color: var(--pops-slider-disabled-color);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
494
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
495
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
496
|
+
cursor: not-allowed;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
500
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
501
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
502
|
+
transform: scale(1);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button:hover,
|
|
506
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.hover,
|
|
507
|
+
.pops-slider__runway.pops-slider-is-disabled .pops-slider__button.dragging {
|
|
508
|
+
cursor: not-allowed;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.pops-slider__input {
|
|
512
|
+
flex-shrink: 0;
|
|
513
|
+
width: 130px;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.pops-slider__bar {
|
|
517
|
+
height: var(--pops-slider-height);
|
|
518
|
+
background-color: var(--pops-slider-main-bg-color);
|
|
519
|
+
border-top-left-radius: var(--pops-slider-border-radius);
|
|
520
|
+
border-bottom-left-radius: var(--pops-slider-border-radius);
|
|
521
|
+
position: absolute;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.pops-slider__button-wrapper {
|
|
525
|
+
height: var(--pops-slider-button-wrapper-size);
|
|
526
|
+
width: var(--pops-slider-button-wrapper-size);
|
|
527
|
+
position: absolute;
|
|
528
|
+
z-index: 1;
|
|
529
|
+
top: var(--pops-slider-button-wrapper-offset);
|
|
530
|
+
transform: translate(-50%);
|
|
531
|
+
background-color: transparent;
|
|
532
|
+
text-align: center;
|
|
533
|
+
-webkit-user-select: none;
|
|
534
|
+
-moz-user-select: none;
|
|
535
|
+
-ms-user-select: none;
|
|
536
|
+
user-select: none;
|
|
537
|
+
line-height: normal;
|
|
538
|
+
outline: none;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.pops-slider__button-wrapper:after {
|
|
542
|
+
display: inline-block;
|
|
543
|
+
content: "";
|
|
544
|
+
height: 100%;
|
|
545
|
+
vertical-align: middle;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.pops-slider__button:hover,
|
|
549
|
+
.pops-slider__button.hover {
|
|
550
|
+
cursor: grab;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.pops-slider__button {
|
|
554
|
+
display: inline-block;
|
|
555
|
+
width: var(--pops-slider-button-size);
|
|
556
|
+
height: var(--pops-slider-button-size);
|
|
557
|
+
vertical-align: middle;
|
|
558
|
+
border: solid 2px var(--pops-slider-main-bg-color);
|
|
559
|
+
background-color: var(--pops-slider-color-white);
|
|
560
|
+
border-radius: 50%;
|
|
561
|
+
box-sizing: border-box;
|
|
562
|
+
transition: var(--pops-slider-transition-duration-fast);
|
|
563
|
+
-webkit-user-select: none;
|
|
564
|
+
-moz-user-select: none;
|
|
565
|
+
-ms-user-select: none;
|
|
566
|
+
user-select: none;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.pops-slider__button:hover,
|
|
570
|
+
.pops-slider__button.hover,
|
|
571
|
+
.pops-slider__button.dragging {
|
|
572
|
+
transform: scale(1.2);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.pops-slider__button:hover,
|
|
576
|
+
.pops-slider__button.hover {
|
|
577
|
+
cursor: grab;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.pops-slider__button.dragging {
|
|
581
|
+
cursor: grabbing;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.pops-slider__stop {
|
|
585
|
+
position: absolute;
|
|
586
|
+
height: var(--pops-slider-height);
|
|
587
|
+
width: var(--pops-slider-height);
|
|
588
|
+
border-radius: var(--pops-slider-border-radius-circle);
|
|
589
|
+
background-color: var(--pops-slider-stop-bg-color);
|
|
590
|
+
transform: translate(-50%);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.pops-slider__marks {
|
|
594
|
+
top: 0;
|
|
595
|
+
left: 12px;
|
|
596
|
+
width: 18px;
|
|
597
|
+
height: 100%;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.pops-slider__marks-text {
|
|
601
|
+
position: absolute;
|
|
602
|
+
transform: translate(-50%);
|
|
603
|
+
font-size: 14px;
|
|
604
|
+
color: var(--pops-slider-color-info);
|
|
605
|
+
margin-top: 15px;
|
|
606
|
+
white-space: pre;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.pops-slider.is-vertical {
|
|
610
|
+
position: relative;
|
|
611
|
+
display: inline-flex;
|
|
612
|
+
width: auto;
|
|
613
|
+
height: 100%;
|
|
614
|
+
flex: 0;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.pops-slider.is-vertical .pops-slider__runway {
|
|
618
|
+
width: var(--pops-slider-height);
|
|
619
|
+
height: 100%;
|
|
620
|
+
margin: 0 16px;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.pops-slider.is-vertical .pops-slider__bar {
|
|
624
|
+
width: var(--pops-slider-height);
|
|
625
|
+
height: auto;
|
|
626
|
+
border-radius: 0 0 3px 3px;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.pops-slider.is-vertical .pops-slider__button-wrapper {
|
|
630
|
+
top: auto;
|
|
631
|
+
left: var(--pops-slider-button-wrapper-offset);
|
|
632
|
+
transform: translateY(50%);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.pops-slider.is-vertical .pops-slider__stop {
|
|
636
|
+
transform: translateY(50%);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.pops-slider.is-vertical .pops-slider__marks-text {
|
|
640
|
+
margin-top: 0;
|
|
641
|
+
left: 15px;
|
|
642
|
+
transform: translateY(50%);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.pops-slider--large {
|
|
646
|
+
height: 40px;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.pops-slider--small {
|
|
650
|
+
height: 24px;
|
|
651
|
+
}
|
|
652
|
+
/* slider的CSS */
|
|
653
|
+
|
|
654
|
+
/* input的CSS */
|
|
655
|
+
.pops-panel-input {
|
|
656
|
+
--el-disabled-text-color: #a8abb2;
|
|
657
|
+
--el-disabled-bg-color: #f5f7fa;
|
|
658
|
+
--el-disabled-border-color: #e4e7ed;
|
|
659
|
+
--el-color-danger: #f56c6c;
|
|
660
|
+
|
|
661
|
+
--pops-panel-components-input-border-radius: 4px;
|
|
662
|
+
--pops-panel-components-input-text-color: #000000;
|
|
663
|
+
--pops-panel-components-input-text-bg-color: transparent;
|
|
664
|
+
--pops-panel-components-input-text-default-padding: 8px;
|
|
665
|
+
--pops-panel-components-input-bd-color: #dcdfe6;
|
|
666
|
+
--pops-panel-components-input-bg-color: #ffffff;
|
|
667
|
+
--pops-panel-components-input-hover-bd-color: #c0c4cc;
|
|
668
|
+
--pops-panel-components-input-focus-bd-color: #409eff;
|
|
669
|
+
--pops-panel-components-input-suffix-color: #a8abb2;
|
|
670
|
+
--pops-panel-components-input-suffix-bg-color: #ffffff;
|
|
671
|
+
}
|
|
672
|
+
.pops-panel-input {
|
|
673
|
+
display: flex;
|
|
674
|
+
align-items: center;
|
|
675
|
+
flex-direction: column;
|
|
676
|
+
position: relative;
|
|
677
|
+
box-shadow: none;
|
|
678
|
+
width: 200px;
|
|
679
|
+
border: 0px;
|
|
680
|
+
}
|
|
681
|
+
.pops-panel-input_inner {
|
|
682
|
+
display: flex;
|
|
683
|
+
align-items: center;
|
|
684
|
+
width: 100%;
|
|
685
|
+
border: 1px solid var(--pops-panel-components-input-bd-color);
|
|
686
|
+
border-radius: var(--pops-panel-components-input-border-radius);
|
|
687
|
+
background-color: var(--pops-panel-components-input-bg-color);
|
|
688
|
+
box-shadow: none;
|
|
689
|
+
}
|
|
690
|
+
.pops-panel-input_inner:hover {
|
|
691
|
+
border: 1px solid var(--pops-panel-components-input-hover-bd-color);
|
|
692
|
+
}
|
|
693
|
+
.pops-panel-input:has(input:disabled):hover {
|
|
694
|
+
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
695
|
+
}
|
|
696
|
+
.pops-panel-input_inner:has(input:focus) {
|
|
697
|
+
outline: 0;
|
|
698
|
+
border: 1px solid var(--pops-panel-components-input-focus-bd-color);
|
|
699
|
+
border-radius: var(--pops-panel-components-input-border-radius);
|
|
700
|
+
box-shadow: none;
|
|
701
|
+
}
|
|
702
|
+
.pops-panel-input input {
|
|
703
|
+
display: inline-flex;
|
|
704
|
+
justify-content: center;
|
|
705
|
+
text-align: start;
|
|
706
|
+
align-items: center;
|
|
707
|
+
align-content: center;
|
|
708
|
+
white-space: nowrap;
|
|
709
|
+
cursor: text;
|
|
710
|
+
box-sizing: border-box;
|
|
711
|
+
-webkit-user-select: none;
|
|
712
|
+
-moz-user-select: none;
|
|
713
|
+
-ms-user-select: none;
|
|
714
|
+
user-select: none;
|
|
715
|
+
vertical-align: middle;
|
|
716
|
+
-webkit-appearance: none;
|
|
717
|
+
appearance: none;
|
|
718
|
+
color: var(--pops-panel-components-input-text-color);
|
|
719
|
+
background-color: var(--pops-panel-components-input-text-bg-color);
|
|
720
|
+
outline: 0;
|
|
721
|
+
transition: 0.1s;
|
|
722
|
+
border: 0;
|
|
723
|
+
font-size: 14px;
|
|
724
|
+
font-weight: 500;
|
|
725
|
+
line-height: normal;
|
|
726
|
+
height: 32px;
|
|
727
|
+
width: 100%;
|
|
728
|
+
flex: 1;
|
|
729
|
+
/*margin-right: calc(1em + 8px);*/
|
|
730
|
+
margin: 0px;
|
|
731
|
+
padding: var(--pops-panel-components-input-text-default-padding);
|
|
732
|
+
}
|
|
733
|
+
.pops-panel-input input[type="search"]::-webkit-search-cancel-button {
|
|
734
|
+
-webkit-appearance: none;
|
|
735
|
+
display: none;
|
|
736
|
+
}
|
|
737
|
+
/* 颜色选择器不需要那么宽 */
|
|
738
|
+
.pops-panel-input:has(input[type="color"]) {
|
|
739
|
+
width: 50px;
|
|
740
|
+
}
|
|
741
|
+
.pops-panel-input input[type="color"] {
|
|
742
|
+
padding: 0px;
|
|
743
|
+
}
|
|
744
|
+
.pops-panel-input_inner:has(input[type="file"]) {
|
|
745
|
+
border: 0px;
|
|
746
|
+
background: transparent;
|
|
747
|
+
}
|
|
748
|
+
.pops-panel-input input[type="file"] {
|
|
749
|
+
padding: 0px;
|
|
750
|
+
line-height: 32px;
|
|
751
|
+
}
|
|
752
|
+
.pops-panel-input span.pops-panel-input__suffix {
|
|
753
|
+
display: inline-flex;
|
|
754
|
+
white-space: nowrap;
|
|
755
|
+
flex-shrink: 0;
|
|
756
|
+
flex-wrap: nowrap;
|
|
757
|
+
height: 100%;
|
|
758
|
+
height: -moz-available;
|
|
759
|
+
height: -webkit-fill-available;
|
|
760
|
+
text-align: center;
|
|
761
|
+
color: var(--pops-panel-components-input-suffix-color);
|
|
762
|
+
background: var(--pops-panel-components-input-suffix-bg-color);
|
|
763
|
+
transition: all 0.3s;
|
|
764
|
+
pointer-events: none;
|
|
765
|
+
padding: 0 8px;
|
|
766
|
+
position: relative;
|
|
767
|
+
right: 0px;
|
|
768
|
+
border-top-right-radius: 4px;
|
|
769
|
+
border-bottom-right-radius: 4px;
|
|
770
|
+
border: 1px solid transparent;
|
|
771
|
+
}
|
|
772
|
+
.pops-panel-input span.pops-panel-input__suffix-inner {
|
|
773
|
+
pointer-events: all;
|
|
774
|
+
display: inline-flex;
|
|
775
|
+
align-items: center;
|
|
776
|
+
justify-content: center;
|
|
777
|
+
}
|
|
778
|
+
/* 如果包含清空图标的按钮,则默认隐藏清空图标,当:hover、:focus、:focus-within、:active时显示清空图标 */
|
|
779
|
+
.pops-panel-input span.pops-panel-input__suffix:has(svg[data-type="circleClose"]) {
|
|
780
|
+
display: none;
|
|
781
|
+
}
|
|
782
|
+
.pops-panel-input:hover span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
783
|
+
.pops-panel-input:focus span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
784
|
+
.pops-panel-input:focus-within span.pops-panel-input__suffix:has(svg[data-type="circleClose"]),
|
|
785
|
+
.pops-panel-input:active span.pops-panel-input__suffix:has(svg[data-type="circleClose"]) {
|
|
786
|
+
display: inline-flex;
|
|
787
|
+
}
|
|
788
|
+
/* 当清空图标显示时或查看图标存在时,则隐藏输入框的padding-right */
|
|
789
|
+
.pops-panel-input:hover:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
790
|
+
.pops-panel-input:focus:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
791
|
+
.pops-panel-input:focus-within:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
792
|
+
.pops-panel-input:active:has(span.pops-panel-input__suffix svg[data-type="circleClose"]) input,
|
|
793
|
+
.pops-panel-input:has(span.pops-panel-input__suffix svg[data-type="view"]) input,
|
|
794
|
+
.pops-panel-input:has(span.pops-panel-input__suffix svg[data-type="hide"]) input {
|
|
795
|
+
padding-right: 0;
|
|
796
|
+
}
|
|
797
|
+
.pops-panel-input .pops-panel-icon {
|
|
798
|
+
cursor: pointer;
|
|
799
|
+
}
|
|
800
|
+
.pops-panel-input .pops-panel-icon {
|
|
801
|
+
height: inherit;
|
|
802
|
+
line-height: normal;
|
|
803
|
+
align-content: center;
|
|
804
|
+
display: flex;
|
|
805
|
+
justify-content: center;
|
|
806
|
+
align-items: center;
|
|
807
|
+
transition: all 0.3s;
|
|
808
|
+
}
|
|
809
|
+
.pops-panel-input .pops-panel-icon svg {
|
|
810
|
+
height: 1em;
|
|
811
|
+
width: 1em;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.pops-input-disabled {
|
|
815
|
+
background-color: var(--pops-components-is-disabled-bg-color);
|
|
816
|
+
border-radius: 4px;
|
|
817
|
+
}
|
|
818
|
+
.pops-panel-input.pops-input-disabled:hover {
|
|
819
|
+
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
820
|
+
}
|
|
821
|
+
.pops-panel-input input:disabled,
|
|
822
|
+
.pops-panel-input input:disabled + .pops-panel-input__suffix {
|
|
823
|
+
-webkit-user-select: none;
|
|
824
|
+
-moz-user-select: none;
|
|
825
|
+
-ms-user-select: none;
|
|
826
|
+
user-select: none;
|
|
827
|
+
color: var(--el-disabled-text-color);
|
|
828
|
+
-webkit-text-fill-color: var(--el-disabled-text-color);
|
|
829
|
+
cursor: not-allowed;
|
|
830
|
+
}
|
|
831
|
+
.pops-panel-input input:disabled + .pops-panel-input__suffix {
|
|
832
|
+
display: none;
|
|
833
|
+
}
|
|
834
|
+
/* 校验样式 */
|
|
835
|
+
.pops-panel-input:has(.pops-panel-input-valid-error) {
|
|
836
|
+
--pops-panel-components-input-bd-color: var(--el-color-danger) !important;
|
|
837
|
+
--pops-panel-components-input-hover-bd-color: var(--pops-panel-components-input-bd-color);
|
|
838
|
+
--pops-panel-components-input-focus-bd-color: var(--pops-panel-components-input-bd-color);
|
|
839
|
+
}
|
|
840
|
+
.pops-panel-input .pops-panel-input-valid-error {
|
|
841
|
+
width: 100%;
|
|
842
|
+
color: var(--el-color-danger);
|
|
843
|
+
font-weight: 500;
|
|
844
|
+
font-size: 0.8em;
|
|
845
|
+
box-sizing: border-box;
|
|
846
|
+
vertical-align: middle;
|
|
847
|
+
display: inline-flex;
|
|
848
|
+
position: relative;
|
|
849
|
+
}
|
|
850
|
+
/* input的CSS */
|
|
851
|
+
|
|
852
|
+
/* textarea的CSS */
|
|
853
|
+
.pops-panel-textarea {
|
|
854
|
+
--pops-panel-components-textarea-text-color: #000000;
|
|
855
|
+
--pops-panel-components-textarea-text-bg-color: #ffffff;
|
|
856
|
+
--pops-panel-components-textarea-bd-color: #dcdfe6;
|
|
857
|
+
--pops-panel-components-textarea-hover-bd-color: #c0c4cc;
|
|
858
|
+
--pops-panel-components-textarea-focus-bd-color: #409eff;
|
|
859
|
+
}
|
|
860
|
+
.pops-panel-textarea textarea {
|
|
861
|
+
width: 100%;
|
|
862
|
+
/*vertical-align: bottom;*/
|
|
863
|
+
position: relative;
|
|
864
|
+
display: block;
|
|
865
|
+
resize: none;
|
|
866
|
+
padding: 5px 11px;
|
|
867
|
+
/*line-height: 1;*/
|
|
868
|
+
box-sizing: border-box;
|
|
869
|
+
font-size: inherit;
|
|
870
|
+
font-family: inherit;
|
|
871
|
+
color: var(--pops-panel-components-textarea-text-color);
|
|
872
|
+
background-color: var(--pops-panel-components-textarea-text-bg-color);
|
|
873
|
+
background-image: none;
|
|
874
|
+
-webkit-appearance: none;
|
|
875
|
+
appearance: none;
|
|
876
|
+
box-shadow: none;
|
|
877
|
+
border-radius: 0;
|
|
878
|
+
transition: box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
879
|
+
border: 1px solid var(--pops-panel-components-textarea-bd-color);
|
|
880
|
+
}
|
|
881
|
+
.pops-panel-textarea textarea:hover {
|
|
882
|
+
border-color: var(--pops-panel-components-textarea-hover-bd-color);
|
|
883
|
+
}
|
|
884
|
+
.pops-panel-textarea:has(textarea:disabled):hover {
|
|
885
|
+
--pops-panel-components-textarea-hover-bd-color: var(--pops-panel-components-textarea-bd-color);
|
|
886
|
+
}
|
|
887
|
+
.pops-panel-textarea-disable {
|
|
888
|
+
--pops-panel-components-textarea-text-bg-color: var(--pops-components-is-disabled-bg-color) !important;
|
|
889
|
+
--pops-panel-components-textarea-text-color: var(--pops-components-is-disabled-text-color);
|
|
890
|
+
}
|
|
891
|
+
.pops-panel-textarea-disable textarea {
|
|
892
|
+
cursor: not-allowed;
|
|
893
|
+
}
|
|
894
|
+
.pops-panel-textarea textarea:focus {
|
|
895
|
+
outline: 0;
|
|
896
|
+
border-color: var(--pops-panel-components-textarea-focus-bd-color);
|
|
897
|
+
}
|
|
898
|
+
/* textarea的CSS */
|
|
899
|
+
|
|
900
|
+
/* select的CSS */
|
|
901
|
+
.pops-panel-select {
|
|
902
|
+
--pops-panel-components-select-disabled-text-color: #a8abb2;
|
|
903
|
+
--pops-panel-components-select-text-color: #000000;
|
|
904
|
+
--pops-panel-components-select-bd-color: rgb(184, 184, 184, var(--pops-bd-opacity));
|
|
905
|
+
--pops-panel-components-select-hover-bd-color: rgb(184, 184, 184, var(--pops-bd-opacity));
|
|
906
|
+
--pops-panel-components-select-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
907
|
+
}
|
|
908
|
+
.pops-panel-select {
|
|
909
|
+
border: 0;
|
|
910
|
+
}
|
|
911
|
+
.pops-panel-select select {
|
|
912
|
+
width: 100%;
|
|
913
|
+
height: 32px;
|
|
914
|
+
line-height: normal;
|
|
915
|
+
align-content: center;
|
|
916
|
+
min-width: 200px;
|
|
917
|
+
border: 1px solid var(--pops-panel-components-select-bd-color);
|
|
918
|
+
border-radius: 5px;
|
|
919
|
+
text-align: center;
|
|
920
|
+
outline: 0;
|
|
921
|
+
color: var(--pops-panel-components-select-text-color);
|
|
922
|
+
background-color: var(--pops-panel-components-select-bg-color);
|
|
923
|
+
box-shadow: none;
|
|
924
|
+
}
|
|
925
|
+
.pops-panel-select select:hover {
|
|
926
|
+
border: 1px solid var(--pops-panel-components-select-hover-bd-color);
|
|
927
|
+
}
|
|
928
|
+
.pops-panel-select-disable {
|
|
929
|
+
--pops-panel-components-select-text-color: var(--pops-components-is-disabled-text-color);
|
|
930
|
+
--pops-panel-components-select-bg-color: var(--pops-components-is-disabled-bg-color);
|
|
931
|
+
}
|
|
932
|
+
.pops-panel-select-disable select {
|
|
933
|
+
cursor: not-allowed;
|
|
934
|
+
}
|
|
935
|
+
.pops-panel-select-disable select:hover {
|
|
936
|
+
box-shadow: none;
|
|
937
|
+
--pops-panel-components-select-hover-bd-color: var(--pops-panel-components-select-bd-color);
|
|
938
|
+
}
|
|
939
|
+
.pops-panel-select select:focus {
|
|
940
|
+
border: 1px solid rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
941
|
+
box-shadow: none;
|
|
942
|
+
}
|
|
943
|
+
/* select的CSS */
|
|
944
|
+
|
|
945
|
+
/* select dialog 的CSS */
|
|
946
|
+
.pops-panel-select[data-mode="dialog"] {
|
|
947
|
+
}
|
|
948
|
+
/* select dialog 的CSS */
|
|
949
|
+
|
|
950
|
+
/* select horizontal 的CSS */
|
|
951
|
+
.pops-panel-select[data-mode="horizontal"] {
|
|
952
|
+
--pops-panel-components-select-horizontal-selected-text-color: #626aef;
|
|
953
|
+
--pops-panel-components-select-horizontal-selected-bg-color: #eff0fd;
|
|
954
|
+
}
|
|
955
|
+
.pops-panel-select[data-mode="horizontal"] .el-select__wrapper {
|
|
956
|
+
padding: 0;
|
|
957
|
+
gap: 0;
|
|
958
|
+
border: 0;
|
|
959
|
+
}
|
|
960
|
+
.pops-panel-select[data-mode="horizontal"] .select-item {
|
|
961
|
+
flex: 1;
|
|
962
|
+
display: flex;
|
|
963
|
+
justify-content: center;
|
|
964
|
+
align-items: center;
|
|
965
|
+
border: 1px solid var(--el-border-color);
|
|
966
|
+
height: -moz-available;
|
|
967
|
+
height: -webkit-fill-available;
|
|
968
|
+
border-left: 0;
|
|
969
|
+
}
|
|
970
|
+
.pops-panel-select[data-mode="horizontal"] .select-item:hover {
|
|
971
|
+
color: var(--el-color-primary);
|
|
972
|
+
}
|
|
973
|
+
.pops-panel-select[data-mode="horizontal"] .select-item:first-child {
|
|
974
|
+
border-left: 1px solid var(--el-border-color);
|
|
975
|
+
border-top-left-radius: var(--el-border-radius-base);
|
|
976
|
+
border-bottom-left-radius: var(--el-border-radius-base);
|
|
977
|
+
}
|
|
978
|
+
.pops-panel-select[data-mode="horizontal"] .select-item:last-child {
|
|
979
|
+
border-top-right-radius: var(--el-border-radius-base);
|
|
980
|
+
border-bottom-right-radius: var(--el-border-radius-base);
|
|
981
|
+
}
|
|
982
|
+
.pops-panel-select[data-mode="horizontal"] .select-item.select__selected-item {
|
|
983
|
+
color: var(--pops-panel-components-select-horizontal-selected-text-color);
|
|
984
|
+
background-color: var(--pops-panel-components-select-horizontal-selected-bg-color);
|
|
985
|
+
border-color: var(--pops-panel-components-select-horizontal-selected-bg-color);
|
|
986
|
+
}
|
|
987
|
+
.pops-panel-select[data-mode="horizontal"] .select-item:has(+ .select__selected-item) {
|
|
988
|
+
border-right: 0;
|
|
989
|
+
}
|
|
990
|
+
.pops-panel-select[data-mode="horizontal"] .select-item[disabled] {
|
|
991
|
+
color: var(--pops-panel-components-select-disabled-text-color);
|
|
992
|
+
--pops-panel-components-select-horizontal-selected-text-color: var(
|
|
993
|
+
--pops-panel-components-select-disabled-text-color
|
|
994
|
+
);
|
|
995
|
+
cursor: not-allowed;
|
|
996
|
+
background: unset;
|
|
997
|
+
}
|
|
998
|
+
/* select horizontal 的CSS */
|
|
999
|
+
|
|
1000
|
+
/* select-multiple的CSS*/
|
|
1001
|
+
.pops-panel-select-multiple,
|
|
1002
|
+
.pops-panel-select {
|
|
1003
|
+
--el-border-radius-base: 4px;
|
|
1004
|
+
--el-fill-color-blank: #ffffff;
|
|
1005
|
+
--el-transition-duration: 0.3s;
|
|
1006
|
+
--el-border-color: #cbcbcb;
|
|
1007
|
+
--el-text-color-placeholder: #a8abb2;
|
|
1008
|
+
--color: inherit;
|
|
1009
|
+
--el-select-input-color: #a8abb2;
|
|
1010
|
+
--el-select-input-font-size: 14px;
|
|
1011
|
+
--el-text-color-regular: #606266;
|
|
1012
|
+
--el-color-info: #909399;
|
|
1013
|
+
--el-color-info-light-9: #f4f4f5;
|
|
1014
|
+
--el-color-info-light-8: #e9e9eb;
|
|
1015
|
+
--el-color-primary-light-9: #ecf5ff;
|
|
1016
|
+
--el-color-primary-light-8: #d9ecff;
|
|
1017
|
+
--el-color-primary: #409eff;
|
|
1018
|
+
--el-color-white: #ffffff;
|
|
1019
|
+
width: 200px;
|
|
1020
|
+
}
|
|
1021
|
+
.pops-panel-select .el-select__wrapper,
|
|
1022
|
+
.pops-panel-select-multiple .el-select__wrapper {
|
|
1023
|
+
display: flex;
|
|
1024
|
+
align-items: center;
|
|
1025
|
+
position: relative;
|
|
1026
|
+
box-sizing: border-box;
|
|
1027
|
+
cursor: pointer;
|
|
1028
|
+
text-align: left;
|
|
1029
|
+
font-size: 14px;
|
|
1030
|
+
padding: 4px 12px;
|
|
1031
|
+
gap: 6px;
|
|
1032
|
+
min-height: 32px;
|
|
1033
|
+
line-height: normal;
|
|
1034
|
+
align-content: center;
|
|
1035
|
+
border-radius: var(--el-border-radius-base);
|
|
1036
|
+
background-color: var(--el-fill-color-blank);
|
|
1037
|
+
transition: var(--el-transition-duration);
|
|
1038
|
+
transform: translateZ(0);
|
|
1039
|
+
border: 1px solid var(--el-border-color);
|
|
1040
|
+
}
|
|
1041
|
+
.pops-panel-select .el-select__wrapper.is-focused,
|
|
1042
|
+
.pops-panel-select-multiple .el-select__wrapper.is-focused {
|
|
1043
|
+
--el-border-color: var(--el-color-primary);
|
|
1044
|
+
}
|
|
1045
|
+
.pops-panel-select .el-select__selection,
|
|
1046
|
+
.pops-panel-select-multiple .el-select__selection {
|
|
1047
|
+
position: relative;
|
|
1048
|
+
display: flex;
|
|
1049
|
+
flex-wrap: wrap;
|
|
1050
|
+
align-items: center;
|
|
1051
|
+
flex: 1;
|
|
1052
|
+
min-width: 0;
|
|
1053
|
+
gap: 6px;
|
|
1054
|
+
}
|
|
1055
|
+
.pops-panel-select .el-select__selection[data-selected-text-align="left"] {
|
|
1056
|
+
justify-content: left;
|
|
1057
|
+
}
|
|
1058
|
+
.pops-panel-select .el-select__selection[data-selected-text-align="center"] {
|
|
1059
|
+
justify-content: center;
|
|
1060
|
+
}
|
|
1061
|
+
.pops-panel-select .el-select__selection[data-selected-text-align="right"] {
|
|
1062
|
+
justify-content: right;
|
|
1063
|
+
}
|
|
1064
|
+
.pops-panel-select .el-select__selected-item,
|
|
1065
|
+
.pops-panel-select-multiple .el-select__selected-item {
|
|
1066
|
+
display: flex;
|
|
1067
|
+
flex-wrap: wrap;
|
|
1068
|
+
-webkit-user-select: none;
|
|
1069
|
+
-moz-user-select: none;
|
|
1070
|
+
-ms-user-select: none;
|
|
1071
|
+
user-select: none;
|
|
1072
|
+
}
|
|
1073
|
+
.pops-panel-select .el-select__selected-item span {
|
|
1074
|
+
overflow: hidden;
|
|
1075
|
+
white-space: nowrap;
|
|
1076
|
+
text-overflow: ellipsis;
|
|
1077
|
+
}
|
|
1078
|
+
.pops-panel-select .el-select__selected-item.el-select__choose_tag .el-tag,
|
|
1079
|
+
.pops-panel-select-multiple .el-select__selected-item.el-select__choose_tag .el-tag {
|
|
1080
|
+
max-width: 200px;
|
|
1081
|
+
}
|
|
1082
|
+
.pops-panel-select .el-select__input-wrapper,
|
|
1083
|
+
.pops-panel-select-multiple .el-select__input-wrapper {
|
|
1084
|
+
max-width: 100%;
|
|
1085
|
+
}
|
|
1086
|
+
.pops-panel-select .el-select__selection.is-near,
|
|
1087
|
+
.pops-panel-select-multiple .el-select__selection.is-near {
|
|
1088
|
+
margin-left: -8px;
|
|
1089
|
+
}
|
|
1090
|
+
.pops-panel-select .el-select__placeholder,
|
|
1091
|
+
.pops-panel-select-multiple .el-select__placeholder {
|
|
1092
|
+
position: absolute;
|
|
1093
|
+
display: block;
|
|
1094
|
+
top: 50%;
|
|
1095
|
+
transform: translateY(-50%);
|
|
1096
|
+
width: 100%;
|
|
1097
|
+
overflow: hidden;
|
|
1098
|
+
text-overflow: ellipsis;
|
|
1099
|
+
white-space: nowrap;
|
|
1100
|
+
color: var(--el-input-text-color, var(--el-text-color-regular));
|
|
1101
|
+
}
|
|
1102
|
+
.pops-panel-select .el-select__placeholder.is-transparent,
|
|
1103
|
+
.pops-panel-select-multiple .el-select__placeholder.is-transparent {
|
|
1104
|
+
-webkit-user-select: none;
|
|
1105
|
+
-moz-user-select: none;
|
|
1106
|
+
-ms-user-select: none;
|
|
1107
|
+
user-select: none;
|
|
1108
|
+
color: var(--el-text-color-placeholder);
|
|
1109
|
+
}
|
|
1110
|
+
.pops-panel-select .el-select__prefix,
|
|
1111
|
+
.pops-panel-select .el-select__suffix,
|
|
1112
|
+
.pops-panel-select-multiple .el-select__prefix,
|
|
1113
|
+
.pops-panel-select-multiple .el-select__suffix {
|
|
1114
|
+
display: flex;
|
|
1115
|
+
align-items: center;
|
|
1116
|
+
flex-shrink: 0;
|
|
1117
|
+
gap: 6px;
|
|
1118
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1119
|
+
}
|
|
1120
|
+
.pops-panel-select .el-icon,
|
|
1121
|
+
.pops-panel-select-multiple .el-icon {
|
|
1122
|
+
--color: inherit;
|
|
1123
|
+
height: 1em;
|
|
1124
|
+
width: 1em;
|
|
1125
|
+
line-height: normal;
|
|
1126
|
+
align-content: center;
|
|
1127
|
+
display: inline-flex;
|
|
1128
|
+
justify-content: center;
|
|
1129
|
+
align-items: center;
|
|
1130
|
+
position: relative;
|
|
1131
|
+
fill: currentColor;
|
|
1132
|
+
color: var(--color);
|
|
1133
|
+
font-size: inherit;
|
|
1134
|
+
}
|
|
1135
|
+
.pops-panel-select .el-icon svg,
|
|
1136
|
+
.pops-panel-select-multiple .el-icon svg {
|
|
1137
|
+
height: 1em;
|
|
1138
|
+
width: 1em;
|
|
1139
|
+
}
|
|
1140
|
+
.pops-panel-select .el-select__caret,
|
|
1141
|
+
.pops-panel-select-multiple .el-select__caret {
|
|
1142
|
+
color: var(--el-select-input-color);
|
|
1143
|
+
font-size: var(--el-select-input-font-size);
|
|
1144
|
+
transition: transform var(--el-transition-duration);
|
|
1145
|
+
transform: rotate(0);
|
|
1146
|
+
cursor: pointer;
|
|
1147
|
+
}
|
|
1148
|
+
/* 把箭头旋转 */
|
|
1149
|
+
.pops-panel-select[data-show-option] .el-select__caret,
|
|
1150
|
+
.pops-panel-select-multiple[data-show-option] .el-select__caret {
|
|
1151
|
+
transform: rotate(180deg);
|
|
1152
|
+
}
|
|
1153
|
+
.pops-panel-select-multiple .el-tag {
|
|
1154
|
+
--el-tag-font-size: 12px;
|
|
1155
|
+
--el-tag-border-radius: 4px;
|
|
1156
|
+
--el-tag-border-radius-rounded: 9999px;
|
|
1157
|
+
}
|
|
1158
|
+
.pops-panel-select-multiple .el-tag {
|
|
1159
|
+
background-color: var(--el-tag-bg-color);
|
|
1160
|
+
border-color: var(--el-tag-border-color);
|
|
1161
|
+
color: var(--el-tag-text-color);
|
|
1162
|
+
display: inline-flex;
|
|
1163
|
+
justify-content: center;
|
|
1164
|
+
align-items: center;
|
|
1165
|
+
vertical-align: middle;
|
|
1166
|
+
height: 24px;
|
|
1167
|
+
padding: 0 9px;
|
|
1168
|
+
font-size: var(--el-tag-font-size);
|
|
1169
|
+
line-height: normal;
|
|
1170
|
+
align-content: center;
|
|
1171
|
+
border-width: 1px;
|
|
1172
|
+
border-style: solid;
|
|
1173
|
+
border-radius: var(--el-tag-border-radius);
|
|
1174
|
+
box-sizing: border-box;
|
|
1175
|
+
white-space: nowrap;
|
|
1176
|
+
--el-icon-size: 14px;
|
|
1177
|
+
--el-tag-bg-color: var(--el-color-primary-light-9);
|
|
1178
|
+
--el-tag-border-color: var(--el-color-primary-light-8);
|
|
1179
|
+
--el-tag-hover-color: var(--el-color-primary);
|
|
1180
|
+
}
|
|
1181
|
+
.pops-panel-select-multiple .el-select__selection .el-tag {
|
|
1182
|
+
cursor: pointer;
|
|
1183
|
+
border-color: transparent;
|
|
1184
|
+
}
|
|
1185
|
+
.pops-panel-select-multiple .el-tag.el-tag--info {
|
|
1186
|
+
--el-tag-bg-color: var(--el-color-info-light-9);
|
|
1187
|
+
--el-tag-border-color: var(--el-color-info-light-8);
|
|
1188
|
+
--el-tag-hover-color: var(--el-color-info);
|
|
1189
|
+
}
|
|
1190
|
+
.pops-panel-select-multiple .el-tag.el-tag--info {
|
|
1191
|
+
--el-tag-text-color: var(--el-color-info);
|
|
1192
|
+
}
|
|
1193
|
+
.pops-panel-select-multiple .el-tag.is-closable {
|
|
1194
|
+
padding-right: 5px;
|
|
1195
|
+
}
|
|
1196
|
+
.pops-panel-select-multiple .el-select__selection .el-tag .el-tag__content {
|
|
1197
|
+
min-width: 0;
|
|
1198
|
+
}
|
|
1199
|
+
.pops-panel-select-multiple .el-tag .el-tag__close {
|
|
1200
|
+
flex-shrink: 0;
|
|
1201
|
+
color: var(--el-tag-text-color);
|
|
1202
|
+
}
|
|
1203
|
+
.pops-panel-select-multiple .el-tag .el-tag__close:hover {
|
|
1204
|
+
color: var(--el-color-white);
|
|
1205
|
+
background-color: var(--el-tag-hover-color);
|
|
1206
|
+
}
|
|
1207
|
+
.pops-panel-select-multiple .el-tag .el-icon {
|
|
1208
|
+
border-radius: 50%;
|
|
1209
|
+
cursor: pointer;
|
|
1210
|
+
font-size: calc(var(--el-icon-size) - 2px);
|
|
1211
|
+
height: var(--el-icon-size);
|
|
1212
|
+
width: var(--el-icon-size);
|
|
1213
|
+
}
|
|
1214
|
+
.pops-panel-select-multiple .el-tag .el-tag__close {
|
|
1215
|
+
margin-left: 6px;
|
|
1216
|
+
}
|
|
1217
|
+
.pops-panel-select-multiple .el-select__tags-text {
|
|
1218
|
+
display: block;
|
|
1219
|
+
line-height: normal;
|
|
1220
|
+
align-content: center;
|
|
1221
|
+
overflow: hidden;
|
|
1222
|
+
text-overflow: ellipsis;
|
|
1223
|
+
white-space: nowrap;
|
|
1224
|
+
}
|
|
1225
|
+
/* 禁用样式 */
|
|
1226
|
+
.pops-panel-select-disable {
|
|
1227
|
+
--el-fill-color-blank: #f5f7fa;
|
|
1228
|
+
--color: #a8abb2;
|
|
1229
|
+
--el-border-color: #cbcbcb;
|
|
1230
|
+
}
|
|
1231
|
+
.pops-panel-select-disable .el-tag.el-tag--info {
|
|
1232
|
+
--el-tag-bg-color: #e7e7e7;
|
|
1233
|
+
--el-tag-text-color: var(--pops-components-is-disabled-text-color);
|
|
1234
|
+
}
|
|
1235
|
+
.pops-panel-select-disable .el-select__selection .el-tag,
|
|
1236
|
+
.pops-panel-select-disable .el-tag .el-tag__close:hover,
|
|
1237
|
+
.pops-panel-select-disable .el-select__wrapper,
|
|
1238
|
+
.pops-panel-select-disable .el-select__caret {
|
|
1239
|
+
cursor: not-allowed;
|
|
1240
|
+
}
|
|
1241
|
+
/* select-multiple的CSS*/
|
|
1242
|
+
|
|
1243
|
+
/* deepMenu的css */
|
|
1244
|
+
.pops-panel-deepMenu-nav-item {
|
|
1245
|
+
cursor: pointer;
|
|
1246
|
+
}
|
|
1247
|
+
.pops-panel-deepMenu-nav-item:active {
|
|
1248
|
+
background: var(--pops-panel-forms-container-deepMenu-item-active-bg);
|
|
1249
|
+
-webkit-user-select: none;
|
|
1250
|
+
-moz-user-select: none;
|
|
1251
|
+
-ms-user-select: none;
|
|
1252
|
+
user-select: none;
|
|
1253
|
+
}
|
|
1254
|
+
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:active {
|
|
1255
|
+
padding: var(--pops-panel-forms-container-li-padding-top-bottom)
|
|
1256
|
+
var(--pops-panel-forms-container-li-padding-left-right);
|
|
1257
|
+
margin: 0px;
|
|
1258
|
+
}
|
|
1259
|
+
/* 去除上个兄弟item的底部边框颜色 */
|
|
1260
|
+
section.pops-panel-container .pops-panel-forms-container-item ul li:has(+ .pops-panel-deepMenu-nav-item:active) {
|
|
1261
|
+
border-bottom: 1px solid transparent;
|
|
1262
|
+
}
|
|
1263
|
+
/* 第一个和最后一个跟随圆角 */
|
|
1264
|
+
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:first-child:active {
|
|
1265
|
+
border-top-left-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1266
|
+
border-top-right-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1267
|
+
}
|
|
1268
|
+
section.pops-panel-container .pops-panel-forms-container-item ul li.pops-panel-deepMenu-nav-item:last-child:active {
|
|
1269
|
+
border-bottom-left-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1270
|
+
border-bottom-right-radius: var(--pops-panel-forms-container-item-border-radius);
|
|
1271
|
+
}
|
|
1272
|
+
.pops-panel-deepMenu-nav-item .pops-panel-deepMenu {
|
|
1273
|
+
display: flex;
|
|
1274
|
+
align-items: center;
|
|
1275
|
+
color: #6c6c6c;
|
|
1276
|
+
fill: #6c6c6c;
|
|
1277
|
+
}
|
|
1278
|
+
.pops-panel-deepMenu-nav-item .pops-panel-deepMenu-arrowRight-icon {
|
|
1279
|
+
width: 15px;
|
|
1280
|
+
height: 15px;
|
|
1281
|
+
display: flex;
|
|
1282
|
+
align-items: center;
|
|
1283
|
+
}
|
|
1284
|
+
section.pops-panel-deepMenu-container .pops-panel-container-header-ul li.pops-panel-deepMenu-container-header {
|
|
1285
|
+
display: flex;
|
|
1286
|
+
align-items: center;
|
|
1287
|
+
width: -moz-available;
|
|
1288
|
+
width: -webkit-fill-available;
|
|
1289
|
+
padding: var(--pops-panel-forms-header-padding-top-bottom)
|
|
1290
|
+
calc(
|
|
1291
|
+
var(--pops-panel-forms-margin-left-right) + var(--pops-panel-forms-container-li-padding-left-right) -
|
|
1292
|
+
var(--pops-panel-forms-header-icon-size)
|
|
1293
|
+
);
|
|
1294
|
+
gap: 0px;
|
|
1295
|
+
}
|
|
1296
|
+
.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {
|
|
1297
|
+
width: var(--pops-panel-forms-header-icon-size);
|
|
1298
|
+
height: var(--pops-panel-forms-header-icon-size);
|
|
1299
|
+
display: flex;
|
|
1300
|
+
align-items: center;
|
|
1301
|
+
cursor: pointer;
|
|
1302
|
+
}
|
|
1303
|
+
/* 修复safari上图标大小未正常显示 */
|
|
1304
|
+
.pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon > svg {
|
|
1305
|
+
width: inherit;
|
|
1306
|
+
height: inherit;
|
|
1307
|
+
}
|
|
1308
|
+
/* deepMenu的css */
|
|
1309
|
+
|
|
1310
|
+
/* 文字对齐 */
|
|
1311
|
+
.pops-panel-item-left-desc-text:has(code) {
|
|
1312
|
+
display: flex;
|
|
1313
|
+
align-items: baseline;
|
|
1314
|
+
flex-wrap: wrap;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
@media (prefers-color-scheme: dark) {
|
|
1318
|
+
.pops[type-value="panel"] {
|
|
1319
|
+
--pops-bg-color: #000000;
|
|
1320
|
+
--pops-color: #f2f2f2;
|
|
1321
|
+
--panel-title-bg-color: #000000;
|
|
1322
|
+
--panel-aside-bg-color: #262626;
|
|
1323
|
+
--pops-panel-forms-container-item-left-desc-text-color: #6c6c6c;
|
|
1324
|
+
--pops-panel-forms-container-item-bg-color: #262626;
|
|
1325
|
+
--pops-panel-forms-container-item-title-color: #c1c1c1;
|
|
1326
|
+
|
|
1327
|
+
--pops-panel-forms-container-li-border-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1328
|
+
--pops-panel-forms-container-deepMenu-item-active-bg: #333333;
|
|
1329
|
+
}
|
|
1330
|
+
.pops[type-value="panel"] .pops-panel-deepMenu-container .pops-panel-deepMenu-container-left-arrow-icon {
|
|
1331
|
+
fill: #f2f2f2;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/* switch的CSS */
|
|
1335
|
+
.pops-panel-switch {
|
|
1336
|
+
--panel-switch-core-bd-color: rgb(220, 223, 230, var(--pops-bd-opacity));
|
|
1337
|
+
--panel-switch-core-bg-color: rgb(220, 223, 230, var(--pops-bg-opacity));
|
|
1338
|
+
--panel-switch-circle-color: #dcdfe6;
|
|
1339
|
+
--panel-switch-circle-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
1340
|
+
--panel-switch-checked-circle-color: #409eff;
|
|
1341
|
+
--panel-switch-checked-core-bd-color: rgb(64, 158, 255, var(--pops-bd-opacity));
|
|
1342
|
+
--panel-switch-checked-core-bg-color: rgb(64, 158, 255, var(--pops-bg-opacity));
|
|
1343
|
+
}
|
|
1344
|
+
/* select的CSS */
|
|
1345
|
+
.pops-panel-select {
|
|
1346
|
+
--pops-panel-components-select-text-color: #f2f2f2;
|
|
1347
|
+
--pops-panel-components-select-bd-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1348
|
+
--pops-panel-components-select-bg-color: #141414;
|
|
1349
|
+
}
|
|
1350
|
+
/* select-multiple的CSS*/
|
|
1351
|
+
.pops-panel-select-multiple {
|
|
1352
|
+
--el-fill-color-blank: #141414;
|
|
1353
|
+
--el-border-color: #4c4d4f;
|
|
1354
|
+
--el-text-color-placeholder: #a8abb2;
|
|
1355
|
+
--el-select-input-color: #a8abb2;
|
|
1356
|
+
--el-text-color-regular: #606266;
|
|
1357
|
+
--el-color-info: #909399;
|
|
1358
|
+
--el-color-info-light-8: #e9e9eb;
|
|
1359
|
+
--el-color-primary-light-9: #ecf5ff;
|
|
1360
|
+
--el-color-primary-light-8: #d9ecff;
|
|
1361
|
+
--el-color-primary: #409eff;
|
|
1362
|
+
--el-color-white: #ffffff;
|
|
1363
|
+
}
|
|
1364
|
+
.pops-panel-select-multiple .el-tag {
|
|
1365
|
+
--el-color-info-light-9: #202121;
|
|
1366
|
+
}
|
|
1367
|
+
.pops-panel-select-multiple-disable {
|
|
1368
|
+
--el-border-color: rgb(51, 51, 51, var(--pops-bd-opacity));
|
|
1369
|
+
}
|
|
1370
|
+
.pops-panel-select-multiple-disable .el-tag.el-tag--info {
|
|
1371
|
+
--el-tag-bg-color: #2f2f2f;
|
|
1372
|
+
}
|
|
1373
|
+
/* select-multiple的CSS*/
|
|
1374
|
+
/* slider的CSS */
|
|
1375
|
+
.pops-slider {
|
|
1376
|
+
--pops-slider-border-color-light: #414243;
|
|
1377
|
+
}
|
|
1378
|
+
/* input的CSS */
|
|
1379
|
+
.pops-panel-input {
|
|
1380
|
+
--pops-panel-components-input-text-color: #f2f2f2;
|
|
1381
|
+
--pops-panel-components-input-bd-color: #4f5052;
|
|
1382
|
+
--pops-panel-components-input-bg-color: #141414;
|
|
1383
|
+
--pops-panel-components-input-hover-bd-color: #6f7175;
|
|
1384
|
+
--pops-panel-components-input-focus-bd-color: #409eff;
|
|
1385
|
+
--pops-panel-components-input-suffix-color: #a8abb2;
|
|
1386
|
+
}
|
|
1387
|
+
/* textarea的CSS */
|
|
1388
|
+
.pops-panel-textarea {
|
|
1389
|
+
--pops-panel-components-textarea-text-color: #f2f2f2;
|
|
1390
|
+
--pops-panel-components-textarea-text-bg-color: #141414;
|
|
1391
|
+
--pops-panel-components-textarea-bd-color: #4f5052;
|
|
1392
|
+
--pops-panel-components-textarea-hover-bd-color: #6f7175;
|
|
1393
|
+
--pops-panel-components-textarea-focus-bd-color: #409eff;
|
|
1394
|
+
}
|
|
1395
|
+
.pops-panel-textarea-disable {
|
|
1396
|
+
--pops-panel-components-textarea-text-color: var(--pops-components-is-disabled-text-color);
|
|
1397
|
+
--pops-panel-components-textarea-text-bg-color: var(--pops-components-is-disabled-bg-color);
|
|
1398
|
+
}
|
|
1399
|
+
/* slider */
|
|
1400
|
+
.pops-slider {
|
|
1401
|
+
--pops-slider-text-color-placeholder: #8d9095;
|
|
1402
|
+
}
|
|
1403
|
+
}
|