@eworkbase/plugin-ai-rules 0.3.5 → 0.4.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/dist/ui/style.css CHANGED
@@ -1,3 +1,55 @@
1
+ /*!
2
+ * Vditor v4.0.1 - A markdown editor written in TypeScript.
3
+ *
4
+ * MIT License
5
+ *
6
+ * Copyright (c) 2018-present B3log 开源, b3log.org
7
+ *
8
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ * of this software and associated documentation files (the "Software"), to deal
10
+ * in the Software without restriction, including without limitation the rights
11
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ * copies of the Software, and to permit persons to whom the Software is
13
+ * furnished to do so, subject to the following conditions:
14
+ *
15
+ * The above copyright notice and this permission notice shall be included in all
16
+ * copies or substantial portions of the Software.
17
+ *
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ * SOFTWARE.
25
+ *
26
+ */
27
+ /*!
28
+ * Vditor v4.0.1 - A markdown editor written in TypeScript.
29
+ *
30
+ * MIT License
31
+ *
32
+ * Copyright (c) 2018-present B3log 开源, b3log.org
33
+ *
34
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
35
+ * of this software and associated documentation files (the "Software"), to deal
36
+ * in the Software without restriction, including without limitation the rights
37
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38
+ * copies of the Software, and to permit persons to whom the Software is
39
+ * furnished to do so, subject to the following conditions:
40
+ *
41
+ * The above copyright notice and this permission notice shall be included in all
42
+ * copies or substantial portions of the Software.
43
+ *
44
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50
+ * SOFTWARE.
51
+ *
52
+ */
1
53
  @layer base {
2
54
  :root {
3
55
  --color-foreground: #342f28;
@@ -2415,6 +2467,104 @@
2415
2467
  line-height: 1.5;
2416
2468
  }
2417
2469
 
2470
+ .workbase-plugin-error {
2471
+ border: 1px solid color-mix(in srgb, var(--color-danger) 24%, var(--color-border));
2472
+ min-width: 0;
2473
+ max-height: 100%;
2474
+ color: var(--color-foreground);
2475
+ background: color-mix(in srgb, var(--color-danger) 5%, var(--color-surface));
2476
+ text-align: left;
2477
+ overflow-wrap: anywhere;
2478
+ scrollbar-color: var(--color-border-strong) transparent;
2479
+ scrollbar-width: thin;
2480
+ border-radius: 8px;
2481
+ flex-shrink: 0;
2482
+ padding: 16px 20px;
2483
+ overflow-y: auto;
2484
+ }
2485
+
2486
+ .workbase-plugin-error:focus-visible {
2487
+ outline: 2px solid var(--color-accent);
2488
+ outline-offset: -2px;
2489
+ }
2490
+
2491
+ .workbase-plugin-error .workbase-error-title {
2492
+ color: var(--color-danger);
2493
+ margin: 0 0 8px;
2494
+ font-size: 14px;
2495
+ font-weight: 600;
2496
+ line-height: 1.5;
2497
+ }
2498
+
2499
+ .workbase-plugin-error .workbase-error-cause {
2500
+ color: var(--color-foreground);
2501
+ white-space: pre-wrap;
2502
+ margin: 0;
2503
+ font-size: 14px;
2504
+ font-weight: 500;
2505
+ line-height: 1.65;
2506
+ }
2507
+
2508
+ .workbase-plugin-error .workbase-error-context {
2509
+ color: var(--color-foreground);
2510
+ margin: 8px 0 0;
2511
+ font-size: 12px;
2512
+ font-weight: 400;
2513
+ line-height: 1.65;
2514
+ }
2515
+
2516
+ .workbase-error-context strong {
2517
+ margin-right: 8px;
2518
+ font-weight: 600;
2519
+ }
2520
+
2521
+ .workbase-error-actions {
2522
+ flex-wrap: wrap;
2523
+ gap: 8px;
2524
+ margin-top: 12px;
2525
+ display: flex;
2526
+ }
2527
+
2528
+ .workbase-error-details {
2529
+ color: var(--color-foreground);
2530
+ margin-top: 12px;
2531
+ font-size: 12px;
2532
+ font-weight: 400;
2533
+ }
2534
+
2535
+ .workbase-error-details summary {
2536
+ cursor: pointer;
2537
+ text-underline-offset: 3px;
2538
+ width: fit-content;
2539
+ }
2540
+
2541
+ .workbase-error-details summary:hover {
2542
+ text-decoration: underline;
2543
+ }
2544
+
2545
+ .workbase-error-details summary:focus-visible {
2546
+ outline: 2px solid var(--color-accent);
2547
+ outline-offset: 3px;
2548
+ border-radius: 4px;
2549
+ }
2550
+
2551
+ .workbase-error-details pre {
2552
+ max-width: 100%;
2553
+ max-height: 240px;
2554
+ color: var(--color-foreground);
2555
+ background: var(--color-surface);
2556
+ white-space: pre-wrap;
2557
+ overflow-wrap: anywhere;
2558
+ scrollbar-color: var(--color-border-strong) transparent;
2559
+ scrollbar-width: thin;
2560
+ border-radius: 4px;
2561
+ margin: 8px 0 0;
2562
+ padding: 12px;
2563
+ font-size: 12px;
2564
+ line-height: 1.65;
2565
+ overflow: auto;
2566
+ }
2567
+
2418
2568
  .mantine-Notification-root {
2419
2569
  border: 1px solid var(--color-border);
2420
2570
  }
@@ -2437,852 +2587,3679 @@
2437
2587
  outline-offset: 2px;
2438
2588
  }
2439
2589
 
