decksmith 0.1.15__py3-none-any.whl → 0.9.2__py3-none-any.whl

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,707 @@
1
+ :root {
2
+ /* Colors - Modern Dark Theme (VS Code inspired) */
3
+ --bg-primary: #1e1e1e;
4
+ --bg-secondary: #252526;
5
+ --bg-tertiary: #333333;
6
+ --bg-header: #1e1e1e;
7
+ /* Seamless header */
8
+ --bg-input: #3c3c3c;
9
+ --bg-hover: #2a2d2e;
10
+ --bg-active: #37373d;
11
+
12
+ --text-primary: #cccccc;
13
+ --text-secondary: #969696;
14
+ --text-muted: #6e6e6e;
15
+ --text-inverse: #ffffff;
16
+
17
+ --accent-color: #007fd4;
18
+ /* VS Code Blue */
19
+ --accent-hover: #026ec1;
20
+ --danger-color: #f14c4c;
21
+ --danger-hover: #d43b3b;
22
+ --success-color: #4caf50;
23
+ --warning-color: #cca700;
24
+
25
+ --border-color: #3e3e42;
26
+ /* Subtle borders */
27
+ --border-focus: #007fd4;
28
+
29
+ /* Spacing */
30
+ --spacing-xs: 4px;
31
+ --spacing-sm: 8px;
32
+ --spacing-md: 16px;
33
+ --spacing-lg: 24px;
34
+ --spacing-xl: 32px;
35
+
36
+ /* Layout */
37
+ --header-height: 50px;
38
+ --radius-sm: 3px;
39
+ --radius-md: 5px;
40
+ --radius-lg: 8px;
41
+
42
+ /* Shadows */
43
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
44
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
45
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
46
+ }
47
+
48
+ body,
49
+ html {
50
+ margin: 0;
51
+ padding: 0;
52
+ height: 100%;
53
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
54
+ background-color: var(--bg-primary);
55
+ color: var(--text-primary);
56
+ overflow: hidden;
57
+ font-size: 13px;
58
+ /* Slightly smaller, more dense interface */
59
+ line-height: 1.5;
60
+ }
61
+
62
+ /* Scrollbars */
63
+ ::-webkit-scrollbar {
64
+ width: 10px;
65
+ height: 10px;
66
+ }
67
+
68
+ ::-webkit-scrollbar-track {
69
+ background: transparent;
70
+ }
71
+
72
+ ::-webkit-scrollbar-thumb {
73
+ background: #424242;
74
+ border-radius: 10px;
75
+ border: 2px solid var(--bg-primary);
76
+ /* Creates padding effect */
77
+ }
78
+
79
+ ::-webkit-scrollbar-thumb:hover {
80
+ background: #4f4f4f;
81
+ }
82
+
83
+ ::-webkit-scrollbar-corner {
84
+ background: transparent;
85
+ }
86
+
87
+ /* Header */
88
+ #header {
89
+ height: var(--header-height);
90
+ background: var(--bg-header);
91
+ border-bottom: 1px solid var(--border-color);
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: space-between;
95
+ padding: 0 var(--spacing-md);
96
+ box-sizing: border-box;
97
+ user-select: none;
98
+ }
99
+
100
+ .app-branding {
101
+ display: flex;
102
+ align-items: center;
103
+ gap: var(--spacing-sm);
104
+ color: var(--text-primary);
105
+ font-size: 1.1em;
106
+ font-weight: 600;
107
+ }
108
+
109
+ .app-logo {
110
+ height: 24px;
111
+ width: auto;
112
+ }
113
+
114
+ .project-controls {
115
+ display: flex;
116
+ align-items: center;
117
+ gap: var(--spacing-md);
118
+ }
119
+
120
+ .project-path-container {
121
+ display: flex;
122
+ align-items: center;
123
+ gap: var(--spacing-sm);
124
+ color: var(--text-secondary);
125
+ background: var(--bg-secondary);
126
+ padding: 4px 12px;
127
+ border-radius: var(--radius-sm);
128
+ font-size: 0.9em;
129
+ max-width: 400px;
130
+ border: 1px solid transparent;
131
+ transition: border-color 0.2s;
132
+ }
133
+
134
+ .project-path-container:hover {
135
+ border-color: var(--border-color);
136
+ }
137
+
138
+ #current-project-path {
139
+ font-family: 'Consolas', 'Monaco', monospace;
140
+ white-space: nowrap;
141
+ overflow: hidden;
142
+ text-overflow: ellipsis;
143
+ }
144
+
145
+ .button-group {
146
+ display: flex;
147
+ gap: var(--spacing-xs);
148
+ }
149
+
150
+ /* Buttons */
151
+ .btn {
152
+ padding: 6px 14px;
153
+ border: 1px solid transparent;
154
+ background: transparent;
155
+ color: var(--text-primary);
156
+ cursor: pointer;
157
+ border-radius: var(--radius-sm);
158
+ font-family: inherit;
159
+ font-size: 0.95em;
160
+ font-weight: 500;
161
+ transition: all 0.15s ease;
162
+ display: inline-flex;
163
+ align-items: center;
164
+ gap: 8px;
165
+ outline: none;
166
+ }
167
+
168
+ .btn:hover {
169
+ background: var(--bg-hover);
170
+ color: var(--text-inverse);
171
+ }
172
+
173
+ .btn:active {
174
+ background: var(--bg-active);
175
+ transform: translateY(1px);
176
+ }
177
+
178
+ .btn.primary {
179
+ background: var(--accent-color);
180
+ color: white;
181
+ }
182
+
183
+ .btn.primary:hover {
184
+ background: var(--accent-hover);
185
+ }
186
+
187
+ .btn.danger {
188
+ background: var(--danger-color);
189
+ color: white;
190
+ }
191
+
192
+ .btn.danger:hover {
193
+ background: var(--danger-hover);
194
+ }
195
+
196
+ .btn.small {
197
+ padding: 4px 10px;
198
+ font-size: 0.9em;
199
+ }
200
+
201
+ /* Layout Containers */
202
+ .app-container {
203
+ display: flex;
204
+ height: calc(100vh - var(--header-height));
205
+ width: 100vw;
206
+ }
207
+
208
+ #left-pane,
209
+ #right-pane {
210
+ height: 100%;
211
+ display: flex;
212
+ flex-direction: column;
213
+ }
214
+
215
+ #left-pane {
216
+ width: 50%;
217
+ background: var(--bg-secondary);
218
+ }
219
+
220
+ #right-pane {
221
+ width: 50%;
222
+ background: var(--bg-primary);
223
+ padding: 0;
224
+ /* Removed padding for cleaner split */
225
+ }
226
+
227
+ #editors-container {
228
+ height: 100%;
229
+ width: 100%;
230
+ display: flex;
231
+ flex-direction: column;
232
+ }
233
+
234
+ #yaml-pane,
235
+ #csv-pane {
236
+ display: flex;
237
+ flex-direction: column;
238
+ height: 50%;
239
+ background: var(--bg-secondary);
240
+ }
241
+
242
+ .pane-header {
243
+ background: var(--bg-secondary);
244
+ padding: 8px 16px;
245
+ font-weight: 600;
246
+ font-size: 0.85em;
247
+ text-transform: uppercase;
248
+ letter-spacing: 0.5px;
249
+ color: var(--text-secondary);
250
+ display: flex;
251
+ align-items: center;
252
+ justify-content: space-between;
253
+ }
254
+
255
+ #yaml-editor,
256
+ #csv-editor {
257
+ flex-grow: 1;
258
+ width: 100%;
259
+ height: 100%;
260
+ }
261
+
262
+ /* Preview Area */
263
+ .preview-wrapper {
264
+ display: flex;
265
+ flex-direction: column;
266
+ height: 100%;
267
+ background: var(--bg-primary);
268
+ overflow: hidden;
269
+ }
270
+
271
+ .controls {
272
+ padding: 10px 16px;
273
+ background: var(--bg-primary);
274
+ border-bottom: 1px solid var(--border-color);
275
+ display: flex;
276
+ justify-content: space-between;
277
+ align-items: center;
278
+ }
279
+
280
+ .control-group {
281
+ display: flex;
282
+ align-items: center;
283
+ gap: var(--spacing-md);
284
+ }
285
+
286
+ .control-group label {
287
+ color: var(--text-secondary);
288
+ font-weight: 500;
289
+ display: flex;
290
+ align-items: center;
291
+ gap: 8px;
292
+ font-size: 0.95em;
293
+ }
294
+
295
+ .select-wrapper {
296
+ position: relative;
297
+ }
298
+
299
+ .select-wrapper::after {
300
+ content: '\f078';
301
+ /* FontAwesome chevron-down */
302
+ font-family: 'Font Awesome 6 Free';
303
+ font-weight: 900;
304
+ position: absolute;
305
+ right: 10px;
306
+ top: 50%;
307
+ transform: translateY(-50%);
308
+ color: var(--text-secondary);
309
+ pointer-events: none;
310
+ font-size: 0.8em;
311
+ }
312
+
313
+ select {
314
+ appearance: none;
315
+ -webkit-appearance: none;
316
+ background: var(--bg-input);
317
+ color: var(--text-primary);
318
+ border: 1px solid var(--border-color);
319
+ padding: 6px 30px 6px 12px;
320
+ border-radius: var(--radius-sm);
321
+ outline: none;
322
+ font-family: inherit;
323
+ font-size: 0.95em;
324
+ cursor: pointer;
325
+ width: 100%;
326
+ box-sizing: border-box;
327
+ transition: border-color 0.2s;
328
+ }
329
+
330
+ select:hover {
331
+ border-color: var(--text-muted);
332
+ }
333
+
334
+ select:focus {
335
+ border-color: var(--border-focus);
336
+ }
337
+
338
+ .preview-area {
339
+ flex-grow: 1;
340
+ display: flex;
341
+ justify-content: center;
342
+ align-items: center;
343
+ background-color: #1a1a1a;
344
+ /* Checkered background for transparency */
345
+ background-image:
346
+ linear-gradient(45deg, #222 25%, transparent 25%),
347
+ linear-gradient(-45deg, #222 25%, transparent 25%),
348
+ linear-gradient(45deg, transparent 75%, #222 75%),
349
+ linear-gradient(-45deg, transparent 75%, #222 75%);
350
+ background-size: 20px 20px;
351
+ background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
352
+ overflow: auto;
353
+ position: relative;
354
+ padding: var(--spacing-lg);
355
+ box-sizing: border-box;
356
+ }
357
+
358
+ #preview-image {
359
+ max-width: 100%;
360
+ max-height: 100%;
361
+ object-fit: contain;
362
+ box-shadow: var(--shadow-lg);
363
+ border-radius: var(--radius-sm);
364
+ transition: transform 0.2s ease;
365
+ }
366
+
367
+ #loading-indicator {
368
+ position: absolute;
369
+ top: 0;
370
+ left: 0;
371
+ width: 100%;
372
+ height: 100%;
373
+ display: flex;
374
+ justify-content: center;
375
+ align-items: center;
376
+ color: var(--accent-color);
377
+ z-index: 10;
378
+ background: rgba(0, 0, 0, 0.2);
379
+ backdrop-filter: blur(2px);
380
+ }
381
+
382
+ #placeholder-text {
383
+ color: var(--text-muted);
384
+ font-size: 1.1em;
385
+ display: flex;
386
+ flex-direction: column;
387
+ align-items: center;
388
+ gap: 16px;
389
+ user-select: none;
390
+ }
391
+
392
+ #placeholder-text::before {
393
+ content: '\f03e';
394
+ /* FontAwesome image icon */
395
+ font-family: 'Font Awesome 6 Free';
396
+ font-weight: 900;
397
+ font-size: 4em;
398
+ opacity: 0.2;
399
+ }
400
+
401
+ /* Status Bar */
402
+ #status-bar {
403
+ padding: 4px 12px;
404
+ background: var(--accent-color);
405
+ color: white;
406
+ font-size: 0.85em;
407
+ font-weight: 500;
408
+ display: flex;
409
+ align-items: center;
410
+ gap: 8px;
411
+ height: 24px;
412
+ transition: background-color 0.3s ease, color 0.3s ease;
413
+ }
414
+
415
+
416
+ #status-bar.processing {
417
+ background-color: var(--warning-color);
418
+ color: var(--bg-primary);
419
+ }
420
+
421
+ #status-bar.success {
422
+ background-color: var(--success-color);
423
+ }
424
+
425
+ .status-line {
426
+ height: 2px;
427
+ width: 100%;
428
+ background-color: transparent;
429
+ transition: background-color 0.3s ease;
430
+ }
431
+
432
+ .status-line.success {
433
+ background-color: var(--success-color);
434
+ }
435
+
436
+ .status-line.error {
437
+ background-color: var(--danger-color);
438
+ }
439
+
440
+ .status-line.loading {
441
+ background-color: var(--warning-color);
442
+ }
443
+
444
+ /* Toasts */
445
+ #toast-container {
446
+ position: fixed;
447
+ bottom: 30px;
448
+ right: 30px;
449
+ z-index: 1000;
450
+ display: flex;
451
+ flex-direction: column;
452
+ gap: 12px;
453
+ }
454
+
455
+ .toast {
456
+ background: var(--bg-tertiary);
457
+ color: var(--text-primary);
458
+ padding: 14px 20px;
459
+ border-radius: var(--radius-md);
460
+ box-shadow: var(--shadow-lg);
461
+ opacity: 0;
462
+ transform: translateY(20px);
463
+ transition: opacity 0.3s, transform 0.3s;
464
+ min-width: 280px;
465
+ border-left: 4px solid transparent;
466
+ display: flex;
467
+ align-items: center;
468
+ gap: 12px;
469
+ font-size: 0.95em;
470
+ }
471
+
472
+ .toast.show {
473
+ opacity: 1;
474
+ transform: translateY(0);
475
+ }
476
+
477
+ .toast.success {
478
+ border-left-color: var(--success-color);
479
+ }
480
+
481
+ .toast.error {
482
+ border-left-color: var(--danger-color);
483
+ }
484
+
485
+ .toast.info {
486
+ border-left-color: var(--accent-color);
487
+ }
488
+
489
+ /* Split.js gutters */
490
+ .gutter {
491
+ background-color: var(--bg-primary);
492
+ background-repeat: no-repeat;
493
+ background-position: 50%;
494
+ transition: background-color 0.2s;
495
+ z-index: 10;
496
+ }
497
+
498
+ .gutter:hover {
499
+ background-color: var(--accent-color);
500
+ }
501
+
502
+ .gutter.gutter-horizontal {
503
+ cursor: col-resize;
504
+ width: 4px;
505
+ /* Thinner gutter */
506
+ }
507
+
508
+ .gutter.gutter-vertical {
509
+ cursor: row-resize;
510
+ height: 4px;
511
+ /* Thinner gutter */
512
+ }
513
+
514
+ /* Modals */
515
+ .modal {
516
+ position: fixed;
517
+ top: 0;
518
+ left: 0;
519
+ width: 100%;
520
+ height: 100%;
521
+ z-index: 2000;
522
+ display: flex;
523
+ justify-content: center;
524
+ align-items: center;
525
+ backdrop-filter: blur(5px);
526
+ opacity: 0;
527
+ pointer-events: none;
528
+ transition: opacity 0.2s ease;
529
+ }
530
+
531
+ .modal:not(.hidden) {
532
+ opacity: 1;
533
+ pointer-events: auto;
534
+ }
535
+
536
+ .modal-overlay {
537
+ position: absolute;
538
+ top: 0;
539
+ left: 0;
540
+ width: 100%;
541
+ height: 100%;
542
+ background: rgba(0, 0, 0, 0.5);
543
+ }
544
+
545
+ .modal-content {
546
+ position: relative;
547
+ background: var(--bg-secondary);
548
+ padding: var(--spacing-lg);
549
+ border-radius: var(--radius-lg);
550
+ box-shadow: var(--shadow-lg);
551
+ width: 450px;
552
+ max-width: 90%;
553
+ z-index: 2001;
554
+ border: 1px solid var(--border-color);
555
+ transform: scale(0.95);
556
+ transition: transform 0.2s ease;
557
+ }
558
+
559
+ .modal:not(.hidden) .modal-content {
560
+ transform: scale(1);
561
+ }
562
+
563
+ .modal-content h3,
564
+ .modal-content h1 {
565
+ margin-top: 0;
566
+ margin-bottom: var(--spacing-md);
567
+ color: var(--text-inverse);
568
+ font-weight: 600;
569
+ }
570
+
571
+ .form-group {
572
+ margin-bottom: var(--spacing-lg);
573
+ }
574
+
575
+ .form-group label {
576
+ display: block;
577
+ margin-bottom: var(--spacing-sm);
578
+ font-weight: 500;
579
+ color: var(--text-secondary);
580
+ font-size: 0.9em;
581
+ }
582
+
583
+ .input-group {
584
+ display: flex;
585
+ gap: var(--spacing-sm);
586
+ }
587
+
588
+ input[type="text"] {
589
+ width: 100%;
590
+ padding: 10px 12px;
591
+ box-sizing: border-box;
592
+ border: 1px solid var(--border-color);
593
+ border-radius: var(--radius-sm);
594
+ background: var(--bg-input);
595
+ color: var(--text-primary);
596
+ outline: none;
597
+ font-family: inherit;
598
+ font-size: 0.95em;
599
+ transition: border-color 0.2s;
600
+ }
601
+
602
+ input[type="text"]:focus {
603
+ border-color: var(--border-focus);
604
+ }
605
+
606
+ .modal-actions {
607
+ display: flex;
608
+ justify-content: flex-end;
609
+ gap: var(--spacing-sm);
610
+ margin-top: var(--spacing-lg);
611
+ }
612
+
613
+ .btn.secondary {
614
+ background: transparent;
615
+ border: 1px solid var(--border-color);
616
+ color: var(--text-primary);
617
+ }
618
+
619
+ .btn.secondary:hover {
620
+ background: var(--bg-tertiary);
621
+ border-color: var(--text-secondary);
622
+ }
623
+
624
+ /* Welcome Screen */
625
+ .welcome-content {
626
+ text-align: center;
627
+ padding: 60px 40px;
628
+ width: 500px;
629
+ background: var(--bg-secondary);
630
+ border: 1px solid var(--border-color);
631
+ }
632
+
633
+ .welcome-logo {
634
+ width: 80px;
635
+ height: auto;
636
+ margin-bottom: 16px;
637
+ }
638
+
639
+ .welcome-content h1 {
640
+ font-size: 2.2em;
641
+ margin-bottom: 16px;
642
+ color: var(--text-inverse);
643
+ letter-spacing: -0.5px;
644
+ }
645
+
646
+ .welcome-content p {
647
+ color: var(--text-secondary);
648
+ margin-bottom: 40px;
649
+ font-size: 1.1em;
650
+ line-height: 1.6;
651
+ }
652
+
653
+ .welcome-actions {
654
+ display: flex;
655
+ justify-content: center;
656
+ gap: var(--spacing-md);
657
+ }
658
+
659
+ .btn.large {
660
+ padding: 12px 28px;
661
+ font-size: 1.05em;
662
+ font-weight: 600;
663
+ }
664
+
665
+ .hidden {
666
+ display: none !important;
667
+ }
668
+
669
+ /* Form Grid */
670
+ .form-grid {
671
+ display: grid;
672
+ grid-template-columns: 1fr 1fr;
673
+ gap: var(--spacing-md);
674
+ }
675
+
676
+ input[type="number"] {
677
+ width: 100%;
678
+ padding: 10px 12px;
679
+ box-sizing: border-box;
680
+ border: 1px solid var(--border-color);
681
+ border-radius: var(--radius-sm);
682
+ background: var(--bg-input);
683
+ color: var(--text-primary);
684
+ outline: none;
685
+ font-family: inherit;
686
+ font-size: 0.95em;
687
+ transition: border-color 0.2s;
688
+ }
689
+
690
+ input[type="number"]:focus {
691
+ border-color: var(--border-focus);
692
+ }
693
+
694
+ .header-btn {
695
+ display: inline-flex;
696
+ align-items: center;
697
+ line-height: 1;
698
+ gap: 6px;
699
+ }
700
+
701
+ .header-btn i {
702
+ display: inline-flex;
703
+ align-items: center;
704
+ height: 100%;
705
+ vertical-align: middle;
706
+ margin-top: -1px;
707
+ }
Binary file