@kdcloudjs/kdesign 1.8.15 → 1.8.16
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/dist/kdesign-complete.less +297 -81
- package/dist/kdesign.css +269 -58
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +838 -379
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +10 -10
- package/dist/kdesign.min.js.map +1 -1
- package/es/breadcrumb/breadcrumb.js +2 -2
- package/es/button/group.d.ts +1 -1
- package/es/button/group.js +5 -3
- package/es/city-picker/city-picker.js +1 -0
- package/es/city-picker/style/index.css +8 -0
- package/es/city-picker/style/index.less +10 -0
- package/es/color-picker/color-picker-panel.js +332 -82
- package/es/color-picker/color-picker.js +128 -58
- package/es/color-picker/constant/colorTypes.js +4 -4
- package/es/color-picker/constant/defaultColor.d.ts +1 -1
- package/es/color-picker/constant/defaultColor.js +1 -1
- package/es/color-picker/interface.d.ts +33 -11
- package/es/color-picker/style/index.css +256 -53
- package/es/color-picker/style/index.less +277 -73
- package/es/color-picker/style/token.less +6 -2
- package/es/color-picker/utils/colorFormat.d.ts +5 -1
- package/es/color-picker/utils/colorFormat.js +10 -10
- package/es/color-picker/utils/convertLetters.d.ts +1 -0
- package/es/color-picker/utils/convertLetters.js +12 -0
- package/es/color-picker/utils/validateColor.js +12 -9
- package/es/config-provider/compDefaultProps.d.ts +8 -0
- package/es/config-provider/compDefaultProps.js +8 -0
- package/es/popper/index.d.ts +1 -1
- package/es/popper/index.js +4 -1
- package/es/popper/style/index.css +4 -4
- package/es/popper/style/index.less +4 -6
- package/es/signature/signature.d.ts +1 -0
- package/es/signature/signature.js +42 -8
- package/es/tree/tree.d.ts +1 -0
- package/es/tree/tree.js +3 -1
- package/es/tree/treeNode.d.ts +1 -0
- package/es/tree/treeNode.js +3 -2
- package/lib/breadcrumb/breadcrumb.js +2 -2
- package/lib/button/group.d.ts +1 -1
- package/lib/button/group.js +5 -3
- package/lib/city-picker/city-picker.js +1 -0
- package/lib/city-picker/style/index.css +8 -0
- package/lib/city-picker/style/index.less +10 -0
- package/lib/color-picker/color-picker-panel.js +329 -79
- package/lib/color-picker/color-picker.js +125 -55
- package/lib/color-picker/constant/colorTypes.js +4 -4
- package/lib/color-picker/constant/defaultColor.d.ts +1 -1
- package/lib/color-picker/constant/defaultColor.js +1 -1
- package/lib/color-picker/interface.d.ts +33 -11
- package/lib/color-picker/style/index.css +256 -53
- package/lib/color-picker/style/index.less +277 -73
- package/lib/color-picker/style/token.less +6 -2
- package/lib/color-picker/utils/colorFormat.d.ts +5 -1
- package/lib/color-picker/utils/colorFormat.js +10 -9
- package/lib/color-picker/utils/convertLetters.d.ts +1 -0
- package/lib/color-picker/utils/convertLetters.js +13 -0
- package/lib/color-picker/utils/validateColor.js +12 -9
- package/lib/config-provider/compDefaultProps.d.ts +8 -0
- package/lib/config-provider/compDefaultProps.js +8 -0
- package/lib/popper/index.d.ts +1 -1
- package/lib/popper/index.js +4 -1
- package/lib/popper/style/index.css +4 -4
- package/lib/popper/style/index.less +4 -6
- package/lib/signature/signature.d.ts +1 -0
- package/lib/signature/signature.js +42 -8
- package/lib/tree/tree.d.ts +1 -0
- package/lib/tree/tree.js +3 -1
- package/lib/tree/treeNode.d.ts +1 -0
- package/lib/tree/treeNode.js +3 -2
- package/package.json +1 -1
|
@@ -107,45 +107,63 @@
|
|
|
107
107
|
position: relative;
|
|
108
108
|
width: var(--kd-c-color-picker-input-sizing-width, 230px);
|
|
109
109
|
}
|
|
110
|
+
.kd-color-picker-container-pure {
|
|
111
|
+
width: 28px;
|
|
112
|
+
}
|
|
113
|
+
.kd-color-picker-container-pure .kd-input-wrapper.kd-color-picker-input {
|
|
114
|
+
display: -webkit-box;
|
|
115
|
+
display: -ms-flexbox;
|
|
116
|
+
display: flex;
|
|
117
|
+
-webkit-box-align: center;
|
|
118
|
+
-ms-flex-align: center;
|
|
119
|
+
align-items: center;
|
|
120
|
+
-webkit-box-pack: center;
|
|
121
|
+
-ms-flex-pack: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
width: 100%;
|
|
124
|
+
}
|
|
125
|
+
.kd-color-picker-container-pure .kd-input-wrapper.kd-color-picker-input .kd-input-prefix {
|
|
126
|
+
margin-right: 0;
|
|
127
|
+
}
|
|
128
|
+
.kd-color-picker-container-pure .kd-input-wrapper.kd-color-picker-input .kd-input-suffix {
|
|
129
|
+
margin-left: 0;
|
|
130
|
+
}
|
|
131
|
+
.kd-color-picker-container-pure .kd-input-wrapper.kd-color-picker-input .kd-input {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
110
134
|
.kd-color-picker-container .kd-color-picker-input {
|
|
111
135
|
width: var(--kd-c-color-picker-input-sizing-width, 230px);
|
|
112
136
|
height: var(--kd-c-color-picker-input-sizing-height, 28px);
|
|
137
|
+
padding: 0 8px;
|
|
113
138
|
border-bottom: 1px solid #d9d9d9;
|
|
114
139
|
font-size: var(--kd-c-color-picker-input-font-size, var(--kd-g-font-size-middle, 14px));
|
|
115
140
|
}
|
|
116
141
|
.kd-color-picker-container .kd-color-picker-icon-container {
|
|
117
|
-
position: absolute;
|
|
118
|
-
top: 3px;
|
|
119
|
-
right: 6px;
|
|
120
142
|
cursor: pointer;
|
|
121
143
|
}
|
|
122
144
|
.kd-color-picker-container .kd-color-picker-icon-container .kd-color-picker-icon {
|
|
123
|
-
|
|
124
|
-
|
|
145
|
+
display: -webkit-box;
|
|
146
|
+
display: -ms-flexbox;
|
|
147
|
+
display: flex;
|
|
148
|
+
-webkit-box-pack: center;
|
|
149
|
+
-ms-flex-pack: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
-webkit-box-align: center;
|
|
152
|
+
-ms-flex-align: center;
|
|
153
|
+
align-items: center;
|
|
154
|
+
width: var(--kd-c-color-picker-input-prefix-sizing-width, 16px);
|
|
155
|
+
height: var(--kd-c-color-picker-input-prefix-sizing-height, 16px);
|
|
125
156
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
126
157
|
border-radius: 2px;
|
|
127
158
|
line-height: 18px;
|
|
128
159
|
text-align: center;
|
|
129
160
|
color: #fff;
|
|
130
161
|
}
|
|
131
|
-
.kd-color-picker-container .kd-color-picker-icon-container .kd-color-picker-icon-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
transform: rotate(180deg);
|
|
137
|
-
-webkit-transition: -webkit-transform 0.2s ease-in-out;
|
|
138
|
-
transition: -webkit-transform 0.2s ease-in-out;
|
|
139
|
-
transition: transform 0.2s ease-in-out;
|
|
140
|
-
transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
|
|
141
|
-
}
|
|
142
|
-
.kd-color-picker-container .kd-color-picker-icon-container .kd-color-picker-icon-down .kdicon-arrow-down {
|
|
143
|
-
-webkit-transform: rotate(0deg);
|
|
144
|
-
transform: rotate(0deg);
|
|
145
|
-
-webkit-transition: -webkit-transform 0.2s ease-in-out;
|
|
146
|
-
transition: -webkit-transform 0.2s ease-in-out;
|
|
147
|
-
transition: transform 0.2s ease-in-out;
|
|
148
|
-
transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
|
|
162
|
+
.kd-color-picker-container .kd-color-picker-icon-container .kd-color-picker-icon-no-color-line {
|
|
163
|
+
width: var(--kd-c-color-picker-input-prefix-line-sizing-width, 1px);
|
|
164
|
+
height: var(--kd-c-color-picker-input-prefix-line-sizing-height, 22.6px);
|
|
165
|
+
background-color: #ff2e3d;
|
|
166
|
+
rotate: 45deg;
|
|
149
167
|
}
|
|
150
168
|
.kd-color-picker-pop {
|
|
151
169
|
width: var(--kd-c-color-picker-panel-sizing-width, 304px);
|
|
@@ -172,9 +190,80 @@
|
|
|
172
190
|
transform-origin: top left;
|
|
173
191
|
z-index: var(--kd-c-color-picker-panel-z-index, var(--kd-g-z-index-popper, 1050));
|
|
174
192
|
}
|
|
193
|
+
.kd-color-picker-pop .kd-color-picker-panel > div {
|
|
194
|
+
margin-top: 12px;
|
|
195
|
+
}
|
|
196
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear {
|
|
197
|
+
display: -webkit-box;
|
|
198
|
+
display: -ms-flexbox;
|
|
199
|
+
display: flex;
|
|
200
|
+
-webkit-box-align: center;
|
|
201
|
+
-ms-flex-align: center;
|
|
202
|
+
align-items: center;
|
|
203
|
+
font-size: 12px;
|
|
204
|
+
color: #666666;
|
|
205
|
+
line-height: 16px;
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
}
|
|
208
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-box {
|
|
209
|
+
position: relative;
|
|
210
|
+
width: 16px;
|
|
211
|
+
height: 16px;
|
|
212
|
+
margin-right: 4px;
|
|
213
|
+
border: 1px solid #d9d9d9;
|
|
214
|
+
border-radius: 2px;
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
background-color: #fff;
|
|
217
|
+
}
|
|
218
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-box::after {
|
|
219
|
+
position: absolute;
|
|
220
|
+
left: 7.5px;
|
|
221
|
+
top: -3.5px;
|
|
222
|
+
content: '';
|
|
223
|
+
width: 1px;
|
|
224
|
+
height: 22.6px;
|
|
225
|
+
background-color: #ff2e3d;
|
|
226
|
+
rotate: 45deg;
|
|
227
|
+
}
|
|
228
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-box .active {
|
|
229
|
+
content: '';
|
|
230
|
+
position: absolute;
|
|
231
|
+
top: -3px;
|
|
232
|
+
left: -3px;
|
|
233
|
+
width: 20px;
|
|
234
|
+
height: 20px;
|
|
235
|
+
border: 1px solid #d9d9d9;
|
|
236
|
+
border-radius: 4px;
|
|
237
|
+
}
|
|
238
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-box:hover::before {
|
|
239
|
+
content: '';
|
|
240
|
+
position: absolute;
|
|
241
|
+
top: -3px;
|
|
242
|
+
left: -3px;
|
|
243
|
+
width: 20px;
|
|
244
|
+
height: 20px;
|
|
245
|
+
border: 1px solid #d9d9d9;
|
|
246
|
+
border-radius: 4px;
|
|
247
|
+
}
|
|
248
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-box:active::before {
|
|
249
|
+
content: '';
|
|
250
|
+
position: absolute;
|
|
251
|
+
top: -3px;
|
|
252
|
+
left: -3px;
|
|
253
|
+
width: 20px;
|
|
254
|
+
height: 20px;
|
|
255
|
+
border: 1px solid #d9d9d9;
|
|
256
|
+
border-radius: 4px;
|
|
257
|
+
border: 1px solid #949494;
|
|
258
|
+
}
|
|
259
|
+
.kd-color-picker-pop .kd-color-picker-panel-clear-text {
|
|
260
|
+
font-size: 12px;
|
|
261
|
+
color: #666666;
|
|
262
|
+
line-height: 16px;
|
|
263
|
+
font-weight: 400;
|
|
264
|
+
}
|
|
175
265
|
.kd-color-picker-pop .kd-color-picker-panel-chrome {
|
|
176
266
|
width: 278px !important;
|
|
177
|
-
margin-top: 12px;
|
|
178
267
|
-webkit-box-shadow: none !important;
|
|
179
268
|
box-shadow: none !important;
|
|
180
269
|
}
|
|
@@ -248,7 +337,6 @@
|
|
|
248
337
|
display: none;
|
|
249
338
|
}
|
|
250
339
|
.kd-color-picker-pop .kd-color-picker-panel-switch {
|
|
251
|
-
margin: 12px 0 0;
|
|
252
340
|
font-size: 12px;
|
|
253
341
|
color: #666666;
|
|
254
342
|
letter-spacing: 0;
|
|
@@ -265,23 +353,35 @@
|
|
|
265
353
|
display: flex;
|
|
266
354
|
-ms-flex-wrap: nowrap;
|
|
267
355
|
flex-wrap: nowrap;
|
|
268
|
-
margin-top: 10px;
|
|
269
356
|
}
|
|
270
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
271
|
-
-webkit-box-flex:
|
|
272
|
-
-ms-flex:
|
|
273
|
-
flex:
|
|
357
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select {
|
|
358
|
+
-webkit-box-flex: 0;
|
|
359
|
+
-ms-flex: 0 0 64px;
|
|
360
|
+
flex: 0 0 64px;
|
|
274
361
|
display: inline-block;
|
|
275
362
|
position: relative;
|
|
363
|
+
margin-right: 8px;
|
|
276
364
|
font-size: var(--kd-c-color-picker-panel-select-font-size, var(--kd-g-font-size-middle, 14px));
|
|
277
365
|
}
|
|
278
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
366
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select {
|
|
367
|
+
width: 64px;
|
|
368
|
+
}
|
|
369
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select .kd-select,
|
|
370
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select .kd-select-selection-item {
|
|
371
|
+
overflow: visible;
|
|
372
|
+
text-overflow: unset;
|
|
373
|
+
}
|
|
374
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-suffix {
|
|
375
|
+
padding-right: 4px;
|
|
376
|
+
margin-left: 0;
|
|
377
|
+
}
|
|
378
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-dropdown-panel {
|
|
279
379
|
margin: 0 !important;
|
|
280
380
|
}
|
|
281
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
282
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
381
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-dropdown-panel.bottomLeft,
|
|
382
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-dropdown-panel.topLeft {
|
|
283
383
|
position: absolute;
|
|
284
|
-
width:
|
|
384
|
+
width: 64px !important;
|
|
285
385
|
min-width: unset !important;
|
|
286
386
|
background: #FFFFFF;
|
|
287
387
|
right: 0;
|
|
@@ -290,7 +390,7 @@
|
|
|
290
390
|
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
291
391
|
border-radius: 2px;
|
|
292
392
|
}
|
|
293
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
393
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-dropdown-panel .kd-select-dropdown .kd-select-item-option {
|
|
294
394
|
display: -webkit-box;
|
|
295
395
|
display: -ms-flexbox;
|
|
296
396
|
display: flex;
|
|
@@ -299,56 +399,159 @@
|
|
|
299
399
|
justify-content: center;
|
|
300
400
|
min-width: unset;
|
|
301
401
|
}
|
|
302
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
402
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .kd-select-bordered {
|
|
303
403
|
border-radius: 2px;
|
|
304
404
|
width: var(--kd-c-color-picker-panel-select-sizing-width, 212px);
|
|
305
405
|
height: var(--kd-c-color-picker-panel-select-sizing-height, 28px);
|
|
306
406
|
min-height: 28px;
|
|
307
407
|
padding: 0 28px 0 0;
|
|
308
408
|
}
|
|
309
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-
|
|
310
|
-
left: 8px;
|
|
311
|
-
}
|
|
312
|
-
.kd-color-picker-pop .kd-color-picker-panel-container-input .active-option {
|
|
409
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-select .active-option {
|
|
313
410
|
background-color: var(--kd-c-color-picker-panel-option-color-background-selected, var(--kd-g-color-theme-3, #e3eeff));
|
|
314
411
|
}
|
|
412
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input {
|
|
413
|
+
height: 28px;
|
|
414
|
+
-webkit-box-flex: 1;
|
|
415
|
+
-ms-flex: 1 1 auto;
|
|
416
|
+
flex: 1 1 auto;
|
|
417
|
+
padding: 0 8px;
|
|
418
|
+
}
|
|
419
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group {
|
|
420
|
+
display: -webkit-box;
|
|
421
|
+
display: -ms-flexbox;
|
|
422
|
+
display: flex;
|
|
423
|
+
-webkit-box-align: center;
|
|
424
|
+
-ms-flex-align: center;
|
|
425
|
+
align-items: center;
|
|
426
|
+
}
|
|
427
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item {
|
|
428
|
+
height: 28px;
|
|
429
|
+
-webkit-box-flex: 1;
|
|
430
|
+
-ms-flex: 1;
|
|
431
|
+
flex: 1;
|
|
432
|
+
}
|
|
433
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item.active {
|
|
434
|
+
z-index: 2;
|
|
435
|
+
}
|
|
436
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item:first-child {
|
|
437
|
+
border-top-right-radius: 0;
|
|
438
|
+
border-bottom-right-radius: 0;
|
|
439
|
+
z-index: 1;
|
|
440
|
+
}
|
|
441
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item:nth-child(2) {
|
|
442
|
+
margin-right: -1px;
|
|
443
|
+
margin-left: -1px;
|
|
444
|
+
border-radius: 0;
|
|
445
|
+
}
|
|
446
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item:nth-child(2):hover {
|
|
447
|
+
z-index: 1;
|
|
448
|
+
}
|
|
449
|
+
.kd-color-picker-pop .kd-color-picker-panel-container-input-group-item:last-child {
|
|
450
|
+
border-top-left-radius: 0;
|
|
451
|
+
border-bottom-left-radius: 0;
|
|
452
|
+
}
|
|
315
453
|
.kd-color-picker-pop .kd-color-picker-panel-container-transparent {
|
|
316
454
|
-webkit-box-flex: 0;
|
|
317
|
-
-ms-flex: 0
|
|
318
|
-
flex: 0
|
|
455
|
+
-ms-flex: 0 0 54px;
|
|
456
|
+
flex: 0 0 54px;
|
|
319
457
|
height: 28px;
|
|
320
458
|
margin-left: 8px;
|
|
459
|
+
padding: 0;
|
|
321
460
|
text-align: center;
|
|
322
461
|
font-size: var(--kd-c-color-picker-panel-alpha-font-size, var(--kd-g-font-size-middle, 14px));
|
|
323
462
|
}
|
|
324
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
463
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-title {
|
|
464
|
+
font-size: 12px;
|
|
465
|
+
color: #666666;
|
|
466
|
+
line-height: 18px;
|
|
467
|
+
font-weight: 400;
|
|
468
|
+
margin-bottom: 8px;
|
|
469
|
+
}
|
|
470
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container {
|
|
325
471
|
display: grid;
|
|
326
472
|
grid-template-columns: repeat(12, 1fr);
|
|
327
473
|
grid-column-gap: 8px;
|
|
328
474
|
grid-row-gap: 8px;
|
|
329
|
-
margin-top: 12px;
|
|
330
475
|
}
|
|
331
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
476
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container-ie11 {
|
|
332
477
|
display: -webkit-box;
|
|
333
478
|
display: -ms-flexbox;
|
|
334
479
|
display: flex;
|
|
335
480
|
-ms-flex-wrap: wrap;
|
|
336
481
|
flex-wrap: wrap;
|
|
337
482
|
}
|
|
338
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
483
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container-ie11 li {
|
|
339
484
|
margin-right: 8px;
|
|
340
485
|
margin-top: 8px;
|
|
341
486
|
}
|
|
342
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
487
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container-ie11 li:nth-child(12n) {
|
|
343
488
|
margin-right: 0;
|
|
344
489
|
}
|
|
345
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
490
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container-ie11 li:nth-child(-n+12) {
|
|
346
491
|
margin-top: 0;
|
|
347
492
|
}
|
|
348
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
493
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container li {
|
|
494
|
+
position: relative;
|
|
495
|
+
-webkit-box-sizing: border-box;
|
|
496
|
+
box-sizing: border-box;
|
|
497
|
+
width: var(--kd-c-color-picker-panel-historical-sizing-width, 16px);
|
|
498
|
+
height: var(--kd-c-color-picker-panel-historical-sizing-height, 16px);
|
|
499
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
500
|
+
border-radius: 2px;
|
|
501
|
+
list-style: none;
|
|
502
|
+
cursor: pointer;
|
|
503
|
+
}
|
|
504
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container li .square {
|
|
505
|
+
display: none;
|
|
506
|
+
position: absolute;
|
|
507
|
+
-webkit-box-sizing: inherit;
|
|
508
|
+
box-sizing: inherit;
|
|
509
|
+
top: -3px;
|
|
510
|
+
left: -3px;
|
|
511
|
+
width: calc(var(--kd-c-color-picker-panel-historical-sizing-width, 16px) + 4px);
|
|
512
|
+
height: calc(var(--kd-c-color-picker-panel-historical-sizing-height, 16px) + 4px);
|
|
513
|
+
border: 1px solid #b2b2b0;
|
|
514
|
+
border-radius: 4px;
|
|
515
|
+
}
|
|
516
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container li .square-click {
|
|
517
|
+
display: block;
|
|
518
|
+
-webkit-box-shadow: 0 0 0 1px #e5e5e5 !important;
|
|
519
|
+
box-shadow: 0 0 0 1px #e5e5e5 !important;
|
|
520
|
+
}
|
|
521
|
+
.kd-color-picker-pop .kd-color-picker-panel-historical-color-box-container li:hover .square {
|
|
522
|
+
display: block;
|
|
523
|
+
}
|
|
524
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-title {
|
|
525
|
+
font-size: 12px;
|
|
526
|
+
color: #666666;
|
|
527
|
+
line-height: 18px;
|
|
528
|
+
font-weight: 400;
|
|
529
|
+
margin-bottom: 8px;
|
|
530
|
+
}
|
|
531
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container {
|
|
532
|
+
display: grid;
|
|
533
|
+
grid-template-columns: repeat(12, 1fr);
|
|
534
|
+
grid-column-gap: 8px;
|
|
535
|
+
grid-row-gap: 8px;
|
|
536
|
+
}
|
|
537
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container-ie11 {
|
|
538
|
+
display: -webkit-box;
|
|
539
|
+
display: -ms-flexbox;
|
|
540
|
+
display: flex;
|
|
541
|
+
-ms-flex-wrap: wrap;
|
|
542
|
+
flex-wrap: wrap;
|
|
543
|
+
}
|
|
544
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container-ie11 li {
|
|
545
|
+
margin-right: 8px;
|
|
546
|
+
margin-top: 8px;
|
|
547
|
+
}
|
|
548
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container-ie11 li:nth-child(12n) {
|
|
549
|
+
margin-right: 0;
|
|
550
|
+
}
|
|
551
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container-ie11 li:nth-child(-n+12) {
|
|
349
552
|
margin-top: 0;
|
|
350
553
|
}
|
|
351
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
554
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container li {
|
|
352
555
|
position: relative;
|
|
353
556
|
-webkit-box-sizing: border-box;
|
|
354
557
|
box-sizing: border-box;
|
|
@@ -359,7 +562,7 @@
|
|
|
359
562
|
list-style: none;
|
|
360
563
|
cursor: pointer;
|
|
361
564
|
}
|
|
362
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
565
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container li .square {
|
|
363
566
|
display: none;
|
|
364
567
|
position: absolute;
|
|
365
568
|
-webkit-box-sizing: inherit;
|
|
@@ -371,11 +574,11 @@
|
|
|
371
574
|
border: 1px solid #b2b2b0;
|
|
372
575
|
border-radius: 4px;
|
|
373
576
|
}
|
|
374
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
577
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container li .square-click {
|
|
375
578
|
display: block;
|
|
376
579
|
-webkit-box-shadow: 0 0 0 1px #e5e5e5 !important;
|
|
377
580
|
box-shadow: 0 0 0 1px #e5e5e5 !important;
|
|
378
581
|
}
|
|
379
|
-
.kd-color-picker-pop .kd-color-picker-panel-
|
|
582
|
+
.kd-color-picker-pop .kd-color-picker-panel-color-box-container li:hover .square {
|
|
380
583
|
display: block;
|
|
381
584
|
}
|