nextgen-block-editor 0.4.0 → 0.5.1

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.
Files changed (4) hide show
  1. package/dist/index.cjs +1820 -1119
  2. package/dist/index.js +1820 -1119
  3. package/dist/styles.css +746 -14
  4. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -3916,7 +3916,22 @@ html[data-ng-theme] body {
3916
3916
  justify-content: center;
3917
3917
  align-items: center;
3918
3918
  overflow-x: auto;
3919
- padding: 8px 0;
3919
+ padding: 4px 0;
3920
+ }
3921
+
3922
+ .editor-mermaid-preview[data-align='left'],
3923
+ .editor-mermaid-block[data-align='left'] .editor-mermaid-diagram {
3924
+ justify-content: flex-start;
3925
+ }
3926
+
3927
+ .editor-mermaid-preview[data-align='center'],
3928
+ .editor-mermaid-block[data-align='center'] .editor-mermaid-diagram {
3929
+ justify-content: center;
3930
+ }
3931
+
3932
+ .editor-mermaid-preview[data-align='right'],
3933
+ .editor-mermaid-block[data-align='right'] .editor-mermaid-diagram {
3934
+ justify-content: flex-end;
3920
3935
  }
3921
3936
 
3922
3937
  .editor-mermaid-preview svg,
@@ -3925,6 +3940,48 @@ html[data-ng-theme] body {
3925
3940
  height: auto;
3926
3941
  }
