@fileverse-dev/fortune-react 1.0.2-mod-51 → 1.0.2-mod-52
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/index.css +76 -44
- package/dist/index.esm.css +76 -44
- package/dist/index.esm.js +40 -37
- package/dist/index.js +40 -37
- package/dist/index.umd.css +76 -44
- package/dist/index.umd.js +108 -276
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +8 -8
- package/package.json +3 -3
package/dist/index.umd.css
CHANGED
|
@@ -2346,8 +2346,7 @@ input[type="number"].condition-rules-project-input {
|
|
|
2346
2346
|
display: none;
|
|
2347
2347
|
}
|
|
2348
2348
|
|
|
2349
|
-
.fortune-toolbar-select
|
|
2350
|
-
.fortune-toolbar-color-picker {
|
|
2349
|
+
.fortune-toolbar-select {
|
|
2351
2350
|
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
|
|
2352
2351
|
padding: 0.5rem;
|
|
2353
2352
|
border: 1px solid hsl(var(--color-border-default));
|
|
@@ -2356,6 +2355,19 @@ input[type="number"].condition-rules-project-input {
|
|
|
2356
2355
|
min-width: 240px;
|
|
2357
2356
|
}
|
|
2358
2357
|
|
|
2358
|
+
.fortune-toolbar-color-picker {
|
|
2359
|
+
z-index: 50;
|
|
2360
|
+
height: auto;
|
|
2361
|
+
display: flex;
|
|
2362
|
+
flex-wrap: wrap;
|
|
2363
|
+
gap: 2px;
|
|
2364
|
+
overflow-y: auto;
|
|
2365
|
+
scroll-behavior: smooth;
|
|
2366
|
+
background: rgb(255, 255, 255);
|
|
2367
|
+
transition: all 0.2s ease;
|
|
2368
|
+
border-radius: 0px 0px 4px 4px;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2359
2371
|
.fortune-toolbar-select {
|
|
2360
2372
|
overflow: auto;
|
|
2361
2373
|
max-height: 75vh;
|
|
@@ -2398,9 +2410,19 @@ input[type="number"].condition-rules-project-input {
|
|
|
2398
2410
|
}
|
|
2399
2411
|
|
|
2400
2412
|
.fortune-toolbar-color-picker-item {
|
|
2401
|
-
width:
|
|
2402
|
-
height:
|
|
2413
|
+
width: 20px;
|
|
2414
|
+
height: 20px;
|
|
2415
|
+
border-radius: 9999px;
|
|
2416
|
+
display: flex;
|
|
2417
|
+
align-items: center;
|
|
2418
|
+
justify-content: center;
|
|
2419
|
+
cursor: pointer;
|
|
2420
|
+
transition: transform 0.2s ease-in;
|
|
2403
2421
|
margin: 1px;
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
.fortune-toolbar-color-picker-item:hover {
|
|
2425
|
+
transform: scale(1.05);
|
|
2404
2426
|
cursor: pointer;
|
|
2405
2427
|
}
|
|
2406
2428
|
|
|
@@ -2477,11 +2499,18 @@ input[type="number"].condition-rules-project-input {
|
|
|
2477
2499
|
|
|
2478
2500
|
#fortune-custom-color {
|
|
2479
2501
|
min-width: 164px;
|
|
2480
|
-
background:
|
|
2481
|
-
border-radius:
|
|
2482
|
-
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
|
2502
|
+
background: #fff;
|
|
2503
|
+
border-radius: 4px;
|
|
2483
2504
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
2484
2505
|
font-size: 12px;
|
|
2506
|
+
padding: 8px;
|
|
2507
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
2508
|
+
max-height: 400px;
|
|
2509
|
+
width: -moz-fit-content;
|
|
2510
|
+
width: fit-content;
|
|
2511
|
+
display: flex;
|
|
2512
|
+
flex-direction: column;
|
|
2513
|
+
gap: 8px;
|
|
2485
2514
|
}
|
|
2486
2515
|
|
|
2487
2516
|
#fortune-custom-color .color-reset {
|
|
@@ -2489,16 +2518,21 @@ input[type="number"].condition-rules-project-input {
|
|
|
2489
2518
|
color: #333;
|
|
2490
2519
|
cursor: pointer;
|
|
2491
2520
|
list-style: none;
|
|
2492
|
-
padding: 10px;
|
|
2493
2521
|
white-space: nowrap;
|
|
2494
|
-
padding-left: 8px;
|
|
2495
2522
|
vertical-align: middle;
|
|
2496
|
-
padding-right: 24px;
|
|
2497
2523
|
-webkit-user-select: none;
|
|
2498
2524
|
-moz-user-select: none;
|
|
2499
2525
|
user-select: none;
|
|
2500
|
-
border-radius: 6px;
|
|
2501
2526
|
background: white;
|
|
2527
|
+
padding: 4px 8px;
|
|
2528
|
+
height: 30px;
|
|
2529
|
+
border-radius: 4px 4px 0px 0px;
|
|
2530
|
+
display: flex;
|
|
2531
|
+
align-items: center;
|
|
2532
|
+
gap: 10px;
|
|
2533
|
+
font-size: 14px;
|
|
2534
|
+
font-weight: 500;
|
|
2535
|
+
line-height: 20px;
|
|
2502
2536
|
}
|
|
2503
2537
|
|
|
2504
2538
|
#fortune-custom-color .color-reset:hover {
|
|
@@ -2622,6 +2656,37 @@ input[type="number"].condition-rules-project-input {
|
|
|
2622
2656
|
z-index: 1002; */
|
|
2623
2657
|
/* min-width: 500px; */
|
|
2624
2658
|
width: 464px;
|
|
2659
|
+
|
|
2660
|
+
input[type="checkbox"] {
|
|
2661
|
+
accent-color: black;
|
|
2662
|
+
-moz-appearance: none;
|
|
2663
|
+
appearance: none;
|
|
2664
|
+
-webkit-appearance: none;
|
|
2665
|
+
width: 16px;
|
|
2666
|
+
height: 16px;
|
|
2667
|
+
border: 1.5px solid black;
|
|
2668
|
+
border-radius: 3px;
|
|
2669
|
+
position: relative;
|
|
2670
|
+
cursor: pointer;
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
input[type="checkbox"]:checked {
|
|
2674
|
+
background-color: black;
|
|
2675
|
+
border-color: black;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
/* Smaller tick mark */
|
|
2679
|
+
input[type="checkbox"]:checked::before {
|
|
2680
|
+
content: '';
|
|
2681
|
+
position: absolute;
|
|
2682
|
+
top: 2px;
|
|
2683
|
+
left: 4px;
|
|
2684
|
+
width: 4px; /* Reduced from default */
|
|
2685
|
+
height: 7px; /* Reduced from default */
|
|
2686
|
+
border: solid white;
|
|
2687
|
+
border-width: 0 1px 1px 0;
|
|
2688
|
+
transform: rotate(45deg);
|
|
2689
|
+
}
|
|
2625
2690
|
}
|
|
2626
2691
|
#fortune-split-column label {
|
|
2627
2692
|
-webkit-user-select: none;
|
|
@@ -2634,39 +2699,6 @@ input[type="number"].condition-rules-project-input {
|
|
|
2634
2699
|
#fortune-split-column .splitDelimiters {
|
|
2635
2700
|
margin-top: 20px;
|
|
2636
2701
|
}
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
input[type="checkbox"] {
|
|
2641
|
-
accent-color: black;
|
|
2642
|
-
-moz-appearance: none;
|
|
2643
|
-
appearance: none;
|
|
2644
|
-
-webkit-appearance: none;
|
|
2645
|
-
width: 16px;
|
|
2646
|
-
height: 16px;
|
|
2647
|
-
border: 1.5px solid black;
|
|
2648
|
-
border-radius: 3px;
|
|
2649
|
-
position: relative;
|
|
2650
|
-
cursor: pointer;
|
|
2651
|
-
}
|
|
2652
|
-
|
|
2653
|
-
input[type="checkbox"]:checked {
|
|
2654
|
-
background-color: black;
|
|
2655
|
-
border-color: black;
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
/* Smaller tick mark */
|
|
2659
|
-
input[type="checkbox"]:checked::before {
|
|
2660
|
-
content: '';
|
|
2661
|
-
position: absolute;
|
|
2662
|
-
top: 2px;
|
|
2663
|
-
left: 4px;
|
|
2664
|
-
width: 4px; /* Reduced from default */
|
|
2665
|
-
height: 7px; /* Reduced from default */
|
|
2666
|
-
border: solid white;
|
|
2667
|
-
border-width: 0 1px 1px 0;
|
|
2668
|
-
transform: rotate(45deg);
|
|
2669
|
-
}
|
|
2670
2702
|
.splitSymbols {
|
|
2671
2703
|
width: 464px
|
|
2672
2704
|
}
|