aztomiq 1.0.2 → 1.0.4

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,509 @@
1
+ /* Grid & List View Refined Logic */
2
+ .category-section {
3
+ margin-bottom: var(--s-10);
4
+ }
5
+
6
+ .category-title {
7
+ font-size: 1.5rem;
8
+ font-weight: 800;
9
+ margin-bottom: var(--s-5);
10
+ display: flex;
11
+ align-items: center;
12
+ gap: var(--s-3);
13
+ color: var(--text-color);
14
+ }
15
+
16
+ .tools-grid {
17
+ display: grid;
18
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
19
+ gap: var(--s-5);
20
+ transition: all 0.3s ease;
21
+ }
22
+
23
+ /* Base Tool Card Structure */
24
+ .tool-card {
25
+ position: relative;
26
+ background: var(--card-bg);
27
+ border: 1px solid var(--border-color);
28
+ border-radius: var(--radius);
29
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
30
+ height: 100%;
31
+ display: flex;
32
+ flex-direction: column;
33
+ box-sizing: border-box;
34
+ overflow: hidden; /* Important for the Corner Ribbon */
35
+ }
36
+
37
+ .tool-card:hover {
38
+ transform: translateY(-5px);
39
+ border-color: var(--primary-color);
40
+ box-shadow: var(--shadow-lg);
41
+ }
42
+
43
+ /* Overlays - Fixed Corners */
44
+ .star-btn {
45
+ position: absolute;
46
+ top: 10px;
47
+ right: 10px;
48
+ z-index: 50; /* Topmost */
49
+ background: rgba(255, 255, 255, 0.8);
50
+ backdrop-filter: blur(4px);
51
+ -webkit-backdrop-filter: blur(4px);
52
+ border: 1px solid var(--border-color);
53
+ width: 30px;
54
+ height: 30px;
55
+ border-radius: 8px;
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ cursor: pointer;
60
+ color: var(--text-muted);
61
+ transition: all 0.2s;
62
+ }
63
+
64
+ [data-theme="dark"] .star-btn {
65
+ background: rgba(15, 23, 42, 0.8);
66
+ }
67
+
68
+ .star-btn:hover {
69
+ background: var(--card-bg);
70
+ border-color: #f59e0b;
71
+ color: #f59e0b;
72
+ transform: scale(1.1) rotate(5deg);
73
+ }
74
+
75
+ .star-btn.active {
76
+ background: #fffbeb;
77
+ border-color: #f59e0b;
78
+ color: #f59e0b;
79
+ }
80
+
81
+ [data-theme="dark"] .star-btn.active {
82
+ background: rgba(245, 158, 11, 0.2);
83
+ }
84
+
85
+
86
+
87
+ /* Base Badge System (Global) */
88
+ .tool-badge {
89
+ display: inline-flex;
90
+ align-items: center;
91
+ justify-content: center;
92
+ gap: 4px;
93
+ font-size: 0.65rem;
94
+ font-weight: 800;
95
+ padding: 2px 6px;
96
+ border-radius: 4px;
97
+ text-transform: uppercase;
98
+ letter-spacing: 0.5px;
99
+ line-height: 1;
100
+ white-space: nowrap;
101
+ }
102
+
103
+ .tool-badge.beta {
104
+ background: #ecfeff;
105
+ color: #0891b2;
106
+ border: 1px solid #0891b2;
107
+ }
108
+
109
+ .tool-badge.hot {
110
+ background: #fff7ed;
111
+ color: #c2410c;
112
+ border: 1px solid #fb923c;
113
+ }
114
+
115
+ /* Ribbon Variant - ONLY for Home Cards */
116
+ .tool-card .tool-badge.hot {
117
+ position: absolute;
118
+ top: 10px;
119
+ left: -25px;
120
+ right: auto !important; /* Reset global right: 8px */
121
+ width: 90px !important; /* Force fixed width for ribbon */
122
+ background: linear-gradient(135deg, #fb923c, #f97316);
123
+ color: white;
124
+ padding: 4px 0;
125
+ transform: rotate(-45deg);
126
+ box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
127
+ border: none;
128
+ z-index: 40;
129
+ display: flex;
130
+ justify-content: center;
131
+ }
132
+
133
+ /* List/Menu Badges - Standard Pills */
134
+ .tool-badge.hot:not(.tool-card .tool-badge.hot) {
135
+ background: #fff7ed;
136
+ color: #c2410c;
137
+ border: 1px solid #fb923c;
138
+ transform: none;
139
+ position: static;
140
+ width: auto;
141
+ }
142
+
143
+ .tool-card .tool-badge.beta {
144
+ position: absolute;
145
+ top: 10px;
146
+ left: 10px;
147
+ right: auto !important; /* Prevent stretching */
148
+ width: auto !important;
149
+ z-index: 45;
150
+ }
151
+
152
+ .tool-card .tool-badge.hot + .tool-badge.beta {
153
+ top: 32px;
154
+ left: 6px;
155
+ }
156
+
157
+ /* Main Link Content */
158
+ .tool-link {
159
+ display: flex;
160
+ flex-direction: column;
161
+ align-items: center;
162
+ padding: 3rem var(--s-4) var(--s-5);
163
+ text-decoration: none;
164
+ color: inherit;
165
+ height: 100%;
166
+ width: 100%;
167
+ box-sizing: border-box;
168
+ }
169
+
170
+ .tool-icon-wrap {
171
+ width: 56px;
172
+ height: 56px;
173
+ background: var(--bg-hover);
174
+ border-radius: 14px;
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: center;
178
+ margin-bottom: var(--s-4);
179
+ color: var(--primary-color);
180
+ transition: all 0.3s;
181
+ }
182
+
183
+ .tool-card:hover .tool-icon-wrap {
184
+ background: var(--primary-subtle);
185
+ transform: scale(1.05);
186
+ }
187
+
188
+ .tool-card h3 {
189
+ font-size: 1.05rem;
190
+ font-weight: 700;
191
+ margin-bottom: var(--s-2);
192
+ text-align: center;
193
+ color: var(--text-color);
194
+ }
195
+
196
+ .tool-card p {
197
+ font-size: 0.85rem;
198
+ color: var(--text-muted);
199
+ text-align: center;
200
+ line-height: 1.5;
201
+ margin: 0;
202
+ display: -webkit-box;
203
+ line-clamp: 2;
204
+ -webkit-line-clamp: 2;
205
+ -webkit-box-orient: vertical;
206
+ overflow: hidden;
207
+ }
208
+
209
+ /* --- List View Specifics --- */
210
+ .tools-grid.list-view {
211
+ grid-template-columns: 1fr;
212
+ }
213
+
214
+ .tools-grid.list-view .tool-card {
215
+ flex-direction: row;
216
+ min-height: 80px;
217
+ overflow: visible; /* Ribbons might look weird in list, but let's see */
218
+ }
219
+
220
+ .tools-grid.list-view .tool-link {
221
+ flex-direction: row;
222
+ padding: 0 var(--s-5);
223
+ align-items: center;
224
+ justify-content: flex-start;
225
+ text-align: left;
226
+ gap: var(--s-5);
227
+ }
228
+
229
+ .tools-grid.list-view .tool-icon-wrap {
230
+ margin-bottom: 0;
231
+ width: 44px;
232
+ height: 44px;
233
+ flex-shrink: 0;
234
+ }
235
+
236
+ .tools-grid.list-view .tool-card h3 {
237
+ margin-bottom: 0;
238
+ text-align: left;
239
+ min-width: 180px;
240
+ }
241
+
242
+ .tools-grid.list-view .tool-card p {
243
+ text-align: left;
244
+ -webkit-line-clamp: 1;
245
+ }
246
+
247
+ .tools-grid.list-view .tool-badge-row {
248
+ display: none;
249
+ }
250
+
251
+ /* Hero & Search */
252
+ .hero-search-wrap {
253
+ margin-bottom: var(--s-10);
254
+ padding: 0 var(--s-4);
255
+ }
256
+ .hero {
257
+ min-height: 200px;
258
+ text-align: center;
259
+ padding: 3rem 1rem;
260
+ }
261
+
262
+ .hero h1 {
263
+ font-size: 2.5rem;
264
+ margin-bottom: 1rem;
265
+ line-height: 1.2;
266
+ }
267
+
268
+ .hero p {
269
+ font-size: 1.2rem;
270
+ color: var(--text-muted);
271
+ max-width: 600px;
272
+ margin: 0 auto;
273
+ }
274
+
275
+ /* Hero Search Pro Effects */
276
+ .hero-search-wrap {
277
+ margin-bottom: 4rem;
278
+ position: relative;
279
+ z-index: 10;
280
+ padding: 0 1rem;
281
+ min-height: 80px;
282
+ }
283
+
284
+ .search-box-hero {
285
+ max-width: 750px;
286
+ margin: 0 auto;
287
+ padding: 0.5rem 0.5rem 0.5rem 1.5rem;
288
+ display: flex;
289
+ align-items: center;
290
+ border-radius: 50px;
291
+ background: var(--card-bg);
292
+ border: 2px solid var(--border-color);
293
+ box-shadow: var(--shadow);
294
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
295
+ }
296
+
297
+ .search-box-hero:hover {
298
+ border-color: var(--primary-color);
299
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
300
+ }
301
+
302
+ .search-box-hero:focus-within {
303
+ transform: scale(1.03) translateY(-2px);
304
+ border-color: var(--primary-color);
305
+ box-shadow: 0 25px 30px -10px rgba(var(--primary-rgb), 0.2);
306
+ }
307
+
308
+ .search-box-hero input {
309
+ border: none !important;
310
+ background: transparent !important;
311
+ padding: 0.75rem 0 !important;
312
+ font-size: 1.25rem !important;
313
+ flex: 1;
314
+ outline: none !important;
315
+ color: var(--text-color);
316
+ }
317
+
318
+ .search-box-hero .search-icon {
319
+ font-size: 1.5rem;
320
+ margin-right: 1rem;
321
+ opacity: 0.7;
322
+ transition: transform 0.3s;
323
+ }
324
+
325
+ .search-box-hero:focus-within .search-icon {
326
+ transform: scale(1.2) rotate(-10deg);
327
+ opacity: 1;
328
+ }
329
+
330
+ .search-box-hero .search-hints {
331
+ display: flex;
332
+ align-items: center;
333
+ gap: 0.5rem;
334
+ padding-right: 1.5rem;
335
+ opacity: 0.5;
336
+ }
337
+
338
+ .search-box-hero .search-hints kbd {
339
+ font-size: 0.8rem;
340
+ padding: 4px 8px;
341
+ border: 1px solid var(--border-color);
342
+ border-radius: 6px;
343
+ background: var(--bg-hover);
344
+ font-family: inherit;
345
+ }
346
+
347
+ /* Highlight Section */
348
+ .highlight-section {
349
+ margin-bottom: 5rem;
350
+ padding: 2rem;
351
+ background: var(--bg-hover);
352
+ border-radius: 24px;
353
+ border: 1px solid var(--border-color);
354
+ }
355
+
356
+ .highlight-header {
357
+ display: flex;
358
+ align-items: center;
359
+ gap: 1rem;
360
+ margin-bottom: 2rem;
361
+ }
362
+
363
+ .badge-new {
364
+ background: var(--primary-color);
365
+ color: white;
366
+ padding: 4px 10px;
367
+ border-radius: 20px;
368
+ font-size: 0.75rem;
369
+ font-weight: 800;
370
+ letter-spacing: 1px;
371
+ }
372
+
373
+ .highlight-grid {
374
+ display: grid;
375
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
376
+ gap: 2rem;
377
+ }
378
+
379
+ .highlight-card {
380
+ background: var(--card-bg);
381
+ padding: 2rem; /* Increased padding for center layout */
382
+ border-radius: 20px;
383
+ border: 1px solid var(--border-color);
384
+ text-decoration: none;
385
+ color: inherit;
386
+ display: flex;
387
+ flex-direction: column; /* Stack vertically */
388
+ align-items: center; /* Center horizontally */
389
+ text-align: center; /* Center text */
390
+ gap: 1.5rem;
391
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
392
+ position: relative;
393
+ overflow: hidden;
394
+ z-index: 1;
395
+ }
396
+
397
+ /* Sleek Full Border Shimmer */
398
+ .highlight-card::before {
399
+ content: '';
400
+ position: absolute;
401
+ inset: 0;
402
+ padding: 2px;
403
+ /* Border thickness */
404
+ border-radius: inherit;
405
+ background: linear-gradient(90deg,
406
+ transparent,
407
+ var(--primary-color),
408
+ #d8b4fe,
409
+ transparent);
410
+ background-size: 200% 100%;
411
+ -webkit-mask:
412
+ linear-gradient(#fff 0 0) content-box,
413
+ linear-gradient(#fff 0 0);
414
+ mask:
415
+ linear-gradient(#fff 0 0) content-box,
416
+ linear-gradient(#fff 0 0);
417
+ -webkit-mask-composite: xor;
418
+ mask-composite: exclude;
419
+ opacity: 0;
420
+ transition: opacity 0.4s ease;
421
+ z-index: 2;
422
+ pointer-events: none;
423
+ }
424
+
425
+ .highlight-card:hover {
426
+ transform: translateY(-8px);
427
+ border-color: transparent;
428
+ /* Hide static border on hover */
429
+ box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
430
+ }
431
+
432
+ .highlight-card:hover::before {
433
+ opacity: 1;
434
+ animation: shimmer 1.5s infinite linear;
435
+ }
436
+
437
+ @keyframes shimmer {
438
+ 0% {
439
+ background-position: 200% 0;
440
+ }
441
+
442
+ 100% {
443
+ background-position: -200% 0;
444
+ }
445
+ }
446
+
447
+ .highlight-icon {
448
+ font-size: 2.5rem;
449
+ background: var(--bg-hover);
450
+ width: 64px; /* Slightly smaller for center look */
451
+ height: 64px;
452
+ display: flex;
453
+ align-items: center;
454
+ justify-content: center;
455
+ border-radius: 16px;
456
+ flex-shrink: 0;
457
+ margin-bottom: 0.5rem;
458
+ }
459
+
460
+ .highlight-info {
461
+ flex: 1;
462
+ display: flex;
463
+ flex-direction: column;
464
+ align-items: center; /* Center button */
465
+ width: 100%;
466
+ }
467
+
468
+ .highlight-info h3 {
469
+ margin: 0 0 0.5rem 0;
470
+ font-size: 1.25rem;
471
+ color: var(--text-color);
472
+ }
473
+
474
+ .highlight-info p {
475
+ font-size: 0.95rem;
476
+ color: var(--text-muted);
477
+ margin-bottom: 1.5rem; /* More space for button */
478
+ line-height: 1.6;
479
+ }
480
+
481
+ .btn-explore {
482
+ font-size: 0.9rem;
483
+ font-weight: 700;
484
+ color: var(--primary-color);
485
+ display: flex;
486
+ align-items: center;
487
+ gap: 0.5rem;
488
+ margin-top: auto; /* Push to bottom if height varies */
489
+ }
490
+
491
+ .btn-explore .arrow {
492
+ transition: transform 0.2s;
493
+ }
494
+
495
+ .highlight-card:hover .btn-explore .arrow {
496
+ transform: translateX(5px);
497
+ }
498
+
499
+ @media (max-width: 600px) {
500
+ .highlight-card {
501
+ padding: 1.5rem;
502
+ }
503
+
504
+ .highlight-icon {
505
+ width: 60px;
506
+ height: 60px;
507
+ font-size: 2rem;
508
+ }
509
+ }
@@ -0,0 +1,133 @@
1
+ /* Master Tools Layout - Bordered & Clear */
2
+ .salary-tax-master-wrapper,
3
+ .date-time-master-wrapper {
4
+ width: 100%;
5
+ padding: var(--s-6) 0;
6
+ }
7
+
8
+ .master-layout {
9
+ display: flex;
10
+ gap: var(--s-6);
11
+ min-height: 80vh;
12
+ max-width: var(--max-width);
13
+ margin: 0 auto;
14
+ padding: 0 var(--s-4);
15
+ }
16
+
17
+ .master-sidebar {
18
+ width: 280px;
19
+ flex-shrink: 0;
20
+ display: flex;
21
+ flex-direction: column;
22
+ gap: var(--s-2);
23
+ position: sticky;
24
+ top: 100px;
25
+ height: fit-content;
26
+ padding: var(--s-4);
27
+ background: var(--card-bg);
28
+ border: 1px solid var(--border-color);
29
+ border-radius: var(--radius);
30
+ box-shadow: var(--shadow);
31
+ }
32
+
33
+ .sidebar-btn {
34
+ display: flex;
35
+ align-items: center;
36
+ gap: 0.75rem;
37
+ padding: 1rem;
38
+ border: 1px solid var(--border-color);
39
+ background: var(--card-bg);
40
+ border-radius: 12px;
41
+ cursor: pointer;
42
+ transition: all 0.2s;
43
+ text-align: left;
44
+ font-weight: 600;
45
+ color: var(--text-muted);
46
+ }
47
+
48
+ .sidebar-btn:hover {
49
+ border-color: var(--primary-color);
50
+ background: var(--bg-hover);
51
+ transform: translateX(5px);
52
+ }
53
+
54
+ .sidebar-btn.active {
55
+ background: var(--primary-color);
56
+ color: white;
57
+ border-color: var(--primary-color);
58
+ }
59
+
60
+ .sidebar-btn i {
61
+ font-size: 1.2rem;
62
+ }
63
+
64
+ .master-content {
65
+ flex: 1;
66
+ min-width: 0;
67
+ padding: var(--s-6);
68
+ background: var(--card-bg);
69
+ border: 1px solid var(--border-color);
70
+ border-radius: var(--radius);
71
+ box-shadow: var(--shadow);
72
+ }
73
+
74
+ .content-section {
75
+ display: none;
76
+ animation: fadeIn 0.3s ease-out;
77
+ }
78
+
79
+ .content-section.active {
80
+ display: block;
81
+ }
82
+
83
+ @keyframes fadeIn {
84
+ from {
85
+ opacity: 0;
86
+ transform: translateY(10px);
87
+ }
88
+
89
+ to {
90
+ opacity: 1;
91
+ transform: translateY(0);
92
+ }
93
+ }
94
+
95
+ @media (max-width: 1000px) {
96
+ .master-layout {
97
+ flex-direction: column;
98
+ gap: var(--s-4);
99
+ }
100
+
101
+ .master-sidebar {
102
+ width: 100%;
103
+ flex-direction: row;
104
+ overflow-x: auto;
105
+ padding-bottom: var(--s-2);
106
+ position: static;
107
+ }
108
+
109
+ .sidebar-btn {
110
+ white-space: nowrap;
111
+ padding: var(--s-3) var(--s-4);
112
+ }
113
+ }
114
+
115
+ /* Deprecation Banner */
116
+ .deprecated-notice {
117
+ background: #fffbeb;
118
+ border: 1px solid #fef3c7;
119
+ padding: 1rem;
120
+ border-radius: 12px;
121
+ margin-bottom: 2rem;
122
+ display: flex;
123
+ align-items: center;
124
+ gap: 1rem;
125
+ color: #92400e;
126
+ font-weight: 500;
127
+ }
128
+
129
+ [data-theme="dark"] .deprecated-notice {
130
+ background: #451a03;
131
+ border-color: #78350f;
132
+ color: #fef3c7;
133
+ }