2440
- .maintenance-panel .mantine-Accordion-control {
2441
- padding: 11px 14px;
2442
- font-size: 13px;
2443
- }
2590
+ .workbase-execution-log {
2591
+ min-width: 0;
2592
+ font-size: 14px;
2593
+ line-height: 1.7;
2594
+ }
2595
+
2596
+ .workbase-execution-log[data-display="full"] {
2597
+ max-width: calc(75ch + 100px);
2598
+ }
2599
+
2600
+ .workbase-log-entries {
2601
+ margin: 0;
2602
+ padding: 0;
2603
+ list-style: none;
2604
+ }
2605
+
2606
+ .workbase-log-entry {
2607
+ grid-template-columns: 72px minmax(0, 1fr);
2608
+ gap: 28px;
2609
+ min-width: 0;
2610
+ padding: 0 0 20px;
2611
+ scroll-margin-top: 24px;
2612
+ display: grid;
2613
+ position: relative;
2614
+ }
2615
+
2616
+ .workbase-log-entry:last-child {
2617
+ padding-bottom: 0;
2618
+ }
2619
+
2620
+ .workbase-log-entry:before {
2621
+ content: "";
2622
+ border: 1px solid var(--color-border-strong);
2623
+ background: var(--color-surface);
2624
+ border-radius: 50%;
2625
+ width: 7px;
2626
+ height: 7px;
2627
+ position: absolute;
2628
+ top: 9px;
2629
+ left: 84px;
2630
+ }
2631
+
2632
+ .workbase-log-entry:not(:last-child):after {
2633
+ content: "";
2634
+ background: var(--color-border);
2635
+ width: 1px;
2636
+ position: absolute;
2637
+ top: 20px;
2638
+ bottom: 2px;
2639
+ left: 87px;
2640
+ }
2641
+
2642
+ .workbase-log-entry[data-status="failed"]:before {
2643
+ border-color: var(--color-danger);
2644
+ background: var(--color-danger);
2645
+ }
2646
+
2647
+ .workbase-log-entry[data-status="pending"]:before {
2648
+ border-color: var(--color-warning);
2649
+ background: var(--color-brand-weak);
2650
+ }
2651
+
2652
+ .workbase-log-entry:focus-visible {
2653
+ outline: 2px solid var(--color-accent);
2654
+ outline-offset: 4px;
2655
+ }
2656
+
2657
+ .workbase-log-time {
2658
+ color: var(--color-muted);
2659
+ font-variant-numeric: tabular-nums;
2660
+ text-align: right;
2661
+ white-space: nowrap;
2662
+ grid-area: 1 / 1;
2663
+ padding-top: 2px;
2664
+ font-size: 12px;
2665
+ }
2666
+
2667
+ .workbase-log-body {
2668
+ grid-area: 1 / 2;
2669
+ min-width: 0;
2670
+ position: relative;
2671
+ }
2672
+
2673
+ .workbase-log-heading {
2674
+ flex-wrap: wrap;
2675
+ align-items: baseline;
2676
+ gap: 4px 12px;
2677
+ min-height: 24px;
2678
+ margin-bottom: 8px;
2679
+ display: flex;
2680
+ }
2681
+
2682
+ .workbase-log-heading strong {
2683
+ overflow-wrap: anywhere;
2684
+ flex: 1;
2685
+ min-width: 0;
2686
+ font-size: 14px;
2687
+ font-weight: 600;
2688
+ }
2689
+
2690
+ .workbase-log-kind, .workbase-log-status, .workbase-log-note {
2691
+ color: var(--color-muted);
2692
+ font-size: 12px;
2693
+ }
2694
+
2695
+ .workbase-log-status {
2696
+ white-space: nowrap;
2697
+ margin-left: auto;
2698
+ }
2699
+
2700
+ .workbase-execution-log[data-display="full"] .workbase-log-heading strong {
2701
+ flex: 0 auto;
2702
+ }
2703
+
2704
+ .workbase-execution-log[data-display="full"] .workbase-log-status {
2705
+ margin-left: 0;
2706
+ }
2707
+
2708
+ .workbase-log-status[data-status="failed"], .workbase-log-error {
2709
+ color: var(--color-danger);
2710
+ }
2711
+
2712
+ .workbase-log-status[data-status="completed"] {
2713
+ color: var(--color-success);
2714
+ }
2715
+
2716
+ .workbase-log-status:is([data-status="needs_action"], [data-status="warning"]), .workbase-log-status:is([data-status="pending"], [data-status="invalid"]) {
2717
+ color: var(--color-warning);
2718
+ }
2719
+
2720
+ .workbase-log-content {
2721
+ overflow-wrap: anywhere;
2722
+ max-width: 75ch;
2723
+ }
2724
+
2725
+ .workbase-log-content > :first-child {
2726
+ margin-top: 0;
2727
+ }
2728
+
2729
+ .workbase-log-content > :last-child {
2730
+ margin-bottom: 0;
2731
+ }
2732
+
2733
+ .workbase-log-content :is(h1, h2, h3, h4) {
2734
+ margin-block: 20px 8px;
2735
+ font-size: 1em;
2736
+ line-height: 1.5;
2737
+ }
2738
+
2739
+ .workbase-log-content :is(p, ul, ol, pre, blockquote, table) {
2740
+ margin-block: 8px 12px;
2741
+ }
2742
+
2743
+ .workbase-log-content :is(ul, ol) {
2744
+ padding-left: 22px;
2745
+ }
2746
+
2747
+ .workbase-log-content ul {
2748
+ list-style: outside;
2749
+ }
2750
+
2751
+ .workbase-log-content ol {
2752
+ list-style: decimal;
2753
+ }
2754
+
2755
+ .workbase-log-content a {
2756
+ color: var(--color-brand);
2757
+ text-underline-offset: 3px;
2758
+ text-decoration: underline;
2759
+ }
2760
+
2761
+ .workbase-log-content pre, .workbase-log-details pre, .workbase-log-raw {
2762
+ background: var(--color-surface-muted);
2763
+ white-space: pre-wrap;
2764
+ overflow-wrap: anywhere;
2765
+ scrollbar-color: var(--color-border-strong) transparent;
2766
+ scrollbar-width: thin;
2767
+ max-width: 100%;
2768
+ max-height: 360px;
2769
+ padding: 12px;
2770
+ font-size: 12px;
2771
+ overflow: auto;
2772
+ }
2773
+
2774
+ .workbase-log-content table {
2775
+ display: block;
2776
+ overflow-x: auto;
2777
+ }
2778
+
2779
+ .workbase-log-content :is(th, td) {
2780
+ border-bottom: 1px solid var(--color-border);
2781
+ text-align: left;
2782
+ padding: 6px 10px;
2783
+ }
2784
+
2785
+ .workbase-log-details {
2786
+ margin-top: 10px;
2787
+ }
2788
+
2789
+ .workbase-log-details summary {
2790
+ cursor: pointer;
2791
+ width: fit-content;
2792
+ color: var(--color-muted);
2793
+ font-size: 12px;
2794
+ }
2795
+
2796
+ .workbase-log-operation > summary {
2797
+ cursor: pointer;
2798
+ border-radius: 4px;
2799
+ align-items: center;
2800
+ gap: 12px;
2801
+ min-height: 28px;
2802
+ list-style: none;
2803
+ display: flex;
2804
+ }
2805
+
2806
+ .workbase-log-operation > summary::-webkit-details-marker {
2807
+ display: none;
2808
+ }
2809
+
2810
+ .workbase-log-operation .workbase-log-heading {
2811
+ flex: 1;
2812
+ margin: 0;
2813
+ }
2814
+
2815
+ .workbase-log-operation[open] > summary {
2816
+ margin-bottom: 12px;
2817
+ }
2818
+
2819
+ .workbase-log-chevron {
2820
+ width: 6px;
2821
+ height: 6px;
2822
+ color: var(--color-muted);
2823
+ border-bottom: 1px solid;
2824
+ border-right: 1px solid;
2825
+ flex-shrink: 0;
2826
+ margin-right: 4px;
2827
+ transform: rotate(-45deg);
2828
+ }
2829
+
2830
+ .workbase-log-operation[open] > summary .workbase-log-chevron {
2831
+ transform: rotate(45deg);
2832
+ }
2833
+
2834
+ .workbase-log-operation summary:hover {
2835
+ color: var(--color-brand);
2836
+ }
2837
+
2838
+ .workbase-execution-log summary:focus-visible {
2839
+ outline: 2px solid var(--color-accent);
2840
+ outline-offset: 4px;
2841
+ }
2842
+
2843
+ .workbase-execution-log ::selection {
2844
+ background: var(--color-brand-weak);
2845
+ color: var(--color-foreground);
2846
+ }
2847
+
2848
+ .workbase-log-anchor {
2849
+ position: absolute;
2850
+ top: 0;
2851
+ }
2852
+
2853
+ .workbase-log-calls {
2854
+ margin: 12px 0;
2855
+ padding: 0;
2856
+ list-style: none;
2857
+ }
2858
+
2859
+ .workbase-log-calls > li {
2860
+ grid-template-columns: minmax(0, 1fr) max-content max-content;
2861
+ align-items: center;
2862
+ gap: 4px 16px;
2863
+ padding-block: 8px;
2864
+ font-size: 13px;
2865
+ display: grid;
2866
+ }
2867
+
2868
+ .workbase-log-calls > li + li {
2869
+ border-top: 1px solid var(--color-border);
2870
+ }
2871
+
2872
+ .workbase-log-calls > li > span:first-child {
2873
+ overflow-wrap: anywhere;
2874
+ min-width: 0;
2875
+ }
2876
+
2877
+ .workbase-log-calls .workbase-log-note {
2878
+ white-space: nowrap;
2879
+ }
2880
+
2881
+ .workbase-log-link, .workbase-log-copy button {
2882
+ min-height: 32px;
2883
+ color: var(--color-brand);
2884
+ font: inherit;
2885
+ cursor: pointer;
2886
+ text-underline-offset: 3px;
2887
+ background: none;
2888
+ border: 0;
2889
+ padding: 4px 0;
2890
+ text-decoration: underline;
2891
+ }
2892
+
2893
+ .workbase-log-calls .workbase-log-link {
2894
+ white-space: nowrap;
2895
+ justify-self: end;
2896
+ }
2897
+
2898
+ .workbase-log-copy {
2899
+ color: var(--color-muted);
2900
+ align-items: center;
2901
+ gap: 12px;
2902
+ font-size: 12px;
2903
+ display: flex;
2904
+ }
2905
+
2906
+ .workbase-log-follow {
2907
+ justify-content: center;
2908
+ padding-top: 8px;
2909
+ display: flex;
2910
+ }
2911
+
2912
+ .workbase-log-latest {
2913
+ border: 1px solid var(--color-border-strong);
2914
+ background: var(--color-surface);
2915
+ min-height: 28px;
2916
+ color: var(--color-foreground);
2917
+ font: inherit;
2918
+ cursor: pointer;
2919
+ border-radius: 6px;
2920
+ padding: 3px 10px;
2921
+ font-size: 12px;
2922
+ }
2923
+
2924
+ .workbase-log-latest[data-following="true"] {
2925
+ visibility: hidden;
2926
+ }
2927
+
2928
+ .workbase-execution-log button:focus-visible, .workbase-log-viewport:focus-visible {
2929
+ outline: 2px solid var(--color-accent);
2930
+ outline-offset: 3px;
2931
+ }
2932
+
2933
+ .workbase-execution-log[data-display="compact"] .workbase-log-viewport {
2934
+ overscroll-behavior: contain;
2935
+ scrollbar-width: thin;
2936
+ scrollbar-color: var(--color-border-strong) transparent;
2937
+ max-height: 280px;
2938
+ padding: 2px 10px 2px 2px;
2939
+ overflow: auto;
2940
+ }
2941
+
2942
+ .workbase-execution-log[data-display="compact"] .workbase-log-entry {
2943
+ grid-template-columns: minmax(0, 1fr) auto;
2944
+ gap: 12px;
2945
+ padding: 0 0 18px 22px;
2946
+ }
2947
+
2948
+ .workbase-execution-log[data-display="compact"] .workbase-log-entry:before {
2949
+ top: 7px;
2950
+ left: 2px;
2951
+ }
2952
+
2953
+ .workbase-execution-log[data-display="compact"] .workbase-log-entry:after {
2954
+ top: 18px;
2955
+ left: 5px;
2956
+ }
2957
+
2958
+ .workbase-execution-log[data-display="compact"] .workbase-log-entry[data-status="completed"]:before {
2959
+ background: var(--color-success);
2960
+ border-color: var(--color-success);
2961
+ }
2962
+
2963
+ .workbase-execution-log[data-display="compact"] .workbase-log-time {
2964
+ grid-area: 1 / 2;
2965
+ padding: 0;
2966
+ line-height: 20px;
2967
+ }
2968
+
2969
+ .workbase-execution-log[data-display="compact"] .workbase-log-body {
2970
+ grid-area: 1 / 1;
2971
+ padding: 0;
2972
+ }
2973
+
2974
+ .workbase-execution-log[data-display="compact"] .workbase-log-heading {
2975
+ min-height: 20px;
2976
+ margin: 0;
2977
+ }
2978
+
2979
+ .workbase-execution-log[data-display="compact"] .workbase-log-heading strong {
2980
+ -webkit-line-clamp: 2;
2981
+ -webkit-box-orient: vertical;
2982
+ font-size: 13px;
2983
+ font-weight: 500;
2984
+ line-height: 20px;
2985
+ display: -webkit-box;
2986
+ overflow: hidden;
2987
+ }
2988
+
2989
+ .workbase-execution-log[data-display="compact"] .workbase-log-status {
2990
+ white-space: nowrap;
2991
+ flex-shrink: 0;
2992
+ font-size: 12px;
2993
+ }
2994
+
2995
+ .workbase-execution-log[data-display="compact"] .workbase-log-status:not([data-status="failed"], [data-status="needs_action"], [data-status="warning"], [data-status="interrupted"]) {
2996
+ clip-path: inset(50%);
2997
+ width: 1px;
2998
+ height: 1px;
2999
+ position: absolute;
3000
+ overflow: hidden;
3001
+ }
3002
+
3003
+ @media (width <= 600px) {
3004
+ .workbase-execution-log[data-display="full"] .workbase-log-entry {
3005
+ grid-template-columns: minmax(0, 1fr);
3006
+ gap: 4px;
3007
+ padding-left: 20px;
3008
+ }
3009
+
3010
+ .workbase-execution-log[data-display="full"] .workbase-log-time {
3011
+ text-align: left;
3012
+ grid-area: 1 / 1;
3013
+ }
3014
+
3015
+ .workbase-execution-log[data-display="full"] .workbase-log-body {
3016
+ grid-area: 2 / 1;
3017
+ }
3018
+
3019
+ .workbase-execution-log[data-display="full"] .workbase-log-entry:before {
3020
+ top: 9px;
3021
+ left: 0;
3022
+ }
3023
+
3024
+ .workbase-execution-log[data-display="full"] .workbase-log-entry:not(:last-child):after {
3025
+ left: 3px;
3026
+ }
3027
+
3028
+ .workbase-log-calls > li {
3029
+ grid-template-columns: minmax(0, 1fr) auto;
3030
+ }
3031
+
3032
+ .workbase-log-calls > li > span:first-child {
3033
+ grid-column: 1 / -1;
3034
+ }
3035
+
3036
+ .workbase-log-calls .workbase-log-link {
3037
+ grid-column: 2;
3038
+ }
3039
+
3040
+ .workbase-log-kind {
3041
+ margin-left: 0;
3042
+ }
3043
+ }
3044
+
3045
+ .maintenance-panel .mantine-Accordion-control {
3046
+ padding: 11px 14px;
3047
+ font-size: 13px;
3048
+ }
3049
+
3050
+ .error-message, .notice-card {
3051
+ margin: 12px 0 0;
3052
+ }
3053
+ }
3054
+
3055
+ [hidden] {
3056
+ display: none !important;
3057
+ }
3058
+
3059
+ .configuration-toolbar, .configuration-toolbar nav {
3060
+ flex-wrap: wrap;
3061
+ align-items: center;
3062
+ gap: 8px;
3063
+ display: flex;
3064
+ }
3065
+
3066
+ .configuration-page-tabs {
3067
+ background: var(--color-surface-muted);
3068
+ border-radius: 8px;
3069
+ gap: 4px;
3070
+ width: fit-content;
3071
+ padding: 4px;
3072
+ display: flex;
3073
+ }
3074
+
3075
+ .configuration-page-tabs button {
3076
+ color: var(--color-muted);
3077
+ font: inherit;
3078
+ cursor: pointer;
3079
+ background: none;
3080
+ border: 0;
3081
+ border-radius: 5px;
3082
+ padding: 8px 14px;
3083
+ font-size: 13px;
3084
+ font-weight: 500;
3085
+ }
3086
+
3087
+ .configuration-page-tabs button[aria-pressed="true"] {
3088
+ color: var(--color-foreground);
3089
+ background: var(--color-surface);
3090
+ box-shadow: 0 1px 3px #342f2812;
3091
+ }
3092
+
3093
+ .configuration-page-tabs button:focus-visible {
3094
+ outline: 2px solid var(--color-accent);
3095
+ outline-offset: 2px;
3096
+ }
3097
+
3098
+ .configuration-manager {
3099
+ min-width: 0;
3100
+ font-size: 13px;
3101
+ line-height: 1.6;
3102
+ }
3103
+
3104
+ .configuration-view {
3105
+ min-width: 0;
3106
+ }
3107
+
3108
+ .configuration-manager ::selection {
3109
+ color: var(--color-primary-foreground);
3110
+ background: var(--color-primary);
3111
+ }
3112
+
3113
+ .configuration-manager :is(input, textarea) {
3114
+ caret-color: var(--color-brand);
3115
+ }
3116
+
3117
+ .configuration-manager :is(pre, .configuration-items) {
3118
+ scrollbar-width: thin;
3119
+ scrollbar-color: var(--color-border-strong) transparent;
3120
+ }
3121
+
3122
+ .configuration-navigation {
3123
+ border-bottom: 1px solid var(--color-border);
3124
+ justify-content: space-between;
3125
+ align-items: center;
3126
+ gap: 20px;
3127
+ margin-bottom: 20px;
3128
+ display: flex;
3129
+ }
3130
+
3131
+ .configuration-tabs {
3132
+ align-self: stretch;
3133
+ gap: 24px;
3134
+ min-width: 0;
3135
+ display: flex;
3136
+ overflow-x: auto;
3137
+ }
3138
+
3139
+ .configuration-tabs button {
3140
+ color: var(--color-muted);
3141
+ font: inherit;
3142
+ cursor: pointer;
3143
+ background: none;
3144
+ border: 0;
3145
+ border-bottom: 2px solid #0000;
3146
+ flex: none;
3147
+ justify-content: center;
3148
+ align-items: center;
3149
+ gap: 7px;
3150
+ padding: 11px 0;
3151
+ font-weight: 500;
3152
+ display: flex;
3153
+ }
3154
+
3155
+ .configuration-tabs button[aria-pressed="true"] {
3156
+ color: var(--color-foreground);
3157
+ border-bottom-color: var(--color-brand-gold);
3158
+ }
3159
+
3160
+ .configuration-tabs button:hover:not(:disabled) {
3161
+ color: var(--color-foreground);
3162
+ }
3163
+
3164
+ .configuration-tabs button span {
3165
+ color: var(--color-muted);
3166
+ font-variant-numeric: tabular-nums;
3167
+ font-size: 11px;
3168
+ }
3169
+
3170
+ .configuration-tabs button:disabled {
3171
+ cursor: not-allowed;
3172
+ opacity: .5;
3173
+ }
3174
+
3175
+ .configuration-manager :is(button, input, select, textarea, summary, pre):focus-visible {
3176
+ outline: 2px solid var(--color-accent);
3177
+ outline-offset: 3px;
3178
+ }
3179
+
3180
+ .configuration-manager .configuration-resource-grid {
3181
+ border: 1px solid var(--color-border);
3182
+ background: var(--color-surface);
3183
+ border-radius: 10px;
3184
+ grid-template-columns: 248px minmax(0, 1fr);
3185
+ align-items: stretch;
3186
+ min-height: 540px;
3187
+ display: grid;
3188
+ }
3189
+
3190
+ .configuration-list {
3191
+ border-right: 1px solid var(--color-border);
3192
+ background: var(--color-surface-raised);
3193
+ border-radius: 10px 0 0 10px;
3194
+ min-width: 0;
3195
+ padding: 20px 12px 12px;
3196
+ }
3197
+
3198
+ .configuration-list-heading {
3199
+ justify-content: space-between;
3200
+ align-items: center;
3201
+ gap: 8px;
3202
+ padding: 0 4px 16px;
3203
+ display: flex;
3204
+ }
3205
+
3206
+ .configuration-manager .configuration-list-heading h2 {
3207
+ margin: 0;
3208
+ font-size: 13px;
3209
+ font-weight: 600;
3210
+ }
3211
+
3212
+ .configuration-search {
3213
+ border: 1px solid var(--color-border);
3214
+ background: var(--color-surface);
3215
+ width: 100%;
3216
+ min-width: 0;
3217
+ min-height: 36px;
3218
+ color: var(--color-foreground);
3219
+ font: inherit;
3220
+ border-radius: 6px;
3221
+ padding: 7px 10px;
3222
+ font-size: 12px;
3223
+ }
3224
+
3225
+ .configuration-search::placeholder, .configuration-field :is(input, textarea)::placeholder {
3226
+ color: var(--color-tertiary);
3227
+ opacity: 1;
3228
+ }
3229
+
3230
+ .configuration-search:disabled {
3231
+ cursor: not-allowed;
3232
+ opacity: .5;
3233
+ background: var(--color-surface-muted);
3234
+ }
3235
+
3236
+ .configuration-items {
3237
+ align-content: start;
3238
+ gap: 4px;
3239
+ max-height: 600px;
3240
+ padding-top: 12px;
3241
+ display: grid;
3242
+ overflow: auto;
3243
+ }
3244
+
3245
+ .configuration-item {
3246
+ min-width: 0;
3247
+ position: relative;
3248
+ }
3249
+
3250
+ .configuration-row {
3251
+ padding: 12px;
3252
+ text-align: left;
3253
+ width: 100%;
3254
+ color: inherit;
3255
+ font: inherit;
3256
+ cursor: pointer;
3257
+ overflow-wrap: anywhere;
3258
+ background: none;
3259
+ border: 1px solid #0000;
3260
+ border-radius: 6px;
3261
+ gap: 5px;
3262
+ padding-inline-end: 44px;
3263
+ display: grid;
3264
+ }
3265
+
3266
+ .configuration-row strong {
3267
+ font-size: 13px;
3268
+ font-weight: 600;
3269
+ line-height: 1.5;
3270
+ }
3271
+
3272
+ .configuration-row span {
3273
+ color: var(--color-muted);
3274
+ font-size: 11px;
3275
+ line-height: 1.5;
3276
+ }
3277
+
3278
+ .configuration-row:hover:not(:disabled) {
3279
+ background: var(--color-surface-muted);
3280
+ }
3281
+
3282
+ .configuration-row[aria-current="true"] {
3283
+ border-color: var(--color-border);
3284
+ background: var(--color-surface);
3285
+ }
3286
+
3287
+ .configuration-row[aria-current="true"] strong {
3288
+ color: var(--color-brand-deep);
3289
+ }
3290
+
3291
+ .configuration-row:disabled {
3292
+ cursor: not-allowed;
3293
+ }
3294
+
3295
+ .configuration-editing-notice {
3296
+ color: var(--color-muted);
3297
+ margin: 0 0 12px;
3298
+ font-size: 12px;
3299
+ }
3300
+
3301
+ .configuration-row:disabled:not([aria-current="true"]) {
3302
+ opacity: .6;
3303
+ }
3304
+
3305
+ .configuration-manager .configuration-list-footer {
3306
+ border-top: 1px solid var(--color-border);
3307
+ color: var(--color-muted);
3308
+ justify-content: flex-start;
3309
+ margin: 16px 4px 0;
3310
+ padding-top: 16px;
3311
+ font-size: 12px;
3312
+ line-height: 1.7;
3313
+ display: flex;
3314
+ }
3315
+
3316
+ .configuration-detail {
3317
+ flex-direction: column;
3318
+ min-width: 0;
3319
+ display: flex;
3320
+ }
3321
+
3322
+ .configuration-detail-header {
3323
+ border-bottom: 1px solid var(--color-border);
3324
+ flex-wrap: wrap;
3325
+ justify-content: space-between;
3326
+ align-items: flex-start;
3327
+ gap: 20px;
3328
+ padding: 26px 32px 22px;
3329
+ display: flex;
3330
+ }
3331
+
3332
+ .configuration-detail-header.is-editing {
3333
+ z-index: 2;
3334
+ background: var(--color-surface);
3335
+ position: sticky;
3336
+ top: 0;
3337
+ }
3338
+
3339
+ .configuration-header-feedback {
3340
+ flex-basis: 100%;
3341
+ gap: 12px;
3342
+ display: grid;
3343
+ }
3344
+
3345
+ .configuration-manager .configuration-header-feedback > p {
3346
+ margin: 0;
3347
+ font-size: 12px;
3348
+ }
3349
+
3350
+ .configuration-header-feedback .mantine-Alert-root {
3351
+ margin: 0;
3352
+ }
3353
+
3354
+ .configuration-detail-header > div {
3355
+ min-width: 0;
3356
+ }
3357
+
3358
+ .configuration-delete {
3359
+ opacity: 0;
3360
+ pointer-events: none;
3361
+ width: 28px;
3362
+ height: 28px;
3363
+ padding: 4px;
3364
+ position: absolute;
3365
+ inset-block-start: 8px;
3366
+ inset-inline-end: 8px;
3367
+ }
3368
+
3369
+ .configuration-delete svg {
3370
+ width: 16px;
3371
+ height: 16px;
3372
+ }
3373
+
3374
+ .configuration-item:hover .configuration-delete, .configuration-item:focus-within .configuration-delete {
3375
+ opacity: 1;
3376
+ pointer-events: auto;
3377
+ }
3378
+
3379
+ @media (hover: none), (pointer: coarse) {
3380
+ .configuration-delete {
3381
+ opacity: 1;
3382
+ pointer-events: auto;
3383
+ }
3384
+ }
3385
+
3386
+ .configuration-manager .configuration-detail-header h2 {
3387
+ letter-spacing: -.02em;
3388
+ overflow-wrap: anywhere;
3389
+ margin: 0;
3390
+ font-size: 20px;
3391
+ font-weight: 600;
3392
+ line-height: 1.4;
3393
+ }
3394
+
3395
+ .configuration-manager .configuration-detail-header p {
3396
+ color: var(--color-muted);
3397
+ flex-wrap: wrap;
3398
+ align-items: center;
3399
+ gap: 10px;
3400
+ margin: 8px 0 0;
3401
+ font-size: 12px;
3402
+ display: flex;
3403
+ }
3404
+
3405
+ .configuration-detail-header code {
3406
+ overflow-wrap: anywhere;
3407
+ font-size: 11px;
3408
+ }
3409
+
3410
+ .configuration-mode {
3411
+ border-left: 1px solid var(--color-border-strong);
3412
+ padding-left: 10px;
3413
+ }
3414
+
3415
+ .configuration-detail-body {
3416
+ flex: 1;
3417
+ min-width: 0;
3418
+ padding: 28px 32px 32px;
3419
+ }
3420
+
3421
+ .configuration-section + .configuration-section, .configuration-section + .configuration-disclosure {
3422
+ margin-top: 28px;
3423
+ }
3424
+
3425
+ .configuration-manager .configuration-section h3, .configuration-tasks legend {
3426
+ color: var(--color-foreground);
3427
+ margin: 0 0 14px;
3428
+ font-size: 14px;
3429
+ font-weight: 600;
3430
+ line-height: 1.5;
3431
+ }
3432
+
3433
+ .configuration-section-heading {
3434
+ flex-wrap: wrap;
3435
+ justify-content: space-between;
3436
+ align-items: center;
3437
+ gap: 8px;
3438
+ margin-bottom: 14px;
3439
+ display: flex;
3440
+ }
3441
+
3442
+ .configuration-manager .configuration-section-heading h3 {
3443
+ margin: 0;
3444
+ }
3445
+
3446
+ .configuration-manager .configuration-notice {
3447
+ color: var(--color-muted);
3448
+ overflow-wrap: anywhere;
3449
+ margin: 0;
3450
+ font-size: 13px;
3451
+ line-height: 1.7;
3452
+ }
3453
+
3454
+ .configuration-items > .configuration-notice {
3455
+ padding: 12px 4px;
3456
+ }
3457
+
3458
+ .configuration-manager .configuration-feedback {
3459
+ border: 1px solid var(--color-border);
3460
+ color: var(--color-foreground);
3461
+ background: var(--color-surface-raised);
3462
+ border-radius: 6px;
3463
+ margin: 0 0 16px;
3464
+ padding: 10px 14px;
3465
+ font-size: 13px;
3466
+ }
3467
+
3468
+ .configuration-manager .mantine-Alert-root {
3469
+ margin-bottom: 16px;
3470
+ }
3471
+
3472
+ .configuration-reading {
3473
+ color: var(--color-muted);
3474
+ border-bottom: 1px solid var(--color-border);
3475
+ align-items: center;
3476
+ gap: 8px;
3477
+ margin: 0;
3478
+ padding: 12px 32px;
3479
+ font-size: 12px;
3480
+ display: flex;
3481
+ }
3482
+
3483
+ .configuration-empty {
3484
+ max-width: 480px;
3485
+ margin: auto;
3486
+ padding: 48px 32px;
3487
+ }
3488
+
3489
+ .configuration-manager .configuration-empty h2 {
3490
+ margin: 0 0 12px;
3491
+ font-size: 20px;
3492
+ font-weight: 600;
3493
+ }
3494
+
3495
+ .configuration-manager .configuration-empty p {
3496
+ color: var(--color-muted);
3497
+ margin: 8px 0 0;
3498
+ font-size: 13px;
3499
+ line-height: 1.8;
3500
+ }
3501
+
3502
+ .configuration-loading {
3503
+ color: var(--color-muted);
3504
+ padding: 32px;
3505
+ }
3506
+
3507
+ .configuration-field {
3508
+ align-content: start;
3509
+ gap: 8px;
3510
+ min-width: 0;
3511
+ font-size: 13px;
3512
+ font-weight: 500;
3513
+ display: grid;
3514
+ }
3515
+
3516
+ .configuration-field + .configuration-field, .configuration-fields + .configuration-field, .configuration-notice + .configuration-field {
3517
+ margin-top: 16px;
3518
+ }
3519
+
3520
+ .configuration-field :is(input, select, textarea), .configuration-file-picker select {
3521
+ width: 100%;
3522
+ min-width: 0;
3523
+ color: var(--color-foreground);
3524
+ background: var(--color-surface);
3525
+ border: 1px solid var(--color-border-strong);
3526
+ font: inherit;
3527
+ border-radius: 6px;
3528
+ padding: 10px 12px;
3529
+ font-weight: 400;
3530
+ line-height: 1.6;
3531
+ }
3532
+
3533
+ .configuration-field :is(input, select) {
3534
+ min-height: 40px;
3535
+ }
3536
+
3537
+ .configuration-field input[readonly] {
3538
+ color: var(--color-muted);
3539
+ background: var(--color-surface-raised);
3540
+ }
3541
+
3542
+ .configuration-field textarea {
3543
+ resize: vertical;
3544
+ line-height: 1.8;
3545
+ }
3546
+
3547
+ .configuration-field .configuration-code-editor {
3548
+ tab-size: 2;
3549
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3550
+ font-size: 12px;
3551
+ line-height: 1.75;
3552
+ }
3553
+
3554
+ .configuration-hint {
3555
+ color: var(--color-muted);
3556
+ font-size: 12px;
3557
+ font-weight: 400;
3558
+ line-height: 1.6;
3559
+ }
3560
+
3561
+ .configuration-fields {
3562
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3563
+ align-items: start;
3564
+ gap: 20px;
3565
+ display: grid;
3566
+ }
3567
+
3568
+ .configuration-fields > .configuration-field {
3569
+ margin: 0;
3570
+ }
3571
+
3572
+ .configuration-form {
3573
+ flex-direction: column;
3574
+ flex: 1;
3575
+ min-width: 0;
3576
+ display: flex;
3577
+ }
3578
+
3579
+ .configuration-form > fieldset {
3580
+ border: 0;
3581
+ min-width: 0;
3582
+ margin: 0;
3583
+ }
3584
+
3585
+ .configuration-document-bar {
3586
+ border-bottom: 1px solid var(--color-border);
3587
+ color: var(--color-muted);
3588
+ overflow-wrap: anywhere;
3589
+ flex-wrap: wrap;
3590
+ justify-content: space-between;
3591
+ align-items: center;
3592
+ gap: 12px;
3593
+ margin-bottom: 20px;
3594
+ padding-bottom: 16px;
3595
+ font-size: 12px;
3596
+ display: flex;
3597
+ }
3598
+
3599
+ .configuration-document-bar > span {
3600
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3601
+ }
3602
+
3603
+ .configuration-file-picker {
3604
+ align-items: center;
3605
+ gap: 10px;
3606
+ min-width: 0;
3607
+ max-width: 100%;
3608
+ display: flex;
3609
+ }
3610
+
3611
+ .configuration-file-picker select {
3612
+ width: auto;
3613
+ padding: 6px 8px;
3614
+ font-size: 12px;
3615
+ }
3616
+
3617
+ .configuration-manager .configuration-content {
3618
+ border: 1px solid var(--color-border);
3619
+ background: var(--color-surface-raised);
3620
+ white-space: pre-wrap;
3621
+ overflow-wrap: anywhere;
3622
+ border-radius: 6px;
3623
+ max-height: 520px;
3624
+ margin: 0;
3625
+ padding: 20px;
3626
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3627
+ font-size: 12px;
3628
+ line-height: 1.8;
3629
+ overflow: auto;
3630
+ }
3631
+
3632
+ .configuration-manager .configuration-prose {
3633
+ max-width: 72ch;
3634
+ color: var(--color-foreground);
3635
+ overflow-wrap: anywhere;
3636
+ font-size: 14px;
3637
+ line-height: 1.85;
3638
+ }
3639
+
3640
+ .configuration-manager .configuration-prose :is(h1, h2, h3, h4) {
3641
+ margin: 28px 0 12px;
3642
+ font-weight: 600;
3643
+ line-height: 1.5;
3644
+ }
3645
+
3646
+ .configuration-manager .configuration-prose h1 {
3647
+ font-size: 22px;
3648
+ }
3649
+
3650
+ .configuration-manager .configuration-prose h2 {
3651
+ font-size: 18px;
3652
+ }
3653
+
3654
+ .configuration-manager .configuration-prose :is(h3, h4) {
3655
+ font-size: 15px;
3656
+ }
3657
+
3658
+ .configuration-manager .configuration-prose > :first-child {
3659
+ margin-top: 0;
3660
+ }
3661
+
3662
+ .configuration-manager .configuration-prose > :last-child {
3663
+ margin-bottom: 0;
3664
+ }
3665
+
3666
+ .configuration-manager .configuration-prose p {
3667
+ margin: 12px 0;
3668
+ }
3669
+
3670
+ .configuration-prose :is(ul, ol) {
3671
+ margin: 12px 0;
3672
+ padding-left: 22px;
3673
+ }
3674
+
3675
+ .configuration-prose li + li {
3676
+ margin-top: 5px;
3677
+ }
3678
+
3679
+ .configuration-prose a {
3680
+ color: var(--color-brand);
3681
+ text-underline-offset: 3px;
3682
+ }
3683
+
3684
+ .configuration-prose code {
3685
+ background: var(--color-surface-muted);
3686
+ border-radius: 3px;
3687
+ padding: 2px 4px;
3688
+ font-size: .9em;
3689
+ }
3690
+
3691
+ .configuration-prose pre {
3692
+ background: var(--color-surface-raised);
3693
+ border: 1px solid var(--color-border);
3694
+ border-radius: 6px;
3695
+ max-width: 100%;
3696
+ padding: 16px;
3697
+ overflow-x: auto;
3698
+ }
3699
+
3700
+ .configuration-prose pre code {
3701
+ background: none;
3702
+ padding: 0;
3703
+ }
3704
+
3705
+ .configuration-prose blockquote {
3706
+ border-left: 1px solid var(--color-border-strong);
3707
+ color: var(--color-muted);
3708
+ margin: 16px 0;
3709
+ padding: 4px 16px;
3710
+ }
3711
+
3712
+ .configuration-prose table {
3713
+ border-collapse: collapse;
3714
+ width: 100%;
3715
+ font-size: 13px;
3716
+ display: block;
3717
+ overflow-x: auto;
3718
+ }
3719
+
3720
+ .configuration-prose :is(td, th) {
3721
+ border: 1px solid var(--color-border);
3722
+ text-align: left;
3723
+ padding: 8px 12px;
3724
+ }
3725
+
3726
+ .configuration-facts {
3727
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3728
+ gap: 20px 24px;
3729
+ margin: 0;
3730
+ display: grid;
3731
+ }
3732
+
3733
+ .configuration-facts dt {
3734
+ color: var(--color-muted);
3735
+ margin-bottom: 5px;
3736
+ font-size: 12px;
3737
+ }
3738
+
3739
+ .configuration-facts dd {
3740
+ overflow-wrap: anywhere;
3741
+ margin: 0;
3742
+ font-size: 13px;
3743
+ }
3744
+
3745
+ .configuration-tasks {
3746
+ border: 0;
3747
+ min-width: 0;
3748
+ padding: 0;
3749
+ }
3750
+
3751
+ .configuration-tasks legend {
3752
+ padding: 0;
3753
+ }
3754
+
3755
+ .configuration-tasks > label {
3756
+ border-bottom: 1px solid var(--color-border);
3757
+ cursor: pointer;
3758
+ overflow-wrap: anywhere;
3759
+ align-items: flex-start;
3760
+ gap: 10px;
3761
+ padding: 12px 0;
3762
+ display: flex;
3763
+ }
3764
+
3765
+ .configuration-tasks input {
3766
+ width: 16px;
3767
+ height: 16px;
3768
+ accent-color: var(--color-brand);
3769
+ flex-shrink: 0;
3770
+ margin: 3px 0;
3771
+ }
3772
+
3773
+ .configuration-tasks label span {
3774
+ gap: 3px;
3775
+ display: grid;
3776
+ }
3777
+
3778
+ .configuration-tasks strong, .configuration-task-list strong {
3779
+ font-size: 13px;
3780
+ font-weight: 500;
3781
+ }
3782
+
3783
+ .configuration-tasks small, .configuration-task-list span {
3784
+ color: var(--color-muted);
3785
+ font-size: 12px;
3786
+ }
3787
+
3788
+ .configuration-task-list {
3789
+ margin: 0;
3790
+ padding: 0;
3791
+ list-style: none;
3792
+ }
3793
+
3794
+ .configuration-task-list li {
3795
+ border-bottom: 1px solid var(--color-border);
3796
+ overflow-wrap: anywhere;
3797
+ gap: 4px;
3798
+ padding: 12px 0;
3799
+ display: grid;
3800
+ }
3801
+
3802
+ .configuration-disclosure {
3803
+ border-top: 1px solid var(--color-border);
3804
+ margin-top: 24px;
3805
+ padding-top: 16px;
3806
+ }
3807
+
3808
+ .configuration-disclosure summary {
3809
+ cursor: pointer;
3810
+ width: fit-content;
3811
+ padding: 4px 0;
3812
+ font-size: 13px;
3813
+ font-weight: 500;
3814
+ }
3815
+
3816
+ .configuration-disclosure summary span {
3817
+ color: var(--color-muted);
3818
+ margin-left: 10px;
3819
+ font-size: 12px;
3820
+ font-weight: 400;
3821
+ }
3822
+
3823
+ .configuration-disclosure[open] > summary {
3824
+ margin-bottom: 16px;
3825
+ }
3826
+
3827
+ .configuration-footer {
3828
+ border-top: 1px solid var(--color-border);
3829
+ background: var(--color-surface-raised);
3830
+ border-radius: 0 0 10px;
3831
+ flex-wrap: wrap;
3832
+ justify-content: space-between;
3833
+ align-items: center;
3834
+ gap: 12px;
3835
+ margin-top: auto;
3836
+ padding: 16px 24px;
3837
+ display: flex;
3838
+ }
3839
+
3840
+ .configuration-manager .configuration-footer p {
3841
+ color: var(--color-muted);
3842
+ flex: 220px;
3843
+ margin: 0;
3844
+ font-size: 12px;
3845
+ line-height: 1.6;
3846
+ }
3847
+
3848
+ .configuration-actions {
3849
+ flex-wrap: wrap;
3850
+ justify-content: flex-end;
3851
+ align-items: center;
3852
+ gap: 8px;
3853
+ display: flex;
3854
+ }
3855
+
3856
+ @media (width <= 900px) {
3857
+ .configuration-manager .configuration-resource-grid {
3858
+ grid-template-columns: 200px minmax(0, 1fr);
3859
+ }
3860
+
3861
+ .configuration-detail-header {
3862
+ padding: 22px 24px;
3863
+ }
3864
+
3865
+ .configuration-detail-body {
3866
+ padding: 24px;
3867
+ }
3868
+
3869
+ .configuration-tabs {
3870
+ gap: 18px;
3871
+ }
3872
+ }
3873
+
3874
+ @media (width <= 720px) {
3875
+ .configuration-navigation {
3876
+ flex-wrap: wrap;
3877
+ gap: 12px;
3878
+ padding-bottom: 12px;
3879
+ }
3880
+
3881
+ .configuration-tabs {
3882
+ gap: 20px;
3883
+ width: 100%;
3884
+ }
3885
+
3886
+ .configuration-manager .configuration-resource-grid {
3887
+ grid-template-columns: minmax(0, 1fr);
3888
+ }
3889
+
3890
+ .configuration-list {
3891
+ border-right: 0;
3892
+ border-bottom: 1px solid var(--color-border);
3893
+ border-radius: 10px 10px 0 0;
3894
+ }
3895
+
3896
+ .configuration-manager[data-editing="true"] .configuration-list {
3897
+ display: none;
3898
+ }
3899
+
3900
+ .configuration-items {
3901
+ max-height: 176px;
3902
+ }
3903
+
3904
+ .configuration-list-footer {
3905
+ margin-top: 12px;
3906
+ }
3907
+
3908
+ .configuration-detail-header {
3909
+ gap: 12px;
3910
+ padding: 20px;
3911
+ }
3912
+
3913
+ .configuration-detail-body {
3914
+ padding: 24px 20px;
3915
+ }
3916
+
3917
+ .configuration-fields, .configuration-facts {
3918
+ grid-template-columns: minmax(0, 1fr);
3919
+ gap: 16px;
3920
+ }
3921
+
3922
+ .configuration-empty {
3923
+ padding: 36px 20px;
3924
+ }
3925
+
3926
+ .configuration-footer {
3927
+ border-radius: 0 0 10px 10px;
3928
+ padding: 16px 20px;
3929
+ }
3930
+
3931
+ .configuration-actions {
3932
+ margin-left: auto;
3933
+ }
3934
+
3935
+ .configuration-disclosure summary span {
3936
+ margin: 4px 0 0 16px;
3937
+ display: block;
3938
+ }
3939
+ }
3940
+
3941
+ .vditor {
3942
+ --border-color: #d1d5da;
3943
+ --second-color: #5860695c;
3944
+ --panel-background-color: #fff;
3945
+ --panel-shadow: 0 1px 2px #0003;
3946
+ --toolbar-background-color: #f6f8fa;
3947
+ --toolbar-icon-color: #586069;
3948
+ --toolbar-icon-hover-color: #4285f4;
3949
+ --toolbar-height: 35px;
3950
+ --toolbar-divider-margin-top: 8px;
3951
+ --textarea-background-color: #fafbfc;
3952
+ --textarea-text-color: #24292e;
3953
+ --resize-icon-color: var(--toolbar-icon-color);
3954
+ --resize-background-color: var(--toolbar-background-color);
3955
+ --resize-hover-icon-color: var(--panel-background-color);
3956
+ --resize-hover-background-color: var(--toolbar-icon-hover-color);
3957
+ --count-background-color: #1b1f230d;
3958
+ --heading-border-color: #eaecef;
3959
+ --blockquote-color: #6a737d;
3960
+ --blockquote-border-color: #e0e0e0;
3961
+ --blockquote-text-color: #5f6368;
3962
+ --callout-note-color: #3575f0;
3963
+ --callout-tip-color: #65b84d;
3964
+ --callout-important-color: #8957e5;
3965
+ --callout-warning-color: #ff9632;
3966
+ --callout-caution-color: #d23f31;
3967
+ --ir-heading-color: #660e7a;
3968
+ --ir-title-color: gray;
3969
+ --ir-bi-color: #0033b3;
3970
+ --ir-link-color: green;
3971
+ --ir-bracket-color: #00f;
3972
+ --ir-paren-color: green;
3973
+ }
3974
+
3975
+ .vditor--dark {
3976
+ --border-color: #141414;
3977
+ --second-color: #b9b9b95c;
3978
+ --panel-background-color: #24292e;
3979
+ --panel-shadow: 0 1px 2px #fff3;
3980
+ --toolbar-background-color: #1d2125;
3981
+ --toolbar-icon-color: #b9b9b9;
3982
+ --toolbar-icon-hover-color: #fff;
3983
+ --textarea-background-color: #2f363d;
3984
+ --textarea-text-color: #d1d5da;
3985
+ --resize-icon-color: var(--border-color);
3986
+ --resize-background-color: var(--second-color);
3987
+ --resize-hover-icon-color: var(--toolbar-icon-hover-color);
3988
+ --resize-hover-background-color: #b9b9b9db;
3989
+ --count-background-color: #4285f45c;
3990
+ --heading-border-color: var(--textarea-text-color);
3991
+ --blockquote-color: var(--toolbar-icon-color);
3992
+ --blockquote-border-color: #e6e6e61a;
3993
+ --blockquote-text-color: #9aa0a6;
3994
+ --callout-note-color: #3575f0;
3995
+ --callout-tip-color: #65b84d;
3996
+ --callout-important-color: #b388ff;
3997
+ --callout-warning-color: #ff9632;
3998
+ --callout-caution-color: #d23f31;
3999
+ --ir-heading-color: #9876aa;
4000
+ --ir-title-color: gray;
4001
+ --ir-bi-color: #cc7832;
4002
+ --ir-link-color: #ffc66d;
4003
+ --ir-bracket-color: #287bde;
4004
+ --ir-paren-color: #6a8759;
4005
+ }
4006
+
4007
+ @keyframes tooltip-appear {
4008
+ from {
4009
+ opacity: 0;
4010
+ }
4011
+
4012
+ to {
4013
+ opacity: 1;
4014
+ }
4015
+ }
4016
+
4017
+ .vditor-tooltipped {
4018
+ cursor: pointer;
4019
+ position: relative;
4020
+ }
4021
+
4022
+ .vditor-tooltipped:after {
4023
+ z-index: 1000000;
4024
+ -webkit-font-smoothing: subpixel-antialiased;
4025
+ color: #fff;
4026
+ text-align: center;
4027
+ text-shadow: none;
4028
+ text-transform: none;
4029
+ letter-spacing: normal;
4030
+ word-wrap: break-word;
4031
+ white-space: pre;
4032
+ pointer-events: none;
4033
+ content: attr(aria-label);
4034
+ opacity: 0;
4035
+ background: #3b3e43;
4036
+ border-radius: 3px;
4037
+ padding: 5px 8px;
4038
+ font-size: 11px;
4039
+ font-weight: normal;
4040
+ line-height: 16px;
4041
+ text-decoration: none;
4042
+ display: none;
4043
+ position: absolute;
4044
+ }
4045
+
4046
+ .vditor-tooltipped:before {
4047
+ z-index: 1000001;
4048
+ color: #3b3e43;
4049
+ pointer-events: none;
4050
+ content: "";
4051
+ opacity: 0;
4052
+ border: 5px solid #0000;
4053
+ width: 0;
4054
+ height: 0;
4055
+ display: none;
4056
+ position: absolute;
4057
+ }
4058
+
4059
+ .vditor-tooltipped--hover:before, .vditor-tooltipped--hover:after, .vditor-tooltipped:hover:before, .vditor-tooltipped:hover:after, .vditor-tooltipped:active:before, .vditor-tooltipped:active:after, .vditor-tooltipped:focus:before, .vditor-tooltipped:focus:after {
4060
+ text-decoration: none;
4061
+ animation-name: tooltip-appear;
4062
+ animation-duration: .15s;
4063
+ animation-timing-function: ease-in;
4064
+ animation-fill-mode: forwards;
4065
+ display: inline-block;
4066
+ }
4067
+
4068
+ .vditor-tooltipped__s:after, .vditor-tooltipped__se:after, .vditor-tooltipped__sw:after {
4069
+ margin-top: 5px;
4070
+ top: 100%;
4071
+ right: 50%;
4072
+ }
4073
+
4074
+ .vditor-tooltipped__s:before, .vditor-tooltipped__se:before, .vditor-tooltipped__sw:before {
4075
+ border-bottom-color: #3b3e43;
4076
+ margin-right: -5px;
4077
+ top: auto;
4078
+ bottom: -5px;
4079
+ right: 50%;
4080
+ }
4081
+
4082
+ .vditor-tooltipped__se:after {
4083
+ margin-left: -15px;
4084
+ left: 50%;
4085
+ right: auto;
4086
+ }
4087
+
4088
+ .vditor-tooltipped__sw:after {
4089
+ margin-right: -15px;
4090
+ }
4091
+
4092
+ .vditor-tooltipped__n:after, .vditor-tooltipped__ne:after, .vditor-tooltipped__nw:after {
4093
+ margin-bottom: 5px;
4094
+ bottom: 100%;
4095
+ right: 50%;
4096
+ }
4097
+
4098
+ .vditor-tooltipped__n:before, .vditor-tooltipped__ne:before, .vditor-tooltipped__nw:before {
4099
+ border-top-color: #3b3e43;
4100
+ margin-right: -5px;
4101
+ top: -5px;
4102
+ bottom: auto;
4103
+ right: 50%;
4104
+ }
4105
+
4106
+ .vditor-tooltipped__ne:after {
4107
+ margin-left: -15px;
4108
+ left: 50%;
4109
+ right: auto;
4110
+ }
4111
+
4112
+ .vditor-tooltipped__nw:after {
4113
+ margin-right: -15px;
4114
+ }
4115
+
4116
+ .vditor-tooltipped__s:after, .vditor-tooltipped__n:after {
4117
+ transform: translateX(50%);
4118
+ }
4119
+
4120
+ .vditor-tooltipped__w:after {
4121
+ margin-right: 5px;
4122
+ bottom: 50%;
4123
+ right: 100%;
4124
+ transform: translateY(50%);
4125
+ }
4126
+
4127
+ .vditor-tooltipped__w:before {
4128
+ border-left-color: #3b3e43;
4129
+ margin-top: -5px;
4130
+ top: 50%;
4131
+ bottom: 50%;
4132
+ left: -5px;
4133
+ }
4134
+
4135
+ .vditor-tooltipped__e:after {
4136
+ margin-left: 5px;
4137
+ bottom: 50%;
4138
+ left: 100%;
4139
+ transform: translateY(50%);
4140
+ }
4141
+
4142
+ .vditor-tooltipped__e:before {
4143
+ border-right-color: #3b3e43;
4144
+ margin-top: -5px;
4145
+ top: 50%;
4146
+ bottom: 50%;
4147
+ right: -5px;
4148
+ }
4149
+
4150
+ @media screen and (width <= 520px) {
4151
+ .vditor-tooltipped:before, .vditor-tooltipped:after {
4152
+ content: none;
4153
+ }
4154
+ }
4155
+
4156
+ @keyframes scale-in {
4157
+ 0% {
4158
+ opacity: 0;
4159
+ transform: scale(.5);
4160
+ }
4161
+
4162
+ 100% {
4163
+ opacity: 1;
4164
+ transform: scale(1);
4165
+ }
4166
+ }
4167
+
4168
+ .vditor-panel {
4169
+ background-color: var(--panel-background-color);
4170
+ box-shadow: var(--panel-shadow);
4171
+ z-index: 3;
4172
+ -webkit-user-select: none;
4173
+ -moz-user-select: none;
4174
+ user-select: none;
4175
+ min-width: 80px;
4176
+ max-width: 320px;
4177
+ color: var(--toolbar-icon-color);
4178
+ border-radius: 3px;
4179
+ padding: 5px;
4180
+ font-size: 14px;
4181
+ animation-name: scale-in;
4182
+ animation-duration: .15s;
4183
+ animation-timing-function: cubic-bezier(.2, 0, .13, 1.5);
4184
+ display: none;
4185
+ position: absolute;
4186
+ }
4187
+
4188
+ .vditor-panel--none {
4189
+ white-space: nowrap;
4190
+ opacity: .86;
4191
+ min-width: auto;
4192
+ max-width: none;
4193
+ padding: 0;
4194
+ animation: none;
4195
+ }
4196
+
4197
+ .vditor-panel--arrow:before {
4198
+ pointer-events: none;
4199
+ content: " ";
4200
+ border: 7px solid #0000;
4201
+ border-bottom-color: var(--panel-background-color);
4202
+ width: 0;
4203
+ height: 0;
4204
+ position: absolute;
4205
+ top: -14px;
4206
+ left: 5px;
4207
+ }
4208
+
4209
+ .vditor-panel--left {
4210
+ right: 0;
4211
+ }
4212
+
4213
+ .vditor-panel--left.vditor-panel--arrow:before {
4214
+ left: auto;
4215
+ right: 5px;
4216
+ }
4217
+
4218
+ .vditor-input {
4219
+ background-color: var(--panel-background-color);
4220
+ color: var(--textarea-text-color);
4221
+ border: 0;
4222
+ padding: 3px 5px;
4223
+ font-size: 12px;
4224
+ }
4225
+
4226
+ .vditor-input:focus {
4227
+ background-color: var(--toolbar-background-color);
4228
+ outline: none;
4229
+ }
4230
+
4231
+ .vditor-icon {
4232
+ color: var(--toolbar-icon-color);
4233
+ cursor: pointer;
4234
+ float: left;
4235
+ box-sizing: border-box;
4236
+ background-color: #0000;
4237
+ border: 0;
4238
+ width: 23px;
4239
+ height: 21px;
4240
+ padding: 4px 5px;
4241
+ }
4242
+
4243
+ .vditor-icon:hover, .vditor-icon--current {
4244
+ color: var(--toolbar-icon-hover-color);
4245
+ background-color: #0000;
4246
+ }
4247
+
4248
+ .vditor-icon:focus {
4249
+ outline: none;
4250
+ }
4251
+
4252
+ .vditor-icon svg {
4253
+ float: left;
4254
+ fill: currentColor;
4255
+ pointer-events: none;
4256
+ width: 13px !important;
4257
+ height: 13px !important;
4258
+ }
4259
+
4260
+ .vditor-toolbar {
4261
+ background-color: var(--toolbar-background-color);
4262
+ border-bottom: 1px solid var(--border-color);
4263
+ padding: 0 5px;
4264
+ line-height: 1;
4265
+ }
4266
+
4267
+ .vditor-toolbar--pin {
4268
+ z-index: 1;
4269
+ position: sticky;
4270
+ top: 0;
4271
+ }
4272
+
4273
+ .vditor-toolbar--hide {
4274
+ height: 5px;
4275
+ transition: all .15s ease-in-out;
4276
+ overflow: hidden;
4277
+ }
4278
+
4279
+ .vditor-toolbar--hide:hover {
4280
+ background-color: var(--toolbar-background-color);
4281
+ height: auto;
4282
+ overflow: visible;
4283
+ }
4284
+
4285
+ .vditor-toolbar__item {
4286
+ float: left;
4287
+ position: relative;
4288
+ }
4289
+
4290
+ .vditor-toolbar__item .vditor-tooltipped {
4291
+ color: var(--toolbar-icon-color);
4292
+ height: var(--toolbar-height);
4293
+ box-sizing: border-box;
4294
+ background-color: #0000;
4295
+ border: 0;
4296
+ width: 25px;
4297
+ padding: 10px 5px;
4298
+ font-size: 0;
4299
+ }
4300
+
4301
+ .vditor-toolbar__item .vditor-tooltipped:focus {
4302
+ cursor: pointer;
4303
+ color: var(--toolbar-icon-hover-color);
4304
+ outline: none;
4305
+ }
4306
+
4307
+ .vditor-toolbar__item svg {
4308
+ fill: currentColor;
4309
+ stroke-width: 0;
4310
+ stroke: currentColor;
4311
+ width: 15px;
4312
+ height: 15px;
4313
+ display: inline-block;
4314
+ }
4315
+
4316
+ .vditor-toolbar__item input {
4317
+ width: 25px;
4318
+ height: var(--toolbar-height);
4319
+ cursor: pointer;
4320
+ opacity: .001;
4321
+ position: absolute;
4322
+ top: 0;
4323
+ left: 0;
4324
+ overflow: hidden;
4325
+ }
4326
+
4327
+ .vditor-toolbar__divider {
4328
+ float: left;
4329
+ height: calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));
4330
+ border-left: 1px solid var(--second-color);
4331
+ margin: var(--toolbar-divider-margin-top) 8px;
4332
+ }
4333
+
4334
+ .vditor-toolbar__br {
4335
+ width: 100%;
4336
+ height: 0 !important;
4337
+ padding: 0 !important;
4338
+ }
4339
+
4340
+ .vditor-menu--current {
4341
+ color: var(--toolbar-icon-hover-color) !important;
4342
+ }
4343
+
4344
+ .vditor-menu--disabled {
4345
+ color: var(--second-color) !important;
4346
+ cursor: not-allowed !important;
4347
+ }
4348
+
4349
+ .vditor-emojis {
4350
+ display: inline-block;
4351
+ overflow: auto;
4352
+ }
4353
+
4354
+ .vditor-emojis::-webkit-scrollbar {
4355
+ display: none;
4356
+ }
4357
+
4358
+ .vditor-emojis__tip {
4359
+ width: 200px;
4360
+ min-width: 1px;
4361
+ color: var(--toolbar-icon-color);
4362
+ white-space: nowrap;
4363
+ text-overflow: ellipsis;
4364
+ flex: 1;
4365
+ margin-right: 10px;
4366
+ overflow: hidden;
4367
+ }
4368
+
4369
+ .vditor-emojis__tail {
4370
+ color: var(--toolbar-icon-color);
4371
+ margin-top: 5px;
4372
+ font-size: 12px;
4373
+ display: flex;
4374
+ }
4375
+
4376
+ .vditor-emojis__tail a {
4377
+ color: var(--toolbar-icon-color);
4378
+ text-decoration: none;
4379
+ }
4380
+
4381
+ .vditor-emojis__tail a:hover {
4382
+ color: var(--toolbar-icon-hover-color);
4383
+ }
4384
+
4385
+ .vditor-emojis button {
4386
+ cursor: pointer;
4387
+ float: left;
4388
+ text-align: center;
4389
+ box-sizing: border-box;
4390
+ background-color: #0000;
4391
+ border: 0;
4392
+ border-radius: 3px;
4393
+ width: 30px;
4394
+ height: 30px;
4395
+ margin: 0;
4396
+ padding: 3px;
4397
+ font-size: 16px;
4398
+ line-height: 26px;
4399
+ transition: all .15s ease-in-out;
4400
+ overflow: hidden;
4401
+ }
4402
+
4403
+ .vditor-emojis button:focus {
4404
+ outline: none;
4405
+ }
4406
+
4407
+ .vditor-emojis button:hover .vditor-emojis__icon {
4408
+ display: inline-block;
4409
+ transform: scale(1.2);
4410
+ }
4411
+
4412
+ .vditor-emojis img {
4413
+ float: left;
4414
+ width: 20px;
4415
+ height: 20px;
4416
+ margin: 3px 0 0 3px;
4417
+ }
4418
+
4419
+ @media screen and (width <= 520px) {
4420
+ .vditor-toolbar__item {
4421
+ padding: 0 12px;
4422
+ }
4423
+
4424
+ .vditor-panel--left.vditor-panel--arrow:before {
4425
+ right: 17px;
4426
+ }
4427
+ }
4428
+
4429
+ @media (hover: hover) and (pointer: fine) {
4430
+ .vditor-toolbar__item .vditor-tooltipped:hover {
4431
+ color: var(--toolbar-icon-hover-color);
4432
+ }
4433
+ }
4434
+
4435
+ @keyframes slideInDown {
4436
+ from {
4437
+ visibility: visible;
4438
+ transform: translate3d(0, -100%, 0);
4439
+ }
4440
+
4441
+ to {
4442
+ transform: translate3d(0, 0, 0);
4443
+ }
4444
+ }
4445
+
4446
+ .vditor {
4447
+ border: 1px solid var(--border-color);
4448
+ box-sizing: border-box;
4449
+ border-radius: 3px;
4450
+ flex-direction: column;
4451
+ font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
4452
+ display: flex;
4453
+ }
4454
+
4455
+ .vditor--fullscreen {
4456
+ z-index: 90;
4457
+ border-radius: 0;
4458
+ position: fixed;
4459
+ top: 0;
4460
+ left: 0;
4461
+ width: 100% !important;
4462
+ height: 100vh !important;
4463
+ }
4464
+
4465
+ .vditor-content {
4466
+ flex: 1;
4467
+ min-width: 1px;
4468
+ min-height: 60px;
4469
+ display: flex;
4470
+ position: relative;
4471
+ }
4472
+
4473
+ .vditor-preview {
4474
+ border-left: 1px solid var(--border-color);
4475
+ box-sizing: border-box;
4476
+ background-color: var(--textarea-background-color);
4477
+ border-radius: 0 0 3px;
4478
+ flex: 1;
4479
+ min-width: 1px;
4480
+ margin-left: -1px;
4481
+ overflow: auto;
4482
+ }
4483
+
4484
+ .vditor-preview::-webkit-scrollbar {
4485
+ display: none;
4486
+ }
4487
+
4488
+ .vditor-preview__action {
4489
+ text-align: center;
4490
+ background-color: var(--toolbar-background-color);
4491
+ padding: 10px;
4492
+ }
4493
+
4494
+ .vditor-preview__action button {
4495
+ background-color: var(--toolbar-background-color);
4496
+ color: var(--toolbar-icon-color);
4497
+ cursor: pointer;
4498
+ border: 0;
4499
+ margin: 0 10px;
4500
+ padding: 0 7px;
4501
+ font-size: 12px;
4502
+ line-height: 20px;
4503
+ }
4504
+
4505
+ .vditor-preview__action button.vditor-preview__action--current, .vditor-preview__action button:hover {
4506
+ color: var(--toolbar-icon-hover-color);
4507
+ background-color: var(--toolbar-background-color);
4508
+ }
4509
+
4510
+ .vditor-preview__action button:focus {
4511
+ outline: none;
4512
+ }
4513
+
4514
+ .vditor-preview__action button svg {
4515
+ fill: currentColor;
4516
+ vertical-align: middle;
4517
+ width: 15px;
4518
+ height: 15px;
4519
+ }
4520
+
4521
+ .vditor-preview > .vditor-reset {
4522
+ margin: 0 auto;
4523
+ padding: 10px;
4524
+ }
4525
+
4526
+ .vditor-preview img:not(.emoji) {
4527
+ cursor: pointer;
4528
+ }
4529
+
4530
+ .vditor-devtools {
4531
+ background-color: var(--textarea-background-color);
4532
+ min-width: 1px;
4533
+ box-shadow: inset 1px 0 var(--border-color);
4534
+ box-sizing: border-box;
4535
+ border-radius: 0 0 3px;
4536
+ flex: 1;
4537
+ padding: 10px;
4538
+ display: none;
4539
+ overflow: auto;
4540
+ }
4541
+
4542
+ .vditor-counter {
4543
+ color: var(--toolbar-icon-color);
4544
+ background-color: var(--count-background-color);
4545
+ -webkit-user-select: none;
4546
+ -moz-user-select: none;
4547
+ user-select: none;
4548
+ float: right;
4549
+ border-radius: 3px;
4550
+ margin: 8px 3px 0 0;
4551
+ padding: 3px;
4552
+ font-size: 12px;
4553
+ }
4554
+
4555
+ .vditor-counter--error {
4556
+ color: #d23f31;
4557
+ background-color: #d23f311a;
4558
+ }
4559
+
4560
+ .vditor-resize {
4561
+ cursor: row-resize;
4562
+ -webkit-user-select: none;
4563
+ -moz-user-select: none;
4564
+ user-select: none;
4565
+ width: 100%;
4566
+ padding: 3px 0;
4567
+ position: absolute;
4568
+ }
4569
+
4570
+ .vditor-resize--top {
4571
+ top: -3px;
4572
+ }
4573
+
4574
+ .vditor-resize--bottom {
4575
+ bottom: -3px;
4576
+ }
4577
+
4578
+ .vditor-resize > div {
4579
+ background-color: var(--resize-background-color);
4580
+ height: 3px;
4581
+ transition: all .15s ease-in-out;
4582
+ }
4583
+
4584
+ .vditor-resize:hover > div, .vditor-resize--selected > div {
4585
+ background-color: var(--resize-hover-background-color);
4586
+ }
4587
+
4588
+ .vditor-resize:hover svg, .vditor-resize--selected svg {
4589
+ color: var(--resize-hover-icon-color);
4590
+ }
4591
+
4592
+ .vditor-resize svg {
4593
+ fill: currentColor;
4594
+ stroke-width: 0;
4595
+ stroke: currentColor;
4596
+ width: 13px;
4597
+ height: 3px;
4598
+ color: var(--resize-icon-color);
4599
+ margin: 0 auto;
4600
+ display: block;
4601
+ }
4602
+
4603
+ .vditor-upload {
4604
+ background-color: #4285f4;
4605
+ height: 3px;
4606
+ transition: all .15s ease-in-out;
4607
+ position: absolute;
4608
+ top: -2px;
4609
+ left: 0;
4610
+ }
4611
+
4612
+ .vditor-tip {
4613
+ z-index: 5;
4614
+ font-size: 12px;
4615
+ animation-duration: .15s;
4616
+ animation-fill-mode: both;
4617
+ position: absolute;
4618
+ top: 10px;
4619
+ left: 50%;
4620
+ }
4621
+
4622
+ .vditor-tip--show {
4623
+ animation-name: slideInDown;
4624
+ display: block;
4625
+ }
4626
+
4627
+ .vditor-tip__content {
4628
+ text-align: left;
4629
+ background: var(--toolbar-background-color);
4630
+ color: var(--toolbar-icon-color);
4631
+ max-width: 100%;
4632
+ box-shadow: var(--panel-shadow);
4633
+ border-radius: 3px;
4634
+ margin-left: -50%;
4635
+ padding: 3px 10px;
4636
+ line-height: 16px;
4637
+ display: inline-block;
4638
+ position: relative;
4639
+ }
4640
+
4641
+ .vditor-tip__content ul {
4642
+ margin: 2px 0;
4643
+ padding: 0 0 0 18px;
4644
+ }
4645
+
4646
+ .vditor-tip__content a {
4647
+ color: #4285f4;
4648
+ }
4649
+
4650
+ .vditor-tip__close {
4651
+ color: var(--toolbar-icon-color);
4652
+ cursor: pointer;
4653
+ font-weight: bold;
4654
+ position: absolute;
4655
+ top: -7px;
4656
+ right: -15px;
4657
+ }
4658
+
4659
+ .vditor-tip__close:hover {
4660
+ color: var(--toolbar-icon-hover-color);
4661
+ }
4662
+
4663
+ .vditor-img {
4664
+ z-index: 100;
4665
+ flex-direction: column;
4666
+ display: flex;
4667
+ position: fixed;
4668
+ inset: 0;
4669
+ }
4670
+
4671
+ .vditor-img__bar {
4672
+ border-bottom: 1px solid var(--border-color);
4673
+ background-color: var(--toolbar-background-color);
4674
+ text-align: center;
4675
+ box-sizing: border-box;
4676
+ justify-content: center;
4677
+ align-items: center;
4678
+ height: 36px;
4679
+ display: flex;
4680
+ }
4681
+
4682
+ .vditor-img__btn {
4683
+ cursor: pointer;
4684
+ -webkit-user-select: none;
4685
+ -moz-user-select: none;
4686
+ user-select: none;
4687
+ color: var(--toolbar-icon-color);
4688
+ align-items: center;
4689
+ margin-left: 24px;
4690
+ display: flex;
4691
+ }
4692
+
4693
+ .vditor-img__btn:hover {
4694
+ color: var(--toolbar-icon-hover-color);
4695
+ }
4696
+
4697
+ .vditor-img__btn svg {
4698
+ fill: currentColor;
4699
+ width: 14px;
4700
+ height: 14px;
4701
+ margin-right: 8px;
4702
+ }
4703
+
4704
+ .vditor-img__img {
4705
+ background-color: var(--textarea-background-color);
4706
+ cursor: zoom-out;
4707
+ flex: 1;
4708
+ overflow: auto;
4709
+ }
4710
+
4711
+ .vditor-img__img img {
4712
+ max-width: none;
4713
+ }
4714
+
4715
+ .vditor-hint {
4716
+ background-color: var(--panel-background-color);
4717
+ box-shadow: var(--panel-shadow);
4718
+ z-index: 4;
4719
+ border-radius: 3px;
4720
+ min-width: 80px;
4721
+ max-width: 250px;
4722
+ margin: 0;
4723
+ padding: 5px 0;
4724
+ font-size: 12px;
4725
+ line-height: 20px;
4726
+ list-style: none;
4727
+ display: none;
4728
+ position: absolute;
4729
+ }
4730
+
4731
+ .vditor-hint .vditor-hint {
4732
+ margin-top: -31px;
4733
+ left: 100%;
4734
+ right: auto;
4735
+ }
4736
+
4737
+ .vditor-hint .vditor-hint.vditor-panel--left {
4738
+ left: auto;
4739
+ right: 100%;
4740
+ }
4741
+
4742
+ .vditor-hint button {
4743
+ color: var(--toolbar-icon-color);
4744
+ box-sizing: border-box;
4745
+ text-align: left;
4746
+ cursor: pointer;
4747
+ white-space: nowrap;
4748
+ text-overflow: ellipsis;
4749
+ background-color: #0000;
4750
+ border: 0;
4751
+ border-radius: 0;
4752
+ width: 100%;
4753
+ margin: 0;
4754
+ padding: 3px 10px;
4755
+ line-height: 20px;
4756
+ display: block;
4757
+ overflow: hidden;
4758
+ }
4759
+
4760
+ .vditor-hint button:focus {
4761
+ outline: none;
4762
+ }
4763
+
4764
+ .vditor-hint--current, .vditor-hint button:not(.vditor-menu--disabled):hover {
4765
+ background-color: var(--toolbar-background-color) !important;
4766
+ color: var(--toolbar-icon-hover-color) !important;
4767
+ }
4768
+
4769
+ .vditor-hint__emoji {
4770
+ float: left;
4771
+ margin-right: 3px;
4772
+ font-size: 16px;
4773
+ }
4774
+
4775
+ .vditor-hint img {
4776
+ float: left;
4777
+ width: 20px;
4778
+ height: 20px;
4779
+ margin-right: 3px;
4780
+ }
4781
+
4782
+ .vditor-reset {
4783
+ color: #24292e;
4784
+ font-variant-ligatures: no-common-ligatures;
4785
+ word-wrap: break-word;
4786
+ word-break: break-word;
4787
+ font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
4788
+ font-size: 16px;
4789
+ line-height: 1.5;
4790
+ overflow: auto;
4791
+ }
4792
+
4793
+ .vditor-reset--anchor {
4794
+ padding-left: 20px;
4795
+ }
4796
+
4797
+ .vditor-reset--error {
4798
+ color: #d23f31;
4799
+ font-size: 12px;
4800
+ line-height: 16px;
4801
+ display: block;
4802
+ }
4803
+
4804
+ .vditor-reset ul ul ul {
4805
+ list-style-type: square;
4806
+ }
4807
+
4808
+ .vditor-reset ul ul {
4809
+ list-style-type: circle;
4810
+ }
4811
+
4812
+ .vditor-reset ul {
4813
+ list-style-type: disc;
4814
+ }
4815
+
4816
+ .vditor-reset ul, .vditor-reset ol {
4817
+ margin-top: 0;
4818
+ margin-bottom: 16px;
4819
+ padding-left: 2em;
4820
+ }
4821
+
4822
+ .vditor-reset li + li {
4823
+ margin-top: .25em;
4824
+ }
4825
+
4826
+ .vditor-reset li p {
4827
+ margin-top: 16px;
4828
+ }
4829
+
4830
+ .vditor-reset audio {
4831
+ max-width: 100%;
4832
+ }
4833
+
4834
+ .vditor-reset audio:focus {
4835
+ outline: none;
4836
+ }
4837
+
4838
+ .vditor-reset video {
4839
+ max-width: 100%;
4840
+ max-height: 90vh;
4841
+ }
4842
+
4843
+ .vditor-reset img {
4844
+ max-width: 100%;
4845
+ }
4846
+
4847
+ .vditor-reset img.emoji {
4848
+ cursor: auto;
4849
+ vertical-align: sub;
4850
+ max-width: 20px;
4851
+ }
4852
+
4853
+ .vditor-reset figure.vditor-image {
4854
+ text-align: center;
4855
+ margin: 0 0 16px;
4856
+ }
4857
+
4858
+ .vditor-reset figure.vditor-image figcaption {
4859
+ opacity: .65;
4860
+ white-space: pre-wrap;
4861
+ margin-top: 4px;
4862
+ font-size: .875em;
4863
+ }
4864
+
4865
+ .vditor-reset span.vditor-image[data-image-caption] {
4866
+ text-align: center;
4867
+ vertical-align: top;
4868
+ max-width: 100%;
4869
+ display: inline-block;
4870
+ }
4871
+
4872
+ .vditor-reset span.vditor-image[data-image-caption]:after {
4873
+ content: attr(data-image-caption);
4874
+ opacity: .65;
4875
+ white-space: pre-wrap;
4876
+ margin-top: 4px;
4877
+ font-size: .875em;
4878
+ line-height: 1.5;
4879
+ display: block;
4880
+ }
4881
+
4882
+ .vditor-reset h1, .vditor-reset h2, .vditor-reset h3, .vditor-reset h4, .vditor-reset h5, .vditor-reset h6 {
4883
+ margin-top: 24px;
4884
+ margin-bottom: 16px;
4885
+ font-weight: 600;
4886
+ line-height: 1.25;
4887
+ }
4888
+
4889
+ .vditor-reset h1:hover .vditor-anchor svg, .vditor-reset h2:hover .vditor-anchor svg, .vditor-reset h3:hover .vditor-anchor svg, .vditor-reset h4:hover .vditor-anchor svg, .vditor-reset h5:hover .vditor-anchor svg, .vditor-reset h6:hover .vditor-anchor svg {
4890
+ visibility: visible;
4891
+ }
4892
+
4893
+ .vditor-reset h1 {
4894
+ font-size: 1.75em;
4895
+ }
4896
+
4897
+ .vditor-reset h2 {
4898
+ font-size: 1.55em;
4899
+ }
4900
+
4901
+ .vditor-reset h3 {
4902
+ font-size: 1.38em;
4903
+ }
4904
+
4905
+ .vditor-reset h4 {
4906
+ font-size: 1.25em;
4907
+ }
4908
+
4909
+ .vditor-reset h5 {
4910
+ font-size: 1.13em;
4911
+ }
4912
+
4913
+ .vditor-reset h6 {
4914
+ font-size: 1em;
4915
+ }
4916
+
4917
+ .vditor-reset hr {
4918
+ background-color: #eaecef;
4919
+ border: 0;
4920
+ height: 2px;
4921
+ margin: 24px 0;
4922
+ padding: 0;
4923
+ }
4924
+
4925
+ .vditor-reset p {
4926
+ margin-top: 0;
4927
+ margin-bottom: 16px;
4928
+ }
4929
+
4930
+ .vditor-reset blockquote:not(.callout) {
4931
+ color: var(--blockquote-text-color, #5f6368);
4932
+ background-color: #0000;
4933
+ border: 0;
4934
+ flex-direction: column;
4935
+ margin: 0 0 16px;
4936
+ padding: 0 0 0 calc(.25em + 6px);
4937
+ display: flex;
4938
+ position: relative;
4939
+ }
4940
+
4941
+ .vditor-reset blockquote:not(.callout):before {
4942
+ content: "";
4943
+ background-color: var(--blockquote-border-color, #e0e0e0);
4944
+ border-radius: 6px;
4945
+ width: .25em;
4946
+ position: absolute;
4947
+ top: 6px;
4948
+ bottom: 6px;
4949
+ left: 2px;
4950
+ }
4951
+
4952
+ .vditor-reset blockquote:not(.callout) > :first-child {
4953
+ margin-top: 0;
4954
+ }
4955
+
4956
+ .vditor-reset blockquote:not(.callout) > :last-child {
4957
+ margin-bottom: 0;
4958
+ }
4959
+
4960
+ .vditor-reset blockquote:not(.callout) > p {
4961
+ border-radius: 6px;
4962
+ margin: 2px 0;
4963
+ padding: 4px;
4964
+ line-height: 1.625;
4965
+ }
4966
+
4967
+ .vditor-reset ins > iframe {
4968
+ border: 0;
4969
+ }
4970
+
4971
+ .vditor-reset iframe {
4972
+ box-sizing: border-box;
4973
+ border: 1px solid #d1d5da;
4974
+ max-width: 100%;
4975
+ }
4976
+
4977
+ .vditor-reset iframe.iframe__video {
4978
+ min-width: 80%;
4979
+ min-height: 36vh;
4980
+ }
4981
+
4982
+ .vditor-reset table {
4983
+ border-collapse: collapse;
4984
+ empty-cells: show;
4985
+ border-spacing: 0;
4986
+ word-break: keep-all;
4987
+ width: 100%;
4988
+ margin-bottom: 16px;
4989
+ display: block;
4990
+ overflow: auto;
4991
+ }
4992
+
4993
+ .vditor-reset table tr {
4994
+ background-color: #fafbfc;
4995
+ border-top: 1px solid #c6cbd1;
4996
+ }
4997
+
4998
+ .vditor-reset table td, .vditor-reset table th {
4999
+ word-break: normal;
5000
+ white-space: nowrap;
5001
+ border: 1px solid #dfe2e5;
5002
+ padding: 6px 13px;
5003
+ }
5004
+
5005
+ .vditor-reset table td:first-child:after, .vditor-reset table th:first-child:after {
5006
+ content: "";
5007
+ vertical-align: top;
5008
+ min-height: 24px;
5009
+ display: inline-block;
5010
+ }
5011
+
5012
+ .vditor-reset table th {
5013
+ font-weight: 600;
5014
+ }
5015
+
5016
+ .vditor-reset table tbody tr:nth-child(2n) {
5017
+ background-color: #fff;
5018
+ }
5019
+
5020
+ .vditor-reset code:not(.hljs):not(.highlight-chroma) {
5021
+ word-break: break-word;
5022
+ white-space: pre-wrap;
5023
+ background-size: 20px 20px;
5024
+ border-radius: 3px;
5025
+ margin: 0;
5026
+ padding: .2em .4em;
5027
+ font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
5028
+ font-size: 85%;
5029
+ }
5030
+
5031
+ .vditor-reset pre {
5032
+ margin: 1em 0;
5033
+ }
5034
+
5035
+ .vditor-reset pre > code {
5036
+ white-space: pre;
5037
+ word-break: initial;
5038
+ word-wrap: normal;
5039
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==");
5040
+ background-size: 20px 20px;
5041
+ border-radius: 5px;
5042
+ margin: 0;
5043
+ padding: .5em;
5044
+ font-family: mononoki, Consolas, Liberation Mono, Menlo, Courier, monospace, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
5045
+ font-size: 85%;
5046
+ display: block;
5047
+ overflow: auto;
5048
+ }
5049
+
5050
+ .vditor-reset pre:hover div.vditor-copy {
5051
+ display: block;
5052
+ }
5053
+
5054
+ .vditor-reset .language-math, .vditor-reset .language-echarts, .vditor-reset .language-mindmap, .vditor-reset .language-plantuml, .vditor-reset .language-mermaid, .vditor-reset .language-smiles, .vditor-reset .language-markmap, .vditor-reset .language-abc, .vditor-reset .language-flowchart, .vditor-reset .language-graphviz, .vditor-reset .language-wavedrom {
5055
+ margin-bottom: 16px;
5056
+ }
5057
+
5058
+ .vditor-reset .language-math mjx-container:focus {
5059
+ cursor: context-menu;
5060
+ outline: none;
5061
+ }
5062
+
5063
+ .vditor-reset .language-math .katex-display > .katex > .katex-html > .tag {
5064
+ font-size: 1.21rem;
5065
+ display: inline-block;
5066
+ right: 2px;
5067
+ }
5068
+
5069
+ .vditor-reset .language-echarts, .vditor-reset .language-mindmap {
5070
+ height: 420px;
5071
+ overflow: hidden;
5072
+ }
5073
+
5074
+ .vditor-reset .language-mermaid, .vditor-reset .language-markmap, .vditor-reset .language-flowchart, .vditor-reset .language-graphviz, .vditor-reset .language-wavedrom {
5075
+ text-align: center;
5076
+ }
5077
+
5078
+ .vditor-reset .language-graphviz parsererror {
5079
+ overflow: auto;
5080
+ }
5081
+
5082
+ .vditor-reset kbd {
5083
+ color: #24292e;
5084
+ vertical-align: middle;
5085
+ background-color: #fafbfc;
5086
+ border: 1px solid #d1d5da;
5087
+ border-radius: 3px;
5088
+ padding: 3px 5px;
5089
+ font: 11px / 10px Consolas, Liberation Mono, Menlo, Courier, monospace;
5090
+ display: inline-block;
5091
+ box-shadow: inset 0 -1px #d1d5da;
5092
+ }
5093
+
5094
+ .vditor-reset summary {
5095
+ cursor: pointer;
5096
+ }
5097
+
5098
+ .vditor-reset summary:focus {
5099
+ outline: none;
5100
+ }
5101
+
5102
+ .vditor-reset svg {
5103
+ width: auto;
5104
+ height: auto;
5105
+ stroke-width: initial;
5106
+ }
5107
+
5108
+ .vditor-reset p:last-child, .vditor-reset blockquote:last-child, .vditor-reset pre:last-child, .vditor-reset ul:last-child, .vditor-reset ol:last-child, .vditor-reset hr:last-child {
5109
+ margin-bottom: 0;
5110
+ }
5111
+
5112
+ .vditor-comment {
5113
+ border-bottom: 2px solid #f8e6ab;
5114
+ }
5115
+
5116
+ .vditor-comment--focus, .vditor-comment--hover {
5117
+ background-color: #faf1d1;
5118
+ border-bottom: 2px solid #ffc60a;
5119
+ }
5120
+
5121
+ .vditor-comment--focus .vditor-comment, .vditor-comment--hover .vditor-comment {
5122
+ border-bottom: 2px solid #ffc60a;
5123
+ }
5124
+
5125
+ .vditor-task {
5126
+ word-break: break-all;
5127
+ list-style: none !important;
5128
+ }
5129
+
5130
+ .vditor-task input {
5131
+ vertical-align: middle;
5132
+ margin: 0 .2em .25em -1.6em;
5133
+ font-size: 12px;
5134
+ }
5135
+
5136
+ .vditor-copy {
5137
+ z-index: 1;
5138
+ display: none;
5139
+ position: relative;
5140
+ }
5141
+
5142
+ .vditor-copy textarea {
5143
+ height: 10px;
5144
+ position: absolute;
5145
+ left: -100000px;
5146
+ }
5147
+
5148
+ .vditor-copy span {
5149
+ cursor: pointer;
5150
+ position: absolute;
5151
+ top: .5em;
5152
+ right: 15px;
5153
+ }
5154
+
5155
+ .vditor-copy svg {
5156
+ color: #586069;
5157
+ fill: currentColor;
5158
+ height: 14px;
5159
+ display: block;
5160
+ width: 14px !important;
5161
+ }
5162
+
5163
+ .vditor-linenumber {
5164
+ position: relative;
5165
+ padding-left: 4em !important;
5166
+ }
5167
+
5168
+ .vditor-linenumber__rows {
5169
+ pointer-events: none;
5170
+ -webkit-user-select: none;
5171
+ -moz-user-select: none;
5172
+ user-select: none;
5173
+ counter-reset: linenumber;
5174
+ width: 3em;
5175
+ position: absolute;
5176
+ top: 1em;
5177
+ left: 0;
5178
+ }
5179
+
5180
+ .vditor-linenumber__rows > span {
5181
+ pointer-events: none;
5182
+ display: block;
5183
+ }
5184
+
5185
+ .vditor-linenumber__rows > span:before {
5186
+ counter-increment: linenumber;
5187
+ content: counter(linenumber);
5188
+ color: #9e969661;
5189
+ text-align: right;
5190
+ padding-right: 1em;
5191
+ display: block;
5192
+ }
5193
+
5194
+ .vditor-speech {
5195
+ cursor: pointer;
5196
+ color: #586069;
5197
+ background-color: #f6f8fa;
5198
+ border: 1px solid #d1d5da;
5199
+ border-radius: 3px;
5200
+ padding: 3px;
5201
+ display: none;
5202
+ position: absolute;
5203
+ }
5204
+
5205
+ .vditor-speech:hover, .vditor-speech--current {
5206
+ color: #4285f4;
5207
+ }
5208
+
5209
+ .vditor-speech svg {
5210
+ fill: currentColor;
5211
+ stroke-width: 0;
5212
+ stroke: currentColor;
5213
+ width: 14px;
5214
+ height: 14px;
5215
+ display: block;
5216
+ }
5217
+
5218
+ .vditor-anchor {
5219
+ margin-left: 5px;
5220
+ }
5221
+
5222
+ .vditor-anchor--left {
5223
+ float: left;
5224
+ margin-left: -20px;
5225
+ padding-right: 4px;
5226
+ }
5227
+
5228
+ .vditor-anchor svg {
5229
+ visibility: hidden;
5230
+ }
5231
+
5232
+ .vditor-anchor:hover svg {
5233
+ visibility: visible;
5234
+ }
5235
+
5236
+ .vditor-anchor:focus {
5237
+ outline: none;
5238
+ }
5239
+
5240
+ .vditor-linkcard {
5241
+ cursor: pointer;
5242
+ max-width: 768px;
5243
+ margin: 31px auto 16px;
5244
+ padding: 0 10px;
5245
+ transition: all .15s ease-in-out;
5246
+ }
5247
+
5248
+ .vditor-linkcard a {
5249
+ background-color: #f6f8fa;
5250
+ border-radius: 3px;
5251
+ flex-wrap: wrap-reverse;
5252
+ max-height: 250px;
5253
+ text-decoration: none;
5254
+ display: flex;
5255
+ overflow: hidden;
5256
+ box-shadow: 0 1px 2px #0003;
5257
+ }
5258
+
5259
+ .vditor-linkcard a:hover {
5260
+ text-decoration: none;
5261
+ box-shadow: 0 0 3px #00000021, 0 3px 6px #00000042;
5262
+ }
5263
+
5264
+ .vditor-linkcard a:visited .vditor-linkcard__abstract {
5265
+ color: #5860695c;
5266
+ }
5267
+
5268
+ .vditor-linkcard__info {
5269
+ box-sizing: border-box;
5270
+ flex: 1;
5271
+ min-width: 200px;
5272
+ padding: 10px;
5273
+ }
5274
+
5275
+ .vditor-linkcard__title {
5276
+ color: #24292e;
5277
+ align-items: center;
5278
+ font-size: 14px;
5279
+ font-weight: 400;
5280
+ display: flex;
5281
+ }
5282
+
5283
+ .vditor-linkcard__title img {
5284
+ cursor: pointer;
5285
+ border-radius: 3px;
5286
+ flex-shrink: 0;
5287
+ width: 20px;
5288
+ height: 20px;
5289
+ margin-right: 5px;
5290
+ }
5291
+
5292
+ .vditor-linkcard__abstract {
5293
+ word-wrap: break-word;
5294
+ word-break: break-all;
5295
+ -webkit-line-clamp: 2;
5296
+ text-overflow: ellipsis;
5297
+ color: #586069;
5298
+ -webkit-box-orient: vertical;
5299
+ margin: 5px 0;
5300
+ font-size: 13px;
5301
+ display: -webkit-box;
5302
+ overflow: hidden;
5303
+ }
5304
+
5305
+ .vditor-linkcard__site {
5306
+ color: #4285f4;
5307
+ font-size: 12px;
5308
+ }
5309
+
5310
+ .vditor-linkcard__image {
5311
+ cursor: pointer;
5312
+ background-color: #5860695c;
5313
+ background-position: center;
5314
+ background-repeat: no-repeat;
5315
+ background-size: cover;
5316
+ min-width: 126px;
5317
+ max-width: 250px;
5318
+ }
5319
+
5320
+ .vditor-footnotes__goto-ref {
5321
+ text-decoration: none;
5322
+ }
5323
+
5324
+ .vditor-toc {
5325
+ -webkit-user-select: text;
5326
+ -moz-user-select: text;
5327
+ user-select: text;
5328
+ color: #4285f4;
5329
+ margin-bottom: 16px;
5330
+ }
5331
+
5332
+ .vditor-toc .vditor-outline__action {
5333
+ display: none;
5334
+ }
5335
+
5336
+ .vditor-toc ul {
5337
+ padding-left: 1em;
5338
+ list-style: none !important;
5339
+ }
5340
+
5341
+ .vditor-toc > ul {
5342
+ padding-left: 0;
5343
+ }
5344
+
5345
+ .vditor-toc span {
5346
+ cursor: pointer;
5347
+ }
5348
+
5349
+ .vditor-toc li > span > svg {
5350
+ width: 0;
5351
+ height: 0;
5352
+ }
5353
+
5354
+ .vditor-outline {
5355
+ border-right: 1px solid var(--border-color);
5356
+ background-color: var(--panel-background-color);
5357
+ width: 250px;
5358
+ display: none;
5359
+ overflow: auto;
5360
+ }
5361
+
5362
+ .vditor-outline--right {
5363
+ border-right: 0;
5364
+ border-left: 1px solid var(--border-color);
5365
+ }
5366
+
5367
+ .vditor-outline::-webkit-scrollbar {
5368
+ display: none;
5369
+ }
5370
+
5371
+ .vditor-outline ul {
5372
+ margin: 0;
5373
+ padding-left: 1em;
5374
+ list-style: none !important;
5375
+ }
5376
+
5377
+ .vditor-outline__content > ul {
5378
+ padding-left: 0;
5379
+ }
5380
+
5381
+ .vditor-outline li > span {
5382
+ cursor: pointer;
5383
+ color: var(--textarea-text-color);
5384
+ align-items: center;
5385
+ padding: 5px 10px;
5386
+ display: flex;
5387
+ }
5388
+
5389
+ .vditor-outline li > span > svg {
5390
+ flex-shrink: 0;
5391
+ width: 10px;
5392
+ height: 10px;
5393
+ }
5394
+
5395
+ .vditor-outline li > span:hover {
5396
+ color: var(--toolbar-icon-hover-color);
5397
+ }
5398
+
5399
+ .vditor-outline li > span > span {
5400
+ white-space: nowrap;
5401
+ text-overflow: ellipsis;
5402
+ overflow: hidden;
5403
+ }
5404
+
5405
+ .vditor-outline__title {
5406
+ border-bottom: 1px dashed var(--border-color);
5407
+ color: var(--toolbar-icon-color);
5408
+ padding: 5px 10px;
5409
+ font-size: 12px;
5410
+ }
5411
+
5412
+ .vditor-outline__action {
5413
+ fill: currentColor;
5414
+ flex-shrink: 0;
5415
+ margin-right: 5px;
5416
+ transition: all .15s ease-in-out;
5417
+ }
5418
+
5419
+ .vditor-outline__action--close {
5420
+ transform: rotate(-90deg);
5421
+ }
5422
+
5423
+ .vditor-reset .callout, .vditor-wysiwyg blockquote.callout, .vditor-ir blockquote.callout {
5424
+ --callout-color: var(--callout-note-color, #3575f0);
5425
+ color: var(--blockquote-text-color, #5f6368);
5426
+ border: 0;
5427
+ flex-direction: column;
5428
+ margin: 0 0 16px;
5429
+ padding: 0 0 0 calc(.25em + 6px);
5430
+ display: flex;
5431
+ position: relative;
5432
+ }
5433
+
5434
+ .vditor-reset .callout:before, .vditor-wysiwyg blockquote.callout:before, .vditor-ir blockquote.callout:before {
5435
+ content: "";
5436
+ background-color: var(--callout-color);
5437
+ border-radius: 6px;
5438
+ width: .25em;
5439
+ position: absolute;
5440
+ top: 6px;
5441
+ bottom: 6px;
5442
+ left: 2px;
5443
+ }
5444
+
5445
+ .vditor-reset .callout[data-subtype="TIP"], .vditor-wysiwyg blockquote.callout[data-subtype="TIP"], .vditor-ir blockquote.callout[data-subtype="TIP"] {
5446
+ --callout-color: var(--callout-tip-color, #65b84d);
5447
+ }
5448
+
5449
+ .vditor-reset .callout[data-subtype="IMPORTANT"], .vditor-wysiwyg blockquote.callout[data-subtype="IMPORTANT"], .vditor-ir blockquote.callout[data-subtype="IMPORTANT"] {
5450
+ --callout-color: var(--callout-important-color, #8957e5);
5451
+ }
2444
5452
 
2445
- .error-message, .notice-card {
2446
- margin: 12px 0 0;
2447
- }
5453
+ .vditor-reset .callout[data-subtype="WARNING"], .vditor-wysiwyg blockquote.callout[data-subtype="WARNING"], .vditor-ir blockquote.callout[data-subtype="WARNING"] {
5454
+ --callout-color: var(--callout-warning-color, #ff9632);
2448
5455
  }
2449
5456
 
2450
- [hidden] {
2451
- display: none !important;
5457
+ .vditor-reset .callout[data-subtype="CAUTION"], .vditor-wysiwyg blockquote.callout[data-subtype="CAUTION"], .vditor-ir blockquote.callout[data-subtype="CAUTION"] {
5458
+ --callout-color: var(--callout-caution-color, #d23f31);
2452
5459
  }
2453
5460
 
2454
- .configuration-toolbar, .configuration-toolbar nav {
2455
- flex-wrap: wrap;
5461
+ .vditor-reset .callout > .callout-info, .vditor-wysiwyg blockquote.callout > .callout-info, .vditor-ir blockquote.callout > .callout-info {
5462
+ min-height: 1.5em;
5463
+ color: var(--callout-color);
2456
5464
  align-items: center;
2457
- gap: 8px;
5465
+ margin: 2px 0;
5466
+ padding: 4px;
2458
5467
  display: flex;
2459
5468
  }
2460
5469
 
2461
- .configuration-page-tabs {
2462
- background: var(--color-surface-muted);
2463
- border-radius: 8px;
2464
- gap: 4px;
2465
- width: fit-content;
5470
+ .vditor-reset .callout > .callout-info .callout-icon, .vditor-wysiwyg blockquote.callout > .callout-info .callout-icon, .vditor-ir blockquote.callout > .callout-info .callout-icon {
5471
+ text-align: center;
5472
+ font-variant-emoji: emoji;
5473
+ border-radius: 6px;
5474
+ justify-content: center;
5475
+ align-items: center;
5476
+ width: 1.2em;
5477
+ height: 1.2em;
2466
5478
  padding: 4px;
5479
+ line-height: 1.2em;
2467
5480
  display: flex;
2468
5481
  }
2469
5482
 
2470
- .configuration-page-tabs button {
2471
- color: var(--color-muted);
2472
- font: inherit;
2473
- cursor: pointer;
2474
- background: none;
2475
- border: 0;
2476
- border-radius: 5px;
2477
- padding: 8px 14px;
2478
- font-size: 13px;
5483
+ .vditor-reset .callout > .callout-info .callout-icon:empty, .vditor-wysiwyg blockquote.callout > .callout-info .callout-icon:empty, .vditor-ir blockquote.callout > .callout-info .callout-icon:empty {
5484
+ display: none;
5485
+ }
5486
+
5487
+ .vditor-reset .callout > .callout-info .callout-title, .vditor-wysiwyg blockquote.callout > .callout-info .callout-title, .vditor-ir blockquote.callout > .callout-info .callout-title {
5488
+ opacity: .86;
5489
+ flex: 1;
5490
+ min-width: 1px;
5491
+ margin-left: 4px;
5492
+ font-size: 114%;
2479
5493
  font-weight: 500;
2480
5494
  }
2481
5495
 
2482
- .configuration-page-tabs button[aria-pressed="true"] {
2483
- color: var(--color-foreground);
2484
- background: var(--color-surface);
2485
- box-shadow: 0 1px 3px #342f2812;
5496
+ .vditor-reset .callout > .callout-info .callout-img, .vditor-wysiwyg blockquote.callout > .callout-info .callout-img, .vditor-ir blockquote.callout > .callout-info .callout-img, .vditor-reset .callout > .callout-info > .callout-img, .vditor-wysiwyg blockquote.callout > .callout-info > .callout-img, .vditor-ir blockquote.callout > .callout-info > .callout-img {
5497
+ width: 100%;
5498
+ height: 1.2em;
2486
5499
  }
2487
5500
 
2488
- .configuration-page-tabs button:focus-visible {
2489
- outline: 2px solid var(--color-accent);
2490
- outline-offset: 2px;
5501
+ .vditor-reset .callout > p:not(.callout-info), .vditor-wysiwyg blockquote.callout > p:not(.callout-info), .vditor-ir blockquote.callout > p:not(.callout-info), .vditor-reset .callout > .callout-content > p, .vditor-wysiwyg blockquote.callout > .callout-content > p, .vditor-ir blockquote.callout > .callout-content > p {
5502
+ border-radius: 6px;
5503
+ margin: 2px 0;
5504
+ padding: 4px;
5505
+ line-height: 1.625;
2491
5506
  }
2492
5507
 
2493
- .configuration-manager {
2494
- min-width: 0;
2495
- font-size: 13px;
2496
- line-height: 1.6;
5508
+ .vditor-wysiwyg blockquote.callout > .callout-info, .vditor-ir blockquote.callout > .callout-info {
5509
+ opacity: .86;
5510
+ font-size: 114%;
5511
+ font-weight: 500;
2497
5512
  }
2498
5513
 
2499
- .configuration-view {
2500
- min-width: 0;
5514
+ .vditor-wysiwyg__callout-marker {
5515
+ display: none;
2501
5516
  }
2502
5517
 
2503
- .configuration-manager ::selection {
2504
- color: var(--color-primary-foreground);
2505
- background: var(--color-primary);
5518
+ .vditor-wysiwyg {
5519
+ box-sizing: border-box;
5520
+ flex: 1;
5521
+ width: 100%;
5522
+ min-width: 1px;
5523
+ position: relative;
2506
5524
  }
2507
5525
 
2508
- .configuration-manager :is(input, textarea) {
2509
- caret-color: var(--color-brand);
5526
+ .vditor-wysiwyg pre.vditor-reset {
5527
+ background-color: var(--panel-background-color);
5528
+ white-space: pre-wrap;
5529
+ box-sizing: border-box;
5530
+ height: 100%;
5531
+ margin: 0;
2510
5532
  }
2511
5533
 
2512
- .configuration-manager :is(pre, .configuration-items) {
2513
- scrollbar-width: thin;
2514
- scrollbar-color: var(--color-border-strong) transparent;
5534
+ .vditor-wysiwyg pre.vditor-reset[contenteditable="false"] {
5535
+ opacity: .3;
5536
+ cursor: not-allowed;
2515
5537
  }
2516
5538
 
2517
- .configuration-navigation {
2518
- border-bottom: 1px solid var(--color-border);
2519
- justify-content: space-between;
2520
- align-items: center;
2521
- gap: 20px;
2522
- margin-bottom: 20px;
2523
- display: flex;
5539
+ .vditor-wysiwyg pre.vditor-reset:empty:before {
5540
+ content: attr(placeholder);
5541
+ color: var(--second-color);
2524
5542
  }
2525
5543
 
2526
- .configuration-tabs {
2527
- align-self: stretch;
2528
- gap: 24px;
2529
- min-width: 0;
2530
- display: flex;
2531
- overflow-x: auto;
5544
+ .vditor-wysiwyg pre.vditor-reset:focus {
5545
+ background-color: var(--textarea-background-color);
5546
+ outline: none;
2532
5547
  }
2533
5548
 
2534
- .configuration-tabs button {
2535
- color: var(--color-muted);
2536
- font: inherit;
5549
+ .vditor-wysiwyg pre.vditor-reset:after {
5550
+ content: "";
5551
+ height: var(--editor-bottom);
5552
+ display: block;
5553
+ }
5554
+
5555
+ .vditor-wysiwyg blockquote:empty:before, .vditor-wysiwyg pre > code:empty:before, .vditor-wysiwyg p:empty:before, .vditor-wysiwyg h1:empty:after, .vditor-wysiwyg h2:empty:after, .vditor-wysiwyg h3:empty:after, .vditor-wysiwyg h4:empty:after, .vditor-wysiwyg h5:empty:after, .vditor-wysiwyg h6:empty:after {
5556
+ content: " ";
5557
+ }
5558
+
5559
+ .vditor-wysiwyg code[data-marker="`"] {
5560
+ padding-left: 0 !important;
5561
+ padding-right: 0 !important;
5562
+ }
5563
+
5564
+ .vditor-wysiwyg__block pre:first-child {
5565
+ margin-bottom: -1em;
5566
+ }
5567
+
5568
+ .vditor-wysiwyg__block pre:first-child code {
5569
+ color: var(--textarea-text-color);
5570
+ text-align: left;
5571
+ height: auto;
5572
+ }
5573
+
5574
+ .vditor-wysiwyg__block pre:last-child {
5575
+ margin-bottom: 1em;
5576
+ }
5577
+
5578
+ .vditor-wysiwyg__preview {
2537
5579
  cursor: pointer;
2538
- background: none;
2539
- border: 0;
2540
- border-bottom: 2px solid #0000;
2541
- flex: none;
2542
- justify-content: center;
2543
- align-items: center;
2544
- gap: 7px;
2545
- padding: 11px 0;
2546
- font-weight: 500;
2547
- display: flex;
5580
+ white-space: initial;
5581
+ min-height: 27px;
2548
5582
  }
2549
5583
 
2550
- .configuration-tabs button[aria-pressed="true"] {
2551
- color: var(--color-foreground);
2552
- border-bottom-color: var(--color-brand-gold);
5584
+ .vditor-wysiwyg > .vditor-reset > h1:before, .vditor-wysiwyg > .vditor-reset > h2:before, .vditor-wysiwyg > .vditor-reset > h3:before, .vditor-wysiwyg > .vditor-reset > h4:before, .vditor-wysiwyg > .vditor-reset > h5:before, .vditor-wysiwyg > .vditor-reset > h6:before, .vditor-wysiwyg div.vditor-wysiwyg__block:before, .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before, .vditor-wysiwyg div[data-type="footnotes-block"]:before, .vditor-wysiwyg .vditor-toc:before {
5585
+ float: left;
5586
+ content: "H1";
5587
+ color: var(--second-color);
5588
+ margin-left: -29px;
5589
+ padding-right: 4px;
5590
+ font-size: .85rem;
5591
+ font-weight: normal;
2553
5592
  }
2554
5593
 
2555
- .configuration-tabs button:hover {
2556
- color: var(--color-foreground);
5594
+ .vditor-wysiwyg > .vditor-reset > h2:before {
5595
+ content: "H2";
2557
5596
  }
2558
5597
 
2559
- .configuration-tabs button span {
2560
- color: var(--color-muted);
2561
- font-variant-numeric: tabular-nums;
2562
- font-size: 11px;
5598
+ .vditor-wysiwyg > .vditor-reset > h3:before {
5599
+ content: "H3";
2563
5600
  }
2564
5601
 
2565
- .configuration-tabs button:disabled {
2566
- cursor: default;
5602
+ .vditor-wysiwyg > .vditor-reset > h4:before {
5603
+ content: "H4";
2567
5604
  }
2568
5605
 
2569
- .configuration-manager :is(button, input, select, textarea, summary, pre):focus-visible {
2570
- outline: 2px solid var(--color-accent);
2571
- outline-offset: 3px;
5606
+ .vditor-wysiwyg > .vditor-reset > h5:before {
5607
+ content: "H5";
2572
5608
  }
2573
5609
 
2574
- .configuration-manager .configuration-resource-grid {
2575
- border: 1px solid var(--color-border);
2576
- background: var(--color-surface);
2577
- border-radius: 10px;
2578
- grid-template-columns: 248px minmax(0, 1fr);
2579
- align-items: stretch;
2580
- min-height: 540px;
2581
- display: grid;
5610
+ .vditor-wysiwyg > .vditor-reset > h6:before {
5611
+ content: "H6";
2582
5612
  }
2583
5613
 
2584
- .configuration-list {
2585
- border-right: 1px solid var(--color-border);
2586
- background: var(--color-surface-raised);
2587
- border-radius: 10px 0 0 10px;
2588
- min-width: 0;
2589
- padding: 20px 12px 12px;
5614
+ .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before {
5615
+ content: "\"A\"";
2590
5616
  }
2591
5617
 
2592
- .configuration-list-heading {
2593
- justify-content: space-between;
2594
- align-items: center;
2595
- gap: 8px;
2596
- padding: 0 4px 16px;
2597
- display: flex;
5618
+ .vditor-wysiwyg div[data-type="footnotes-block"]:before {
5619
+ content: "^F";
2598
5620
  }
2599
5621
 
2600
- .configuration-manager .configuration-list-heading h2 {
2601
- margin: 0;
2602
- font-size: 13px;
2603
- font-weight: 600;
5622
+ .vditor-wysiwyg div.vditor-wysiwyg__block:before {
5623
+ content: "</>";
2604
5624
  }
2605
5625
 
2606
- .configuration-search {
2607
- border: 1px solid var(--color-border);
2608
- background: var(--color-surface);
2609
- width: 100%;
2610
- min-width: 0;
2611
- min-height: 36px;
2612
- color: var(--color-foreground);
2613
- font: inherit;
2614
- border-radius: 6px;
2615
- padding: 7px 10px;
2616
- font-size: 12px;
5626
+ .vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before {
5627
+ content: "F";
2617
5628
  }
2618
5629
 
2619
- .configuration-search::placeholder, .configuration-field :is(input, textarea)::placeholder {
2620
- color: var(--color-tertiary);
2621
- opacity: 1;
5630
+ .vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before {
5631
+ content: "$$";
2622
5632
  }
2623
5633
 
2624
- .configuration-items {
2625
- align-content: start;
2626
- gap: 4px;
2627
- max-height: 600px;
2628
- padding-top: 12px;
2629
- display: grid;
2630
- overflow: auto;
5634
+ .vditor-wysiwyg .vditor-toc:before {
5635
+ content: "ToC";
2631
5636
  }
2632
5637
 
2633
- .configuration-row {
2634
- text-align: left;
5638
+ .vditor-wysiwyg hr {
2635
5639
  width: 100%;
2636
- color: inherit;
2637
- font: inherit;
5640
+ margin: 12px 0;
5641
+ display: inline-block;
5642
+ }
5643
+
5644
+ .vditor-wysiwyg details {
5645
+ white-space: initial;
5646
+ }
5647
+
5648
+ .vditor-wysiwyg a {
2638
5649
  cursor: pointer;
2639
- overflow-wrap: anywhere;
2640
- background: none;
2641
- border: 1px solid #0000;
2642
- border-radius: 6px;
2643
- gap: 5px;
2644
- padding: 12px;
2645
- display: grid;
2646
5650
  }
2647
5651
 
2648
- .configuration-row strong {
2649
- font-size: 13px;
2650
- font-weight: 600;
2651
- line-height: 1.5;
5652
+ .vditor-wysiwyg span[data-type="backslash"] > span {
5653
+ color: var(--second-color);
5654
+ display: none;
2652
5655
  }
2653
5656
 
2654
- .configuration-row span {
2655
- color: var(--color-muted);
2656
- font-size: 11px;
2657
- line-height: 1.5;
5657
+ .vditor-wysiwyg span[data-type="link-ref"], .vditor-wysiwyg sup[data-type="footnotes-ref"] {
5658
+ color: #4285f4;
2658
5659
  }
2659
5660
 
2660
- .configuration-row:hover {
2661
- background: var(--color-surface-muted);
5661
+ .vditor-wysiwyg span[data-type="toc-h"] {
5662
+ color: #4285f4;
5663
+ text-decoration: underline;
2662
5664
  }
2663
5665
 
2664
- .configuration-row[aria-current="true"] {
2665
- border-color: var(--color-border);
2666
- background: var(--color-surface);
5666
+ .vditor-wysiwyg div[data-type="footnotes-block"] {
5667
+ border-top: 2px solid var(--heading-border-color);
5668
+ margin-top: 24px;
5669
+ padding-top: 24px;
2667
5670
  }
2668
5671
 
2669
- .configuration-row[aria-current="true"] strong {
2670
- color: var(--color-brand-deep);
5672
+ .vditor-wysiwyg div[data-type="link-ref-defs-block"] {
5673
+ color: var(--blockquote-color);
2671
5674
  }
2672
5675
 
2673
- .configuration-row:disabled {
2674
- cursor: default;
5676
+ .vditor-wysiwyg__mobile-toolbar {
5677
+ display: none;
2675
5678
  }
2676
5679
 
2677
- .configuration-row:disabled:not([aria-current="true"]) {
2678
- opacity: .6;
5680
+ @media screen and (width <= 520px) {
5681
+ .vditor-wysiwyg__mobile-toolbar {
5682
+ float: left;
5683
+ width: 23px;
5684
+ height: 21px;
5685
+ display: block;
5686
+ position: relative;
5687
+ }
5688
+
5689
+ .vditor-wysiwyg__mobile-actions {
5690
+ box-sizing: border-box;
5691
+ white-space: normal;
5692
+ flex-wrap: wrap;
5693
+ padding: 5px;
5694
+ top: 26px;
5695
+ left: 0;
5696
+ }
5697
+
5698
+ .vditor-wysiwyg__mobile-actions.vditor-panel--left {
5699
+ left: auto;
5700
+ right: 0;
5701
+ }
5702
+
5703
+ .vditor-wysiwyg__mobile-actions--open {
5704
+ display: flex;
5705
+ }
5706
+
5707
+ .vditor-wysiwyg h1:before, .vditor-wysiwyg h2:before, .vditor-wysiwyg h3:before, .vditor-wysiwyg h4:before, .vditor-wysiwyg h5:before, .vditor-wysiwyg h6:before, .vditor-wysiwyg div.vditor-wysiwyg__block:before, .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before, .vditor-wysiwyg div[data-type="footnotes-block"]:before, .vditor-wysiwyg .vditor-toc:before {
5708
+ content: none;
5709
+ }
2679
5710
  }
2680
5711
 
2681
- .configuration-manager .configuration-list-footer {
2682
- border-top: 1px solid var(--color-border);
2683
- color: var(--color-muted);
2684
- justify-content: flex-start;
2685
- margin: 16px 4px 0;
2686
- padding-top: 16px;
2687
- font-size: 12px;
2688
- line-height: 1.7;
2689
- display: flex;
5712
+ .vditor-ir {
5713
+ box-sizing: border-box;
5714
+ flex: 1;
5715
+ width: 100%;
5716
+ min-width: 1px;
5717
+ position: relative;
2690
5718
  }
2691
5719
 
2692
- .configuration-detail {
2693
- flex-direction: column;
2694
- min-width: 0;
2695
- display: flex;
5720
+ .vditor-ir__node[data-type="code-block"]:before, .vditor-ir__node[data-type="code-block"]:after, .vditor-ir__node[data-type="yaml-front-matter"]:before, .vditor-ir__node[data-type="yaml-front-matter"]:after, .vditor-ir__node[data-type="math-block"]:before, .vditor-ir__node[data-type="math-block"]:after {
5721
+ content: " ";
5722
+ color: var(--second-color);
2696
5723
  }
2697
5724
 
2698
- .configuration-detail-header {
2699
- border-bottom: 1px solid var(--color-border);
2700
- flex-wrap: wrap;
2701
- justify-content: space-between;
2702
- align-items: flex-start;
2703
- gap: 20px;
2704
- padding: 26px 32px 22px;
2705
- display: flex;
5725
+ .vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker {
5726
+ padding: 0 !important;
2706
5727
  }
2707
5728
 
2708
- .configuration-detail-header.is-editing {
2709
- z-index: 2;
2710
- background: var(--color-surface);
2711
- position: sticky;
2712
- top: 0;
5729
+ .vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"] {
5730
+ cursor: pointer;
5731
+ }
5732
+
5733
+ .vditor-ir__node[data-type="link-ref"], .vditor-ir__node[data-type="footnotes-ref"] {
5734
+ color: #4285f4;
5735
+ }
5736
+
5737
+ .vditor-ir__node[data-type="html-block"] {
5738
+ margin-bottom: 1em;
5739
+ }
5740
+
5741
+ .vditor-ir__node .vditor-ir__marker {
5742
+ width: 0;
5743
+ height: 0;
5744
+ transition: all .15s ease-in-out;
5745
+ display: inline-block;
5746
+ overflow: hidden;
5747
+ }
5748
+
5749
+ .vditor-ir__node--hidden .vditor-ir__marker {
5750
+ visibility: hidden;
5751
+ }
5752
+
5753
+ .vditor-ir__node--expand .vditor-ir__marker {
5754
+ color: var(--second-color);
5755
+ width: auto;
5756
+ height: auto;
5757
+ display: inline;
5758
+ }
5759
+
5760
+ .vditor-ir__node--expand .vditor-ir__marker--hide {
5761
+ display: none;
2713
5762
  }
2714
5763
 
2715
- .configuration-header-feedback {
2716
- flex-basis: 100%;
2717
- gap: 12px;
2718
- display: grid;
5764
+ .vditor-ir__node--expand .vditor-ir__marker--heading {
5765
+ color: var(--ir-heading-color);
2719
5766
  }
2720
5767
 
2721
- .configuration-manager .configuration-header-feedback p {
2722
- margin: 0;
2723
- font-size: 12px;
5768
+ .vditor-ir__node--expand .vditor-ir__marker--bi {
5769
+ color: var(--ir-bi-color);
2724
5770
  }
2725
5771
 
2726
- .configuration-header-feedback .mantine-Alert-root {
2727
- margin: 0;
5772
+ .vditor-ir__node--expand .vditor-ir__marker--link {
5773
+ color: var(--ir-link-color);
2728
5774
  }
2729
5775
 
2730
- .configuration-detail-header > div {
2731
- min-width: 0;
5776
+ .vditor-ir__node--expand .vditor-ir__marker--title {
5777
+ color: var(--ir-title-color);
2732
5778
  }
2733
5779
 
2734
- .configuration-manager .configuration-detail-header h2 {
2735
- letter-spacing: -.02em;
2736
- overflow-wrap: anywhere;
2737
- margin: 0;
2738
- font-size: 20px;
2739
- font-weight: 600;
2740
- line-height: 1.4;
5780
+ .vditor-ir__node--expand .vditor-ir__marker--bracket {
5781
+ color: var(--ir-bracket-color);
5782
+ text-decoration: underline;
2741
5783
  }
2742
5784
 
2743
- .configuration-manager .configuration-detail-header p {
2744
- color: var(--color-muted);
2745
- flex-wrap: wrap;
2746
- align-items: center;
2747
- gap: 10px;
2748
- margin: 8px 0 0;
2749
- font-size: 12px;
2750
- display: flex;
5785
+ .vditor-ir__node--expand .vditor-ir__marker--paren {
5786
+ color: var(--ir-paren-color);
2751
5787
  }
2752
5788
 
2753
- .configuration-detail-header code {
2754
- overflow-wrap: anywhere;
2755
- font-size: 11px;
5789
+ .vditor-ir__node--expand .vditor-ir__marker--info {
5790
+ color: var(--ir-heading-color);
2756
5791
  }
2757
5792
 
2758
- .configuration-mode {
2759
- border-left: 1px solid var(--color-border-strong);
2760
- padding-left: 10px;
5793
+ .vditor-ir__node--expand .vditor-ir__marker--pre code {
5794
+ color: var(--textarea-text-color);
5795
+ text-align: left;
5796
+ height: auto;
2761
5797
  }
2762
5798
 
2763
- .configuration-detail-body {
2764
- flex: 1;
2765
- min-width: 0;
2766
- padding: 28px 32px 32px;
5799
+ .vditor-ir__node--expand[data-type="code-block"]:before, .vditor-ir__node--expand[data-type="code-block"]:after {
5800
+ content: "```";
2767
5801
  }
2768
5802
 
2769
- .configuration-section + .configuration-section, .configuration-section + .configuration-disclosure {
2770
- margin-top: 28px;
5803
+ .vditor-ir__node--expand[data-type="yaml-front-matter"]:before, .vditor-ir__node--expand[data-type="yaml-front-matter"]:after {
5804
+ content: "---";
2771
5805
  }
2772
5806
 
2773
- .configuration-manager .configuration-section h3, .configuration-tasks legend {
2774
- color: var(--color-foreground);
2775
- margin: 0 0 14px;
2776
- font-size: 14px;
2777
- font-weight: 600;
2778
- line-height: 1.5;
5807
+ .vditor-ir__node--expand[data-type="math-block"]:before, .vditor-ir__node--expand[data-type="math-block"]:after {
5808
+ content: "$$";
2779
5809
  }
2780
5810
 
2781
- .configuration-section-heading {
2782
- flex-wrap: wrap;
2783
- justify-content: space-between;
2784
- align-items: center;
2785
- gap: 8px;
2786
- margin-bottom: 14px;
2787
- display: flex;
5811
+ .vditor-ir__node span[data-type="code-block-open-marker"], .vditor-ir__node span[data-type="code-block-close-marker"], .vditor-ir__node span[data-type="yaml-front-matter-open-marker"], .vditor-ir__node span[data-type="yaml-front-matter-close-marker"], .vditor-ir__node span[data-type="math-block-open-marker"], .vditor-ir__node span[data-type="math-block-close-marker"] {
5812
+ display: none;
2788
5813
  }
2789
5814
 
2790
- .configuration-manager .configuration-section-heading h3 {
2791
- margin: 0;
5815
+ .vditor-ir__preview {
5816
+ cursor: pointer;
5817
+ white-space: initial;
5818
+ min-height: 27px;
2792
5819
  }
2793
5820
 
2794
- .configuration-manager .configuration-notice {
2795
- color: var(--color-muted);
2796
- overflow-wrap: anywhere;
5821
+ .vditor-ir__link {
5822
+ color: var(--ir-bracket-color);
5823
+ text-decoration: underline;
5824
+ }
5825
+
5826
+ .vditor-ir pre.vditor-reset {
5827
+ background-color: var(--panel-background-color);
5828
+ white-space: pre-wrap;
5829
+ box-sizing: border-box;
5830
+ height: 100%;
2797
5831
  margin: 0;
2798
- font-size: 13px;
2799
- line-height: 1.7;
2800
5832
  }
2801
5833
 
2802
- .configuration-items > .configuration-notice {
2803
- padding: 12px 4px;
5834
+ .vditor-ir pre.vditor-reset[contenteditable="false"] {
5835
+ opacity: .3;
5836
+ cursor: not-allowed;
2804
5837
  }
2805
5838
 
2806
- .configuration-manager .configuration-feedback {
2807
- border: 1px solid var(--color-border);
2808
- color: var(--color-foreground);
2809
- background: var(--color-surface-raised);
2810
- border-radius: 6px;
2811
- margin: 0 0 16px;
2812
- padding: 10px 14px;
2813
- font-size: 13px;
5839
+ .vditor-ir pre.vditor-reset:empty:before {
5840
+ content: attr(placeholder);
5841
+ color: var(--second-color);
2814
5842
  }
2815
5843
 
2816
- .configuration-manager .mantine-Alert-root {
2817
- margin-bottom: 16px;
5844
+ .vditor-ir pre.vditor-reset:focus {
5845
+ background-color: var(--textarea-background-color);
5846
+ outline: none;
2818
5847
  }
2819
5848
 
2820
- .configuration-reading {
2821
- color: var(--color-muted);
2822
- border-bottom: 1px solid var(--color-border);
2823
- align-items: center;
2824
- gap: 8px;
5849
+ .vditor-ir pre.vditor-reset:after {
5850
+ content: "";
5851
+ height: var(--editor-bottom);
5852
+ display: block;
5853
+ }
5854
+
5855
+ .vditor-ir pre.vditor-reset pre {
2825
5856
  margin: 0;
2826
- padding: 12px 32px;
2827
- font-size: 12px;
2828
- display: flex;
2829
5857
  }
2830
5858
 
2831
- .configuration-empty {
2832
- max-width: 480px;
2833
- margin: auto;
2834
- padding: 48px 32px;
5859
+ .vditor-ir hr {
5860
+ width: 100%;
5861
+ margin: 12px 0;
5862
+ display: inline-block;
2835
5863
  }
2836
5864
 
2837
- .configuration-manager .configuration-empty h2 {
2838
- margin: 0 0 12px;
2839
- font-size: 20px;
2840
- font-weight: 600;
5865
+ .vditor-ir blockquote:empty:before, .vditor-ir pre > code:empty:before, .vditor-ir p:empty:before, .vditor-ir h1:empty:after, .vditor-ir h2:empty:after, .vditor-ir h3:empty:after, .vditor-ir h4:empty:after, .vditor-ir h5:empty:after, .vditor-ir h6:empty:after {
5866
+ content: " ";
2841
5867
  }
2842
5868
 
2843
- .configuration-manager .configuration-empty p {
2844
- color: var(--color-muted);
2845
- margin: 8px 0 0;
2846
- font-size: 13px;
2847
- line-height: 1.8;
5869
+ .vditor-ir .vditor-reset > h1:before, .vditor-ir .vditor-reset > h2:before, .vditor-ir .vditor-reset > h3:before, .vditor-ir .vditor-reset > h4:before, .vditor-ir .vditor-reset > h5:before, .vditor-ir .vditor-reset > h6:before, .vditor-ir div[data-type="link-ref-defs-block"]:before, .vditor-ir div[data-type="footnotes-block"]:before, .vditor-ir .vditor-toc:before {
5870
+ float: left;
5871
+ content: "H1";
5872
+ color: var(--second-color);
5873
+ margin-left: -29px;
5874
+ padding-right: 4px;
5875
+ font-size: .85rem;
5876
+ font-weight: normal;
2848
5877
  }
2849
5878
 
2850
- .configuration-loading {
2851
- color: var(--color-muted);
2852
- padding: 32px;
5879
+ .vditor-ir .vditor-reset > h2:before {
5880
+ content: "H2";
2853
5881
  }
2854
5882
 
2855
- .configuration-field {
2856
- align-content: start;
2857
- gap: 8px;
2858
- min-width: 0;
2859
- font-size: 13px;
2860
- font-weight: 500;
2861
- display: grid;
5883
+ .vditor-ir .vditor-reset > h3:before {
5884
+ content: "H3";
2862
5885
  }
2863
5886
 
2864
- .configuration-field + .configuration-field, .configuration-fields + .configuration-field, .configuration-notice + .configuration-field {
2865
- margin-top: 16px;
5887
+ .vditor-ir .vditor-reset > h4:before {
5888
+ content: "H4";
2866
5889
  }
2867
5890
 
2868
- .configuration-field :is(input, select, textarea), .configuration-file-picker select {
2869
- width: 100%;
2870
- min-width: 0;
2871
- color: var(--color-foreground);
2872
- background: var(--color-surface);
2873
- border: 1px solid var(--color-border-strong);
2874
- font: inherit;
2875
- border-radius: 6px;
2876
- padding: 10px 12px;
2877
- font-weight: 400;
2878
- line-height: 1.6;
5891
+ .vditor-ir .vditor-reset > h5:before {
5892
+ content: "H5";
2879
5893
  }
2880
5894
 
2881
- .configuration-field :is(input, select) {
2882
- min-height: 40px;
5895
+ .vditor-ir .vditor-reset > h6:before {
5896
+ content: "H6";
2883
5897
  }
2884
5898
 
2885
- .configuration-field input[readonly] {
2886
- color: var(--color-muted);
2887
- background: var(--color-surface-raised);
5899
+ .vditor-ir div[data-type="link-ref-defs-block"] {
5900
+ color: var(--blockquote-color);
2888
5901
  }
2889
5902
 
2890
- .configuration-field textarea {
2891
- resize: vertical;
2892
- line-height: 1.8;
5903
+ .vditor-ir div[data-type="link-ref-defs-block"]:before {
5904
+ content: "\"A\"";
2893
5905
  }
2894
5906
 
2895
- .configuration-field .configuration-code-editor {
2896
- tab-size: 2;
2897
- font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
2898
- font-size: 12px;
2899
- line-height: 1.75;
5907
+ .vditor-ir div[data-type="footnotes-block"] {
5908
+ border-top: 2px solid var(--heading-border-color);
5909
+ margin-top: 24px;
5910
+ padding-top: 24px;
2900
5911
  }
2901
5912
 
2902
- .configuration-hint {
2903
- color: var(--color-muted);
2904
- font-size: 12px;
2905
- font-weight: 400;
2906
- line-height: 1.6;
5913
+ .vditor-ir div[data-type="footnotes-block"]:before {
5914
+ content: "^F";
2907
5915
  }
2908
5916
 
2909
- .configuration-fields {
2910
- grid-template-columns: repeat(2, minmax(0, 1fr));
2911
- align-items: start;
2912
- gap: 20px;
2913
- display: grid;
5917
+ .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ul, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ol, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > p, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > blockquote, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > pre, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > table, .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > hr {
5918
+ margin-left: 8px;
2914
5919
  }
2915
5920
 
2916
- .configuration-fields > .configuration-field {
2917
- margin: 0;
5921
+ .vditor-ir .vditor-toc:before {
5922
+ content: "ToC";
2918
5923
  }
2919
5924
 
2920
- .configuration-form {
2921
- flex-direction: column;
2922
- flex: 1;
2923
- min-width: 0;
2924
- display: flex;
5925
+ .vditor-ir .vditor-toc span[data-type="toc-h"] {
5926
+ color: #4285f4;
5927
+ text-decoration: underline;
2925
5928
  }
2926
5929
 
2927
- .configuration-form > fieldset {
5930
+ @media screen and (width <= 520px) {
5931
+ .vditor-ir h1:before, .vditor-ir h2:before, .vditor-ir h3:before, .vditor-ir h4:before, .vditor-ir h5:before, .vditor-ir h6:before, .vditor-ir div[data-type="link-ref-defs-block"]:before, .vditor-ir div[data-type="footnotes-block"]:before, .vditor-ir .vditor-toc:before {
5932
+ content: none;
5933
+ }
5934
+ }
5935
+
5936
+ .vditor-sv {
5937
+ resize: none;
5938
+ box-sizing: border-box;
5939
+ background-color: var(--panel-background-color);
5940
+ width: 100%;
5941
+ min-width: 1px;
5942
+ color: var(--textarea-text-color);
5943
+ font-variant-ligatures: no-common-ligatures;
5944
+ white-space: pre-wrap;
5945
+ word-break: break-word;
5946
+ word-wrap: break-word;
2928
5947
  border: 0;
2929
- min-width: 0;
2930
- margin: 0;
5948
+ border-radius: 0 0 3px 3px;
5949
+ outline: 0;
5950
+ flex: 1;
5951
+ margin: 0 1px 0 0;
5952
+ padding: 10px 9px 10px 10px;
5953
+ font-family: Helvetica Neue, Luxi Sans, DejaVu Sans, Hiragino Sans GB, Microsoft Yahei, sans-serif, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
5954
+ font-size: 16px;
5955
+ line-height: 22px;
5956
+ overflow: auto;
2931
5957
  }
2932
5958
 
2933
- .configuration-document-bar {
2934
- border-bottom: 1px solid var(--color-border);
2935
- color: var(--color-muted);
2936
- overflow-wrap: anywhere;
2937
- flex-wrap: wrap;
2938
- justify-content: space-between;
2939
- align-items: center;
2940
- gap: 12px;
2941
- margin-bottom: 20px;
2942
- padding-bottom: 16px;
2943
- font-size: 12px;
2944
- display: flex;
5959
+ .vditor-sv:disabled {
5960
+ opacity: .3;
5961
+ cursor: not-allowed;
2945
5962
  }
2946
5963
 
2947
- .configuration-document-bar > span {
2948
- font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
5964
+ .vditor-sv::-moz-placeholder {
5965
+ color: var(--second-color);
2949
5966
  }
2950
5967
 
2951
- .configuration-file-picker {
2952
- align-items: center;
2953
- gap: 10px;
2954
- min-width: 0;
2955
- max-width: 100%;
2956
- display: flex;
5968
+ .vditor-sv::placeholder {
5969
+ color: var(--second-color);
2957
5970
  }
2958
5971
 
2959
- .configuration-file-picker select {
2960
- width: auto;
2961
- padding: 6px 8px;
2962
- font-size: 12px;
5972
+ .vditor-sv:focus {
5973
+ background-color: var(--textarea-background-color);
2963
5974
  }
2964
5975
 
2965
- .configuration-manager .configuration-content {
5976
+ .workbase-markdown-icons {
5977
+ display: none;
5978
+ }
5979
+
5980
+ .workbase-markdown-links {
5981
+ flex-direction: column;
5982
+ flex: 1;
5983
+ min-width: 0;
5984
+ min-height: 0;
5985
+ display: flex;
5986
+ }
5987
+
5988
+ .markdown-document-preview {
2966
5989
  border: 1px solid var(--color-border);
2967
- background: var(--color-surface-raised);
2968
- white-space: pre-wrap;
2969
- overflow-wrap: anywhere;
2970
- border-radius: 6px;
2971
- max-height: 520px;
2972
- margin: 0;
5990
+ background: var(--color-surface);
5991
+ min-width: 0;
5992
+ color: var(--color-foreground);
5993
+ border-radius: 8px;
5994
+ margin-bottom: 20px;
2973
5995
  padding: 20px;
2974
- font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
2975
- font-size: 12px;
2976
- line-height: 1.8;
2977
- overflow: auto;
2978
5996
  }
2979
5997
 
2980
- .configuration-manager .configuration-prose {
2981
- max-width: 72ch;
2982
- color: var(--color-foreground);
2983
- overflow-wrap: anywhere;
2984
- font-size: 14px;
2985
- line-height: 1.85;
5998
+ .markdown-document-heading {
5999
+ justify-content: space-between;
6000
+ align-items: start;
6001
+ gap: 16px;
6002
+ margin-bottom: 20px;
6003
+ display: flex;
2986
6004
  }
2987
6005
 
2988
- .configuration-manager .configuration-prose :is(h1, h2, h3, h4) {
2989
- margin: 28px 0 12px;
2990
- font-weight: 600;
6006
+ .markdown-document-heading h2 {
6007
+ margin: 0;
6008
+ font-size: 18px;
2991
6009
  line-height: 1.5;
2992
6010
  }
2993
6011
 
2994
- .configuration-manager .configuration-prose h1 {
2995
- font-size: 22px;
6012
+ .markdown-document-heading p {
6013
+ color: var(--color-muted);
6014
+ overflow-wrap: anywhere;
6015
+ margin: 8px 0 0;
2996
6016
  }
2997
6017
 
2998
- .configuration-manager .configuration-prose h2 {
2999
- font-size: 18px;
6018
+ .markdown-document-heading button, .markdown-link-error button {
6019
+ border: 1px solid var(--color-border-strong);
6020
+ background: var(--color-surface);
6021
+ color: var(--color-foreground);
6022
+ font: inherit;
6023
+ cursor: pointer;
6024
+ border-radius: 6px;
6025
+ flex-shrink: 0;
6026
+ padding: 6px 10px;
3000
6027
  }
3001
6028
 
3002
- .configuration-manager .configuration-prose :is(h3, h4) {
3003
- font-size: 15px;
6029
+ .markdown-document-heading button:hover, .markdown-link-error button:hover {
6030
+ background: var(--color-surface-muted);
3004
6031
  }
3005
6032
 
3006
- .configuration-manager .configuration-prose > :first-child {
3007
- margin-top: 0;
6033
+ .markdown-document-preview:focus-visible, .workbase-markdown-links button:focus-visible {
6034
+ outline: 2px solid var(--color-brand);
6035
+ outline-offset: 2px;
3008
6036
  }
3009
6037
 
3010
- .configuration-manager .configuration-prose > :last-child {
3011
- margin-bottom: 0;
6038
+ .markdown-link-error {
6039
+ color: var(--color-danger);
6040
+ overflow-wrap: anywhere;
6041
+ line-height: 1.6;
3012
6042
  }
3013
6043
 
3014
- .configuration-manager .configuration-prose p {
3015
- margin: 12px 0;
6044
+ .markdown-link-error button {
6045
+ margin-inline-start: 8px;
3016
6046
  }
3017
6047
 
3018
- .configuration-prose :is(ul, ol) {
3019
- margin: 12px 0;
3020
- padding-left: 22px;
6048
+ .workbase-markdown-links .markdown-document-body {
6049
+ max-width: 75ch;
6050
+ max-height: 65vh;
6051
+ color: var(--color-foreground);
6052
+ overflow-wrap: anywhere;
6053
+ font-family: inherit;
6054
+ font-size: 14px;
6055
+ line-height: 1.85;
6056
+ overflow: auto;
3021
6057
  }
3022
6058
 
3023
- .configuration-prose li + li {
3024
- margin-top: 5px;
6059
+ .markdown-document-body :is(h1, h2, h3, h4, h5, h6) {
6060
+ color: var(--color-foreground);
3025
6061
  }
3026
6062
 
3027
- .configuration-prose a {
3028
- color: var(--color-brand);
6063
+ .markdown-document-body a {
6064
+ color: var(--color-accent);
3029
6065
  text-underline-offset: 3px;
3030
6066
  }
3031
6067
 
3032
- .configuration-prose code {
6068
+ .markdown-document-body pre {
3033
6069
  background: var(--color-surface-muted);
3034
- border-radius: 3px;
3035
- padding: 2px 4px;
3036
- font-size: .9em;
6070
+ overflow: auto;
3037
6071
  }
3038
6072
 
3039
- .configuration-prose pre {
3040
- background: var(--color-surface-raised);
3041
- border: 1px solid var(--color-border);
3042
- border-radius: 6px;
6073
+ .markdown-document-body table {
3043
6074
  max-width: 100%;
3044
- padding: 16px;
3045
- overflow-x: auto;
6075
+ display: block;
6076
+ overflow: auto;
3046
6077
  }
3047
6078
 
3048
- .configuration-prose pre code {
3049
- background: none;
3050
- padding: 0;
6079
+ .markdown-document-body ::selection {
6080
+ background: var(--color-brand-weak);
6081
+ color: var(--color-foreground);
3051
6082
  }
3052
6083
 
3053
- .configuration-prose blockquote {
3054
- border-left: 1px solid var(--color-border-strong);
3055
- color: var(--color-muted);
3056
- margin: 16px 0;
3057
- padding: 4px 16px;
6084
+ .workbase-markdown-editor, .workbase-markdown-editor .vditor {
6085
+ --panel-background-color: var(--color-surface);
6086
+ --border-color: var(--color-border);
6087
+ --toolbar-background-color: var(--color-background);
6088
+ --toolbar-icon-color: var(--color-muted);
6089
+ --toolbar-icon-hover-color: var(--color-brand);
6090
+ --toolbar-height: 36px;
6091
+ --textarea-background-color: var(--color-surface);
6092
+ --textarea-text-color: var(--color-foreground);
6093
+ --resize-icon-color: var(--color-muted);
6094
+ --resize-background-color: var(--color-background);
6095
+ --resize-hover-icon-color: var(--color-brand);
6096
+ --resize-hover-background-color: var(--color-brand-weak);
6097
+ min-width: 0;
6098
+ color: var(--color-foreground);
6099
+ font-size: 14px;
6100
+ position: relative;
3058
6101
  }
3059
6102
 
3060
- .configuration-prose table {
3061
- border-collapse: collapse;
3062
- width: 100%;
3063
- font-size: 13px;
6103
+ .markdown-field-label {
6104
+ margin-bottom: 8px;
6105
+ font-size: 12px;
6106
+ font-weight: 500;
3064
6107
  display: block;
3065
- overflow-x: auto;
3066
6108
  }
3067
6109
 
3068
- .configuration-prose :is(td, th) {
3069
- border: 1px solid var(--color-border);
3070
- text-align: left;
3071
- padding: 8px 12px;
6110
+ .workbase-markdown-editor .vditor {
6111
+ border-radius: 6px;
3072
6112
  }
3073
6113
 
3074
- .configuration-facts {
3075
- grid-template-columns: repeat(2, minmax(0, 1fr));
3076
- gap: 20px 24px;
3077
- margin: 0;
3078
- display: grid;
6114
+ .workbase-markdown-editor .vditor-toolbar {
6115
+ flex-wrap: wrap;
6116
+ padding-left: 6px !important;
6117
+ padding-right: 6px !important;
3079
6118
  }
3080
6119
 
3081
- .configuration-facts dt {
3082
- color: var(--color-muted);
3083
- margin-bottom: 5px;
3084
- font-size: 12px;
6120
+ .workbase-markdown-editor .vditor-toolbar__item {
6121
+ flex-shrink: 0;
3085
6122
  }
3086
6123
 
3087
- .configuration-facts dd {
3088
- overflow-wrap: anywhere;
3089
- margin: 0;
3090
- font-size: 13px;
6124
+ .workbase-markdown-editor .vditor-reset {
6125
+ color: var(--color-foreground);
6126
+ font-family: inherit;
6127
+ font-size: 14px;
6128
+ line-height: 1.85;
3091
6129
  }
3092
6130
 
3093
- .configuration-tasks {
6131
+ .workbase-markdown-editor .vditor-reset h1 {
3094
6132
  border: 0;
3095
- min-width: 0;
3096
- padding: 0;
6133
+ font-size: 24px;
3097
6134
  }
3098
6135
 
3099
- .configuration-tasks legend {
3100
- padding: 0;
6136
+ .workbase-markdown-editor .vditor-reset h2 {
6137
+ border: 0;
6138
+ font-size: 20px;
3101
6139
  }
3102
6140
 
3103
- .configuration-tasks > label {
3104
- border-bottom: 1px solid var(--color-border);
3105
- cursor: pointer;
3106
- overflow-wrap: anywhere;
3107
- align-items: flex-start;
3108
- gap: 10px;
3109
- padding: 12px 0;
3110
- display: flex;
6141
+ .workbase-markdown-editor .vditor-reset h3 {
6142
+ font-size: 16px;
3111
6143
  }
3112
6144
 
3113
- .configuration-tasks input {
3114
- width: 16px;
3115
- height: 16px;
3116
- accent-color: var(--color-brand);
3117
- flex-shrink: 0;
3118
- margin: 3px 0;
6145
+ .workbase-markdown-editor .vditor-reset > :is(h1, h2, h3, h4, h5, h6):before {
6146
+ content: none;
3119
6147
  }
3120
6148
 
3121
- .configuration-tasks label span {
3122
- gap: 3px;
3123
- display: grid;
6149
+ .workbase-markdown-editor .vditor-ir pre.vditor-reset, .workbase-markdown-editor .vditor-wysiwyg pre.vditor-reset {
6150
+ min-height: 320px;
6151
+ padding: 24px !important;
3124
6152
  }
3125
6153
 
3126
- .configuration-tasks strong, .configuration-task-list strong {
3127
- font-size: 13px;
3128
- font-weight: 500;
6154
+ .workbase-markdown-editor .vditor-sv {
6155
+ min-width: 0;
6156
+ font-size: 14px;
6157
+ line-height: 1.8;
6158
+ padding: 20px !important;
3129
6159
  }
3130
6160
 
3131
- .configuration-tasks small, .configuration-task-list span {
3132
- color: var(--color-muted);
3133
- font-size: 12px;
6161
+ .workbase-markdown-editor .vditor-preview {
6162
+ min-width: 0;
3134
6163
  }
3135
6164
 
3136
- .configuration-task-list {
3137
- margin: 0;
3138
- padding: 0;
3139
- list-style: none;
6165
+ .workbase-markdown-editor .vditor-preview > .vditor-reset {
6166
+ padding: 24px;
3140
6167
  }
3141
6168
 
3142
- .configuration-task-list li {
3143
- border-bottom: 1px solid var(--color-border);
3144
- overflow-wrap: anywhere;
3145
- gap: 4px;
3146
- padding: 12px 0;
3147
- display: grid;
6169
+ .workbase-markdown-editor .vditor-hint {
6170
+ max-width: min(440px, 100%);
3148
6171
  }
3149
6172
 
3150
- .configuration-disclosure {
3151
- border-top: 1px solid var(--color-border);
3152
- margin-top: 24px;
3153
- padding-top: 16px;
6173
+ .workbase-markdown-editor .vditor-hint button {
6174
+ white-space: normal;
6175
+ text-align: left;
3154
6176
  }
3155
6177
 
3156
- .configuration-disclosure summary {
3157
- cursor: pointer;
3158
- width: fit-content;
3159
- padding: 4px 0;
3160
- font-size: 13px;
3161
- font-weight: 500;
6178
+ .workbase-markdown-editor [contenteditable] {
6179
+ caret-color: var(--color-brand);
6180
+ outline: none;
3162
6181
  }
3163
6182
 
3164
- .configuration-disclosure summary span {
3165
- color: var(--color-muted);
3166
- margin-left: 10px;
3167
- font-size: 12px;
3168
- font-weight: 400;
6183
+ .workbase-markdown-editor [contenteditable]:focus-visible {
6184
+ box-shadow: inset 0 0 0 2px var(--color-primary);
3169
6185
  }
3170
6186
 
3171
- .configuration-disclosure[open] > summary {
3172
- margin-bottom: 16px;
6187
+ .workbase-markdown-editor button:focus-visible {
6188
+ outline: 2px solid var(--color-brand);
6189
+ outline-offset: 2px;
3173
6190
  }
3174
6191
 
3175
- .configuration-footer {
3176
- border-top: 1px solid var(--color-border);
3177
- background: var(--color-surface-raised);
3178
- border-radius: 0 0 10px;
3179
- flex-wrap: wrap;
3180
- justify-content: space-between;
3181
- align-items: center;
3182
- gap: 12px;
3183
- margin-top: auto;
3184
- padding: 16px 24px;
3185
- display: flex;
6192
+ .workbase-markdown-editor ::selection {
6193
+ background: var(--color-brand-weak);
6194
+ color: var(--color-foreground);
3186
6195
  }
3187
6196
 
3188
- .configuration-manager .configuration-footer p {
3189
- color: var(--color-muted);
3190
- flex: 220px;
3191
- margin: 0;
3192
- font-size: 12px;
3193
- line-height: 1.6;
6197
+ .workbase-markdown-editor[data-disabled="true"] {
6198
+ opacity: .7;
3194
6199
  }
3195
6200
 
3196
- .configuration-actions {
3197
- flex-wrap: wrap;
3198
- justify-content: flex-end;
3199
- align-items: center;
3200
- gap: 8px;
3201
- display: flex;
6201
+ .workbase-markdown-editor[data-readonly="true"] :is(.vditor-reset, .vditor-sv)[contenteditable="false"] {
6202
+ opacity: 1;
6203
+ cursor: text;
3202
6204
  }
3203
6205
 
3204
- @media (width <= 900px) {
3205
- .configuration-manager .configuration-resource-grid {
3206
- grid-template-columns: 200px minmax(0, 1fr);
3207
- }
6206
+ .markdown-editor-loading {
6207
+ color: var(--color-muted);
6208
+ border: 1px solid var(--color-border);
6209
+ border-radius: 6px;
6210
+ padding: 24px;
6211
+ }
3208
6212
 
3209
- .configuration-detail-header {
3210
- padding: 22px 24px;
3211
- }
6213
+ .markdown-editor-error {
6214
+ color: var(--color-danger);
6215
+ line-height: 1.6;
6216
+ }
3212
6217
 
3213
- .configuration-detail-body {
3214
- padding: 24px;
3215
- }
6218
+ .markdown-editor-error button {
6219
+ color: var(--color-brand);
6220
+ cursor: pointer;
6221
+ font: inherit;
6222
+ background: none;
6223
+ border: 0;
6224
+ margin-left: 8px;
6225
+ text-decoration: underline;
6226
+ }
3216
6227
 
3217
- .configuration-tabs {
3218
- gap: 18px;
3219
- }
6228
+ .markdown-editor-fallback {
6229
+ border: 1px solid var(--color-border);
6230
+ background: var(--color-surface);
6231
+ width: 100%;
6232
+ min-height: 360px;
6233
+ color: var(--color-foreground);
6234
+ resize: vertical;
6235
+ padding: 16px;
6236
+ font: 14px / 1.8 ui-monospace, monospace;
3220
6237
  }
3221
6238
 
3222
- @media (width <= 720px) {
3223
- .configuration-navigation {
6239
+ .markdown-editor-form-value {
6240
+ clip-path: inset(50%);
6241
+ border: 0;
6242
+ width: 1px;
6243
+ height: 1px;
6244
+ margin: -1px;
6245
+ padding: 0;
6246
+ position: absolute;
6247
+ overflow: hidden;
6248
+ }
6249
+
6250
+ @media (width <= 760px) {
6251
+ .workbase-markdown-editor .vditor-content {
3224
6252
  flex-wrap: wrap;
3225
- gap: 12px;
3226
- padding-bottom: 12px;
3227
6253
  }
3228
6254
 
3229
- .configuration-tabs {
3230
- gap: 20px;
6255
+ .workbase-markdown-editor .vditor-content > .vditor-sv, .workbase-markdown-editor .vditor-content > .vditor-preview {
6256
+ flex-basis: 100%;
3231
6257
  width: 100%;
3232
6258
  }
3233
6259
 
3234
- .configuration-manager .configuration-resource-grid {
3235
- grid-template-columns: minmax(0, 1fr);
3236
- }
3237
-
3238
- .configuration-list {
3239
- border-right: 0;
3240
- border-bottom: 1px solid var(--color-border);
3241
- border-radius: 10px 10px 0 0;
3242
- }
3243
-
3244
- .configuration-manager[data-editing="true"] .configuration-list {
3245
- display: none;
3246
- }
3247
-
3248
- .configuration-items {
3249
- max-height: 176px;
3250
- }
3251
-
3252
- .configuration-list-footer {
3253
- margin-top: 12px;
3254
- }
3255
-
3256
- .configuration-detail-header {
3257
- gap: 12px;
3258
- padding: 20px;
3259
- }
3260
-
3261
- .configuration-detail-body {
3262
- padding: 24px 20px;
3263
- }
3264
-
3265
- .configuration-fields, .configuration-facts {
3266
- grid-template-columns: minmax(0, 1fr);
3267
- gap: 16px;
3268
- }
3269
-
3270
- .configuration-empty {
3271
- padding: 36px 20px;
3272
- }
3273
-
3274
- .configuration-footer {
3275
- border-radius: 0 0 10px 10px;
3276
- padding: 16px 20px;
3277
- }
3278
-
3279
- .configuration-actions {
3280
- margin-left: auto;
3281
- }
3282
-
3283
- .configuration-disclosure summary span {
3284
- margin: 4px 0 0 16px;
3285
- display: block;
6260
+ .workbase-markdown-editor .vditor-content > .vditor-preview {
6261
+ border-top: 1px solid var(--color-border);
6262
+ border-left: 0;
3286
6263
  }
3287
6264
  }
3288
6265