social-light 0.0.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.
@@ -0,0 +1,535 @@
1
+ /* Global Styles */
2
+ * {
3
+ box-sizing: border-box;
4
+ margin: 0;
5
+ padding: 0;
6
+ }
7
+
8
+ body {
9
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
10
+ Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
11
+ background-color: var(--color-bg-dark);
12
+ color: var(--color-text-primary);
13
+ line-height: 1.5;
14
+ font-size: 14px;
15
+ }
16
+
17
+ /* Layout */
18
+ #app {
19
+ max-width: 1200px;
20
+ margin: 0 auto;
21
+ padding: 20px;
22
+ min-height: 100vh;
23
+ display: flex;
24
+ flex-direction: column;
25
+ }
26
+
27
+ .container {
28
+ width: 100%;
29
+ margin: 0 auto;
30
+ }
31
+
32
+ .card {
33
+ background-color: var(--color-bg-card);
34
+ border-radius: var(--border-radius);
35
+ padding: var(--padding-card);
36
+ margin-bottom: 16px;
37
+ border: 1px solid var(--color-border);
38
+ }
39
+
40
+ .section {
41
+ padding: var(--padding-section);
42
+ }
43
+
44
+ /* Typography */
45
+ h1, h2, h3, h4, h5, h6 {
46
+ font-weight: 600;
47
+ margin-bottom: 16px;
48
+ }
49
+
50
+ h1 {
51
+ font-size: 20px;
52
+ }
53
+
54
+ h2 {
55
+ font-size: 18px;
56
+ }
57
+
58
+ h3 {
59
+ font-size: 16px;
60
+ }
61
+
62
+ p {
63
+ margin-bottom: 16px;
64
+ }
65
+
66
+ .text-secondary {
67
+ color: var(--color-text-secondary);
68
+ }
69
+
70
+ .footnote {
71
+ font-size: 12px;
72
+ font-style: italic;
73
+ color: var(--color-text-secondary);
74
+ }
75
+
76
+ /* Buttons */
77
+ .btn {
78
+ display: inline-flex;
79
+ align-items: center;
80
+ justify-content: center;
81
+ padding: 8px 16px;
82
+ border-radius: var(--border-radius);
83
+ font-size: 14px;
84
+ font-weight: 500;
85
+ cursor: pointer;
86
+ transition: all 0.2s ease;
87
+ border: 1px solid var(--color-border);
88
+ background-color: transparent;
89
+ color: var(--color-text-primary);
90
+ }
91
+
92
+ .btn:hover {
93
+ background-color: rgba(255, 255, 255, 0.05);
94
+ }
95
+
96
+ .btn-primary {
97
+ background-color: var(--color-accent-primary);
98
+ border-color: var(--color-accent-primary);
99
+ color: white;
100
+ }
101
+
102
+ .btn-primary:hover {
103
+ background-color: var(--color-accent-primary-hover);
104
+ border-color: var(--color-accent-primary-hover);
105
+ }
106
+
107
+ .btn-action {
108
+ background-color: var(--color-accent-action);
109
+ border-color: var(--color-accent-action);
110
+ color: white;
111
+ }
112
+
113
+ .btn-action:hover {
114
+ background-color: var(--color-accent-action-hover);
115
+ border-color: var(--color-accent-action-hover);
116
+ }
117
+
118
+ .btn-danger {
119
+ border-color: var(--color-accent-danger);
120
+ color: var(--color-accent-danger);
121
+ }
122
+
123
+ .btn-danger:hover {
124
+ background-color: var(--color-accent-danger);
125
+ color: white;
126
+ }
127
+
128
+ .btn-sm {
129
+ padding: 4px 8px;
130
+ font-size: 12px;
131
+ }
132
+
133
+ .btn-icon {
134
+ margin-right: 8px;
135
+ }
136
+
137
+ /* Forms */
138
+ .form-group {
139
+ margin-bottom: 16px;
140
+ }
141
+
142
+ .form-label {
143
+ display: block;
144
+ margin-bottom: 8px;
145
+ font-weight: 500;
146
+ }
147
+
148
+ .form-control {
149
+ width: 100%;
150
+ padding: 8px 12px;
151
+ border-radius: var(--border-radius);
152
+ border: 1px solid var(--color-border);
153
+ background-color: var(--color-bg-dark);
154
+ color: var(--color-text-primary);
155
+ font-size: 14px;
156
+ }
157
+
158
+ .form-control:focus {
159
+ outline: none;
160
+ border-color: var(--color-accent-primary);
161
+ }
162
+
163
+ textarea.form-control {
164
+ min-height: 120px;
165
+ resize: vertical;
166
+ }
167
+
168
+ /* Header */
169
+ .header {
170
+ display: flex;
171
+ align-items: center;
172
+ justify-content: space-between;
173
+ padding: 16px 0;
174
+ margin-bottom: 24px;
175
+ border-bottom: 1px solid var(--color-border);
176
+ }
177
+
178
+ .header-logo {
179
+ font-size: 20px;
180
+ font-weight: 700;
181
+ color: var(--color-accent-primary);
182
+ }
183
+
184
+ .header-nav {
185
+ display: flex;
186
+ gap: 16px;
187
+ }
188
+
189
+ /* Footer */
190
+ .footer {
191
+ margin-top: auto;
192
+ padding: 16px 0;
193
+ border-top: 1px solid var(--color-border);
194
+ text-align: center;
195
+ color: var(--color-text-secondary);
196
+ font-size: 12px;
197
+ }
198
+
199
+ /* Post List */
200
+ .post-list {
201
+ display: grid;
202
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
203
+ gap: 16px;
204
+ margin-bottom: 24px;
205
+ }
206
+
207
+ .post-card {
208
+ display: flex;
209
+ flex-direction: column;
210
+ height: 100%;
211
+ }
212
+
213
+ .post-card-header {
214
+ margin-bottom: 8px;
215
+ }
216
+
217
+ .post-card-title {
218
+ font-size: 16px;
219
+ font-weight: 600;
220
+ margin-bottom: 4px;
221
+ }
222
+
223
+ .post-card-date {
224
+ font-size: 12px;
225
+ color: var(--color-text-secondary);
226
+ }
227
+
228
+ .post-card-content {
229
+ flex: 1;
230
+ margin-bottom: 12px;
231
+ overflow: hidden;
232
+ text-overflow: ellipsis;
233
+ display: -webkit-box;
234
+ -webkit-line-clamp: 3;
235
+ -webkit-box-orient: vertical;
236
+ }
237
+
238
+ .post-card-footer {
239
+ display: flex;
240
+ align-items: center;
241
+ justify-content: space-between;
242
+ }
243
+
244
+ .post-card-platforms {
245
+ display: flex;
246
+ gap: 8px;
247
+ }
248
+
249
+ .platform-icon {
250
+ width: 20px;
251
+ height: 20px;
252
+ border-radius: 50%;
253
+ background-color: var(--color-accent-primary);
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: center;
257
+ font-size: 10px;
258
+ }
259
+
260
+ /* Post Editor */
261
+ .post-editor {
262
+ margin-bottom: 24px;
263
+ }
264
+
265
+ .post-editor-header {
266
+ margin-bottom: 16px;
267
+ }
268
+
269
+ .post-editor-title {
270
+ font-size: 18px;
271
+ font-weight: 600;
272
+ }
273
+
274
+ .post-editor-actions {
275
+ display: flex;
276
+ justify-content: flex-end;
277
+ gap: 8px;
278
+ margin-top: 16px;
279
+ }
280
+
281
+ /* Calendar */
282
+ .calendar {
283
+ margin-bottom: 24px;
284
+ }
285
+
286
+ .calendar-header {
287
+ display: flex;
288
+ align-items: center;
289
+ justify-content: space-between;
290
+ margin-bottom: 16px;
291
+ }
292
+
293
+ .calendar-title {
294
+ font-size: 18px;
295
+ font-weight: 600;
296
+ }
297
+
298
+ .calendar-navigation {
299
+ display: flex;
300
+ gap: 8px;
301
+ }
302
+
303
+ .calendar-grid {
304
+ display: grid;
305
+ grid-template-columns: repeat(7, 1fr);
306
+ gap: 8px;
307
+ }
308
+
309
+ .calendar-day {
310
+ aspect-ratio: 1;
311
+ padding: 8px;
312
+ border-radius: var(--border-radius);
313
+ border: 1px solid var(--color-border);
314
+ background-color: var(--color-bg-card);
315
+ }
316
+
317
+ .calendar-day-header {
318
+ text-align: center;
319
+ font-weight: 600;
320
+ margin-bottom: 8px;
321
+ }
322
+
323
+ .calendar-day-content {
324
+ font-size: 12px;
325
+ overflow: hidden;
326
+ }
327
+
328
+ .calendar-day-post {
329
+ padding: 2px 4px;
330
+ border-radius: 4px;
331
+ background-color: var(--color-accent-primary);
332
+ margin-bottom: 2px;
333
+ white-space: nowrap;
334
+ overflow: hidden;
335
+ text-overflow: ellipsis;
336
+ }
337
+
338
+ /* Loading */
339
+ .loading {
340
+ display: flex;
341
+ flex-direction: column;
342
+ align-items: center;
343
+ justify-content: center;
344
+ min-height: 200px;
345
+ }
346
+
347
+ .spinner {
348
+ width: 40px;
349
+ height: 40px;
350
+ border: 3px solid rgba(255, 255, 255, 0.1);
351
+ border-radius: 50%;
352
+ border-top-color: var(--color-accent-primary);
353
+ animation: spin 1s ease-in-out infinite;
354
+ margin-bottom: 16px;
355
+ }
356
+
357
+ @keyframes spin {
358
+ to { transform: rotate(360deg); }
359
+ }
360
+
361
+ /* Utilities */
362
+ .d-flex {
363
+ display: flex;
364
+ }
365
+
366
+ .align-center {
367
+ align-items: center;
368
+ }
369
+
370
+ .justify-between {
371
+ justify-content: space-between;
372
+ }
373
+
374
+ .justify-end {
375
+ justify-content: flex-end;
376
+ }
377
+
378
+ .flex-column {
379
+ flex-direction: column;
380
+ }
381
+
382
+ .gap-sm {
383
+ gap: 8px;
384
+ }
385
+
386
+ .gap-md {
387
+ gap: 16px;
388
+ }
389
+
390
+ .mt-sm {
391
+ margin-top: 8px;
392
+ }
393
+
394
+ .mt-md {
395
+ margin-top: 16px;
396
+ }
397
+
398
+ .mb-sm {
399
+ margin-bottom: 8px;
400
+ }
401
+
402
+ .mb-md {
403
+ margin-bottom: 16px;
404
+ }
405
+
406
+ .w-100 {
407
+ width: 100%;
408
+ }
409
+
410
+ .text-center {
411
+ text-align: center;
412
+ }
413
+
414
+ .text-right {
415
+ text-align: right;
416
+ }
417
+
418
+ /* Modal */
419
+ .modal-overlay {
420
+ position: fixed;
421
+ top: 0;
422
+ left: 0;
423
+ right: 0;
424
+ bottom: 0;
425
+ background-color: rgba(0, 0, 0, 0.75);
426
+ display: flex;
427
+ align-items: center;
428
+ justify-content: center;
429
+ z-index: 1000;
430
+ }
431
+
432
+ .modal-content {
433
+ background-color: var(--color-bg-card);
434
+ border-radius: var(--border-radius);
435
+ width: 90%;
436
+ max-width: 800px;
437
+ max-height: 90vh;
438
+ display: flex;
439
+ flex-direction: column;
440
+ border: 1px solid var(--color-border);
441
+ }
442
+
443
+ .modal-header {
444
+ display: flex;
445
+ align-items: center;
446
+ justify-content: space-between;
447
+ padding: 16px;
448
+ border-bottom: 1px solid var(--color-border);
449
+ }
450
+
451
+ .modal-body {
452
+ padding: 16px;
453
+ overflow-y: auto;
454
+ }
455
+
456
+ .modal-footer {
457
+ padding: 16px;
458
+ display: flex;
459
+ justify-content: flex-end;
460
+ gap: 8px;
461
+ border-top: 1px solid var(--color-border);
462
+ }
463
+
464
+ .btn-close {
465
+ background: none;
466
+ border: none;
467
+ font-size: 24px;
468
+ line-height: 1;
469
+ cursor: pointer;
470
+ color: var(--color-text-secondary);
471
+ }
472
+
473
+ .btn-close:hover {
474
+ color: var(--color-text-primary);
475
+ }
476
+
477
+ /* Content Comparison */
478
+ .comparison-container {
479
+ display: flex;
480
+ gap: 16px;
481
+ }
482
+
483
+ @media (max-width: 768px) {
484
+ .comparison-container {
485
+ flex-direction: column;
486
+ }
487
+ }
488
+
489
+ .comparison-column {
490
+ flex: 1;
491
+ }
492
+
493
+ .comparison-content {
494
+ background-color: var(--color-bg-dark);
495
+ border: 1px solid var(--color-border);
496
+ border-radius: var(--border-radius);
497
+ padding: 16px;
498
+ min-height: 200px;
499
+ white-space: pre-wrap;
500
+ }
501
+
502
+ .enhanced-content {
503
+ background-color: var(--color-bg-code);
504
+ }
505
+
506
+ /* Media Queries */
507
+ @media (max-width: 768px) {
508
+ .post-list {
509
+ grid-template-columns: 1fr;
510
+ }
511
+
512
+ .calendar-grid {
513
+ grid-template-columns: repeat(1, 1fr);
514
+ }
515
+
516
+ .calendar-day-header {
517
+ text-align: left;
518
+ }
519
+
520
+ .header {
521
+ flex-direction: column;
522
+ align-items: flex-start;
523
+ gap: 16px;
524
+ }
525
+
526
+ .header-nav {
527
+ width: 100%;
528
+ justify-content: space-between;
529
+ }
530
+
531
+ .modal-content {
532
+ width: 95%;
533
+ max-height: 95vh;
534
+ }
535
+ }