@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,303 +1,303 @@
|
|
|
1
|
-
.pops-folder-list {
|
|
2
|
-
--folder-arrow-fill-color: #d4d7de;
|
|
3
|
-
--folder-arrow-active-fill-color: #06a7ff;
|
|
4
|
-
--header-breadcrumb-text-color: #06a7ff;
|
|
5
|
-
--header-breadcrumb-all-files-text-color: var(--header-breadcrumb-text-color);
|
|
6
|
-
--header-breadcrumb-all-files-first-text-color: var(--header-breadcrumb-text-color);
|
|
7
|
-
--header-breadcrumb-all-files-last-text-color: #999999;
|
|
8
|
-
--table-header-row-text-color: #818999;
|
|
9
|
-
--table-body-td-text-color: rgb(247, 248, 250, var(--pops-bg-opacity));
|
|
10
|
-
--table-body-th-text-color: rgb(247, 248, 250, var(--pops-bg-opacity));
|
|
11
|
-
--table-body-row-text-color: #05082c;
|
|
12
|
-
--table-body-row-file-name-text-color: #05082c;
|
|
13
|
-
--table-body-row-hover-bd-color: rgb(245, 246, 247, var(--pops-bg-opacity));
|
|
14
|
-
--table-body-row-hover-bg-color: rgb(245, 246, 247, var(--pops-bg-opacity));
|
|
15
|
-
--table-body-row-file-name-hover-text-color: #06a7ff;
|
|
16
|
-
--table-body-row-content-text-color: #818999;
|
|
17
|
-
}
|
|
18
|
-
.pops-folder-list .cursor-p {
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
}
|
|
21
|
-
.pops-folder-list a {
|
|
22
|
-
background: 0 0;
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
-webkit-tap-highlight-color: transparent;
|
|
25
|
-
color: var(--header-breadcrumb-text-color);
|
|
26
|
-
}
|
|
27
|
-
table.pops-folder-list-table__body,
|
|
28
|
-
table.pops-folder-list-table__header {
|
|
29
|
-
width: 100%;
|
|
30
|
-
table-layout: fixed;
|
|
31
|
-
border-collapse: collapse;
|
|
32
|
-
border-spacing: 0;
|
|
33
|
-
padding: 0 20px;
|
|
34
|
-
}
|
|
35
|
-
table.pops-folder-list-table__body,
|
|
36
|
-
table.pops-folder-list-table__header {
|
|
37
|
-
height: 100%;
|
|
38
|
-
background: 0 0;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
display: -webkit-box;
|
|
41
|
-
display: -ms-flexbox;
|
|
42
|
-
-ms-flex-direction: column;
|
|
43
|
-
-webkit-box-orient: vertical;
|
|
44
|
-
-webkit-box-direction: normal;
|
|
45
|
-
}
|
|
46
|
-
table.pops-folder-list-table__body {
|
|
47
|
-
height: 100%;
|
|
48
|
-
-webkit-user-select: none;
|
|
49
|
-
-moz-user-select: none;
|
|
50
|
-
-ms-user-select: none;
|
|
51
|
-
user-select: none;
|
|
52
|
-
}
|
|
53
|
-
.pops-folder-list table tr {
|
|
54
|
-
line-height: normal;
|
|
55
|
-
align-content: center;
|
|
56
|
-
}
|
|
57
|
-
.pops-folder-list-table__header-row {
|
|
58
|
-
height: 50px;
|
|
59
|
-
line-height: normal;
|
|
60
|
-
align-content: center;
|
|
61
|
-
color: var(--table-header-row-text-color);
|
|
62
|
-
text-align: left;
|
|
63
|
-
font-size: 12px;
|
|
64
|
-
-webkit-user-select: none;
|
|
65
|
-
-moz-user-select: none;
|
|
66
|
-
-ms-user-select: none;
|
|
67
|
-
user-select: none;
|
|
68
|
-
}
|
|
69
|
-
.pops-folder-list-table__body-row {
|
|
70
|
-
height: 50px;
|
|
71
|
-
line-height: normal;
|
|
72
|
-
align-content: center;
|
|
73
|
-
color: var(--table-body-row-text-color);
|
|
74
|
-
font-size: 12px;
|
|
75
|
-
}
|
|
76
|
-
.pops-folder-list-table__body-row:hover {
|
|
77
|
-
background-color: var(--table-body-row-hover-bg-color);
|
|
78
|
-
border-color: var(--table-body-row-hover-bd-color);
|
|
79
|
-
border: 0;
|
|
80
|
-
outline: none;
|
|
81
|
-
}
|
|
82
|
-
.pops-folder-list table th {
|
|
83
|
-
border: 0;
|
|
84
|
-
border-bottom: 1px solid var(--table-body-th-text-color);
|
|
85
|
-
}
|
|
86
|
-
.pops-folder-list table td {
|
|
87
|
-
border: 0;
|
|
88
|
-
border-bottom: 1px solid var(--table-body-td-text-color);
|
|
89
|
-
position: relative;
|
|
90
|
-
}
|
|
91
|
-
.pops-folder-list .list-name-text {
|
|
92
|
-
display: inline-block;
|
|
93
|
-
padding-left: 12px;
|
|
94
|
-
line-height: normal;
|
|
95
|
-
align-content: center;
|
|
96
|
-
max-width: 176px;
|
|
97
|
-
}
|
|
98
|
-
.pops-folder-list-file-name > div {
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.pops-mobile-folder-list-file-name {
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
}
|
|
107
|
-
.pops-mobile-folder-list-file-name > div {
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-wrap: wrap;
|
|
110
|
-
justify-content: flex-start;
|
|
111
|
-
align-items: flex-start;
|
|
112
|
-
padding: 6px 0px;
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
}
|
|
115
|
-
.pops-mobile-folder-list-file-name img.pops-folder-list-file-icon {
|
|
116
|
-
width: 45px;
|
|
117
|
-
height: 45px;
|
|
118
|
-
}
|
|
119
|
-
.pops-mobile-folder-list-file-name a.pops-folder-list-file-name-title-text {
|
|
120
|
-
padding-left: unset;
|
|
121
|
-
max-width: 250px;
|
|
122
|
-
overflow-x: hidden;
|
|
123
|
-
font-weight: 400;
|
|
124
|
-
line-height: unset;
|
|
125
|
-
margin-bottom: 4px;
|
|
126
|
-
white-space: normal;
|
|
127
|
-
text-overflow: unset;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/* 修改滚动 */
|
|
131
|
-
.pops-folder-content {
|
|
132
|
-
overflow: hidden !important;
|
|
133
|
-
}
|
|
134
|
-
.pops-folder-content .pops-folder-list {
|
|
135
|
-
height: 100%;
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: column;
|
|
138
|
-
}
|
|
139
|
-
.pops-folder-content .pops-folder-list-table__body-div {
|
|
140
|
-
height: 100%;
|
|
141
|
-
flex: 1 auto;
|
|
142
|
-
overflow: auto;
|
|
143
|
-
padding-bottom: 0;
|
|
144
|
-
}
|
|
145
|
-
.pops-mobile-folder-content .pops-folder-list-table__body-div {
|
|
146
|
-
height: 100%;
|
|
147
|
-
flex: 1 auto;
|
|
148
|
-
overflow: auto;
|
|
149
|
-
padding-bottom: 0;
|
|
150
|
-
}
|
|
151
|
-
.pops-folder-content table.pops-folder-list-table__body {
|
|
152
|
-
overflow: auto;
|
|
153
|
-
}
|
|
154
|
-
.pops-folder-content .pops-folder-list-table__header-div {
|
|
155
|
-
flex: 0;
|
|
156
|
-
}
|
|
157
|
-
.pops-mobile-folder-content .pops-folder-list-table__header-div {
|
|
158
|
-
display: none;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.pops-folder-list .pops-folder-list-file-name-title-text {
|
|
162
|
-
color: var(--table-body-row-file-name-text-color);
|
|
163
|
-
}
|
|
164
|
-
.pops-folder-list .pops-folder-list-file-name-title-text:hover {
|
|
165
|
-
text-decoration: none;
|
|
166
|
-
color: var(--table-body-row-file-name-hover-text-color);
|
|
167
|
-
}
|
|
168
|
-
.pops-folder-list .text-ellip {
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
white-space: nowrap;
|
|
171
|
-
text-overflow: ellipsis;
|
|
172
|
-
}
|
|
173
|
-
.pops-folder-list .content {
|
|
174
|
-
color: var(--table-body-row-content-text-color);
|
|
175
|
-
position: relative;
|
|
176
|
-
width: 100%;
|
|
177
|
-
text-align: left;
|
|
178
|
-
}
|
|
179
|
-
.pops-folder-list .inline-block-v-middle {
|
|
180
|
-
display: inline-block;
|
|
181
|
-
vertical-align: middle;
|
|
182
|
-
}
|
|
183
|
-
.pops-folder-list .flex-a-i-center {
|
|
184
|
-
display: flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
}
|
|
187
|
-
.pops-folder-list .u-file-icon {
|
|
188
|
-
display: inline-block;
|
|
189
|
-
vertical-align: middle;
|
|
190
|
-
}
|
|
191
|
-
.pops-folder-list .u-file-icon--list {
|
|
192
|
-
width: 32px;
|
|
193
|
-
height: 32px;
|
|
194
|
-
}
|
|
195
|
-
.pops-folder-list .pops-folder-list-file-icon {
|
|
196
|
-
line-height: normal;
|
|
197
|
-
align-content: center;
|
|
198
|
-
position: relative;
|
|
199
|
-
vertical-align: middle;
|
|
200
|
-
}
|
|
201
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb-primary {
|
|
202
|
-
flex: 1;
|
|
203
|
-
display: -webkit-box;
|
|
204
|
-
display: -webkit-flex;
|
|
205
|
-
display: -ms-flexbox;
|
|
206
|
-
display: flex;
|
|
207
|
-
-webkit-box-align: center;
|
|
208
|
-
-webkit-align-items: center;
|
|
209
|
-
-ms-flex-align: center;
|
|
210
|
-
align-items: center;
|
|
211
|
-
-webkit-box-orient: horizontal;
|
|
212
|
-
-webkit-box-direction: normal;
|
|
213
|
-
-webkit-flex-direction: row;
|
|
214
|
-
-ms-flex-direction: row;
|
|
215
|
-
flex-direction: row;
|
|
216
|
-
min-height: 17px;
|
|
217
|
-
flex-wrap: wrap;
|
|
218
|
-
}
|
|
219
|
-
.pops-folder-list .pops-folder-list-table__sort {
|
|
220
|
-
display: inline-flex;
|
|
221
|
-
margin-left: 4px;
|
|
222
|
-
flex-direction: column;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.pops-folder-list .pops-folder-icon-arrow {
|
|
226
|
-
width: 10px;
|
|
227
|
-
height: 10px;
|
|
228
|
-
fill: var(--folder-arrow-fill-color);
|
|
229
|
-
}
|
|
230
|
-
.pops-folder-list .pops-folder-icon-active {
|
|
231
|
-
fill: var(--folder-arrow-active-fill-color);
|
|
232
|
-
}
|
|
233
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb {
|
|
234
|
-
padding: 4px 20px;
|
|
235
|
-
-webkit-box-sizing: border-box;
|
|
236
|
-
box-sizing: border-box;
|
|
237
|
-
display: -webkit-box;
|
|
238
|
-
display: -webkit-flex;
|
|
239
|
-
display: -ms-flexbox;
|
|
240
|
-
display: flex;
|
|
241
|
-
-webkit-box-align: center;
|
|
242
|
-
-webkit-align-items: center;
|
|
243
|
-
-ms-flex-align: center;
|
|
244
|
-
align-items: center;
|
|
245
|
-
-webkit-box-orient: horizontal;
|
|
246
|
-
-webkit-box-direction: normal;
|
|
247
|
-
-webkit-flex-direction: row;
|
|
248
|
-
-ms-flex-direction: row;
|
|
249
|
-
flex-direction: row;
|
|
250
|
-
-webkit-box-pack: start;
|
|
251
|
-
-webkit-justify-content: start;
|
|
252
|
-
-ms-flex-pack: start;
|
|
253
|
-
justify-content: flex-start;
|
|
254
|
-
min-height: 35px;
|
|
255
|
-
}
|
|
256
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles {
|
|
257
|
-
font-size: 12px;
|
|
258
|
-
color: var(--header-breadcrumb-all-files-text-color);
|
|
259
|
-
line-height: normal;
|
|
260
|
-
align-content: center;
|
|
261
|
-
font-weight: 700;
|
|
262
|
-
display: inline-block;
|
|
263
|
-
max-width: 140px;
|
|
264
|
-
overflow: hidden;
|
|
265
|
-
text-overflow: ellipsis;
|
|
266
|
-
white-space: nowrap;
|
|
267
|
-
word-wrap: normal;
|
|
268
|
-
}
|
|
269
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:last-child a {
|
|
270
|
-
color: var(--header-breadcrumb-all-files-last-text-color);
|
|
271
|
-
}
|
|
272
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:first-child a {
|
|
273
|
-
font-size: 14px;
|
|
274
|
-
color: var(--header-breadcrumb-all-files-first-text-color);
|
|
275
|
-
}
|
|
276
|
-
.pops-folder-list .pops-folder-file-list-breadcrumb .iconArrow {
|
|
277
|
-
width: 16px;
|
|
278
|
-
height: 16px;
|
|
279
|
-
}
|
|
280
|
-
.pops-folder-list .iconArrow {
|
|
281
|
-
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAASCAMAAABYd88+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTOLi4uLi4t7e3uPj49/f397e3t3d3f///97e3vDw8N3d3d7e3t3d3d3d3ejo6N/f397e3t7e3t3d3d/f393d3d3d3RK+NoEAAAAWdFJOUwAnM4YPU/iQA+UIeMDaHhY41i7zX7UebpjFAAAAUElEQVQI15XOORaAIAwE0LATXHCd+x9VfCiksXCq+UUWou8oZ1vXHrt7YVBiYkW4gdMKYFIC4CSATWCNHWPuM6HuHkr1x3N0ZrBu/9gl0b9c3+kF7C7hS1YAAAAASUVORK5CYII=)
|
|
282
|
-
55% 50%/6px 9px no-repeat;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
@media (prefers-color-scheme: dark) {
|
|
286
|
-
.pops[type-value="folder"] {
|
|
287
|
-
--pops-title-border-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
288
|
-
--pops-bottom-btn-controls-border-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
289
|
-
}
|
|
290
|
-
.pops-folder-list {
|
|
291
|
-
--header-breadcrumb-text-color: #06a7ff;
|
|
292
|
-
--header-breadcrumb-all-files-text-color: var(--header-breadcrumb-text-color);
|
|
293
|
-
--header-breadcrumb-all-files-first-text-color: var(--header-breadcrumb-text-color);
|
|
294
|
-
--header-breadcrumb-all-files-last-text-color: #818999;
|
|
295
|
-
--table-body-row-text-color: #f7f8fa;
|
|
296
|
-
--table-body-td-text-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
297
|
-
--table-body-th-text-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
298
|
-
--table-body-td-text-color: #495366;
|
|
299
|
-
--table-body-row-hover-bd-color: #1f2022;
|
|
300
|
-
--table-body-row-hover-bg-color: #1f2022;
|
|
301
|
-
--table-body-row-file-name-text-color: #f7f8fa;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
1
|
+
.pops-folder-list {
|
|
2
|
+
--folder-arrow-fill-color: #d4d7de;
|
|
3
|
+
--folder-arrow-active-fill-color: #06a7ff;
|
|
4
|
+
--header-breadcrumb-text-color: #06a7ff;
|
|
5
|
+
--header-breadcrumb-all-files-text-color: var(--header-breadcrumb-text-color);
|
|
6
|
+
--header-breadcrumb-all-files-first-text-color: var(--header-breadcrumb-text-color);
|
|
7
|
+
--header-breadcrumb-all-files-last-text-color: #999999;
|
|
8
|
+
--table-header-row-text-color: #818999;
|
|
9
|
+
--table-body-td-text-color: rgb(247, 248, 250, var(--pops-bg-opacity));
|
|
10
|
+
--table-body-th-text-color: rgb(247, 248, 250, var(--pops-bg-opacity));
|
|
11
|
+
--table-body-row-text-color: #05082c;
|
|
12
|
+
--table-body-row-file-name-text-color: #05082c;
|
|
13
|
+
--table-body-row-hover-bd-color: rgb(245, 246, 247, var(--pops-bg-opacity));
|
|
14
|
+
--table-body-row-hover-bg-color: rgb(245, 246, 247, var(--pops-bg-opacity));
|
|
15
|
+
--table-body-row-file-name-hover-text-color: #06a7ff;
|
|
16
|
+
--table-body-row-content-text-color: #818999;
|
|
17
|
+
}
|
|
18
|
+
.pops-folder-list .cursor-p {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.pops-folder-list a {
|
|
22
|
+
background: 0 0;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
-webkit-tap-highlight-color: transparent;
|
|
25
|
+
color: var(--header-breadcrumb-text-color);
|
|
26
|
+
}
|
|
27
|
+
table.pops-folder-list-table__body,
|
|
28
|
+
table.pops-folder-list-table__header {
|
|
29
|
+
width: 100%;
|
|
30
|
+
table-layout: fixed;
|
|
31
|
+
border-collapse: collapse;
|
|
32
|
+
border-spacing: 0;
|
|
33
|
+
padding: 0 20px;
|
|
34
|
+
}
|
|
35
|
+
table.pops-folder-list-table__body,
|
|
36
|
+
table.pops-folder-list-table__header {
|
|
37
|
+
height: 100%;
|
|
38
|
+
background: 0 0;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
display: -webkit-box;
|
|
41
|
+
display: -ms-flexbox;
|
|
42
|
+
-ms-flex-direction: column;
|
|
43
|
+
-webkit-box-orient: vertical;
|
|
44
|
+
-webkit-box-direction: normal;
|
|
45
|
+
}
|
|
46
|
+
table.pops-folder-list-table__body {
|
|
47
|
+
height: 100%;
|
|
48
|
+
-webkit-user-select: none;
|
|
49
|
+
-moz-user-select: none;
|
|
50
|
+
-ms-user-select: none;
|
|
51
|
+
user-select: none;
|
|
52
|
+
}
|
|
53
|
+
.pops-folder-list table tr {
|
|
54
|
+
line-height: normal;
|
|
55
|
+
align-content: center;
|
|
56
|
+
}
|
|
57
|
+
.pops-folder-list-table__header-row {
|
|
58
|
+
height: 50px;
|
|
59
|
+
line-height: normal;
|
|
60
|
+
align-content: center;
|
|
61
|
+
color: var(--table-header-row-text-color);
|
|
62
|
+
text-align: left;
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
-webkit-user-select: none;
|
|
65
|
+
-moz-user-select: none;
|
|
66
|
+
-ms-user-select: none;
|
|
67
|
+
user-select: none;
|
|
68
|
+
}
|
|
69
|
+
.pops-folder-list-table__body-row {
|
|
70
|
+
height: 50px;
|
|
71
|
+
line-height: normal;
|
|
72
|
+
align-content: center;
|
|
73
|
+
color: var(--table-body-row-text-color);
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
}
|
|
76
|
+
.pops-folder-list-table__body-row:hover {
|
|
77
|
+
background-color: var(--table-body-row-hover-bg-color);
|
|
78
|
+
border-color: var(--table-body-row-hover-bd-color);
|
|
79
|
+
border: 0;
|
|
80
|
+
outline: none;
|
|
81
|
+
}
|
|
82
|
+
.pops-folder-list table th {
|
|
83
|
+
border: 0;
|
|
84
|
+
border-bottom: 1px solid var(--table-body-th-text-color);
|
|
85
|
+
}
|
|
86
|
+
.pops-folder-list table td {
|
|
87
|
+
border: 0;
|
|
88
|
+
border-bottom: 1px solid var(--table-body-td-text-color);
|
|
89
|
+
position: relative;
|
|
90
|
+
}
|
|
91
|
+
.pops-folder-list .list-name-text {
|
|
92
|
+
display: inline-block;
|
|
93
|
+
padding-left: 12px;
|
|
94
|
+
line-height: normal;
|
|
95
|
+
align-content: center;
|
|
96
|
+
max-width: 176px;
|
|
97
|
+
}
|
|
98
|
+
.pops-folder-list-file-name > div {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.pops-mobile-folder-list-file-name {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
}
|
|
107
|
+
.pops-mobile-folder-list-file-name > div {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
justify-content: flex-start;
|
|
111
|
+
align-items: flex-start;
|
|
112
|
+
padding: 6px 0px;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
}
|
|
115
|
+
.pops-mobile-folder-list-file-name img.pops-folder-list-file-icon {
|
|
116
|
+
width: 45px;
|
|
117
|
+
height: 45px;
|
|
118
|
+
}
|
|
119
|
+
.pops-mobile-folder-list-file-name a.pops-folder-list-file-name-title-text {
|
|
120
|
+
padding-left: unset;
|
|
121
|
+
max-width: 250px;
|
|
122
|
+
overflow-x: hidden;
|
|
123
|
+
font-weight: 400;
|
|
124
|
+
line-height: unset;
|
|
125
|
+
margin-bottom: 4px;
|
|
126
|
+
white-space: normal;
|
|
127
|
+
text-overflow: unset;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* 修改滚动 */
|
|
131
|
+
.pops-folder-content {
|
|
132
|
+
overflow: hidden !important;
|
|
133
|
+
}
|
|
134
|
+
.pops-folder-content .pops-folder-list {
|
|
135
|
+
height: 100%;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
}
|
|
139
|
+
.pops-folder-content .pops-folder-list-table__body-div {
|
|
140
|
+
height: 100%;
|
|
141
|
+
flex: 1 auto;
|
|
142
|
+
overflow: auto;
|
|
143
|
+
padding-bottom: 0;
|
|
144
|
+
}
|
|
145
|
+
.pops-mobile-folder-content .pops-folder-list-table__body-div {
|
|
146
|
+
height: 100%;
|
|
147
|
+
flex: 1 auto;
|
|
148
|
+
overflow: auto;
|
|
149
|
+
padding-bottom: 0;
|
|
150
|
+
}
|
|
151
|
+
.pops-folder-content table.pops-folder-list-table__body {
|
|
152
|
+
overflow: auto;
|
|
153
|
+
}
|
|
154
|
+
.pops-folder-content .pops-folder-list-table__header-div {
|
|
155
|
+
flex: 0;
|
|
156
|
+
}
|
|
157
|
+
.pops-mobile-folder-content .pops-folder-list-table__header-div {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.pops-folder-list .pops-folder-list-file-name-title-text {
|
|
162
|
+
color: var(--table-body-row-file-name-text-color);
|
|
163
|
+
}
|
|
164
|
+
.pops-folder-list .pops-folder-list-file-name-title-text:hover {
|
|
165
|
+
text-decoration: none;
|
|
166
|
+
color: var(--table-body-row-file-name-hover-text-color);
|
|
167
|
+
}
|
|
168
|
+
.pops-folder-list .text-ellip {
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
text-overflow: ellipsis;
|
|
172
|
+
}
|
|
173
|
+
.pops-folder-list .content {
|
|
174
|
+
color: var(--table-body-row-content-text-color);
|
|
175
|
+
position: relative;
|
|
176
|
+
width: 100%;
|
|
177
|
+
text-align: left;
|
|
178
|
+
}
|
|
179
|
+
.pops-folder-list .inline-block-v-middle {
|
|
180
|
+
display: inline-block;
|
|
181
|
+
vertical-align: middle;
|
|
182
|
+
}
|
|
183
|
+
.pops-folder-list .flex-a-i-center {
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
}
|
|
187
|
+
.pops-folder-list .u-file-icon {
|
|
188
|
+
display: inline-block;
|
|
189
|
+
vertical-align: middle;
|
|
190
|
+
}
|
|
191
|
+
.pops-folder-list .u-file-icon--list {
|
|
192
|
+
width: 32px;
|
|
193
|
+
height: 32px;
|
|
194
|
+
}
|
|
195
|
+
.pops-folder-list .pops-folder-list-file-icon {
|
|
196
|
+
line-height: normal;
|
|
197
|
+
align-content: center;
|
|
198
|
+
position: relative;
|
|
199
|
+
vertical-align: middle;
|
|
200
|
+
}
|
|
201
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb-primary {
|
|
202
|
+
flex: 1;
|
|
203
|
+
display: -webkit-box;
|
|
204
|
+
display: -webkit-flex;
|
|
205
|
+
display: -ms-flexbox;
|
|
206
|
+
display: flex;
|
|
207
|
+
-webkit-box-align: center;
|
|
208
|
+
-webkit-align-items: center;
|
|
209
|
+
-ms-flex-align: center;
|
|
210
|
+
align-items: center;
|
|
211
|
+
-webkit-box-orient: horizontal;
|
|
212
|
+
-webkit-box-direction: normal;
|
|
213
|
+
-webkit-flex-direction: row;
|
|
214
|
+
-ms-flex-direction: row;
|
|
215
|
+
flex-direction: row;
|
|
216
|
+
min-height: 17px;
|
|
217
|
+
flex-wrap: wrap;
|
|
218
|
+
}
|
|
219
|
+
.pops-folder-list .pops-folder-list-table__sort {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
margin-left: 4px;
|
|
222
|
+
flex-direction: column;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.pops-folder-list .pops-folder-icon-arrow {
|
|
226
|
+
width: 10px;
|
|
227
|
+
height: 10px;
|
|
228
|
+
fill: var(--folder-arrow-fill-color);
|
|
229
|
+
}
|
|
230
|
+
.pops-folder-list .pops-folder-icon-active {
|
|
231
|
+
fill: var(--folder-arrow-active-fill-color);
|
|
232
|
+
}
|
|
233
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb {
|
|
234
|
+
padding: 4px 20px;
|
|
235
|
+
-webkit-box-sizing: border-box;
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
display: -webkit-box;
|
|
238
|
+
display: -webkit-flex;
|
|
239
|
+
display: -ms-flexbox;
|
|
240
|
+
display: flex;
|
|
241
|
+
-webkit-box-align: center;
|
|
242
|
+
-webkit-align-items: center;
|
|
243
|
+
-ms-flex-align: center;
|
|
244
|
+
align-items: center;
|
|
245
|
+
-webkit-box-orient: horizontal;
|
|
246
|
+
-webkit-box-direction: normal;
|
|
247
|
+
-webkit-flex-direction: row;
|
|
248
|
+
-ms-flex-direction: row;
|
|
249
|
+
flex-direction: row;
|
|
250
|
+
-webkit-box-pack: start;
|
|
251
|
+
-webkit-justify-content: start;
|
|
252
|
+
-ms-flex-pack: start;
|
|
253
|
+
justify-content: flex-start;
|
|
254
|
+
min-height: 35px;
|
|
255
|
+
}
|
|
256
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles {
|
|
257
|
+
font-size: 12px;
|
|
258
|
+
color: var(--header-breadcrumb-all-files-text-color);
|
|
259
|
+
line-height: normal;
|
|
260
|
+
align-content: center;
|
|
261
|
+
font-weight: 700;
|
|
262
|
+
display: inline-block;
|
|
263
|
+
max-width: 140px;
|
|
264
|
+
overflow: hidden;
|
|
265
|
+
text-overflow: ellipsis;
|
|
266
|
+
white-space: nowrap;
|
|
267
|
+
word-wrap: normal;
|
|
268
|
+
}
|
|
269
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:last-child a {
|
|
270
|
+
color: var(--header-breadcrumb-all-files-last-text-color);
|
|
271
|
+
}
|
|
272
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb-allFiles:first-child a {
|
|
273
|
+
font-size: 14px;
|
|
274
|
+
color: var(--header-breadcrumb-all-files-first-text-color);
|
|
275
|
+
}
|
|
276
|
+
.pops-folder-list .pops-folder-file-list-breadcrumb .iconArrow {
|
|
277
|
+
width: 16px;
|
|
278
|
+
height: 16px;
|
|
279
|
+
}
|
|
280
|
+
.pops-folder-list .iconArrow {
|
|
281
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAASCAMAAABYd88+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABFUExURUdwTOLi4uLi4t7e3uPj49/f397e3t3d3f///97e3vDw8N3d3d7e3t3d3d3d3ejo6N/f397e3t7e3t3d3d/f393d3d3d3RK+NoEAAAAWdFJOUwAnM4YPU/iQA+UIeMDaHhY41i7zX7UebpjFAAAAUElEQVQI15XOORaAIAwE0LATXHCd+x9VfCiksXCq+UUWou8oZ1vXHrt7YVBiYkW4gdMKYFIC4CSATWCNHWPuM6HuHkr1x3N0ZrBu/9gl0b9c3+kF7C7hS1YAAAAASUVORK5CYII=)
|
|
282
|
+
55% 50%/6px 9px no-repeat;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@media (prefers-color-scheme: dark) {
|
|
286
|
+
.pops[type-value="folder"] {
|
|
287
|
+
--pops-title-border-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
288
|
+
--pops-bottom-btn-controls-border-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
289
|
+
}
|
|
290
|
+
.pops-folder-list {
|
|
291
|
+
--header-breadcrumb-text-color: #06a7ff;
|
|
292
|
+
--header-breadcrumb-all-files-text-color: var(--header-breadcrumb-text-color);
|
|
293
|
+
--header-breadcrumb-all-files-first-text-color: var(--header-breadcrumb-text-color);
|
|
294
|
+
--header-breadcrumb-all-files-last-text-color: #818999;
|
|
295
|
+
--table-body-row-text-color: #f7f8fa;
|
|
296
|
+
--table-body-td-text-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
297
|
+
--table-body-th-text-color: rgb(73, 83, 102, var(--pops-bg-opacity));
|
|
298
|
+
--table-body-td-text-color: #495366;
|
|
299
|
+
--table-body-row-hover-bd-color: #1f2022;
|
|
300
|
+
--table-body-row-hover-bg-color: #1f2022;
|
|
301
|
+
--table-body-row-file-name-text-color: #f7f8fa;
|
|
302
|
+
}
|
|
303
|
+
}
|