form-driver 0.4.1 → 0.4.2

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/lib/m3.css CHANGED
@@ -296,6 +296,134 @@ table.M3_table tr:last-child td {
296
296
  padding: 20px;
297
297
  }
298
298
 
299
+ .enhanced-sortDrag {
300
+ display: flex;
301
+ flex-direction: column;
302
+ grid-gap: 8px;
303
+ gap: 8px;
304
+ }
305
+ .enhanced-sortDrag.direction-horizontal {
306
+ flex-direction: row;
307
+ flex-wrap: wrap;
308
+ }
309
+ .enhanced-dragItem {
310
+ position: relative;
311
+ display: flex;
312
+ align-items: center;
313
+ justify-content: space-between;
314
+ padding: 12px 16px;
315
+ background: #ffffff;
316
+ border: 1px solid #d9d9d9;
317
+ border-radius: 6px;
318
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
319
+ transition: all 0.3s ease;
320
+ }
321
+ .enhanced-dragItem.direction-horizontal {
322
+ flex: 0 0 auto;
323
+ min-width: 120px;
324
+ }
325
+ .enhanced-dragItem.dragging {
326
+ opacity: 0.6;
327
+ transform: scale(0.95);
328
+ box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
329
+ z-index: 1000;
330
+ }
331
+ .enhanced-dragItem.dragging .enhanced-dragBody {
332
+ opacity: 0.7;
333
+ }
334
+ .enhanced-dragItem.dropping {
335
+ background: #f0f8ff;
336
+ border-color: #1890ff;
337
+ box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
338
+ border-style: dashed;
339
+ }
340
+ .enhanced-dragItem.dropping::before {
341
+ content: "";
342
+ position: absolute;
343
+ top: 0;
344
+ left: 0;
345
+ right: 0;
346
+ bottom: 0;
347
+ border: 2px dashed #1890ff;
348
+ border-radius: 6px;
349
+ -webkit-animation: pulse 1.5s infinite;
350
+ animation: pulse 1.5s infinite;
351
+ }
352
+ .enhanced-dragItem.disabled {
353
+ background: #f5f5f5;
354
+ border-color: #e8e8e8;
355
+ }
356
+ .enhanced-dragItem.disabled .enhanced-dragBody {
357
+ opacity: 0.5;
358
+ }
359
+ .enhanced-dragItem .enhanced-dragHandle {
360
+ display: flex;
361
+ align-items: center;
362
+ justify-content: center;
363
+ min-width: 24px;
364
+ height: 24px;
365
+ }
366
+ .enhanced-dragItem .enhanced-dragHandle:hover {
367
+ background: rgba(24, 144, 255, 0.1);
368
+ border-radius: 4px;
369
+ transition: all 0.2s ease;
370
+ }
371
+ .enhanced-dragItem .enhanced-dragHandle:hover .anticon {
372
+ font-size: 16px;
373
+ color: #666;
374
+ }
375
+ .enhanced-dragItem .enhanced-dragHandle:hover .anticon:hover {
376
+ color: #1890ff;
377
+ transform: scale(1.1);
378
+ }
379
+ .enhanced-dragItem .enhanced-dragHandle:hover .enhanced-dragBody {
380
+ flex: 1;
381
+ transition: all 0.3s ease;
382
+ }
383
+ @-webkit-keyframes pulse {
384
+ 0% {
385
+ opacity: 0.4;
386
+ }
387
+ 50% {
388
+ opacity: 0.8;
389
+ }
390
+ 100% {
391
+ opacity: 0.4;
392
+ }
393
+ }
394
+ @keyframes pulse {
395
+ 0% {
396
+ opacity: 0.4;
397
+ }
398
+ 50% {
399
+ opacity: 0.8;
400
+ }
401
+ 100% {
402
+ opacity: 0.4;
403
+ }
404
+ }
405
+ .drag-preview {
406
+ background: #ffffff;
407
+ border: 1px solid #1890ff;
408
+ border-radius: 6px;
409
+ box-shadow: 0 6px 16px rgba(24, 144, 255, 0.25);
410
+ transform: rotate(3deg);
411
+ opacity: 0.9;
412
+ }
413
+ .enhanced-sortDrag * {
414
+ transform-style: preserve-3d;
415
+ -webkit-backface-visibility: hidden;
416
+ backface-visibility: hidden;
417
+ }
418
+ @media (max-width: 768px) {
419
+ .enhanced-dragItem {
420
+ padding: 10px 12px;
421
+ }
422
+ .enhanced-dragItem.direction-horizontal {
423
+ min-width: 100px;
424
+ }
425
+ }
426
+
299
427
  .ACnAddress_p div {
300
428
  width: 50%;
301
429
  }