@safagayret/bemirror 1.0.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.
@@ -0,0 +1,954 @@
1
+ :root {
2
+ --bg-color: #0d1117;
3
+ --panel-bg: rgba(22, 27, 34, 0.4);
4
+ --panel-border: rgba(255, 255, 255, 0.08);
5
+ --text-main: #c9d1d9;
6
+ --text-muted: #8b949e;
7
+ --accent: #58a6ff;
8
+ --accent-hover: #3182ce;
9
+ --success: #2ea043;
10
+ --danger: #da3633;
11
+ --warning: #d29922;
12
+ --input-bg: rgba(13, 17, 23, 0.6);
13
+ --input-border: rgba(255, 255, 255, 0.12);
14
+ --font-sans: 'Inter', sans-serif;
15
+ --font-mono: 'Fira Code', monospace;
16
+ --tree-indent: 16px;
17
+ }
18
+
19
+ * {
20
+ box-sizing: border-box;
21
+ margin: 0;
22
+ padding: 0;
23
+ }
24
+
25
+ body {
26
+ font-family: var(--font-sans);
27
+ background-color: var(--bg-color);
28
+ color: var(--text-main);
29
+ min-height: 100vh;
30
+ overflow-x: hidden;
31
+ }
32
+
33
+ /* Global SVG Fixes (Crucial) */
34
+ svg {
35
+ fill: none;
36
+ stroke: currentColor;
37
+ stroke-width: 2;
38
+ stroke-linecap: round;
39
+ stroke-linejoin: round;
40
+ }
41
+
42
+ .blob {
43
+ position: absolute;
44
+ filter: blur(80px);
45
+ z-index: -1;
46
+ opacity: 0.5;
47
+ border-radius: 50%;
48
+ animation: float 10s infinite alternate;
49
+ }
50
+
51
+ .blob-1 {
52
+ top: -100px;
53
+ left: -100px;
54
+ width: 400px;
55
+ height: 400px;
56
+ background: radial-gradient(circle, rgba(88, 166, 255, 0.3) 0%, transparent 70%);
57
+ }
58
+
59
+ .blob-2 {
60
+ bottom: -100px;
61
+ right: 20%;
62
+ width: 500px;
63
+ height: 500px;
64
+ background: radial-gradient(circle, rgba(163, 113, 247, 0.2) 0%, transparent 70%);
65
+ animation-duration: 15s;
66
+ }
67
+
68
+ @keyframes float {
69
+ 0% {
70
+ transform: translateY(0) scale(1);
71
+ }
72
+
73
+ 100% {
74
+ transform: translateY(30px) scale(1.05);
75
+ }
76
+ }
77
+
78
+ /* Modals */
79
+ .modal-overlay {
80
+ position: fixed;
81
+ inset: 0;
82
+ background: rgba(0, 0, 0, 0.6);
83
+ backdrop-filter: blur(4px);
84
+ z-index: 1000;
85
+ display: flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ }
89
+
90
+ .modal-content {
91
+ width: 100%;
92
+ max-width: 500px;
93
+ padding: 30px;
94
+ }
95
+
96
+ .modal-header {
97
+ display: flex;
98
+ justify-content: space-between;
99
+ align-items: center;
100
+ margin-bottom: 20px;
101
+ }
102
+
103
+ .modal-header h2 {
104
+ font-size: 18px;
105
+ font-weight: 600;
106
+ }
107
+
108
+ .modal-body {
109
+ font-size: 14px;
110
+ line-height: 1.6;
111
+ }
112
+
113
+ .modal-body p {
114
+ margin-bottom: 8px;
115
+ }
116
+
117
+ .app-container {
118
+ display: block;
119
+ }
120
+
121
+ .app-layout {
122
+ display: flex;
123
+ height: 100vh;
124
+ padding: 20px;
125
+ gap: 20px;
126
+ }
127
+
128
+ .app-footer {
129
+ padding: 12px 20px;
130
+ background: var(--panel-bg);
131
+ border-top: 1px solid var(--panel-border);
132
+ backdrop-filter: blur(16px);
133
+ display: flex;
134
+ justify-content: center;
135
+ align-items: center;
136
+ z-index: 100;
137
+ text-align: center;
138
+ }
139
+
140
+ .app-footer [data-ataturk-quote-widget] {
141
+ width: 100% !important;
142
+ max-width: 1200px;
143
+ font-family: var(--font-sans) !important;
144
+ font-size: 13px !important;
145
+ opacity: 0.9;
146
+ transition: opacity 0.3s;
147
+ }
148
+
149
+ .app-footer [data-ataturk-quote-widget]:hover {
150
+ opacity: 1;
151
+ }
152
+
153
+ .glass-panel {
154
+ background: var(--panel-bg);
155
+ border: 1px solid var(--panel-border);
156
+ border-radius: 16px;
157
+ backdrop-filter: blur(16px);
158
+ box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
159
+ overflow: hidden;
160
+ display: flex;
161
+ flex-direction: column;
162
+ }
163
+
164
+ .sidebar {
165
+ width: 340px;
166
+ min-width: 340px;
167
+ }
168
+
169
+ .sidebar-header {
170
+ padding: 20px;
171
+ border-bottom: 1px solid var(--panel-border);
172
+ display: flex;
173
+ flex-direction: column;
174
+ gap: 0.2rem;
175
+ justify-content: space-between;
176
+ align-items: center;
177
+ }
178
+
179
+ .logo {
180
+ display: flex;
181
+ align-items: center;
182
+ gap: 8px;
183
+ }
184
+
185
+ .logo svg {
186
+ width: 24px;
187
+ height: 24px;
188
+ color: var(--accent);
189
+ }
190
+
191
+ .logo h1 {
192
+ font-size: 20px;
193
+ font-weight: 700;
194
+ letter-spacing: -0.5px;
195
+ }
196
+
197
+ .logo h1 .dot {
198
+ color: var(--accent);
199
+ }
200
+
201
+ .sidebar-actions {
202
+ display: flex;
203
+ gap: 4px;
204
+ }
205
+
206
+ .sidebar-search {
207
+ padding: 5px;
208
+ }
209
+
210
+ #treeSearch {
211
+ width: 100%;
212
+ padding: 10px 12px;
213
+ border-radius: 12px;
214
+ border: 1px solid var(--panel-border);
215
+ background: var(--surface);
216
+ color: var(--text-main);
217
+ font-size: 13px;
218
+ outline: none;
219
+ transition:
220
+ border-color 0.2s,
221
+ box-shadow 0.2s;
222
+ }
223
+
224
+ #treeSearch:focus {
225
+ border-color: var(--accent);
226
+ box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.16);
227
+ }
228
+
229
+ .btn-icon {
230
+ background: transparent;
231
+ border: none;
232
+ color: var(--text-muted);
233
+ padding: 5px;
234
+ border-radius: 6px;
235
+ cursor: pointer;
236
+ transition: all 0.2s;
237
+ display: flex;
238
+ }
239
+
240
+ .btn-icon:hover {
241
+ background: rgba(255, 255, 255, 0.08);
242
+ color: var(--text-main);
243
+ }
244
+
245
+ .btn-icon svg {
246
+ width: 22px;
247
+ height: 22px;
248
+ }
249
+
250
+ .text-danger {
251
+ color: var(--danger);
252
+ }
253
+
254
+ .text-danger:hover {
255
+ background: rgba(218, 54, 51, 0.1);
256
+ color: var(--danger);
257
+ }
258
+
259
+ /* TREE UI */
260
+ .tree-container {
261
+ padding: 10px;
262
+ overflow-y: auto;
263
+ flex: 1;
264
+ }
265
+
266
+ .loading-state {
267
+ text-align: center;
268
+ padding: 20px;
269
+ color: var(--text-muted);
270
+ font-size: 13px;
271
+ }
272
+
273
+ .tree-node {
274
+ margin-bottom: 2px;
275
+ }
276
+
277
+ .tree-row {
278
+ display: flex;
279
+ align-items: center;
280
+ padding: 6px 8px;
281
+ border-radius: 6px;
282
+ cursor: pointer;
283
+ transition: background 0.1s;
284
+ user-select: none;
285
+ font-size: 13px;
286
+ gap: 6px;
287
+ color: var(--text-main);
288
+ min-height: 44px;
289
+ }
290
+
291
+ .tree-row:hover {
292
+ background: rgba(255, 255, 255, 0.05);
293
+ }
294
+
295
+ .tree-row.active {
296
+ background: rgba(88, 166, 255, 0.1);
297
+ color: var(--accent);
298
+ border-left: 2px solid var(--accent);
299
+ }
300
+
301
+ .tree-row svg.icon {
302
+ width: 22px;
303
+ height: 22px;
304
+ opacity: 0.8;
305
+ scale: 0.9;
306
+ }
307
+
308
+ .tree-label {
309
+ flex: 1;
310
+ white-space: nowrap;
311
+ overflow: hidden;
312
+ text-overflow: ellipsis;
313
+ font-weight: 500;
314
+ }
315
+
316
+ .tree-actions {
317
+ display: none;
318
+ }
319
+
320
+ .tree-row:hover .tree-actions {
321
+ display: flex;
322
+ }
323
+
324
+ .tree-children {
325
+ padding-left: var(--tree-indent);
326
+ display: none;
327
+ border-left: 1px solid var(--panel-border);
328
+ margin-left: 12px;
329
+ }
330
+
331
+ .tree-node.expanded > .tree-children {
332
+ display: block;
333
+ }
334
+
335
+ .arrow {
336
+ width: 22px;
337
+ height: 22px;
338
+ transition: transform 0.2s;
339
+ opacity: 0.5;
340
+ scale: 0.9;
341
+ }
342
+
343
+ .expanded > .tree-row .arrow {
344
+ transform: rotate(90deg);
345
+ }
346
+
347
+ .no-arrow {
348
+ width: 12px;
349
+ height: 12px;
350
+ }
351
+
352
+ .method-badge {
353
+ font-family: var(--font-mono);
354
+ font-size: 10px;
355
+ font-weight: 700;
356
+ padding: 2px 4px;
357
+ border-radius: 4px;
358
+ text-transform: uppercase;
359
+ display: inline-block;
360
+ width: 45px;
361
+ text-align: center;
362
+ }
363
+
364
+ .method-badge.get {
365
+ background: rgba(46, 160, 67, 0.2);
366
+ color: #3fb950;
367
+ }
368
+
369
+ .method-badge.post {
370
+ background: rgba(88, 166, 255, 0.2);
371
+ color: var(--accent);
372
+ }
373
+
374
+ .method-badge.put {
375
+ background: rgba(210, 153, 34, 0.2);
376
+ color: #d29922;
377
+ }
378
+
379
+ .method-badge.patch {
380
+ background: rgba(163, 113, 247, 0.2);
381
+ color: #a371f7;
382
+ }
383
+
384
+ .method-badge.delete {
385
+ background: rgba(218, 54, 51, 0.2);
386
+ color: #ff7b72;
387
+ }
388
+
389
+ /* MAIN PANEL */
390
+ .main-content {
391
+ flex: 1;
392
+ position: relative;
393
+ }
394
+
395
+ .welcome-screen {
396
+ position: absolute;
397
+ inset: 0;
398
+ display: flex;
399
+ flex-direction: column;
400
+ align-items: center;
401
+ justify-content: center;
402
+ text-align: center;
403
+ padding: 40px;
404
+ }
405
+
406
+ .editor-screen {
407
+ padding: 30px;
408
+ overflow-y: auto;
409
+ height: 100%;
410
+ display: flex;
411
+ flex-direction: column;
412
+ }
413
+
414
+ .editor-header {
415
+ display: flex;
416
+ justify-content: space-between;
417
+ align-items: center;
418
+ margin-bottom: 6px;
419
+ }
420
+
421
+ .editor-header h2 {
422
+ font-size: 20px;
423
+ font-weight: 600;
424
+ }
425
+
426
+ .breadcrumbs {
427
+ font-size: 12px;
428
+ color: var(--text-muted);
429
+ margin-bottom: 20px;
430
+ font-family: var(--font-mono);
431
+ }
432
+
433
+ /* HTTP CLIENTS AREA */
434
+ .http-clients-area {
435
+ display: flex;
436
+ flex-direction: column;
437
+ gap: 10px;
438
+ margin-bottom: 20px;
439
+ }
440
+
441
+ .live-url-box {
442
+ background: rgba(88, 166, 255, 0.08);
443
+ border: 1px dashed var(--accent);
444
+ border-radius: 8px;
445
+ padding: 12px 16px;
446
+ display: flex;
447
+ align-items: center;
448
+ gap: 12px;
449
+ }
450
+
451
+ .url-badge {
452
+ font-weight: 600;
453
+ font-size: 12px;
454
+ color: var(--accent);
455
+ text-transform: uppercase;
456
+ letter-spacing: 0.5px;
457
+ width: 90px;
458
+ }
459
+
460
+ .live-url-link {
461
+ font-family: var(--font-mono);
462
+ font-size: 14px;
463
+ color: var(--text-main);
464
+ text-decoration: none;
465
+ word-break: break-all;
466
+ transition: color 0.2s;
467
+ }
468
+
469
+ .live-url-link:hover {
470
+ color: var(--accent);
471
+ text-decoration: underline;
472
+ }
473
+
474
+ .prod-url-box {
475
+ background: rgba(46, 160, 67, 0.08);
476
+ border: 1px solid rgba(46, 160, 67, 0.4);
477
+ border-radius: 8px;
478
+ padding: 8px 12px;
479
+ display: flex;
480
+ align-items: center;
481
+ gap: 12px;
482
+ }
483
+
484
+ .prod-url-input {
485
+ border: none;
486
+ background: transparent;
487
+ font-family: var(--font-mono);
488
+ font-size: 14px;
489
+ flex: 1;
490
+ outline: none;
491
+ color: var(--text-main);
492
+ }
493
+
494
+ .btn-send {
495
+ background: rgba(46, 160, 67, 0.2);
496
+ border: 1px solid #2ea043;
497
+ color: #fff;
498
+ padding: 6px 12px;
499
+ border-radius: 6px;
500
+ font-weight: 600;
501
+ font-size: 12px;
502
+ cursor: pointer;
503
+ transition: all 0.2s;
504
+ white-space: nowrap;
505
+ }
506
+
507
+ .btn-send:hover {
508
+ background: #2ea043;
509
+ }
510
+
511
+ /* PROD RESPONSE PANEL */
512
+ .prod-response-wrapper {
513
+ margin-bottom: 20px;
514
+ animation: fadeIn 0.3s;
515
+ }
516
+
517
+ .prod-resp-header {
518
+ background: rgba(22, 27, 34, 0.8);
519
+ border: 1px solid var(--input-border);
520
+ border-bottom: none;
521
+ border-radius: 8px 8px 0 0;
522
+ padding: 10px 16px;
523
+ display: flex;
524
+ justify-content: space-between;
525
+ align-items: center;
526
+ font-size: 13px;
527
+ font-weight: 600;
528
+ color: var(--text-muted);
529
+ }
530
+
531
+ .prod-status {
532
+ font-family: var(--font-mono);
533
+ color: var(--accent);
534
+ padding: 2px 6px;
535
+ background: rgba(255, 255, 255, 0.05);
536
+ border-radius: 4px;
537
+ }
538
+
539
+ .prod-time {
540
+ font-family: var(--font-mono);
541
+ color: var(--warning);
542
+ padding: 2px 6px;
543
+ background: rgba(255, 255, 255, 0.05);
544
+ border-radius: 4px;
545
+ }
546
+
547
+ /* Forms */
548
+ .form-row {
549
+ display: flex;
550
+ gap: 16px;
551
+ margin-bottom: 16px;
552
+ }
553
+
554
+ .flex-1 {
555
+ flex: 1;
556
+ }
557
+
558
+ .flex-4 {
559
+ flex: 4;
560
+ }
561
+
562
+ .form-group {
563
+ margin-bottom: 16px;
564
+ }
565
+
566
+ .form-group label {
567
+ display: block;
568
+ font-size: 13px;
569
+ font-weight: 500;
570
+ color: var(--text-muted);
571
+ margin-bottom: 6px;
572
+ }
573
+
574
+ .help-text {
575
+ font-size: 11px;
576
+ color: rgba(255, 255, 255, 0.4);
577
+ margin-bottom: 8px;
578
+ margin-top: 10px;
579
+ }
580
+
581
+ input,
582
+ select {
583
+ width: 100%;
584
+ background: var(--input-bg);
585
+ border: 1px solid var(--input-border);
586
+ color: var(--text-main);
587
+ border-radius: 8px;
588
+ padding: 10px 14px;
589
+ font-family: var(--font-sans);
590
+ font-size: 14px;
591
+ outline: none;
592
+ transition: border-color 0.2s;
593
+ }
594
+
595
+ input:focus,
596
+ select:focus {
597
+ border-color: var(--accent);
598
+ }
599
+
600
+ .input-prefix {
601
+ display: flex;
602
+ align-items: center;
603
+ background: var(--input-bg);
604
+ border: 1px solid var(--input-border);
605
+ border-radius: 8px;
606
+ overflow: hidden;
607
+ }
608
+
609
+ .input-prefix:focus-within {
610
+ border-color: var(--accent);
611
+ }
612
+
613
+ .input-prefix .prefix {
614
+ padding: 10px 14px;
615
+ color: var(--text-muted);
616
+ background: rgba(255, 255, 255, 0.03);
617
+ border-right: 1px solid var(--input-border);
618
+ font-family: var(--font-mono);
619
+ font-size: 13px;
620
+ }
621
+
622
+ .input-prefix input {
623
+ border: none;
624
+ border-radius: 0;
625
+ flex: 1;
626
+ }
627
+
628
+ .btn-primary {
629
+ background: var(--accent);
630
+ color: #fff;
631
+ border: none;
632
+ border-radius: 8px;
633
+ padding: 10px 16px;
634
+ font-weight: 600;
635
+ font-size: 14px;
636
+ cursor: pointer;
637
+ transition: background 0.2s;
638
+ width: 100%;
639
+ display: flex;
640
+ align-items: center;
641
+ justify-content: center;
642
+ gap: 8px;
643
+ }
644
+
645
+ .btn-primary:hover {
646
+ filter: brightness(1.1);
647
+ }
648
+
649
+ /* Tabs */
650
+ .editor-tabs-container {
651
+ margin-top: 10px;
652
+ display: flex;
653
+ flex-direction: column;
654
+ flex: 1;
655
+ }
656
+
657
+ .editor-tabs {
658
+ display: flex;
659
+ border-bottom: 1px solid var(--panel-border);
660
+ margin-bottom: 16px;
661
+ gap: 2px;
662
+ }
663
+
664
+ .tab-btn {
665
+ background: transparent;
666
+ border: none;
667
+ padding: 10px 20px;
668
+ color: var(--text-muted);
669
+ font-size: 13px;
670
+ font-weight: 500;
671
+ cursor: pointer;
672
+ border-bottom: 2px solid transparent;
673
+ transition: all 0.2s;
674
+ border-radius: 6px 6px 0 0;
675
+ }
676
+
677
+ .tab-btn:hover {
678
+ background: rgba(255, 255, 255, 0.05);
679
+ color: var(--text-main);
680
+ }
681
+
682
+ .tab-btn.active {
683
+ color: var(--text-main);
684
+ border-bottom: 2px solid var(--accent);
685
+ background: rgba(88, 166, 255, 0.05);
686
+ }
687
+
688
+ .tab-pane {
689
+ display: none;
690
+ flex-direction: column;
691
+ flex: 1;
692
+ }
693
+
694
+ .tab-pane.active {
695
+ display: flex;
696
+ animation: fadeIn 0.15s ease;
697
+ }
698
+
699
+ @keyframes fadeIn {
700
+ from {
701
+ opacity: 0;
702
+ }
703
+
704
+ to {
705
+ opacity: 1;
706
+ }
707
+ }
708
+
709
+ .ace-wrapper {
710
+ background: var(--input-bg);
711
+ border: 1px solid var(--input-border);
712
+ border-radius: 8px;
713
+ overflow: hidden;
714
+ position: relative;
715
+ margin-top: 1rem;
716
+ }
717
+
718
+ .form-actions {
719
+ margin-top: 20px;
720
+ padding-top: 20px;
721
+ display: flex;
722
+ justify-content: flex-end;
723
+ gap: 10px;
724
+ position: sticky;
725
+ bottom: -30px; /* Aligns with editor-screen padding */
726
+ background: var(--bg-color); /* Match editor background */
727
+ z-index: 10;
728
+ margin-left: -30px;
729
+ margin-right: -30px;
730
+ padding-left: 30px;
731
+ padding-right: 30px;
732
+ padding-bottom: 20px;
733
+ border-top: 1px solid var(--panel-border);
734
+ box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.2);
735
+ }
736
+
737
+ .form-actions .btn-primary {
738
+ width: auto;
739
+ min-width: 180px;
740
+ }
741
+
742
+ .shortcut-hint {
743
+ font-size: 10px;
744
+ font-family: var(--font-mono);
745
+ background: rgba(0, 0, 0, 0.3);
746
+ padding: 2px 6px;
747
+ border-radius: 4px;
748
+ border: 1px solid rgba(255, 255, 255, 0.1);
749
+ color: var(--accent);
750
+ margin-left: 10px;
751
+ text-transform: uppercase;
752
+ }
753
+
754
+ /* EXTERNAL LINKS OVERLAY */
755
+ .github-link {
756
+ position: fixed;
757
+ bottom: 10px;
758
+ left: 10px;
759
+ color: var(--text-muted);
760
+ z-index: 100;
761
+ transition: all 0.2s;
762
+ display: flex;
763
+ align-items: center;
764
+ justify-content: center;
765
+ background: var(--panel-bg);
766
+ border: 1px solid var(--panel-border);
767
+ padding: 8px;
768
+ border-radius: 50%;
769
+ backdrop-filter: blur(8px);
770
+ }
771
+
772
+ .github-link:hover {
773
+ color: #fff;
774
+ background: rgba(255, 255, 255, 0.1);
775
+ transform: scale(1.05);
776
+ }
777
+
778
+ .github-link svg {
779
+ width: 24px;
780
+ height: 24px;
781
+ }
782
+
783
+ .coffee-link {
784
+ position: fixed;
785
+ bottom: 10px;
786
+ left: 60px;
787
+ color: var(--text-main);
788
+ background: #ffdd00;
789
+ color: #000;
790
+ padding: 10px 16px;
791
+ border-radius: 30px;
792
+ font-weight: 600;
793
+ font-size: 14px;
794
+ display: flex;
795
+ align-items: center;
796
+ gap: 8px;
797
+ z-index: 100;
798
+ text-decoration: none;
799
+ box-shadow: 0 4px 12px rgba(255, 221, 0, 0.3);
800
+ transition: all 0.2s;
801
+ }
802
+
803
+ .coffee-link:hover {
804
+ transform: translateY(-2px);
805
+ box-shadow: 0 6px 16px rgba(255, 221, 0, 0.4);
806
+ }
807
+
808
+ .coffee-link svg {
809
+ width: 18px;
810
+ height: 18px;
811
+ }
812
+
813
+ /* MOBILE MENU BTN */
814
+ .mobile-menu-btn {
815
+ display: none;
816
+ position: fixed;
817
+ top: 20px;
818
+ left: 20px;
819
+ z-index: 200;
820
+ background: var(--panel-bg);
821
+ border: 1px solid var(--panel-border);
822
+ backdrop-filter: blur(8px);
823
+ padding: 8px;
824
+ border-radius: 8px;
825
+ color: var(--text-main);
826
+ }
827
+
828
+ /* RESPONSIVE DESIGN */
829
+ @media (max-width: 768px) {
830
+ .github-link {
831
+ top: auto;
832
+ bottom: 80px;
833
+ /* Above coffee link */
834
+ }
835
+
836
+ .mobile-menu-btn {
837
+ display: flex;
838
+ }
839
+
840
+ .app-layout {
841
+ flex-direction: column;
842
+ padding: 0;
843
+ }
844
+
845
+ .sidebar {
846
+ position: fixed;
847
+ top: 0;
848
+ left: -380px;
849
+ width: 300px;
850
+ height: 100vh;
851
+ z-index: 150;
852
+ transition: left 0.3s ease;
853
+ border-radius: 0;
854
+ border-right: 1px solid var(--panel-border);
855
+ border-left: none;
856
+ border-top: none;
857
+ border-bottom: none;
858
+ background: rgba(13, 17, 23, 0.95);
859
+ }
860
+
861
+ .sidebar.mobile-open {
862
+ left: 0;
863
+ }
864
+
865
+ .main-content {
866
+ width: 100%;
867
+ margin-top: 60px;
868
+ /* Room for hamburger */
869
+ border-radius: 16px 16px 0 0;
870
+ height: calc(100vh - 60px);
871
+ }
872
+
873
+ .form-row {
874
+ flex-direction: column;
875
+ gap: 0;
876
+ }
877
+
878
+ .live-url-box {
879
+ flex-direction: column;
880
+ align-items: flex-start;
881
+ }
882
+
883
+ #btnCopyCurl,
884
+ #btnCopyFetch {
885
+ margin-left: 0;
886
+ margin-top: 10px;
887
+ width: 100%;
888
+ }
889
+
890
+ .live-url-box > div {
891
+ flex-wrap: wrap;
892
+ }
893
+ }
894
+
895
+ /* SPLIT EDITOR LAYOUT */
896
+ .split-editor-layout {
897
+ display: flex;
898
+ gap: 20px;
899
+ margin-top: 20px;
900
+ }
901
+
902
+ .split-left,
903
+ .split-right {
904
+ flex: 1;
905
+ display: flex;
906
+ flex-direction: column;
907
+ }
908
+
909
+ @media (max-width: 1024px) {
910
+ .split-editor-layout {
911
+ flex-direction: column;
912
+ }
913
+ }
914
+
915
+ /* ABOUT COLLAPSIBLE SECTION */
916
+ .about-collapsible {
917
+ margin: 20px;
918
+ border-radius: 12px;
919
+ overflow: hidden;
920
+ animation: fadeIn 0.5s;
921
+ }
922
+
923
+ .about-header {
924
+ display: flex;
925
+ justify-content: space-between;
926
+ align-items: center;
927
+ padding: 16px 20px;
928
+ background: var(--panel-bg);
929
+ border-bottom: 1px solid var(--panel-border);
930
+ }
931
+
932
+ .about-header h2 {
933
+ font-size: 18px;
934
+ font-weight: 600;
935
+ color: var(--accent);
936
+ margin: 0;
937
+ }
938
+
939
+ .about-body {
940
+ padding: 20px;
941
+ background: var(--panel-bg);
942
+ border-top: 1px solid var(--panel-border);
943
+ }
944
+
945
+ .about-body p {
946
+ margin-bottom: 16px;
947
+ line-height: 1.6;
948
+ }
949
+
950
+ .about-body .help-text {
951
+ font-size: 14px;
952
+ color: var(--text-muted);
953
+ font-style: italic;
954
+ }