@qwickapps/cms 0.5.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.
@@ -1,161 +0,0 @@
1
- /**
2
- * Collection List Header Styles
3
- * Material Design-inspired styling for enhanced list views
4
- *
5
- * Copyright (c) 2025 QwickApps.com. All rights reserved.
6
- */
7
-
8
- .collection-list-header {
9
- padding: 0 1.5rem;
10
- margin-bottom: 1rem;
11
- }
12
-
13
- .collection-list-stats {
14
- padding: 0.875rem;
15
- border-radius: 6px;
16
- background: var(--theme-elevation-50);
17
- border: 1px solid var(--theme-elevation-200);
18
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
19
- }
20
-
21
- .stats-grid {
22
- display: grid;
23
- grid-template-columns: repeat(4, 1fr);
24
- gap: 0.625rem;
25
- }
26
-
27
- @media (max-width: 1200px) {
28
- .stats-grid {
29
- grid-template-columns: repeat(2, 1fr);
30
- }
31
- }
32
-
33
- @media (max-width: 768px) {
34
- .stats-grid {
35
- grid-template-columns: 1fr;
36
- }
37
- }
38
-
39
- .stat-card {
40
- display: flex;
41
- align-items: center;
42
- gap: 0.75rem;
43
- padding: 0.75rem 0.875rem;
44
- border-radius: 4px;
45
- background: var(--theme-elevation-0);
46
- border: 1px solid var(--theme-elevation-200);
47
- transition: all 0.15s ease;
48
- cursor: default;
49
- min-height: 56px;
50
- }
51
-
52
- .stat-card:hover {
53
- transform: translateY(-1px);
54
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
55
- }
56
-
57
- .stat-card-primary {
58
- border-left: 4px solid var(--color-success-500);
59
- background: linear-gradient(135deg, var(--theme-elevation-0) 0%, var(--color-success-50) 100%);
60
- }
61
-
62
- .stat-card-success {
63
- border-left: 4px solid #10b981;
64
- background: linear-gradient(135deg, var(--theme-elevation-0) 0%, rgba(16, 185, 129, 0.05) 100%);
65
- }
66
-
67
- .stat-card-warning {
68
- border-left: 4px solid #f59e0b;
69
- background: linear-gradient(135deg, var(--theme-elevation-0) 0%, rgba(245, 158, 11, 0.05) 100%);
70
- }
71
-
72
- .stat-card-info {
73
- border-left: 4px solid #3b82f6;
74
- background: linear-gradient(135deg, var(--theme-elevation-0) 0%, rgba(59, 130, 246, 0.05) 100%);
75
- }
76
-
77
- .stat-icon {
78
- font-size: 1.5rem;
79
- line-height: 1;
80
- opacity: 0.85;
81
- flex-shrink: 0;
82
- }
83
-
84
- .stat-content {
85
- flex: 1;
86
- min-width: 0;
87
- }
88
-
89
- .stat-label {
90
- font-size: 0.6875rem;
91
- font-weight: 600;
92
- text-transform: uppercase;
93
- letter-spacing: 0.03em;
94
- color: var(--theme-text);
95
- opacity: 0.55;
96
- margin-bottom: 0.125rem;
97
- line-height: 1.2;
98
- }
99
-
100
- .stat-value {
101
- font-size: 1.375rem;
102
- font-weight: 700;
103
- color: var(--theme-text);
104
- line-height: 1.1;
105
- letter-spacing: -0.01em;
106
- }
107
-
108
- /* Dark mode adjustments */
109
- html[data-theme='dark'] .collection-list-stats {
110
- background: var(--theme-elevation-100) !important;
111
- border-color: var(--theme-elevation-400) !important;
112
- }
113
-
114
- html[data-theme='dark'] .stat-card {
115
- background: var(--theme-elevation-50);
116
- border-color: var(--theme-elevation-400);
117
- }
118
-
119
- html[data-theme='dark'] .stat-card-primary {
120
- background: linear-gradient(135deg, var(--theme-elevation-50) 0%, rgba(0, 123, 255, 0.1) 100%);
121
- }
122
-
123
- html[data-theme='dark'] .stat-card-success {
124
- background: linear-gradient(135deg, var(--theme-elevation-50) 0%, rgba(16, 185, 129, 0.1) 100%);
125
- }
126
-
127
- html[data-theme='dark'] .stat-card-warning {
128
- background: linear-gradient(135deg, var(--theme-elevation-50) 0%, rgba(245, 158, 11, 0.1) 100%);
129
- }
130
-
131
- html[data-theme='dark'] .stat-card-info {
132
- background: linear-gradient(135deg, var(--theme-elevation-50) 0%, rgba(59, 130, 246, 0.1) 100%);
133
- }
134
-
135
- /* Responsive adjustments */
136
- @media (max-width: 768px) {
137
- .collection-list-header {
138
- padding: 0 1rem;
139
- }
140
-
141
- .collection-list-stats {
142
- padding: 0.75rem;
143
- }
144
-
145
- .stat-card {
146
- padding: 0.625rem 0.75rem;
147
- min-height: 52px;
148
- }
149
-
150
- .stat-icon {
151
- font-size: 1.25rem;
152
- }
153
-
154
- .stat-label {
155
- font-size: 0.625rem;
156
- }
157
-
158
- .stat-value {
159
- font-size: 1.125rem;
160
- }
161
- }
@@ -1,416 +0,0 @@
1
- /**
2
- * Content Preview Styles
3
- *
4
- * Copyright (c) 2025 QwickApps.com. All rights reserved.
5
- */
6
-
7
- .content-preview {
8
- position: sticky;
9
- top: 0;
10
- background: var(--theme-elevation-50);
11
- border: 2px solid var(--theme-elevation-200);
12
- border-radius: 12px;
13
- overflow: hidden;
14
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
15
- max-height: calc(100vh - 100px);
16
- display: flex;
17
- flex-direction: column;
18
- }
19
-
20
- .preview-header {
21
- display: flex;
22
- align-items: center;
23
- justify-content: space-between;
24
- padding: 1rem;
25
- background: var(--theme-elevation-100);
26
- border-bottom: 1px solid var(--theme-elevation-200);
27
- gap: 1rem;
28
- flex-wrap: wrap;
29
- }
30
-
31
- .preview-header h3 {
32
- margin: 0;
33
- font-size: 1rem;
34
- font-weight: 600;
35
- color: var(--theme-elevation-900);
36
- }
37
-
38
- .preview-device-selector {
39
- display: flex;
40
- gap: 0.5rem;
41
- background: var(--theme-elevation-50);
42
- padding: 0.25rem;
43
- border-radius: 8px;
44
- border: 1px solid var(--theme-elevation-300);
45
- }
46
-
47
- .preview-device-selector button {
48
- background: transparent;
49
- border: none;
50
- padding: 0.5rem 0.75rem;
51
- border-radius: 6px;
52
- cursor: pointer;
53
- font-size: 1.1rem;
54
- transition: all 0.2s ease;
55
- opacity: 0.6;
56
- }
57
-
58
- .preview-device-selector button:hover {
59
- opacity: 0.8;
60
- background: var(--theme-elevation-100);
61
- }
62
-
63
- .preview-device-selector button.active {
64
- opacity: 1;
65
- background: var(--theme-elevation-200);
66
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
67
- }
68
-
69
- .preview-status {
70
- padding: 0.35rem 0.75rem;
71
- border-radius: 6px;
72
- font-size: 0.875rem;
73
- font-weight: 600;
74
- text-transform: capitalize;
75
- }
76
-
77
- .preview-status.status-draft {
78
- background: #fef3c7;
79
- color: #92400e;
80
- }
81
-
82
- .preview-status.status-published {
83
- background: #d1fae5;
84
- color: #065f46;
85
- }
86
-
87
- .preview-viewport {
88
- flex: 1;
89
- overflow-y: auto;
90
- background: white;
91
- margin: 1rem auto;
92
- width: 100%;
93
- transition: max-width 0.3s ease;
94
- }
95
-
96
- .viewport-desktop {
97
- max-width: 100%;
98
- }
99
-
100
- .viewport-tablet {
101
- max-width: 768px;
102
- border-left: 2px solid var(--theme-elevation-200);
103
- border-right: 2px solid var(--theme-elevation-200);
104
- }
105
-
106
- .viewport-mobile {
107
- max-width: 375px;
108
- border-left: 2px solid var(--theme-elevation-200);
109
- border-right: 2px solid var(--theme-elevation-200);
110
- }
111
-
112
- .preview-content {
113
- padding: 1.5rem;
114
- }
115
-
116
- .preview-title {
117
- font-size: 2rem;
118
- font-weight: 700;
119
- margin: 0 0 1.5rem 0;
120
- color: #1a202c;
121
- }
122
-
123
- .preview-blocks {
124
- display: flex;
125
- flex-direction: column;
126
- gap: 1.5rem;
127
- }
128
-
129
- .preview-block {
130
- padding: 1.5rem;
131
- border: 1px solid var(--theme-elevation-200);
132
- border-radius: 8px;
133
- background: var(--theme-elevation-50);
134
- transition: all 0.2s ease;
135
- }
136
-
137
- .preview-block:hover {
138
- border-color: #667eea;
139
- box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
140
- }
141
-
142
- .preview-hero {
143
- text-align: center;
144
- padding: 3rem 2rem;
145
- color: white;
146
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
147
- border: none;
148
- }
149
-
150
- .preview-hero h2 {
151
- font-size: 2rem;
152
- margin: 0 0 1rem 0;
153
- }
154
-
155
- .preview-hero p {
156
- font-size: 1.1rem;
157
- margin: 0 0 1.5rem 0;
158
- opacity: 0.95;
159
- }
160
-
161
- .preview-actions {
162
- display: flex;
163
- gap: 1rem;
164
- justify-content: center;
165
- flex-wrap: wrap;
166
- }
167
-
168
- .preview-button {
169
- padding: 0.75rem 1.5rem;
170
- border-radius: 6px;
171
- font-weight: 600;
172
- cursor: pointer;
173
- transition: all 0.2s ease;
174
- border: 2px solid transparent;
175
- }
176
-
177
- .preview-button.contained {
178
- background: white;
179
- color: #667eea;
180
- border-color: white;
181
- }
182
-
183
- .preview-button.outlined {
184
- background: transparent;
185
- color: white;
186
- border-color: white;
187
- }
188
-
189
- .preview-button.text {
190
- background: transparent;
191
- color: white;
192
- border: none;
193
- }
194
-
195
- .preview-text-section h3 {
196
- margin: 0 0 1rem 0;
197
- font-size: 1.5rem;
198
- color: #1a202c;
199
- }
200
-
201
- .preview-rich-text {
202
- color: #4a5568;
203
- line-height: 1.6;
204
- }
205
-
206
- .preview-grid {
207
- display: grid;
208
- gap: 1rem;
209
- }
210
-
211
- .preview-feature-card,
212
- .preview-product-card,
213
- .preview-card {
214
- padding: 1.5rem;
215
- background: white;
216
- border: 1px solid var(--theme-elevation-200);
217
- border-radius: 8px;
218
- text-align: center;
219
- transition: all 0.2s ease;
220
- }
221
-
222
- .preview-feature-card:hover,
223
- .preview-product-card:hover,
224
- .preview-card:hover {
225
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
226
- transform: translateY(-2px);
227
- }
228
-
229
- .feature-icon,
230
- .card-icon {
231
- font-size: 2rem;
232
- margin-bottom: 0.5rem;
233
- display: flex;
234
- align-items: center;
235
- justify-content: center;
236
- }
237
-
238
- .feature-icon svg,
239
- .card-icon svg {
240
- width: 2rem;
241
- height: 2rem;
242
- color: #667eea;
243
- }
244
-
245
- .feature-title,
246
- .product-title,
247
- .preview-card h4 {
248
- font-weight: 600;
249
- color: #1a202c;
250
- margin: 0.5rem 0;
251
- }
252
-
253
- .preview-image {
254
- text-align: center;
255
- }
256
-
257
- .preview-image-placeholder {
258
- background: var(--theme-elevation-100);
259
- padding: 3rem;
260
- border-radius: 8px;
261
- font-size: 1.5rem;
262
- color: var(--theme-elevation-600);
263
- }
264
-
265
- .image-caption {
266
- margin-top: 0.5rem;
267
- font-size: 0.875rem;
268
- color: #6b7280;
269
- font-style: italic;
270
- }
271
-
272
- .preview-code {
273
- background: #1e293b;
274
- color: #e2e8f0;
275
- }
276
-
277
- .preview-code h4 {
278
- margin: 0 0 1rem 0;
279
- color: #e2e8f0;
280
- }
281
-
282
- .code-block {
283
- margin: 0;
284
- padding: 1rem;
285
- background: #0f172a;
286
- border-radius: 6px;
287
- overflow-x: auto;
288
- font-family: 'Courier New', monospace;
289
- font-size: 0.875rem;
290
- line-height: 1.5;
291
- }
292
-
293
- .preview-cta {
294
- text-align: center;
295
- background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
296
- padding: 2.5rem 2rem;
297
- }
298
-
299
- .preview-cta h3 {
300
- margin: 0 0 0.75rem 0;
301
- font-size: 1.75rem;
302
- color: #1a202c;
303
- }
304
-
305
- .preview-cta p {
306
- margin: 0 0 1.5rem 0;
307
- color: #4a5568;
308
- }
309
-
310
- .preview-spacer {
311
- background: repeating-linear-gradient(
312
- 45deg,
313
- transparent,
314
- transparent 10px,
315
- var(--theme-elevation-100) 10px,
316
- var(--theme-elevation-100) 20px
317
- );
318
- display: flex;
319
- align-items: center;
320
- justify-content: center;
321
- border-style: dashed;
322
- }
323
-
324
- .spacer-indicator {
325
- background: var(--theme-elevation-200);
326
- padding: 0.5rem 1rem;
327
- border-radius: 6px;
328
- font-size: 0.875rem;
329
- font-weight: 600;
330
- color: var(--theme-elevation-700);
331
- }
332
-
333
- .accordion-item {
334
- padding: 1rem;
335
- background: white;
336
- border: 1px solid var(--theme-elevation-200);
337
- border-radius: 6px;
338
- margin-bottom: 0.5rem;
339
- font-weight: 500;
340
- color: #1a202c;
341
- }
342
-
343
- .preview-empty {
344
- padding: 4rem 2rem;
345
- text-align: center;
346
- color: var(--theme-elevation-600);
347
- }
348
-
349
- .preview-empty p {
350
- margin: 0.5rem 0;
351
- font-size: 0.95rem;
352
- }
353
-
354
- .preview-info {
355
- padding: 0.75rem 1rem;
356
- background: var(--theme-elevation-100);
357
- border-top: 1px solid var(--theme-elevation-200);
358
- text-align: center;
359
- }
360
-
361
- .preview-info small {
362
- color: var(--theme-elevation-700);
363
- font-weight: 500;
364
- }
365
-
366
- @media (max-width: 768px) {
367
- .content-preview {
368
- max-height: 400px;
369
- }
370
-
371
- .preview-title {
372
- font-size: 1.5rem;
373
- }
374
- }
375
-
376
- @media (prefers-color-scheme: dark) {
377
- .content-preview {
378
- background: var(--theme-elevation-900);
379
- border-color: var(--theme-elevation-700);
380
- }
381
-
382
- .preview-header {
383
- background: var(--theme-elevation-800);
384
- border-color: var(--theme-elevation-700);
385
- }
386
-
387
- .preview-viewport {
388
- background: var(--theme-elevation-800);
389
- }
390
-
391
- .preview-block {
392
- background: var(--theme-elevation-800);
393
- border-color: var(--theme-elevation-700);
394
- }
395
-
396
- .preview-title {
397
- color: var(--theme-elevation-50);
398
- }
399
-
400
- .feature-title,
401
- .product-title,
402
- .preview-card h4 {
403
- color: var(--theme-elevation-50);
404
- }
405
-
406
- .preview-feature-card,
407
- .preview-product-card,
408
- .preview-card {
409
- background: var(--theme-elevation-700);
410
- }
411
-
412
- .accordion-item {
413
- background: var(--theme-elevation-700);
414
- color: var(--theme-elevation-50);
415
- }
416
- }