3927
3942
 
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;
3947
+ }
3948
+
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.is-compact {
3975
+ flex: 0 0 320px;
3976
+ }
3977
+
3978
+ .editor-spotify-card iframe {
3979
+ width: 100%;
3980
+ height: 152px;
3981
+ border: 0;
3982
+ border-radius: 12px;
3983
+ }
3984
+
3928
3985
  .editor-mermaid-error {
3929
3986
  font-size: 12px;
3930
3987
  color: #dc2626;
@@ -4346,7 +4403,8 @@ html[data-ng-theme] body {
4346
4403
 
4347
4404
  /* ── Tighter Toolbar & Plus/Settings Positioning ────────────────── */
4348
4405
  .nextgen-editor-shell #editorjs {
4349
- padding-left: 72px;
4406
+ padding-left: 44px;
4407
+ padding-right: 44px;
4350
4408
  }
4351
4409
 
4352
4410
  .nextgen-editor-shell .ce-block__content,
@@ -4373,20 +4431,8 @@ html[data-ng-theme] body {
4373
4431
  height: 0;
4374
4432
  }
4375
4433
 
4376
- .nextgen-editor-shell .ce-toolbox .ce-popover,
4377
- .nextgen-editor-shell .ce-settings .ce-popover {
4378
- min-width: 0 !important;
4379
- border: none !important;
4380
- box-shadow: none !important;
4381
- background: transparent !important;
4382
- }
4383
-
4384
4434
  .nextgen-editor-shell .ce-toolbox .ce-popover__container,
4385
4435
  .nextgen-editor-shell .ce-settings .ce-popover__container {
4386
- left: 0 !important;
4387
- right: auto !important;
4388
- top: 0 !important;
4389
- --popover-left: 0px !important;
4390
4436
  min-width: 240px;
4391
4437
  }
4392
4438
 
@@ -4433,6 +4479,12 @@ html[data-ng-theme] body {
4433
4479
  border-radius: 3px;
4434
4480
  }
4435
4481
 
4482
+ .nextgen-editor-shell ::selection,
4483
+ .nextgen-editor-article ::selection {
4484
+ background: var(--ng-foreground);
4485
+ color: var(--ng-background);
4486
+ }
4487
+
4436
4488
  .nextgen-editor-shell b,
4437
4489
  .nextgen-editor-shell strong,
4438
4490
  .nextgen-editor-article b,
@@ -5606,3 +5658,683 @@ html[data-ng-theme] body {
5606
5658
  gap: 6px;
5607
5659
  align-items: center;
5608
5660
  }
5661
+
5662
+ /* ── Floating Pinned Components ─────────────────────────────────── */
5663
+ .ng-pinnable {
5664
+ position: relative;
5665
+ }
5666
+
5667
+ .ng-pin-btn {
5668
+ position: absolute;
5669
+ top: 8px;
5670
+ right: 8px;
5671
+ z-index: 10;
5672
+ padding: 3px 8px;
5673
+ font-size: 11px;
5674
+ font-weight: 600;
5675
+ border-radius: 999px;
5676
+ border: 1px solid var(--ng-border);
5677
+ background: color-mix(in srgb, var(--ng-background) 88%, transparent);
5678
+ color: var(--ng-foreground);
5679
+ cursor: pointer;
5680
+ opacity: 0;
5681
+ transition: opacity 140ms ease;
5682
+ }
5683
+
5684
+ .ng-pinnable:hover .ng-pin-btn,
5685
+ .ng-pinnable.is-pinned-floating .ng-pin-btn {
5686
+ opacity: 1;
5687
+ }
5688
+
5689
+ .ng-pinnable.is-pinned-floating {
5690
+ position: fixed;
5691
+ bottom: 20px;
5692
+ right: 20px;
5693
+ width: 380px;
5694
+ max-width: calc(100vw - 32px);
5695
+ max-height: 68vh;
5696
+ overflow: auto;
5697
+ z-index: 70;
5698
+ margin: 0;
5699
+ background: var(--ng-card);
5700
+ border: 1px solid var(--ng-border);
5701
+ border-radius: var(--ng-radius);
5702
+ padding: 12px;
5703
+ box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35);
5704
+ }
5705
+
5706
+ /* ── /frame Device Mockups ──────────────────────────────────────── */
5707
+ .editor-frame-controls {
5708
+ display: grid;
5709
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5710
+ gap: 8px;
5711
+ }
5712
+
5713
+ .editor-frame-block {
5714
+ display: flex;
5715
+ flex-direction: column;
5716
+ align-items: center;
5717
+ margin: 16px 0;
5718
+ }
5719
+
5720
+ .editor-frame-shell {
5721
+ position: relative;
5722
+ background: #09090b;
5723
+ border: 2px solid #27272a;
5724
+ overflow: hidden;
5725
+ box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.35);
5726
+ }
5727
+
5728
+ .editor-frame-shell.is-iphone {
5729
+ width: 280px;
5730
+ border-radius: 38px;
5731
+ padding: 14px 10px 12px;
5732
+ }
5733
+
5734
+ .editor-frame-island {
5735
+ width: 78px;
5736
+ height: 18px;
5737
+ background: #000;
5738
+ border-radius: 999px;
5739
+ margin: 0 auto 10px;
5740
+ }
5741
+
5742
+ .editor-frame-shell.is-samsung {
5743
+ width: 280px;
5744
+ border-radius: 24px;
5745
+ padding: 10px 8px;
5746
+ }
5747
+
5748
+ .editor-frame-punch {
5749
+ width: 10px;
5750
+ height: 10px;
5751
+ border-radius: 999px;
5752
+ background: #27272a;
5753
+ margin: 0 auto 8px;
5754
+ }
5755
+
5756
+ .editor-frame-shell.is-macbook,
5757
+ .editor-frame-shell.is-laptop {
5758
+ width: min(640px, 100%);
5759
+ border-radius: 14px 14px 4px 4px;
5760
+ padding: 16px 12px 12px;
5761
+ }
5762
+
5763
+ .editor-frame-cam {
5764
+ width: 7px;
5765
+ height: 7px;
5766
+ border-radius: 999px;
5767
+ background: #3f3f46;
5768
+ margin: -8px auto 8px;
5769
+ }
5770
+
5771
+ .editor-frame-base {
5772
+ width: min(700px, 104%);
5773
+ height: 12px;
5774
+ background: linear-gradient(180deg, #d4d4d8, #a1a1aa);
5775
+ border-radius: 0 0 10px 10px;
5776
+ }
5777
+
5778
+ .editor-frame-shell.is-browser {
5779
+ width: min(680px, 100%);
5780
+ border-radius: 10px;
5781
+ background: var(--ng-card);
5782
+ border: 1px solid var(--ng-border);
5783
+ }
5784
+
5785
+ .editor-frame-browser-bar {
5786
+ display: flex;
5787
+ align-items: center;
5788
+ gap: 10px;
5789
+ padding: 8px 12px;
5790
+ background: var(--ng-muted);
5791
+ border-bottom: 1px solid var(--ng-border);
5792
+ }
5793
+
5794
+ .editor-frame-dots {
5795
+ display: inline-flex;
5796
+ gap: 5px;
5797
+ }
5798
+
5799
+ .editor-frame-dots i {
5800
+ width: 9px;
5801
+ height: 9px;
5802
+ border-radius: 999px;
5803
+ background: var(--ng-muted-foreground);
5804
+ opacity: 0.45;
5805
+ display: inline-block;
5806
+ }
5807
+
5808
+ .editor-frame-addr {
5809
+ font-size: 11px;
5810
+ color: var(--ng-muted-foreground);
5811
+ background: var(--ng-background);
5812
+ border: 1px solid var(--ng-border);
5813
+ border-radius: 6px;
5814
+ padding: 2px 10px;
5815
+ flex: 1;
5816
+ overflow: hidden;
5817
+ text-overflow: ellipsis;
5818
+ white-space: nowrap;
5819
+ }
5820
+
5821
+ .editor-frame-screen {
5822
+ background: var(--ng-background);
5823
+ border-radius: 10px;
5824
+ overflow: hidden;
5825
+ }
5826
+
5827
+ .editor-frame-shell.is-browser .editor-frame-screen {
5828
+ border-radius: 0;
5829
+ }
5830
+
5831
+ .editor-frame-screen img {
5832
+ width: 100%;
5833
+ display: block;
5834
+ object-fit: cover;
5835
+ }
5836
+
5837
+ .editor-frame-screen iframe {
5838
+ width: 100%;
5839
+ height: 360px;
5840
+ border: 0;
5841
+ display: block;
5842
+ }
5843
+
5844
+ .editor-frame-empty {
5845
+ padding: 40px 16px;
5846
+ text-align: center;
5847
+ font-size: 12px;
5848
+ color: var(--ng-muted-foreground);
5849
+ }
5850
+
5851
+ .editor-frame-caption {
5852
+ font-size: 12px;
5853
+ color: var(--ng-muted-foreground);
5854
+ margin-top: 8px;
5855
+ }
5856
+
5857
+ /* ── Customizable Slides Background, Text Tone & Alignment ──────── */
5858
+ .editor-slides[data-slide-bg='white'] .editor-slides-stage,
5859
+ .editor-slides-tool-card[data-slide-bg='white'] textarea {
5860
+ background: #ffffff;
5861
+ }
5862
+
5863
+ .editor-slides[data-slide-bg='zinc'] .editor-slides-stage,
5864
+ .editor-slides-tool-card[data-slide-bg='zinc'] textarea {
5865
+ background: #f4f4f5;
5866
+ }
5867
+
5868
+ .editor-slides[data-slide-bg='dark'] .editor-slides-stage,
5869
+ .editor-slides-tool-card[data-slide-bg='dark'] textarea {
5870
+ background: #09090b;
5871
+ }
5872
+
5873
+ .editor-slides[data-slide-bg='gradient'] .editor-slides-stage,
5874
+ .editor-slides-tool-card[data-slide-bg='gradient'] textarea {
5875
+ background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
5876
+ }
5877
+
5878
+ .editor-slides[data-slide-text='light'] .editor-slide-panel,
5879
+ .editor-slides[data-slide-text='light'] .editor-slide-panel h3,
5880
+ .editor-slides[data-slide-text='light'] .editor-slide-panel h4,
5881
+ .editor-slides[data-slide-text='light'] .editor-slide-panel p,
5882
+ .editor-slides-tool-card[data-slide-text='light'] textarea {
5883
+ color: #fafafa;
5884
+ }
5885
+
5886
+ .editor-slides[data-slide-text='dark'] .editor-slide-panel,
5887
+ .editor-slides[data-slide-text='dark'] .editor-slide-panel h3,
5888
+ .editor-slides[data-slide-text='dark'] .editor-slide-panel h4,
5889
+ .editor-slides[data-slide-text='dark'] .editor-slide-panel p,
5890
+ .editor-slides-tool-card[data-slide-text='dark'] textarea {
5891
+ color: #18181b;
5892
+ }
5893
+
5894
+ .editor-slides[data-slide-align='center'] .editor-slide-panel,
5895
+ .editor-slides-tool-card[data-slide-align='center'] textarea {
5896
+ text-align: center;
5897
+ }
5898
+
5899
+ .editor-slides[data-slide-align='right'] .editor-slide-panel,
5900
+ .editor-slides-tool-card[data-slide-align='right'] textarea {
5901
+ text-align: right;
5902
+ }
5903
+
5904
+ /* ── Social Media Post Formats & Alignment ──────────────────────── */
5905
+ .editor-social-wrap {
5906
+ display: flex;
5907
+ width: 100%;
5908
+ margin: 12px 0;
5909
+ }
5910
+
5911
+ .editor-social-wrap[data-align='left'] {
5912
+ justify-content: flex-start;
5913
+ }
5914
+
5915
+ .editor-social-wrap[data-align='center'] {
5916
+ justify-content: center;
5917
+ }
5918
+
5919
+ .editor-social-wrap[data-align='right'] {
5920
+ justify-content: flex-end;
5921
+ }
5922
+
5923
+ .editor-social-card {
5924
+ width: min(520px, 100%);
5925
+ margin: 0;
5926
+ }
5927
+
5928
+ .editor-social-top {
5929
+ display: flex;
5930
+ align-items: center;
5931
+ gap: 10px;
5932
+ }
5933
+
5934
+ .editor-social-avatar {
5935
+ width: 34px;
5936
+ height: 34px;
5937
+ border-radius: 999px;
5938
+ background: var(--ng-foreground);
5939
+ color: var(--ng-background);
5940
+ font-size: 12px;
5941
+ font-weight: 700;
5942
+ display: inline-flex;
5943
+ align-items: center;
5944
+ justify-content: center;
5945
+ flex-shrink: 0;
5946
+ }
5947
+
5948
+ .editor-social-meta {
5949
+ display: flex;
5950
+ flex-direction: column;
5951
+ flex: 1;
5952
+ min-width: 0;
5953
+ }
5954
+
5955
+ .editor-social-meta strong {
5956
+ font-size: 13px;
5957
+ }
5958
+
5959
+ .editor-social-meta span {
5960
+ font-size: 11px;
5961
+ color: var(--ng-muted-foreground);
5962
+ }
5963
+
5964
+ .editor-social-platform {
5965
+ font-size: 11px;
5966
+ font-weight: 600;
5967
+ padding: 2px 8px;
5968
+ border-radius: 999px;
5969
+ border: 1px solid var(--ng-border);
5970
+ background: var(--ng-background);
5971
+ }
5972
+
5973
+ .editor-social-media {
5974
+ width: 100%;
5975
+ max-height: 320px;
5976
+ object-fit: cover;
5977
+ border-radius: 8px;
5978
+ }
5979
+
5980
+ .editor-social-foot {
5981
+ display: flex;
5982
+ align-items: center;
5983
+ justify-content: space-between;
5984
+ font-size: 11px;
5985
+ color: var(--ng-muted-foreground);
5986
+ padding-top: 6px;
5987
+ border-top: 1px solid var(--ng-border);
5988
+ }
5989
+
5990
+ /* ── Upgraded /export Modal Cards ───────────────────────────────── */
5991
+ .ng-export-grid {
5992
+ display: grid;
5993
+ grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
5994
+ gap: 10px;
5995
+ }
5996
+
5997
+ .ng-export-card {
5998
+ background: var(--ng-card);
5999
+ border: 1px solid var(--ng-border);
6000
+ border-radius: var(--ng-radius);
6001
+ padding: 12px;
6002
+ display: flex;
6003
+ flex-direction: column;
6004
+ gap: 8px;
6005
+ }
6006
+
6007
+ .ng-export-card-title {
6008
+ font-size: 13px;
6009
+ font-weight: 700;
6010
+ }
6011
+
6012
+ .ng-export-card-desc {
6013
+ font-size: 11px;
6014
+ color: var(--ng-muted-foreground);
6015
+ margin: 0;
6016
+ flex: 1;
6017
+ }
6018
+
6019
+ .ng-export-preview {
6020
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
6021
+ font-size: 11px;
6022
+ background: var(--ng-muted);
6023
+ border: 1px solid var(--ng-border);
6024
+ border-radius: var(--ng-radius);
6025
+ padding: 10px;
6026
+ max-height: 200px;
6027
+ overflow: auto;
6028
+ margin: 0;
6029
+ white-space: pre-wrap;
6030
+ }
6031
+
6032
+ /* ── Quiz Blue-Tick Toggle ──────────────────────────────────────── */
6033
+ .editor-quiz-tick-btn {
6034
+ width: 22px;
6035
+ height: 22px;
6036
+ border-radius: 999px;
6037
+ border: 2px solid var(--ng-border);
6038
+ background: var(--ng-background);
6039
+ color: #ffffff;
6040
+ display: inline-flex;
6041
+ align-items: center;
6042
+ justify-content: center;
6043
+ cursor: pointer;
6044
+ flex-shrink: 0;
6045
+ padding: 0;
6046
+ transition: background-color 140ms ease, border-color 140ms ease;
6047
+ }
6048
+
6049
+ .editor-quiz-tick-btn:hover {
6050
+ border-color: #2563eb;
6051
+ }
6052
+
6053
+ .editor-quiz-tick-btn.is-selected {
6054
+ background: #2563eb;
6055
+ border-color: #2563eb;
6056
+ }
6057
+
6058
+ /* ── Changelog Colored Badges & Selects ─────────────────────────── */
6059
+ .editor-changelog-badge.is-added,
6060
+ .editor-changelog-select.is-added {
6061
+ background: rgba(22, 163, 74, 0.14);
6062
+ color: #15803d;
6063
+ border-color: rgba(22, 163, 74, 0.4);
6064
+ }
6065
+
6066
+ .editor-changelog-badge.is-changed,
6067
+ .editor-changelog-select.is-changed {
6068
+ background: rgba(217, 119, 6, 0.14);
6069
+ color: #b45309;
6070
+ border-color: rgba(217, 119, 6, 0.4);
6071
+ }
6072
+
6073
+ .editor-changelog-badge.is-fixed,
6074
+ .editor-changelog-select.is-fixed {
6075
+ background: rgba(37, 99, 235, 0.14);
6076
+ color: #1d4ed8;
6077
+ border-color: rgba(37, 99, 235, 0.4);
6078
+ }
6079
+
6080
+ /* ── Uniform Inline Toolbar Icon Ratio ──────────────────────────── */
6081
+ .nextgen-editor-shell .ce-inline-tool {
6082
+ width: 28px !important;
6083
+ height: 28px !important;
6084
+ min-width: 28px !important;
6085
+ padding: 0 !important;
6086
+ display: inline-flex !important;
6087
+ align-items: center !important;
6088
+ justify-content: center !important;
6089
+ }
6090
+
6091
+ .nextgen-editor-shell .ce-inline-tool svg {
6092
+ width: 15px !important;
6093
+ height: 15px !important;
6094
+ }
6095
+
6096
+ /* ── Realistic Device Mockup Frames (/frame) ────────────────────── */
6097
+ .editor-frame-shell.is-iphone,
6098
+ .editor-frame-shell.is-samsung {
6099
+ width: 284px;
6100
+ background: linear-gradient(145deg, #27272a, #09090b);
6101
+ border: 2px solid #3f3f46;
6102
+ box-shadow:
6103
+ inset 0 0 0 2px #18181b,
6104
+ 0 24px 48px -14px rgba(0, 0, 0, 0.45);
6105
+ }
6106
+
6107
+ .editor-frame-shell.is-iphone {
6108
+ border-radius: 44px;
6109
+ padding: 12px;
6110
+ }
6111
+
6112
+ .editor-frame-shell.is-samsung {
6113
+ border-radius: 28px;
6114
+ padding: 10px;
6115
+ }
6116
+
6117
+ .editor-frame-statusbar {
6118
+ display: flex;
6119
+ align-items: center;
6120
+ justify-content: space-between;
6121
+ padding: 4px 14px 8px;
6122
+ font-size: 10px;
6123
+ font-weight: 600;
6124
+ color: #e4e4e7;
6125
+ }
6126
+
6127
+ .editor-frame-island {
6128
+ width: 82px;
6129
+ height: 22px;
6130
+ background: #000000;
6131
+ border-radius: 999px;
6132
+ display: flex;
6133
+ align-items: center;
6134
+ justify-content: flex-end;
6135
+ padding-right: 6px;
6136
+ }
6137
+
6138
+ .editor-frame-island span {
6139
+ width: 8px;
6140
+ height: 8px;
6141
+ border-radius: 999px;
6142
+ background: #1e293b;
6143
+ }
6144
+
6145
+ .editor-frame-homebar {
6146
+ width: 100px;
6147
+ height: 4px;
6148
+ border-radius: 999px;
6149
+ background: #52525b;
6150
+ margin: 10px auto 2px;
6151
+ }
6152
+
6153
+ .editor-frame-shell.is-iphone .editor-frame-screen,
6154
+ .editor-frame-shell.is-samsung .editor-frame-screen {
6155
+ aspect-ratio: 9 / 17.5;
6156
+ min-height: 430px;
6157
+ border-radius: 26px;
6158
+ display: flex;
6159
+ flex-direction: column;
6160
+ }
6161
+
6162
+ .editor-frame-shell.is-macbook .editor-frame-screen,
6163
+ .editor-frame-shell.is-laptop .editor-frame-screen {
6164
+ aspect-ratio: 16 / 10;
6165
+ min-height: 320px;
6166
+ }
6167
+
6168
+ .editor-frame-notch {
6169
+ width: 96px;
6170
+ height: 16px;
6171
+ background: #09090b;
6172
+ border-radius: 0 0 8px 8px;
6173
+ margin: -16px auto 6px;
6174
+ display: flex;
6175
+ align-items: center;
6176
+ justify-content: center;
6177
+ }
6178
+
6179
+ .editor-frame-notch span {
6180
+ width: 6px;
6181
+ height: 6px;
6182
+ border-radius: 999px;
6183
+ background: #27272a;
6184
+ }
6185
+
6186
+ .editor-frame-base.is-macbook {
6187
+ width: min(700px, 108%);
6188
+ height: 14px;
6189
+ background: linear-gradient(180deg, #e4e4e7, #a1a1aa);
6190
+ border-radius: 2px 2px 12px 12px;
6191
+ display: flex;
6192
+ justify-content: center;
6193
+ }
6194
+
6195
+ .editor-frame-hinge {
6196
+ width: 90px;
6197
+ height: 4px;
6198
+ background: #71717a;
6199
+ border-radius: 0 0 4px 4px;
6200
+ }
6201
+
6202
+ .editor-frame-nav-icons {
6203
+ font-size: 12px;
6204
+ color: var(--ng-muted-foreground);
6205
+ letter-spacing: 3px;
6206
+ }
6207
+
6208
+ .editor-frame-empty {
6209
+ flex: 1;
6210
+ display: flex;
6211
+ flex-direction: column;
6212
+ align-items: center;
6213
+ justify-content: center;
6214
+ gap: 8px;
6215
+ min-height: 220px;
6216
+ }
6217
+
6218
+ /* ── Authentic X, LinkedIn, Instagram Cards ─────────────────────── */
6219
+ .editor-social-name-row {
6220
+ display: flex;
6221
+ align-items: center;
6222
+ gap: 4px;
6223
+ }
6224
+
6225
+ .editor-social-sub {
6226
+ font-size: 11px;
6227
+ color: var(--ng-muted-foreground);
6228
+ }
6229
+
6230
+ .editor-social-x-logo {
6231
+ font-size: 16px;
6232
+ font-weight: 700;
6233
+ color: var(--ng-foreground);
6234
+ }
6235
+
6236
+ .editor-social-avatar.is-linkedin {
6237
+ border-radius: 999px;
6238
+ background: #0a66c2;
6239
+ color: #ffffff;
6240
+ }
6241
+
6242
+ .editor-social-conn {
6243
+ font-size: 11px;
6244
+ color: var(--ng-muted-foreground);
6245
+ }
6246
+
6247
+ .editor-social-li-logo {
6248
+ width: 22px;
6249
+ height: 22px;
6250
+ border-radius: 4px;
6251
+ background: #0a66c2;
6252
+ color: #ffffff;
6253
+ font-weight: 800;
6254
+ font-size: 12px;
6255
+ display: inline-flex;
6256
+ align-items: center;
6257
+ justify-content: center;
6258
+ }
6259
+
6260
+ .editor-social-li-stats {
6261
+ display: flex;
6262
+ justify-content: space-between;
6263
+ font-size: 11px;
6264
+ color: var(--ng-muted-foreground);
6265
+ }
6266
+
6267
+ .editor-social-card.is-instagram {
6268
+ padding: 0;
6269
+ overflow: hidden;
6270
+ }
6271
+
6272
+ .editor-social-top.is-instagram {
6273
+ padding: 10px 12px;
6274
+ }
6275
+
6276
+ .editor-social-ig-ring {
6277
+ padding: 2px;
6278
+ border-radius: 999px;
6279
+ background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
6280
+ }
6281
+
6282
+ .editor-social-avatar.is-instagram {
6283
+ width: 30px;
6284
+ height: 30px;
6285
+ border: 2px solid var(--ng-card);
6286
+ }
6287
+
6288
+ .editor-social-more {
6289
+ font-size: 12px;
6290
+ color: var(--ng-muted-foreground);
6291
+ }
6292
+
6293
+ .editor-social-ig-media {
6294
+ width: 100%;
6295
+ aspect-ratio: 4 / 3;
6296
+ object-fit: cover;
6297
+ display: block;
6298
+ }
6299
+
6300
+ .editor-social-ig-placeholder {
6301
+ aspect-ratio: 4 / 3;
6302
+ background: linear-gradient(135deg, #27272a, #52525b);
6303
+ color: #fafafa;
6304
+ display: flex;
6305
+ flex-direction: column;
6306
+ align-items: center;
6307
+ justify-content: center;
6308
+ padding: 24px;
6309
+ text-align: center;
6310
+ gap: 8px;
6311
+ }
6312
+
6313
+ .editor-social-ig-placeholder span {
6314
+ font-size: 28px;
6315
+ opacity: 0.7;
6316
+ }
6317
+
6318
+ .editor-social-ig-placeholder p {
6319
+ margin: 0;
6320
+ font-size: 14px;
6321
+ font-weight: 500;
6322
+ }
6323
+
6324
+ .editor-social-ig-actions {
6325
+ display: flex;
6326
+ justify-content: space-between;
6327
+ padding: 8px 12px 4px;
6328
+ font-size: 16px;
6329
+ }
6330
+
6331
+ .editor-social-ig-likes {
6332
+ padding: 0 12px 4px;
6333
+ font-size: 12px;
6334
+ }
6335
+
6336
+ .editor-social-ig-caption {
6337
+ padding: 0 12px 12px;
6338
+ margin: 0;
6339
+ font-size: 13px;
6340
+ }