create-template-html-css 1.2.2 → 1.3.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,558 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ background: #f5f7fa;
10
+ overflow-x: hidden;
11
+ }
12
+
13
+ /* Dashboard Layout */
14
+ .dashboard-container {
15
+ display: grid;
16
+ grid-template-columns: 260px 1fr;
17
+ min-height: 100vh;
18
+ }
19
+
20
+ /* Sidebar */
21
+ .sidebar {
22
+ background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
23
+ color: white;
24
+ padding: 30px 0;
25
+ box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
26
+ position: sticky;
27
+ top: 0;
28
+ height: 100vh;
29
+ animation: slideInLeft 0.5s ease;
30
+ }
31
+
32
+ .logo {
33
+ padding: 0 30px;
34
+ margin-bottom: 40px;
35
+ }
36
+
37
+ .logo h2 {
38
+ font-size: 1.8rem;
39
+ font-weight: 700;
40
+ }
41
+
42
+ .nav-menu {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: 5px;
46
+ }
47
+
48
+ .nav-item {
49
+ display: flex;
50
+ align-items: center;
51
+ gap: 15px;
52
+ padding: 15px 30px;
53
+ color: rgba(255, 255, 255, 0.8);
54
+ text-decoration: none;
55
+ transition: all 0.3s ease;
56
+ position: relative;
57
+ }
58
+
59
+ .nav-item::before {
60
+ content: '';
61
+ position: absolute;
62
+ left: 0;
63
+ top: 0;
64
+ bottom: 0;
65
+ width: 4px;
66
+ background: white;
67
+ transform: scaleY(0);
68
+ transition: transform 0.3s ease;
69
+ }
70
+
71
+ .nav-item:hover,
72
+ .nav-item.active {
73
+ background: rgba(255, 255, 255, 0.15);
74
+ color: white;
75
+ }
76
+
77
+ .nav-item.active::before {
78
+ transform: scaleY(1);
79
+ }
80
+
81
+ .nav-item .icon {
82
+ font-size: 1.5rem;
83
+ }
84
+
85
+ /* Main Content */
86
+ .main-content {
87
+ padding: 30px;
88
+ animation: fadeIn 0.8s ease;
89
+ }
90
+
91
+ /* Header */
92
+ .dashboard-header {
93
+ display: flex;
94
+ justify-content: space-between;
95
+ align-items: center;
96
+ margin-bottom: 40px;
97
+ padding: 30px;
98
+ background: white;
99
+ border-radius: 20px;
100
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
101
+ }
102
+
103
+ .header-left h1 {
104
+ font-size: 2.5rem;
105
+ color: #333;
106
+ margin-bottom: 5px;
107
+ }
108
+
109
+ .header-left p {
110
+ color: #666;
111
+ font-size: 1.1rem;
112
+ }
113
+
114
+ .header-right {
115
+ display: flex;
116
+ align-items: center;
117
+ gap: 15px;
118
+ }
119
+
120
+ .btn-icon {
121
+ width: 50px;
122
+ height: 50px;
123
+ border-radius: 50%;
124
+ border: none;
125
+ background: #f5f7fa;
126
+ font-size: 1.5rem;
127
+ cursor: pointer;
128
+ transition: all 0.3s ease;
129
+ }
130
+
131
+ .btn-icon:hover {
132
+ background: #e8ebf0;
133
+ transform: scale(1.1);
134
+ }
135
+
136
+ .user-avatar {
137
+ width: 50px;
138
+ height: 50px;
139
+ border-radius: 50%;
140
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
141
+ display: flex;
142
+ align-items: center;
143
+ justify-content: center;
144
+ font-size: 1.5rem;
145
+ cursor: pointer;
146
+ transition: transform 0.3s ease;
147
+ }
148
+
149
+ .user-avatar:hover {
150
+ transform: scale(1.1);
151
+ }
152
+
153
+ /* Stats Grid */
154
+ .stats-grid {
155
+ display: grid;
156
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
157
+ gap: 25px;
158
+ margin-bottom: 30px;
159
+ }
160
+
161
+ .stat-card {
162
+ background: white;
163
+ padding: 30px;
164
+ border-radius: 20px;
165
+ display: flex;
166
+ gap: 20px;
167
+ align-items: center;
168
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
169
+ transition: all 0.3s ease;
170
+ animation: slideUp 0.6s ease;
171
+ border-left: 4px solid;
172
+ }
173
+
174
+ .stat-card:hover {
175
+ transform: translateY(-8px);
176
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
177
+ }
178
+
179
+ .card-1 { border-color: #667eea; }
180
+ .card-2 { border-color: #f093fb; }
181
+ .card-3 { border-color: #4facfe; }
182
+ .card-4 { border-color: #43e97b; }
183
+
184
+ .stat-icon {
185
+ font-size: 3rem;
186
+ width: 70px;
187
+ height: 70px;
188
+ display: flex;
189
+ align-items: center;
190
+ justify-content: center;
191
+ border-radius: 15px;
192
+ background: #f5f7fa;
193
+ }
194
+
195
+ .stat-info h3 {
196
+ font-size: 2rem;
197
+ color: #333;
198
+ margin-bottom: 5px;
199
+ }
200
+
201
+ .stat-info p {
202
+ color: #666;
203
+ font-size: 1rem;
204
+ margin-bottom: 10px;
205
+ }
206
+
207
+ .stat-change {
208
+ padding: 5px 12px;
209
+ border-radius: 20px;
210
+ font-size: 0.9rem;
211
+ font-weight: 600;
212
+ display: inline-block;
213
+ }
214
+
215
+ .stat-change.positive {
216
+ background: #d4f8e8;
217
+ color: #22c55e;
218
+ }
219
+
220
+ .stat-change.negative {
221
+ background: #fce8e8;
222
+ color: #ef4444;
223
+ }
224
+
225
+ /* Dashboard Grid */
226
+ .dashboard-grid {
227
+ display: grid;
228
+ grid-template-columns: repeat(2, 1fr);
229
+ gap: 25px;
230
+ }
231
+
232
+ .dashboard-card {
233
+ background: white;
234
+ padding: 30px;
235
+ border-radius: 20px;
236
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
237
+ transition: all 0.3s ease;
238
+ animation: fadeIn 0.8s ease;
239
+ }
240
+
241
+ .dashboard-card:hover {
242
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
243
+ }
244
+
245
+ .card-header {
246
+ display: flex;
247
+ justify-content: space-between;
248
+ align-items: center;
249
+ margin-bottom: 25px;
250
+ }
251
+
252
+ .card-header h3 {
253
+ font-size: 1.5rem;
254
+ color: #333;
255
+ }
256
+
257
+ .filter-select {
258
+ padding: 8px 15px;
259
+ border: 2px solid #e8ebf0;
260
+ border-radius: 10px;
261
+ font-size: 0.95rem;
262
+ cursor: pointer;
263
+ transition: all 0.3s ease;
264
+ }
265
+
266
+ .filter-select:hover {
267
+ border-color: #667eea;
268
+ }
269
+
270
+ .view-all {
271
+ background: none;
272
+ border: none;
273
+ color: #667eea;
274
+ font-weight: 600;
275
+ cursor: pointer;
276
+ transition: color 0.3s ease;
277
+ }
278
+
279
+ .view-all:hover {
280
+ color: #764ba2;
281
+ }
282
+
283
+ /* Chart */
284
+ .chart-card {
285
+ grid-column: span 2;
286
+ }
287
+
288
+ .chart-container {
289
+ height: 300px;
290
+ }
291
+
292
+ .chart-placeholder {
293
+ height: 100%;
294
+ display: flex;
295
+ align-items: flex-end;
296
+ justify-content: space-around;
297
+ gap: 15px;
298
+ padding: 20px 0;
299
+ }
300
+
301
+ .chart-bar {
302
+ flex: 1;
303
+ background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
304
+ border-radius: 10px 10px 0 0;
305
+ transition: all 0.3s ease;
306
+ cursor: pointer;
307
+ animation: growUp 1s ease;
308
+ }
309
+
310
+ .chart-bar:hover {
311
+ opacity: 0.8;
312
+ transform: translateY(-5px);
313
+ }
314
+
315
+ @keyframes growUp {
316
+ from {
317
+ height: 0 !important;
318
+ }
319
+ }
320
+
321
+ /* Activity Feed */
322
+ .activity-list {
323
+ display: flex;
324
+ flex-direction: column;
325
+ gap: 20px;
326
+ }
327
+
328
+ .activity-item {
329
+ display: flex;
330
+ gap: 15px;
331
+ padding: 15px;
332
+ border-radius: 15px;
333
+ background: #f5f7fa;
334
+ transition: all 0.3s ease;
335
+ }
336
+
337
+ .activity-item:hover {
338
+ background: #e8ebf0;
339
+ transform: translateX(5px);
340
+ }
341
+
342
+ .activity-icon {
343
+ width: 45px;
344
+ height: 45px;
345
+ border-radius: 50%;
346
+ display: flex;
347
+ align-items: center;
348
+ justify-content: center;
349
+ font-size: 1.3rem;
350
+ flex-shrink: 0;
351
+ }
352
+
353
+ .icon-success {
354
+ background: #d4f8e8;
355
+ color: #22c55e;
356
+ }
357
+
358
+ .icon-info {
359
+ background: #dbeafe;
360
+ color: #3b82f6;
361
+ }
362
+
363
+ .icon-warning {
364
+ background: #fef3c7;
365
+ color: #f59e0b;
366
+ }
367
+
368
+ .activity-content h4 {
369
+ color: #333;
370
+ font-size: 1.1rem;
371
+ margin-bottom: 5px;
372
+ }
373
+
374
+ .activity-content p {
375
+ color: #666;
376
+ font-size: 0.95rem;
377
+ margin-bottom: 5px;
378
+ }
379
+
380
+ .activity-content .time {
381
+ color: #999;
382
+ font-size: 0.85rem;
383
+ }
384
+
385
+ /* Products */
386
+ .products-list {
387
+ display: flex;
388
+ flex-direction: column;
389
+ gap: 20px;
390
+ }
391
+
392
+ .product-item {
393
+ display: flex;
394
+ justify-content: space-between;
395
+ align-items: center;
396
+ padding: 20px;
397
+ border-radius: 15px;
398
+ background: #f5f7fa;
399
+ transition: all 0.3s ease;
400
+ }
401
+
402
+ .product-item:hover {
403
+ background: #e8ebf0;
404
+ transform: scale(1.02);
405
+ }
406
+
407
+ .product-info {
408
+ display: flex;
409
+ gap: 15px;
410
+ align-items: center;
411
+ }
412
+
413
+ .product-icon {
414
+ width: 50px;
415
+ height: 50px;
416
+ border-radius: 12px;
417
+ background: white;
418
+ display: flex;
419
+ align-items: center;
420
+ justify-content: center;
421
+ font-size: 1.8rem;
422
+ }
423
+
424
+ .product-info h4 {
425
+ color: #333;
426
+ font-size: 1.1rem;
427
+ margin-bottom: 5px;
428
+ }
429
+
430
+ .product-info p {
431
+ color: #666;
432
+ font-size: 0.9rem;
433
+ }
434
+
435
+ .product-stats {
436
+ text-align: right;
437
+ }
438
+
439
+ .product-stats strong {
440
+ display: block;
441
+ color: #333;
442
+ font-size: 1.3rem;
443
+ margin-bottom: 8px;
444
+ }
445
+
446
+ .badge {
447
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
448
+ color: white;
449
+ padding: 5px 12px;
450
+ border-radius: 20px;
451
+ font-size: 0.85rem;
452
+ font-weight: 600;
453
+ }
454
+
455
+ /* Quick Actions */
456
+ .actions-grid {
457
+ display: grid;
458
+ grid-template-columns: repeat(2, 1fr);
459
+ gap: 15px;
460
+ }
461
+
462
+ .action-btn {
463
+ padding: 25px;
464
+ border: 2px dashed #e8ebf0;
465
+ border-radius: 15px;
466
+ background: none;
467
+ display: flex;
468
+ flex-direction: column;
469
+ align-items: center;
470
+ gap: 10px;
471
+ cursor: pointer;
472
+ transition: all 0.3s ease;
473
+ color: #666;
474
+ font-weight: 600;
475
+ }
476
+
477
+ .action-btn:hover {
478
+ border-color: #667eea;
479
+ border-style: solid;
480
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
481
+ transform: translateY(-3px);
482
+ }
483
+
484
+ .action-icon {
485
+ font-size: 2rem;
486
+ }
487
+
488
+ /* Animations */
489
+ @keyframes slideInLeft {
490
+ from {
491
+ transform: translateX(-100%);
492
+ }
493
+ to {
494
+ transform: translateX(0);
495
+ }
496
+ }
497
+
498
+ @keyframes fadeIn {
499
+ from {
500
+ opacity: 0;
501
+ }
502
+ to {
503
+ opacity: 1;
504
+ }
505
+ }
506
+
507
+ @keyframes slideUp {
508
+ from {
509
+ opacity: 0;
510
+ transform: translateY(30px);
511
+ }
512
+ to {
513
+ opacity: 1;
514
+ transform: translateY(0);
515
+ }
516
+ }
517
+
518
+ /* Responsive */
519
+ @media (max-width: 1200px) {
520
+ .dashboard-grid {
521
+ grid-template-columns: 1fr;
522
+ }
523
+
524
+ .chart-card {
525
+ grid-column: span 1;
526
+ }
527
+ }
528
+
529
+ @media (max-width: 768px) {
530
+ .dashboard-container {
531
+ grid-template-columns: 1fr;
532
+ }
533
+
534
+ .sidebar {
535
+ position: fixed;
536
+ left: -260px;
537
+ z-index: 1000;
538
+ transition: left 0.3s ease;
539
+ }
540
+
541
+ .sidebar.active {
542
+ left: 0;
543
+ }
544
+
545
+ .stats-grid {
546
+ grid-template-columns: 1fr;
547
+ }
548
+
549
+ .dashboard-header {
550
+ flex-direction: column;
551
+ gap: 20px;
552
+ text-align: center;
553
+ }
554
+
555
+ .actions-grid {
556
+ grid-template-columns: 1fr;
557
+ }
558
+ }
@@ -0,0 +1,134 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>{{name}} - Animated Gallery Component</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <header class="header fade-in">
12
+ <h1>Animated Image Gallery</h1>
13
+ <p class="subtitle">Beautiful fade-in and scroll animations</p>
14
+ </header>
15
+
16
+ <!-- Masonry Gallery -->
17
+ <section class="gallery-section">
18
+ <h2 class="section-title fade-in">Featured Gallery</h2>
19
+
20
+ <div class="gallery-grid">
21
+ <div class="gallery-item fade-in-up" data-delay="0">
22
+ <div class="image-wrapper">
23
+ <div class="placeholder-image gradient-1">
24
+ <span class="image-icon">🎨</span>
25
+ </div>
26
+ <div class="overlay">
27
+ <h3>Creative Design</h3>
28
+ <p>Beautiful artwork #1</p>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ <div class="gallery-item fade-in-up" data-delay="100">
34
+ <div class="image-wrapper">
35
+ <div class="placeholder-image gradient-2">
36
+ <span class="image-icon">🌟</span>
37
+ </div>
38
+ <div class="overlay">
39
+ <h3>Amazing Work</h3>
40
+ <p>Stunning visual #2</p>
41
+ </div>
42
+ </div>
43
+ </div>
44
+
45
+ <div class="gallery-item fade-in-up" data-delay="200">
46
+ <div class="image-wrapper">
47
+ <div class="placeholder-image gradient-3">
48
+ <span class="image-icon">✨</span>
49
+ </div>
50
+ <div class="overlay">
51
+ <h3>Perfect Shot</h3>
52
+ <p>Incredible moment #3</p>
53
+ </div>
54
+ </div>
55
+ </div>
56
+
57
+ <div class="gallery-item fade-in-up" data-delay="300">
58
+ <div class="image-wrapper">
59
+ <div class="placeholder-image gradient-4">
60
+ <span class="image-icon">🎭</span>
61
+ </div>
62
+ <div class="overlay">
63
+ <h3>Artistic Vision</h3>
64
+ <p>Creative expression #4</p>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ <div class="gallery-item fade-in-up" data-delay="400">
70
+ <div class="image-wrapper">
71
+ <div class="placeholder-image gradient-5">
72
+ <span class="image-icon">🚀</span>
73
+ </div>
74
+ <div class="overlay">
75
+ <h3>Innovation</h3>
76
+ <p>Modern design #5</p>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <div class="gallery-item fade-in-up" data-delay="500">
82
+ <div class="image-wrapper">
83
+ <div class="placeholder-image gradient-6">
84
+ <span class="image-icon">💎</span>
85
+ </div>
86
+ <div class="overlay">
87
+ <h3>Premium Quality</h3>
88
+ <p>Excellence #6</p>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </section>
94
+
95
+ <!-- Horizontal Scroll Gallery -->
96
+ <section class="horizontal-section">
97
+ <h2 class="section-title fade-in">Scroll Gallery</h2>
98
+ <div class="horizontal-scroll">
99
+ <div class="scroll-item slide-in-left">
100
+ <div class="placeholder-image gradient-7">
101
+ <span class="image-icon">🎯</span>
102
+ </div>
103
+ <p>Item 1</p>
104
+ </div>
105
+ <div class="scroll-item slide-in-left" data-delay="100">
106
+ <div class="placeholder-image gradient-8">
107
+ <span class="image-icon">🌈</span>
108
+ </div>
109
+ <p>Item 2</p>
110
+ </div>
111
+ <div class="scroll-item slide-in-left" data-delay="200">
112
+ <div class="placeholder-image gradient-9">
113
+ <span class="image-icon">⚡</span>
114
+ </div>
115
+ <p>Item 3</p>
116
+ </div>
117
+ <div class="scroll-item slide-in-left" data-delay="300">
118
+ <div class="placeholder-image gradient-10">
119
+ <span class="image-icon">🎪</span>
120
+ </div>
121
+ <p>Item 4</p>
122
+ </div>
123
+ </div>
124
+ </section>
125
+
126
+ <!-- Controls -->
127
+ <div class="controls fade-in">
128
+ <button class="btn" id="animateBtn">Replay Animations</button>
129
+ </div>
130
+ </div>
131
+
132
+ <script src="script.js"></script>
133
+ </body>
134
+ </html>