nextgen-block-editor 0.3.1 → 0.5.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/index.cjs +5802 -3602
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +5348 -3150
- package/dist/styles.css +1113 -212
- package/package.json +3 -2
package/dist/styles.css
CHANGED
|
@@ -2117,6 +2117,21 @@
|
|
|
2117
2117
|
0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
2118
2118
|
0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
2119
2119
|
padding: 4px;
|
|
2120
|
+
overflow-x: hidden;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.nextgen-editor-shell .ce-popover__items {
|
|
2124
|
+
overflow-x: hidden;
|
|
2125
|
+
scrollbar-width: none;
|
|
2126
|
+
-ms-overflow-style: none;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
.nextgen-editor-shell .ce-popover__items::-webkit-scrollbar {
|
|
2130
|
+
display: none;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
.nextgen-editor-shell .ce-popover-item-separator {
|
|
2134
|
+
display: none;
|
|
2120
2135
|
}
|
|
2121
2136
|
|
|
2122
2137
|
.nextgen-editor-shell .ce-popover__search {
|
|
@@ -2615,6 +2630,12 @@
|
|
|
2615
2630
|
overflow-x: auto;
|
|
2616
2631
|
scroll-snap-type: x mandatory;
|
|
2617
2632
|
padding-bottom: 8px;
|
|
2633
|
+
scrollbar-width: none;
|
|
2634
|
+
-ms-overflow-style: none;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
.editor-music-carousel-track::-webkit-scrollbar {
|
|
2638
|
+
display: none;
|
|
2618
2639
|
}
|
|
2619
2640
|
|
|
2620
2641
|
.editor-audio-card.is-compact {
|
|
@@ -3792,283 +3813,793 @@ html[data-ng-theme] body {
|
|
|
3792
3813
|
--ng-ring: #d4d4d8;
|
|
3793
3814
|
}
|
|
3794
3815
|
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
--ng-popover: #181825;
|
|
3801
|
-
--ng-popover-foreground: #cdd6f4;
|
|
3802
|
-
--ng-primary: #cba6f7;
|
|
3803
|
-
--ng-primary-foreground: #11111b;
|
|
3804
|
-
--ng-secondary: #313244;
|
|
3805
|
-
--ng-secondary-foreground: #cdd6f4;
|
|
3806
|
-
--ng-muted: #313244;
|
|
3807
|
-
--ng-muted-foreground: #a6adc8;
|
|
3808
|
-
--ng-accent: #313244;
|
|
3809
|
-
--ng-accent-foreground: #cdd6f4;
|
|
3810
|
-
--ng-border: #45475a;
|
|
3811
|
-
--ng-input: #45475a;
|
|
3812
|
-
--ng-ring: #cba6f7;
|
|
3813
|
-
}
|
|
3814
|
-
|
|
3815
|
-
[data-ng-theme='catppuccin-macchiato'] {
|
|
3816
|
-
--ng-background: #24273a;
|
|
3817
|
-
--ng-foreground: #cad3f5;
|
|
3818
|
-
--ng-card: #1e2030;
|
|
3819
|
-
--ng-card-foreground: #cad3f5;
|
|
3820
|
-
--ng-popover: #1e2030;
|
|
3821
|
-
--ng-popover-foreground: #cad3f5;
|
|
3822
|
-
--ng-primary: #c6a0f6;
|
|
3823
|
-
--ng-primary-foreground: #181926;
|
|
3824
|
-
--ng-secondary: #363a4f;
|
|
3825
|
-
--ng-secondary-foreground: #cad3f5;
|
|
3826
|
-
--ng-muted: #363a4f;
|
|
3827
|
-
--ng-muted-foreground: #a5adcb;
|
|
3828
|
-
--ng-accent: #363a4f;
|
|
3829
|
-
--ng-accent-foreground: #cad3f5;
|
|
3830
|
-
--ng-border: #494d64;
|
|
3831
|
-
--ng-input: #494d64;
|
|
3832
|
-
--ng-ring: #c6a0f6;
|
|
3833
|
-
}
|
|
3834
|
-
|
|
3835
|
-
[data-ng-theme='catppuccin-frappe'] {
|
|
3836
|
-
--ng-background: #303446;
|
|
3837
|
-
--ng-foreground: #c6d0f5;
|
|
3838
|
-
--ng-card: #292c3c;
|
|
3839
|
-
--ng-card-foreground: #c6d0f5;
|
|
3840
|
-
--ng-popover: #292c3c;
|
|
3841
|
-
--ng-popover-foreground: #c6d0f5;
|
|
3842
|
-
--ng-primary: #ca9ee6;
|
|
3843
|
-
--ng-primary-foreground: #232634;
|
|
3844
|
-
--ng-secondary: #414559;
|
|
3845
|
-
--ng-secondary-foreground: #c6d0f5;
|
|
3846
|
-
--ng-muted: #414559;
|
|
3847
|
-
--ng-muted-foreground: #a5adce;
|
|
3848
|
-
--ng-accent: #414559;
|
|
3849
|
-
--ng-accent-foreground: #c6d0f5;
|
|
3850
|
-
--ng-border: #51576d;
|
|
3851
|
-
--ng-input: #51576d;
|
|
3852
|
-
--ng-ring: #ca9ee6;
|
|
3853
|
-
}
|
|
3854
|
-
|
|
3855
|
-
[data-ng-theme='catppuccin-latte'] {
|
|
3856
|
-
--ng-background: #eff1f5;
|
|
3857
|
-
--ng-foreground: #4c4f69;
|
|
3858
|
-
--ng-card: #e6e9ef;
|
|
3859
|
-
--ng-card-foreground: #4c4f69;
|
|
3860
|
-
--ng-popover: #e6e9ef;
|
|
3861
|
-
--ng-popover-foreground: #4c4f69;
|
|
3862
|
-
--ng-primary: #8839ef;
|
|
3863
|
-
--ng-primary-foreground: #eff1f5;
|
|
3864
|
-
--ng-secondary: #ccd0da;
|
|
3865
|
-
--ng-secondary-foreground: #4c4f69;
|
|
3866
|
-
--ng-muted: #ccd0da;
|
|
3867
|
-
--ng-muted-foreground: #6c6f85;
|
|
3868
|
-
--ng-accent: #ccd0da;
|
|
3869
|
-
--ng-accent-foreground: #4c4f69;
|
|
3870
|
-
--ng-border: #bcc0cc;
|
|
3871
|
-
--ng-input: #bcc0cc;
|
|
3872
|
-
--ng-ring: #8839ef;
|
|
3816
|
+
/* ── Document Width Presets ─────────────────────────────────────── */
|
|
3817
|
+
.nextgen-editor-shell[data-ng-width='narrow'] #editorjs {
|
|
3818
|
+
max-width: 680px;
|
|
3819
|
+
margin-left: auto;
|
|
3820
|
+
margin-right: auto;
|
|
3873
3821
|
}
|
|
3874
3822
|
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3823
|
+
.nextgen-editor-shell[data-ng-width='standard'] #editorjs {
|
|
3824
|
+
max-width: 920px;
|
|
3825
|
+
margin-left: auto;
|
|
3826
|
+
margin-right: auto;
|
|
3878
3827
|
}
|
|
3879
3828
|
|
|
3880
|
-
.nextgen-editor-shell
|
|
3881
|
-
.nextgen-editor-shell .ce-toolbar__content {
|
|
3829
|
+
.nextgen-editor-shell[data-ng-width='full'] #editorjs {
|
|
3882
3830
|
max-width: none;
|
|
3883
|
-
margin-left: 0;
|
|
3884
|
-
margin-right: 0;
|
|
3885
3831
|
}
|
|
3886
3832
|
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3833
|
+
/* ── Reading Progress Bar ───────────────────────────────────────── */
|
|
3834
|
+
.ng-reading-progress {
|
|
3835
|
+
position: sticky;
|
|
3836
|
+
top: 0;
|
|
3837
|
+
left: 0;
|
|
3838
|
+
width: 100%;
|
|
3839
|
+
height: 3px;
|
|
3840
|
+
background: transparent;
|
|
3841
|
+
z-index: 40;
|
|
3842
|
+
pointer-events: none;
|
|
3893
3843
|
}
|
|
3894
3844
|
|
|
3895
|
-
.
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
width: 0;
|
|
3901
|
-
height: 0;
|
|
3845
|
+
.ng-reading-progress-fill {
|
|
3846
|
+
height: 100%;
|
|
3847
|
+
width: 0%;
|
|
3848
|
+
background: var(--ng-foreground);
|
|
3849
|
+
transition: width 80ms linear;
|
|
3902
3850
|
}
|
|
3903
3851
|
|
|
3904
|
-
|
|
3905
|
-
.
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3852
|
+
/* ── Mermaid Diagram Block ──────────────────────────────────────── */
|
|
3853
|
+
.editor-mermaid-tool,
|
|
3854
|
+
.editor-mermaid-block {
|
|
3855
|
+
background: var(--ng-card);
|
|
3856
|
+
color: var(--ng-card-foreground);
|
|
3857
|
+
border: 1px solid var(--ng-border);
|
|
3858
|
+
border-radius: var(--ng-radius);
|
|
3859
|
+
padding: 12px;
|
|
3860
|
+
margin: 12px 0;
|
|
3910
3861
|
}
|
|
3911
3862
|
|
|
3912
|
-
.
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
min-width: 240px;
|
|
3863
|
+
.editor-mermaid-head {
|
|
3864
|
+
display: flex;
|
|
3865
|
+
align-items: center;
|
|
3866
|
+
justify-content: space-between;
|
|
3867
|
+
gap: 8px;
|
|
3868
|
+
margin-bottom: 8px;
|
|
3919
3869
|
}
|
|
3920
3870
|
|
|
3921
|
-
.
|
|
3922
|
-
|
|
3923
|
-
|
|
3871
|
+
.editor-mermaid-label {
|
|
3872
|
+
font-size: 12px;
|
|
3873
|
+
font-weight: 600;
|
|
3874
|
+
color: var(--ng-muted-foreground);
|
|
3875
|
+
text-transform: uppercase;
|
|
3876
|
+
letter-spacing: 0.04em;
|
|
3924
3877
|
}
|
|
3925
3878
|
|
|
3926
|
-
.
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3879
|
+
.editor-mermaid-presets {
|
|
3880
|
+
display: flex;
|
|
3881
|
+
gap: 6px;
|
|
3882
|
+
flex-wrap: wrap;
|
|
3930
3883
|
}
|
|
3931
3884
|
|
|
3932
|
-
.
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
height: 26px;
|
|
3885
|
+
.editor-mermaid-preset-btn {
|
|
3886
|
+
padding: 2px 8px;
|
|
3887
|
+
font-size: 11px;
|
|
3936
3888
|
border-radius: 6px;
|
|
3937
|
-
background: var(--ng-card);
|
|
3938
3889
|
border: 1px solid var(--ng-border);
|
|
3939
|
-
|
|
3940
|
-
|
|
3890
|
+
background: var(--ng-background);
|
|
3891
|
+
color: var(--ng-foreground);
|
|
3892
|
+
cursor: pointer;
|
|
3941
3893
|
}
|
|
3942
3894
|
|
|
3943
|
-
.
|
|
3944
|
-
.nextgen-editor-shell .ce-toolbar__settings-btn:hover {
|
|
3895
|
+
.editor-mermaid-preset-btn:hover {
|
|
3945
3896
|
background: var(--ng-accent);
|
|
3946
|
-
color: var(--ng-accent-foreground);
|
|
3947
3897
|
}
|
|
3948
3898
|
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3899
|
+
.editor-mermaid-input {
|
|
3900
|
+
width: 100%;
|
|
3901
|
+
box-sizing: border-box;
|
|
3902
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
3903
|
+
font-size: 12px;
|
|
3904
|
+
padding: 8px;
|
|
3905
|
+
border: 1px solid var(--ng-border);
|
|
3906
|
+
border-radius: 6px;
|
|
3907
|
+
background: var(--ng-background);
|
|
3908
|
+
color: var(--ng-foreground);
|
|
3909
|
+
resize: vertical;
|
|
3910
|
+
margin-bottom: 10px;
|
|
3953
3911
|
}
|
|
3954
3912
|
|
|
3955
|
-
|
|
3956
|
-
.
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3913
|
+
.editor-mermaid-preview,
|
|
3914
|
+
.editor-mermaid-diagram {
|
|
3915
|
+
display: flex;
|
|
3916
|
+
justify-content: center;
|
|
3917
|
+
align-items: center;
|
|
3918
|
+
overflow-x: auto;
|
|
3919
|
+
padding: 4px 0;
|
|
3962
3920
|
}
|
|
3963
3921
|
|
|
3964
|
-
.
|
|
3965
|
-
.
|
|
3966
|
-
|
|
3967
|
-
.nextgen-editor-article strong {
|
|
3968
|
-
font-weight: 700;
|
|
3969
|
-
color: var(--ng-foreground);
|
|
3922
|
+
.editor-mermaid-preview[data-align='left'],
|
|
3923
|
+
.editor-mermaid-block[data-align='left'] .editor-mermaid-diagram {
|
|
3924
|
+
justify-content: flex-start;
|
|
3970
3925
|
}
|
|
3971
3926
|
|
|
3972
|
-
.
|
|
3973
|
-
.
|
|
3974
|
-
|
|
3975
|
-
.nextgen-editor-article em {
|
|
3976
|
-
font-style: italic;
|
|
3927
|
+
.editor-mermaid-preview[data-align='center'],
|
|
3928
|
+
.editor-mermaid-block[data-align='center'] .editor-mermaid-diagram {
|
|
3929
|
+
justify-content: center;
|
|
3977
3930
|
}
|
|
3978
3931
|
|
|
3979
|
-
.
|
|
3980
|
-
.
|
|
3981
|
-
|
|
3982
|
-
text-underline-offset: 2px;
|
|
3932
|
+
.editor-mermaid-preview[data-align='right'],
|
|
3933
|
+
.editor-mermaid-block[data-align='right'] .editor-mermaid-diagram {
|
|
3934
|
+
justify-content: flex-end;
|
|
3983
3935
|
}
|
|
3984
3936
|
|
|
3985
|
-
.
|
|
3986
|
-
.
|
|
3987
|
-
|
|
3937
|
+
.editor-mermaid-preview svg,
|
|
3938
|
+
.editor-mermaid-diagram svg {
|
|
3939
|
+
max-width: 100%;
|
|
3940
|
+
height: auto;
|
|
3988
3941
|
}
|
|
3989
3942
|
|
|
3990
|
-
.
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
border: 1px solid var(--ng-border);
|
|
3995
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
3996
|
-
font-size: 0.875em;
|
|
3943
|
+
.editor-mermaid-preview[data-size='small'] svg,
|
|
3944
|
+
.editor-mermaid-block[data-size='small'] .editor-mermaid-diagram svg {
|
|
3945
|
+
max-width: 340px;
|
|
3946
|
+
max-height: 220px;
|
|
3997
3947
|
}
|
|
3998
3948
|
|
|
3999
|
-
|
|
4000
|
-
.editor-
|
|
4001
|
-
|
|
3949
|
+
.editor-mermaid-preview[data-size='medium'] svg,
|
|
3950
|
+
.editor-mermaid-block[data-size='medium'] .editor-mermaid-diagram svg {
|
|
3951
|
+
max-width: 540px;
|
|
3952
|
+
max-height: 340px;
|
|
3953
|
+
}
|
|
3954
|
+
|
|
3955
|
+
.editor-mermaid-preview[data-size='large'] svg,
|
|
3956
|
+
.editor-mermaid-block[data-size='large'] .editor-mermaid-diagram svg {
|
|
3957
|
+
max-width: 760px;
|
|
3958
|
+
max-height: 480px;
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
.editor-mermaid-preview[data-size='full'] svg,
|
|
3962
|
+
.editor-mermaid-block[data-size='full'] .editor-mermaid-diagram svg {
|
|
3963
|
+
max-width: 100%;
|
|
3964
|
+
max-height: none;
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
.editor-spotify-card {
|
|
3968
|
+
padding: 0;
|
|
3969
|
+
overflow: hidden;
|
|
3970
|
+
border: none;
|
|
3971
|
+
background: transparent;
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3974
|
+
.editor-spotify-card iframe {
|
|
3975
|
+
width: 100%;
|
|
3976
|
+
height: 152px;
|
|
3977
|
+
border: 0;
|
|
3978
|
+
border-radius: 12px;
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
.editor-mermaid-error {
|
|
3982
|
+
font-size: 12px;
|
|
3983
|
+
color: #dc2626;
|
|
3984
|
+
white-space: pre-wrap;
|
|
3985
|
+
margin: 0;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.editor-mermaid-block figcaption {
|
|
3989
|
+
text-align: center;
|
|
3990
|
+
font-size: 12px;
|
|
3991
|
+
color: var(--ng-muted-foreground);
|
|
3992
|
+
margin-top: 6px;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
/* ── Extra Blocks (Bookmark, Steps, Diff, Video, Changelog, Social) */
|
|
3996
|
+
.editor-extra-card,
|
|
3997
|
+
.editor-diff-block,
|
|
3998
|
+
.editor-changelog-block,
|
|
3999
|
+
.editor-social-card {
|
|
4002
4000
|
background: var(--ng-card);
|
|
4003
4001
|
color: var(--ng-card-foreground);
|
|
4004
4002
|
border: 1px solid var(--ng-border);
|
|
4005
4003
|
border-radius: var(--ng-radius);
|
|
4006
|
-
padding:
|
|
4004
|
+
padding: 12px;
|
|
4007
4005
|
margin: 12px 0;
|
|
4008
|
-
}
|
|
4009
|
-
|
|
4010
|
-
.editor-upload-dropzone {
|
|
4011
4006
|
display: flex;
|
|
4012
4007
|
flex-direction: column;
|
|
4013
|
-
|
|
4014
|
-
justify-content: center;
|
|
4015
|
-
gap: 6px;
|
|
4016
|
-
padding: 24px 16px;
|
|
4017
|
-
border: 1.5px dashed var(--ng-border);
|
|
4018
|
-
border-radius: calc(var(--ng-radius) - 2px);
|
|
4019
|
-
background: var(--ng-muted);
|
|
4020
|
-
color: var(--ng-muted-foreground);
|
|
4021
|
-
font-size: 13.5px;
|
|
4022
|
-
cursor: pointer;
|
|
4023
|
-
text-align: center;
|
|
4024
|
-
transition: border-color 120ms ease, background-color 120ms ease;
|
|
4025
|
-
}
|
|
4026
|
-
|
|
4027
|
-
.editor-upload-dropzone.is-dragover,
|
|
4028
|
-
.editor-upload-dropzone:hover {
|
|
4029
|
-
border-color: var(--ng-ring);
|
|
4030
|
-
color: var(--ng-foreground);
|
|
4008
|
+
gap: 8px;
|
|
4031
4009
|
}
|
|
4032
4010
|
|
|
4033
|
-
.editor-
|
|
4011
|
+
.editor-extra-head {
|
|
4034
4012
|
font-size: 12px;
|
|
4013
|
+
font-weight: 600;
|
|
4035
4014
|
color: var(--ng-muted-foreground);
|
|
4015
|
+
text-transform: uppercase;
|
|
4016
|
+
letter-spacing: 0.04em;
|
|
4036
4017
|
}
|
|
4037
4018
|
|
|
4038
|
-
.editor-
|
|
4019
|
+
.editor-extra-grid {
|
|
4020
|
+
display: grid;
|
|
4021
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4022
|
+
gap: 8px;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
.editor-bookmark-card {
|
|
4039
4026
|
display: flex;
|
|
4040
|
-
align-items: center;
|
|
4041
4027
|
justify-content: space-between;
|
|
4042
|
-
gap:
|
|
4043
|
-
|
|
4044
|
-
padding: 8px 10px;
|
|
4045
|
-
border-radius: calc(var(--ng-radius) - 2px);
|
|
4028
|
+
gap: 12px;
|
|
4029
|
+
padding: 12px;
|
|
4046
4030
|
border: 1px solid var(--ng-border);
|
|
4031
|
+
border-radius: var(--ng-radius);
|
|
4047
4032
|
background: var(--ng-background);
|
|
4033
|
+
color: var(--ng-foreground);
|
|
4034
|
+
text-decoration: none;
|
|
4035
|
+
margin: 10px 0;
|
|
4048
4036
|
}
|
|
4049
4037
|
|
|
4050
|
-
.editor-
|
|
4051
|
-
|
|
4052
|
-
gap: 2px;
|
|
4053
|
-
font-size: 13px;
|
|
4038
|
+
.editor-bookmark-card:hover {
|
|
4039
|
+
background: var(--ng-accent);
|
|
4054
4040
|
}
|
|
4055
4041
|
|
|
4056
|
-
.editor-
|
|
4057
|
-
font-
|
|
4058
|
-
|
|
4042
|
+
.editor-bookmark-title {
|
|
4043
|
+
font-weight: 600;
|
|
4044
|
+
font-size: 14px;
|
|
4059
4045
|
}
|
|
4060
4046
|
|
|
4061
|
-
.editor-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
margin-top:
|
|
4047
|
+
.editor-bookmark-desc {
|
|
4048
|
+
font-size: 12px;
|
|
4049
|
+
color: var(--ng-muted-foreground);
|
|
4050
|
+
margin-top: 2px;
|
|
4065
4051
|
}
|
|
4066
4052
|
|
|
4067
|
-
.editor-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4053
|
+
.editor-bookmark-url {
|
|
4054
|
+
font-size: 11px;
|
|
4055
|
+
color: var(--ng-muted-foreground);
|
|
4056
|
+
margin-top: 6px;
|
|
4057
|
+
}
|
|
4058
|
+
|
|
4059
|
+
.editor-bookmark-thumb {
|
|
4060
|
+
width: 84px;
|
|
4061
|
+
height: 64px;
|
|
4062
|
+
object-fit: cover;
|
|
4063
|
+
border-radius: 6px;
|
|
4064
|
+
flex-shrink: 0;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
.editor-steps-editor-list,
|
|
4068
|
+
.editor-steps-list {
|
|
4069
|
+
display: flex;
|
|
4070
|
+
flex-direction: column;
|
|
4071
|
+
gap: 10px;
|
|
4072
|
+
list-style: none;
|
|
4073
|
+
padding: 0;
|
|
4074
|
+
margin: 12px 0;
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
.editor-step-editor-row,
|
|
4078
|
+
.editor-step-item {
|
|
4079
|
+
display: flex;
|
|
4080
|
+
align-items: flex-start;
|
|
4081
|
+
gap: 10px;
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
.editor-step-badge {
|
|
4085
|
+
width: 24px;
|
|
4086
|
+
height: 24px;
|
|
4087
|
+
border-radius: 999px;
|
|
4088
|
+
background: var(--ng-foreground);
|
|
4089
|
+
color: var(--ng-background);
|
|
4090
|
+
font-size: 12px;
|
|
4091
|
+
font-weight: 700;
|
|
4092
|
+
display: inline-flex;
|
|
4093
|
+
align-items: center;
|
|
4094
|
+
justify-content: center;
|
|
4095
|
+
flex-shrink: 0;
|
|
4096
|
+
margin-top: 2px;
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
.editor-step-editor-fields,
|
|
4100
|
+
.editor-step-content {
|
|
4101
|
+
flex: 1;
|
|
4102
|
+
display: flex;
|
|
4103
|
+
flex-direction: column;
|
|
4104
|
+
gap: 4px;
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
.editor-step-content h4 {
|
|
4108
|
+
margin: 0;
|
|
4109
|
+
font-size: 14px;
|
|
4110
|
+
font-weight: 600;
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4113
|
+
.editor-step-content p {
|
|
4114
|
+
margin: 0;
|
|
4115
|
+
font-size: 13px;
|
|
4116
|
+
color: var(--ng-muted-foreground);
|
|
4117
|
+
}
|
|
4118
|
+
|
|
4119
|
+
.editor-diff-inputs {
|
|
4120
|
+
display: grid;
|
|
4121
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4122
|
+
gap: 8px;
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
.editor-diff-filename {
|
|
4126
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
4127
|
+
font-size: 11px;
|
|
4128
|
+
color: var(--ng-muted-foreground);
|
|
4129
|
+
}
|
|
4130
|
+
|
|
4131
|
+
.editor-diff-preview {
|
|
4132
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
4133
|
+
font-size: 12px;
|
|
4134
|
+
background: var(--ng-background);
|
|
4135
|
+
border: 1px solid var(--ng-border);
|
|
4136
|
+
border-radius: 6px;
|
|
4137
|
+
padding: 8px;
|
|
4138
|
+
margin: 0;
|
|
4139
|
+
overflow-x: auto;
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
.editor-diff-line {
|
|
4143
|
+
display: block;
|
|
4144
|
+
padding: 1px 4px;
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
.editor-diff-line.is-add {
|
|
4148
|
+
background: rgba(34, 197, 94, 0.14);
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
.editor-diff-line.is-del {
|
|
4152
|
+
background: rgba(239, 68, 68, 0.14);
|
|
4153
|
+
}
|
|
4154
|
+
|
|
4155
|
+
.editor-video-el {
|
|
4156
|
+
width: 100%;
|
|
4157
|
+
border-radius: 8px;
|
|
4158
|
+
max-height: 440px;
|
|
4159
|
+
background: #000;
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4162
|
+
.editor-video-block figcaption {
|
|
4163
|
+
text-align: center;
|
|
4164
|
+
font-size: 12px;
|
|
4165
|
+
color: var(--ng-muted-foreground);
|
|
4166
|
+
margin-top: 6px;
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
.editor-changelog-row {
|
|
4170
|
+
display: grid;
|
|
4171
|
+
grid-template-columns: 110px 1fr auto;
|
|
4172
|
+
gap: 8px;
|
|
4173
|
+
align-items: center;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
.editor-changelog-head {
|
|
4177
|
+
display: flex;
|
|
4178
|
+
align-items: center;
|
|
4179
|
+
gap: 10px;
|
|
4180
|
+
}
|
|
4181
|
+
|
|
4182
|
+
.editor-changelog-version {
|
|
4183
|
+
font-weight: 700;
|
|
4184
|
+
font-size: 14px;
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
.editor-changelog-date {
|
|
4188
|
+
font-size: 12px;
|
|
4189
|
+
color: var(--ng-muted-foreground);
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
.editor-changelog-list {
|
|
4193
|
+
list-style: none;
|
|
4194
|
+
padding: 0;
|
|
4195
|
+
margin: 0;
|
|
4196
|
+
display: flex;
|
|
4197
|
+
flex-direction: column;
|
|
4198
|
+
gap: 6px;
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
.editor-changelog-list li {
|
|
4202
|
+
display: flex;
|
|
4203
|
+
align-items: center;
|
|
4204
|
+
gap: 8px;
|
|
4205
|
+
font-size: 13px;
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
.editor-changelog-badge {
|
|
4209
|
+
font-size: 10px;
|
|
4210
|
+
font-weight: 700;
|
|
4211
|
+
padding: 2px 6px;
|
|
4212
|
+
border-radius: 999px;
|
|
4213
|
+
border: 1px solid var(--ng-border);
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
.editor-social-head {
|
|
4217
|
+
display: flex;
|
|
4218
|
+
gap: 6px;
|
|
4219
|
+
align-items: baseline;
|
|
4220
|
+
font-size: 13px;
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
.editor-social-head span {
|
|
4224
|
+
color: var(--ng-muted-foreground);
|
|
4225
|
+
font-size: 12px;
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
.editor-social-text {
|
|
4229
|
+
margin: 0;
|
|
4230
|
+
font-size: 14px;
|
|
4231
|
+
line-height: 1.5;
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
.editor-social-link {
|
|
4235
|
+
font-size: 12px;
|
|
4236
|
+
color: var(--ng-foreground);
|
|
4237
|
+
text-decoration: underline;
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
/* ── Inline AI Rewrite, Color Swatches, Smart Mention & /today ─── */
|
|
4241
|
+
.ng-inline-ai-actions,
|
|
4242
|
+
.ng-inline-color-actions,
|
|
4243
|
+
.ng-mention-popover {
|
|
4244
|
+
padding: 8px;
|
|
4245
|
+
border-top: 1px solid var(--ng-border);
|
|
4246
|
+
display: flex;
|
|
4247
|
+
flex-direction: column;
|
|
4248
|
+
gap: 6px;
|
|
4249
|
+
background: var(--ng-popover);
|
|
4250
|
+
}
|
|
4251
|
+
|
|
4252
|
+
.ng-mention-popover {
|
|
4253
|
+
flex-direction: row;
|
|
4254
|
+
align-items: center;
|
|
4255
|
+
}
|
|
4256
|
+
|
|
4257
|
+
.ng-inline-ai-row,
|
|
4258
|
+
.ng-inline-swatch-row {
|
|
4259
|
+
display: flex;
|
|
4260
|
+
align-items: center;
|
|
4261
|
+
gap: 4px;
|
|
4262
|
+
flex-wrap: wrap;
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
.ng-inline-action-btn {
|
|
4266
|
+
padding: 3px 8px;
|
|
4267
|
+
font-size: 11px;
|
|
4268
|
+
font-weight: 500;
|
|
4269
|
+
border-radius: 6px;
|
|
4270
|
+
border: 1px solid var(--ng-border);
|
|
4271
|
+
background: var(--ng-background);
|
|
4272
|
+
color: var(--ng-foreground);
|
|
4273
|
+
cursor: pointer;
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
.ng-inline-action-btn:hover {
|
|
4277
|
+
background: var(--ng-accent);
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
.ng-inline-ai-status {
|
|
4281
|
+
font-size: 11px;
|
|
4282
|
+
color: var(--ng-muted-foreground);
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
.ng-inline-swatch-label {
|
|
4286
|
+
font-size: 10px;
|
|
4287
|
+
font-weight: 600;
|
|
4288
|
+
color: var(--ng-muted-foreground);
|
|
4289
|
+
width: 28px;
|
|
4290
|
+
}
|
|
4291
|
+
|
|
4292
|
+
.ng-inline-swatch {
|
|
4293
|
+
width: 18px;
|
|
4294
|
+
height: 18px;
|
|
4295
|
+
border-radius: 999px;
|
|
4296
|
+
border: 1px solid var(--ng-border);
|
|
4297
|
+
cursor: pointer;
|
|
4298
|
+
display: inline-flex;
|
|
4299
|
+
align-items: center;
|
|
4300
|
+
justify-content: center;
|
|
4301
|
+
font-size: 11px;
|
|
4302
|
+
color: var(--ng-foreground);
|
|
4303
|
+
padding: 0;
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
.editor-today-pill {
|
|
4307
|
+
display: inline-flex;
|
|
4308
|
+
align-items: center;
|
|
4309
|
+
gap: 8px;
|
|
4310
|
+
margin: 6px 0;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
.editor-today-badge {
|
|
4314
|
+
display: inline-flex;
|
|
4315
|
+
align-items: center;
|
|
4316
|
+
padding: 4px 10px;
|
|
4317
|
+
border-radius: 999px;
|
|
4318
|
+
border: 1px solid var(--ng-border);
|
|
4319
|
+
background: var(--ng-card);
|
|
4320
|
+
color: var(--ng-foreground);
|
|
4321
|
+
font-size: 12px;
|
|
4322
|
+
font-weight: 500;
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
.ng-dev-access-bar {
|
|
4326
|
+
background: var(--ng-muted);
|
|
4327
|
+
color: var(--ng-foreground);
|
|
4328
|
+
border: 1px solid var(--ng-border);
|
|
4329
|
+
border-radius: var(--ng-radius);
|
|
4330
|
+
padding: 10px 12px;
|
|
4331
|
+
font-size: 12px;
|
|
4332
|
+
line-height: 1.45;
|
|
4333
|
+
margin-bottom: 10px;
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
.ng-tool-chip.is-locked {
|
|
4337
|
+
opacity: 0.85;
|
|
4338
|
+
cursor: default;
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
/* ── Embed Alignment & Size Controls ────────────────────────────── */
|
|
4342
|
+
.custom-embed-preview,
|
|
4343
|
+
.editor-embed-wrap {
|
|
4344
|
+
display: flex;
|
|
4345
|
+
width: 100%;
|
|
4346
|
+
margin: 12px 0;
|
|
4347
|
+
}
|
|
4348
|
+
|
|
4349
|
+
.custom-embed-preview[data-align='left'],
|
|
4350
|
+
.editor-embed-wrap[data-align='left'] {
|
|
4351
|
+
justify-content: flex-start;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
.custom-embed-preview[data-align='center'],
|
|
4355
|
+
.editor-embed-wrap[data-align='center'] {
|
|
4356
|
+
justify-content: center;
|
|
4357
|
+
}
|
|
4358
|
+
|
|
4359
|
+
.custom-embed-preview[data-align='right'],
|
|
4360
|
+
.editor-embed-wrap[data-align='right'] {
|
|
4361
|
+
justify-content: flex-end;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
.custom-embed-preview iframe,
|
|
4365
|
+
.editor-embed-wrap iframe {
|
|
4366
|
+
border: 1px solid var(--ng-border);
|
|
4367
|
+
border-radius: var(--ng-radius);
|
|
4368
|
+
aspect-ratio: 16 / 9;
|
|
4369
|
+
width: 75%;
|
|
4370
|
+
height: auto;
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4373
|
+
.custom-embed-preview[data-size='small'] iframe,
|
|
4374
|
+
.editor-embed-wrap[data-size='small'] iframe {
|
|
4375
|
+
width: 50%;
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
.custom-embed-preview[data-size='medium'] iframe,
|
|
4379
|
+
.editor-embed-wrap[data-size='medium'] iframe {
|
|
4380
|
+
width: 75%;
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4383
|
+
.custom-embed-preview[data-size='large'] iframe,
|
|
4384
|
+
.editor-embed-wrap[data-size='large'] iframe {
|
|
4385
|
+
width: 90%;
|
|
4386
|
+
}
|
|
4387
|
+
|
|
4388
|
+
.custom-embed-preview[data-size='full'] iframe,
|
|
4389
|
+
.editor-embed-wrap[data-size='full'] iframe {
|
|
4390
|
+
width: 100%;
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4393
|
+
/* ── Glassmorphism Inline Toolbar ───────────────────────────────── */
|
|
4394
|
+
.nextgen-editor-shell .ce-inline-toolbar {
|
|
4395
|
+
background: color-mix(in srgb, var(--ng-popover) 85%, transparent);
|
|
4396
|
+
backdrop-filter: blur(10px);
|
|
4397
|
+
-webkit-backdrop-filter: blur(10px);
|
|
4398
|
+
}
|
|
4399
|
+
|
|
4400
|
+
/* ── Tighter Toolbar & Plus/Settings Positioning ────────────────── */
|
|
4401
|
+
.nextgen-editor-shell #editorjs {
|
|
4402
|
+
padding-left: 72px;
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4405
|
+
.nextgen-editor-shell .ce-block__content,
|
|
4406
|
+
.nextgen-editor-shell .ce-toolbar__content {
|
|
4407
|
+
max-width: none;
|
|
4408
|
+
margin-left: 0;
|
|
4409
|
+
margin-right: 0;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
.nextgen-editor-shell .ce-toolbar__actions {
|
|
4413
|
+
right: calc(100% + 4px);
|
|
4414
|
+
left: auto;
|
|
4415
|
+
display: inline-flex;
|
|
4416
|
+
align-items: center;
|
|
4417
|
+
gap: 2px;
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
.nextgen-editor-shell .ce-toolbox,
|
|
4421
|
+
.nextgen-editor-shell .ce-settings {
|
|
4422
|
+
position: absolute;
|
|
4423
|
+
left: calc(100% + 6px);
|
|
4424
|
+
top: calc(100% + 4px);
|
|
4425
|
+
width: 0;
|
|
4426
|
+
height: 0;
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
.nextgen-editor-shell .ce-toolbox .ce-popover,
|
|
4430
|
+
.nextgen-editor-shell .ce-settings .ce-popover {
|
|
4431
|
+
min-width: 0 !important;
|
|
4432
|
+
border: none !important;
|
|
4433
|
+
box-shadow: none !important;
|
|
4434
|
+
background: transparent !important;
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
.nextgen-editor-shell .ce-toolbox .ce-popover__container,
|
|
4438
|
+
.nextgen-editor-shell .ce-settings .ce-popover__container {
|
|
4439
|
+
left: 0 !important;
|
|
4440
|
+
right: auto !important;
|
|
4441
|
+
top: 0 !important;
|
|
4442
|
+
--popover-left: 0px !important;
|
|
4443
|
+
min-width: 240px;
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4446
|
+
.nextgen-editor-shell .ce-inline-toolbar {
|
|
4447
|
+
max-width: calc(100% - 16px);
|
|
4448
|
+
min-width: 0;
|
|
4449
|
+
}
|
|
4450
|
+
|
|
4451
|
+
.nextgen-editor-shell .ce-inline-toolbar .ce-popover__container {
|
|
4452
|
+
left: 0 !important;
|
|
4453
|
+
right: auto !important;
|
|
4454
|
+
--popover-left: 0px !important;
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
.nextgen-editor-shell .ce-toolbar__plus,
|
|
4458
|
+
.nextgen-editor-shell .ce-toolbar__settings-btn {
|
|
4459
|
+
width: 26px;
|
|
4460
|
+
height: 26px;
|
|
4461
|
+
border-radius: 6px;
|
|
4462
|
+
background: var(--ng-card);
|
|
4463
|
+
border: 1px solid var(--ng-border);
|
|
4464
|
+
color: var(--ng-muted-foreground);
|
|
4465
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
4466
|
+
}
|
|
4467
|
+
|
|
4468
|
+
.nextgen-editor-shell .ce-toolbar__plus:hover,
|
|
4469
|
+
.nextgen-editor-shell .ce-toolbar__settings-btn:hover {
|
|
4470
|
+
background: var(--ng-accent);
|
|
4471
|
+
color: var(--ng-accent-foreground);
|
|
4472
|
+
}
|
|
4473
|
+
|
|
4474
|
+
@media (max-width: 650px) {
|
|
4475
|
+
.nextgen-editor-shell #editorjs {
|
|
4476
|
+
padding-left: 36px;
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
/* ── Inline Text Formatting (Editor & Preview) ──────────────────── */
|
|
4481
|
+
.nextgen-editor-shell mark,
|
|
4482
|
+
.nextgen-editor-article mark {
|
|
4483
|
+
background: #fef08a;
|
|
4484
|
+
color: #18181b;
|
|
4485
|
+
padding: 1px 4px;
|
|
4486
|
+
border-radius: 3px;
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4489
|
+
.nextgen-editor-shell ::selection,
|
|
4490
|
+
.nextgen-editor-article ::selection {
|
|
4491
|
+
background: var(--ng-foreground);
|
|
4492
|
+
color: var(--ng-background);
|
|
4493
|
+
}
|
|
4494
|
+
|
|
4495
|
+
.nextgen-editor-shell b,
|
|
4496
|
+
.nextgen-editor-shell strong,
|
|
4497
|
+
.nextgen-editor-article b,
|
|
4498
|
+
.nextgen-editor-article strong {
|
|
4499
|
+
font-weight: 700;
|
|
4500
|
+
color: var(--ng-foreground);
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
.nextgen-editor-shell i,
|
|
4504
|
+
.nextgen-editor-shell em,
|
|
4505
|
+
.nextgen-editor-article i,
|
|
4506
|
+
.nextgen-editor-article em {
|
|
4507
|
+
font-style: italic;
|
|
4508
|
+
}
|
|
4509
|
+
|
|
4510
|
+
.nextgen-editor-shell u,
|
|
4511
|
+
.nextgen-editor-article u {
|
|
4512
|
+
text-decoration: underline;
|
|
4513
|
+
text-underline-offset: 2px;
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
.nextgen-editor-shell s,
|
|
4517
|
+
.nextgen-editor-article s {
|
|
4518
|
+
text-decoration: line-through;
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4521
|
+
.nextgen-editor-article code:not(pre code) {
|
|
4522
|
+
padding: 2px 5px;
|
|
4523
|
+
border-radius: 4px;
|
|
4524
|
+
background: var(--ng-muted);
|
|
4525
|
+
border: 1px solid var(--ng-border);
|
|
4526
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
4527
|
+
font-size: 0.875em;
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
/* ── File Upload Block & Delimiter (shadcn/ui) ──────────────────── */
|
|
4531
|
+
.editor-upload-tool,
|
|
4532
|
+
.editor-upload-card {
|
|
4533
|
+
background: var(--ng-card);
|
|
4534
|
+
color: var(--ng-card-foreground);
|
|
4535
|
+
border: 1px solid var(--ng-border);
|
|
4536
|
+
border-radius: var(--ng-radius);
|
|
4537
|
+
padding: 14px;
|
|
4538
|
+
margin: 12px 0;
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4541
|
+
.editor-upload-dropzone {
|
|
4542
|
+
display: flex;
|
|
4543
|
+
flex-direction: column;
|
|
4544
|
+
align-items: center;
|
|
4545
|
+
justify-content: center;
|
|
4546
|
+
gap: 6px;
|
|
4547
|
+
padding: 24px 16px;
|
|
4548
|
+
border: 1.5px dashed var(--ng-border);
|
|
4549
|
+
border-radius: calc(var(--ng-radius) - 2px);
|
|
4550
|
+
background: var(--ng-muted);
|
|
4551
|
+
color: var(--ng-muted-foreground);
|
|
4552
|
+
font-size: 13.5px;
|
|
4553
|
+
cursor: pointer;
|
|
4554
|
+
text-align: center;
|
|
4555
|
+
transition: border-color 120ms ease, background-color 120ms ease;
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
.editor-upload-dropzone.is-dragover,
|
|
4559
|
+
.editor-upload-dropzone:hover {
|
|
4560
|
+
border-color: var(--ng-ring);
|
|
4561
|
+
color: var(--ng-foreground);
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
.editor-upload-status {
|
|
4565
|
+
font-size: 12px;
|
|
4566
|
+
color: var(--ng-muted-foreground);
|
|
4567
|
+
}
|
|
4568
|
+
|
|
4569
|
+
.editor-upload-file-row {
|
|
4570
|
+
display: flex;
|
|
4571
|
+
align-items: center;
|
|
4572
|
+
justify-content: space-between;
|
|
4573
|
+
gap: 10px;
|
|
4574
|
+
margin-top: 10px;
|
|
4575
|
+
padding: 8px 10px;
|
|
4576
|
+
border-radius: calc(var(--ng-radius) - 2px);
|
|
4577
|
+
border: 1px solid var(--ng-border);
|
|
4578
|
+
background: var(--ng-background);
|
|
4579
|
+
}
|
|
4580
|
+
|
|
4581
|
+
.editor-upload-meta {
|
|
4582
|
+
display: grid;
|
|
4583
|
+
gap: 2px;
|
|
4584
|
+
font-size: 13px;
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
.editor-upload-meta span {
|
|
4588
|
+
font-size: 11.5px;
|
|
4589
|
+
color: var(--ng-muted-foreground);
|
|
4590
|
+
}
|
|
4591
|
+
|
|
4592
|
+
.editor-upload-img-preview {
|
|
4593
|
+
max-width: 100%;
|
|
4594
|
+
border-radius: calc(var(--ng-radius) - 2px);
|
|
4595
|
+
margin-top: 10px;
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4598
|
+
.editor-upload-card {
|
|
4599
|
+
display: flex;
|
|
4600
|
+
align-items: center;
|
|
4601
|
+
gap: 12px;
|
|
4602
|
+
text-decoration: none;
|
|
4072
4603
|
}
|
|
4073
4604
|
|
|
4074
4605
|
.editor-upload-badge {
|
|
@@ -5134,3 +5665,373 @@ html[data-ng-theme] body {
|
|
|
5134
5665
|
gap: 6px;
|
|
5135
5666
|
align-items: center;
|
|
5136
5667
|
}
|
|
5668
|
+
|
|
5669
|
+
/* ── Floating Pinned Components ─────────────────────────────────── */
|
|
5670
|
+
.ng-pinnable {
|
|
5671
|
+
position: relative;
|
|
5672
|
+
}
|
|
5673
|
+
|
|
5674
|
+
.ng-pin-btn {
|
|
5675
|
+
position: absolute;
|
|
5676
|
+
top: 8px;
|
|
5677
|
+
right: 8px;
|
|
5678
|
+
z-index: 10;
|
|
5679
|
+
padding: 3px 8px;
|
|
5680
|
+
font-size: 11px;
|
|
5681
|
+
font-weight: 600;
|
|
5682
|
+
border-radius: 999px;
|
|
5683
|
+
border: 1px solid var(--ng-border);
|
|
5684
|
+
background: color-mix(in srgb, var(--ng-background) 88%, transparent);
|
|
5685
|
+
color: var(--ng-foreground);
|
|
5686
|
+
cursor: pointer;
|
|
5687
|
+
opacity: 0;
|
|
5688
|
+
transition: opacity 140ms ease;
|
|
5689
|
+
}
|
|
5690
|
+
|
|
5691
|
+
.ng-pinnable:hover .ng-pin-btn,
|
|
5692
|
+
.ng-pinnable.is-pinned-floating .ng-pin-btn {
|
|
5693
|
+
opacity: 1;
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
.ng-pinnable.is-pinned-floating {
|
|
5697
|
+
position: fixed;
|
|
5698
|
+
bottom: 20px;
|
|
5699
|
+
right: 20px;
|
|
5700
|
+
width: 380px;
|
|
5701
|
+
max-width: calc(100vw - 32px);
|
|
5702
|
+
max-height: 68vh;
|
|
5703
|
+
overflow: auto;
|
|
5704
|
+
z-index: 70;
|
|
5705
|
+
margin: 0;
|
|
5706
|
+
background: var(--ng-card);
|
|
5707
|
+
border: 1px solid var(--ng-border);
|
|
5708
|
+
border-radius: var(--ng-radius);
|
|
5709
|
+
padding: 12px;
|
|
5710
|
+
box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35);
|
|
5711
|
+
}
|
|
5712
|
+
|
|
5713
|
+
/* ── /frame Device Mockups ──────────────────────────────────────── */
|
|
5714
|
+
.editor-frame-controls {
|
|
5715
|
+
display: grid;
|
|
5716
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5717
|
+
gap: 8px;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
.editor-frame-block {
|
|
5721
|
+
display: flex;
|
|
5722
|
+
flex-direction: column;
|
|
5723
|
+
align-items: center;
|
|
5724
|
+
margin: 16px 0;
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
.editor-frame-shell {
|
|
5728
|
+
position: relative;
|
|
5729
|
+
background: #09090b;
|
|
5730
|
+
border: 2px solid #27272a;
|
|
5731
|
+
overflow: hidden;
|
|
5732
|
+
box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.35);
|
|
5733
|
+
}
|
|
5734
|
+
|
|
5735
|
+
.editor-frame-shell.is-iphone {
|
|
5736
|
+
width: 280px;
|
|
5737
|
+
border-radius: 38px;
|
|
5738
|
+
padding: 14px 10px 12px;
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
.editor-frame-island {
|
|
5742
|
+
width: 78px;
|
|
5743
|
+
height: 18px;
|
|
5744
|
+
background: #000;
|
|
5745
|
+
border-radius: 999px;
|
|
5746
|
+
margin: 0 auto 10px;
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
.editor-frame-shell.is-samsung {
|
|
5750
|
+
width: 280px;
|
|
5751
|
+
border-radius: 24px;
|
|
5752
|
+
padding: 10px 8px;
|
|
5753
|
+
}
|
|
5754
|
+
|
|
5755
|
+
.editor-frame-punch {
|
|
5756
|
+
width: 10px;
|
|
5757
|
+
height: 10px;
|
|
5758
|
+
border-radius: 999px;
|
|
5759
|
+
background: #27272a;
|
|
5760
|
+
margin: 0 auto 8px;
|
|
5761
|
+
}
|
|
5762
|
+
|
|
5763
|
+
.editor-frame-shell.is-macbook,
|
|
5764
|
+
.editor-frame-shell.is-laptop {
|
|
5765
|
+
width: min(640px, 100%);
|
|
5766
|
+
border-radius: 14px 14px 4px 4px;
|
|
5767
|
+
padding: 16px 12px 12px;
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
.editor-frame-cam {
|
|
5771
|
+
width: 7px;
|
|
5772
|
+
height: 7px;
|
|
5773
|
+
border-radius: 999px;
|
|
5774
|
+
background: #3f3f46;
|
|
5775
|
+
margin: -8px auto 8px;
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
.editor-frame-base {
|
|
5779
|
+
width: min(700px, 104%);
|
|
5780
|
+
height: 12px;
|
|
5781
|
+
background: linear-gradient(180deg, #d4d4d8, #a1a1aa);
|
|
5782
|
+
border-radius: 0 0 10px 10px;
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
.editor-frame-shell.is-browser {
|
|
5786
|
+
width: min(680px, 100%);
|
|
5787
|
+
border-radius: 10px;
|
|
5788
|
+
background: var(--ng-card);
|
|
5789
|
+
border: 1px solid var(--ng-border);
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
.editor-frame-browser-bar {
|
|
5793
|
+
display: flex;
|
|
5794
|
+
align-items: center;
|
|
5795
|
+
gap: 10px;
|
|
5796
|
+
padding: 8px 12px;
|
|
5797
|
+
background: var(--ng-muted);
|
|
5798
|
+
border-bottom: 1px solid var(--ng-border);
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5801
|
+
.editor-frame-dots {
|
|
5802
|
+
display: inline-flex;
|
|
5803
|
+
gap: 5px;
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5806
|
+
.editor-frame-dots i {
|
|
5807
|
+
width: 9px;
|
|
5808
|
+
height: 9px;
|
|
5809
|
+
border-radius: 999px;
|
|
5810
|
+
background: var(--ng-muted-foreground);
|
|
5811
|
+
opacity: 0.45;
|
|
5812
|
+
display: inline-block;
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5815
|
+
.editor-frame-addr {
|
|
5816
|
+
font-size: 11px;
|
|
5817
|
+
color: var(--ng-muted-foreground);
|
|
5818
|
+
background: var(--ng-background);
|
|
5819
|
+
border: 1px solid var(--ng-border);
|
|
5820
|
+
border-radius: 6px;
|
|
5821
|
+
padding: 2px 10px;
|
|
5822
|
+
flex: 1;
|
|
5823
|
+
overflow: hidden;
|
|
5824
|
+
text-overflow: ellipsis;
|
|
5825
|
+
white-space: nowrap;
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
.editor-frame-screen {
|
|
5829
|
+
background: var(--ng-background);
|
|
5830
|
+
border-radius: 10px;
|
|
5831
|
+
overflow: hidden;
|
|
5832
|
+
}
|
|
5833
|
+
|
|
5834
|
+
.editor-frame-shell.is-browser .editor-frame-screen {
|
|
5835
|
+
border-radius: 0;
|
|
5836
|
+
}
|
|
5837
|
+
|
|
5838
|
+
.editor-frame-screen img {
|
|
5839
|
+
width: 100%;
|
|
5840
|
+
display: block;
|
|
5841
|
+
object-fit: cover;
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5844
|
+
.editor-frame-screen iframe {
|
|
5845
|
+
width: 100%;
|
|
5846
|
+
height: 360px;
|
|
5847
|
+
border: 0;
|
|
5848
|
+
display: block;
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5851
|
+
.editor-frame-empty {
|
|
5852
|
+
padding: 40px 16px;
|
|
5853
|
+
text-align: center;
|
|
5854
|
+
font-size: 12px;
|
|
5855
|
+
color: var(--ng-muted-foreground);
|
|
5856
|
+
}
|
|
5857
|
+
|
|
5858
|
+
.editor-frame-caption {
|
|
5859
|
+
font-size: 12px;
|
|
5860
|
+
color: var(--ng-muted-foreground);
|
|
5861
|
+
margin-top: 8px;
|
|
5862
|
+
}
|
|
5863
|
+
|
|
5864
|
+
/* ── Customizable Slides Background, Text Tone & Alignment ──────── */
|
|
5865
|
+
.editor-slides[data-slide-bg='white'] .editor-slides-stage,
|
|
5866
|
+
.editor-slides-tool-card[data-slide-bg='white'] textarea {
|
|
5867
|
+
background: #ffffff;
|
|
5868
|
+
}
|
|
5869
|
+
|
|
5870
|
+
.editor-slides[data-slide-bg='zinc'] .editor-slides-stage,
|
|
5871
|
+
.editor-slides-tool-card[data-slide-bg='zinc'] textarea {
|
|
5872
|
+
background: #f4f4f5;
|
|
5873
|
+
}
|
|
5874
|
+
|
|
5875
|
+
.editor-slides[data-slide-bg='dark'] .editor-slides-stage,
|
|
5876
|
+
.editor-slides-tool-card[data-slide-bg='dark'] textarea {
|
|
5877
|
+
background: #09090b;
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5880
|
+
.editor-slides[data-slide-bg='gradient'] .editor-slides-stage,
|
|
5881
|
+
.editor-slides-tool-card[data-slide-bg='gradient'] textarea {
|
|
5882
|
+
background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
|
|
5883
|
+
}
|
|
5884
|
+
|
|
5885
|
+
.editor-slides[data-slide-text='light'] .editor-slide-panel,
|
|
5886
|
+
.editor-slides[data-slide-text='light'] .editor-slide-panel h3,
|
|
5887
|
+
.editor-slides[data-slide-text='light'] .editor-slide-panel h4,
|
|
5888
|
+
.editor-slides[data-slide-text='light'] .editor-slide-panel p,
|
|
5889
|
+
.editor-slides-tool-card[data-slide-text='light'] textarea {
|
|
5890
|
+
color: #fafafa;
|
|
5891
|
+
}
|
|
5892
|
+
|
|
5893
|
+
.editor-slides[data-slide-text='dark'] .editor-slide-panel,
|
|
5894
|
+
.editor-slides[data-slide-text='dark'] .editor-slide-panel h3,
|
|
5895
|
+
.editor-slides[data-slide-text='dark'] .editor-slide-panel h4,
|
|
5896
|
+
.editor-slides[data-slide-text='dark'] .editor-slide-panel p,
|
|
5897
|
+
.editor-slides-tool-card[data-slide-text='dark'] textarea {
|
|
5898
|
+
color: #18181b;
|
|
5899
|
+
}
|
|
5900
|
+
|
|
5901
|
+
.editor-slides[data-slide-align='center'] .editor-slide-panel,
|
|
5902
|
+
.editor-slides-tool-card[data-slide-align='center'] textarea {
|
|
5903
|
+
text-align: center;
|
|
5904
|
+
}
|
|
5905
|
+
|
|
5906
|
+
.editor-slides[data-slide-align='right'] .editor-slide-panel,
|
|
5907
|
+
.editor-slides-tool-card[data-slide-align='right'] textarea {
|
|
5908
|
+
text-align: right;
|
|
5909
|
+
}
|
|
5910
|
+
|
|
5911
|
+
/* ── Social Media Post Formats & Alignment ──────────────────────── */
|
|
5912
|
+
.editor-social-wrap {
|
|
5913
|
+
display: flex;
|
|
5914
|
+
width: 100%;
|
|
5915
|
+
margin: 12px 0;
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5918
|
+
.editor-social-wrap[data-align='left'] {
|
|
5919
|
+
justify-content: flex-start;
|
|
5920
|
+
}
|
|
5921
|
+
|
|
5922
|
+
.editor-social-wrap[data-align='center'] {
|
|
5923
|
+
justify-content: center;
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5926
|
+
.editor-social-wrap[data-align='right'] {
|
|
5927
|
+
justify-content: flex-end;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
.editor-social-card {
|
|
5931
|
+
width: min(520px, 100%);
|
|
5932
|
+
margin: 0;
|
|
5933
|
+
}
|
|
5934
|
+
|
|
5935
|
+
.editor-social-top {
|
|
5936
|
+
display: flex;
|
|
5937
|
+
align-items: center;
|
|
5938
|
+
gap: 10px;
|
|
5939
|
+
}
|
|
5940
|
+
|
|
5941
|
+
.editor-social-avatar {
|
|
5942
|
+
width: 34px;
|
|
5943
|
+
height: 34px;
|
|
5944
|
+
border-radius: 999px;
|
|
5945
|
+
background: var(--ng-foreground);
|
|
5946
|
+
color: var(--ng-background);
|
|
5947
|
+
font-size: 12px;
|
|
5948
|
+
font-weight: 700;
|
|
5949
|
+
display: inline-flex;
|
|
5950
|
+
align-items: center;
|
|
5951
|
+
justify-content: center;
|
|
5952
|
+
flex-shrink: 0;
|
|
5953
|
+
}
|
|
5954
|
+
|
|
5955
|
+
.editor-social-meta {
|
|
5956
|
+
display: flex;
|
|
5957
|
+
flex-direction: column;
|
|
5958
|
+
flex: 1;
|
|
5959
|
+
min-width: 0;
|
|
5960
|
+
}
|
|
5961
|
+
|
|
5962
|
+
.editor-social-meta strong {
|
|
5963
|
+
font-size: 13px;
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5966
|
+
.editor-social-meta span {
|
|
5967
|
+
font-size: 11px;
|
|
5968
|
+
color: var(--ng-muted-foreground);
|
|
5969
|
+
}
|
|
5970
|
+
|
|
5971
|
+
.editor-social-platform {
|
|
5972
|
+
font-size: 11px;
|
|
5973
|
+
font-weight: 600;
|
|
5974
|
+
padding: 2px 8px;
|
|
5975
|
+
border-radius: 999px;
|
|
5976
|
+
border: 1px solid var(--ng-border);
|
|
5977
|
+
background: var(--ng-background);
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5980
|
+
.editor-social-media {
|
|
5981
|
+
width: 100%;
|
|
5982
|
+
max-height: 320px;
|
|
5983
|
+
object-fit: cover;
|
|
5984
|
+
border-radius: 8px;
|
|
5985
|
+
}
|
|
5986
|
+
|
|
5987
|
+
.editor-social-foot {
|
|
5988
|
+
display: flex;
|
|
5989
|
+
align-items: center;
|
|
5990
|
+
justify-content: space-between;
|
|
5991
|
+
font-size: 11px;
|
|
5992
|
+
color: var(--ng-muted-foreground);
|
|
5993
|
+
padding-top: 6px;
|
|
5994
|
+
border-top: 1px solid var(--ng-border);
|
|
5995
|
+
}
|
|
5996
|
+
|
|
5997
|
+
/* ── Upgraded /export Modal Cards ───────────────────────────────── */
|
|
5998
|
+
.ng-export-grid {
|
|
5999
|
+
display: grid;
|
|
6000
|
+
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
|
6001
|
+
gap: 10px;
|
|
6002
|
+
}
|
|
6003
|
+
|
|
6004
|
+
.ng-export-card {
|
|
6005
|
+
background: var(--ng-card);
|
|
6006
|
+
border: 1px solid var(--ng-border);
|
|
6007
|
+
border-radius: var(--ng-radius);
|
|
6008
|
+
padding: 12px;
|
|
6009
|
+
display: flex;
|
|
6010
|
+
flex-direction: column;
|
|
6011
|
+
gap: 8px;
|
|
6012
|
+
}
|
|
6013
|
+
|
|
6014
|
+
.ng-export-card-title {
|
|
6015
|
+
font-size: 13px;
|
|
6016
|
+
font-weight: 700;
|
|
6017
|
+
}
|
|
6018
|
+
|
|
6019
|
+
.ng-export-card-desc {
|
|
6020
|
+
font-size: 11px;
|
|
6021
|
+
color: var(--ng-muted-foreground);
|
|
6022
|
+
margin: 0;
|
|
6023
|
+
flex: 1;
|
|
6024
|
+
}
|
|
6025
|
+
|
|
6026
|
+
.ng-export-preview {
|
|
6027
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
6028
|
+
font-size: 11px;
|
|
6029
|
+
background: var(--ng-muted);
|
|
6030
|
+
border: 1px solid var(--ng-border);
|
|
6031
|
+
border-radius: var(--ng-radius);
|
|
6032
|
+
padding: 10px;
|
|
6033
|
+
max-height: 200px;
|
|
6034
|
+
overflow: auto;
|
|
6035
|
+
margin: 0;
|
|
6036
|
+
white-space: pre-wrap;
|
|
6037
|
+
}
|