@gnawbit/tabretake 0.0.0-stage → 0.4.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,705 @@
1
+ :root {
2
+ --bg: #070a12;
3
+ --panel: #0d121b;
4
+ --panel-2: #111725;
5
+ --line: #1d2534;
6
+ --text: #e9edf5;
7
+ --muted: #8a93a6;
8
+ --muted-2: #5d6678;
9
+ --accent: #6c5ce7;
10
+ --accent-2: #8b7cff;
11
+ --green: #3ddc97;
12
+ --amber: #f5b84b;
13
+ --radius: 18px;
14
+ }
15
+
16
+ * {
17
+ box-sizing: border-box;
18
+ }
19
+
20
+ html,
21
+ body {
22
+ height: 100%;
23
+ margin: 0;
24
+ }
25
+
26
+ body {
27
+ background:
28
+ radial-gradient(900px 500px at 18% -10%, rgba(108, 92, 231, 0.18), transparent 60%),
29
+ radial-gradient(700px 420px at 95% 0%, rgba(61, 220, 151, 0.08), transparent 55%),
30
+ var(--bg);
31
+ color: var(--text);
32
+ font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
33
+ overflow: hidden;
34
+ }
35
+
36
+ button,
37
+ input {
38
+ font: inherit;
39
+ }
40
+
41
+ .app {
42
+ display: flex;
43
+ gap: 16px;
44
+ height: 100vh;
45
+ padding: 16px;
46
+ }
47
+
48
+ .sidebar {
49
+ width: 224px;
50
+ flex: 0 0 224px;
51
+ display: flex;
52
+ flex-direction: column;
53
+ padding: 18px;
54
+ border: 1px solid var(--line);
55
+ border-radius: 20px;
56
+ background: linear-gradient(180deg, rgba(17, 23, 37, 0.92), rgba(10, 14, 22, 0.96));
57
+ box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
58
+ }
59
+
60
+ .brand {
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 10px;
64
+ padding: 2px 4px 18px;
65
+ }
66
+
67
+ .brand-mark {
68
+ width: 34px;
69
+ height: 34px;
70
+ border-radius: 10px;
71
+ display: grid;
72
+ place-items: center;
73
+ font-weight: 800;
74
+ background: linear-gradient(135deg, var(--accent), #a78bfa);
75
+ box-shadow: 0 8px 22px rgba(108, 92, 231, 0.35);
76
+ }
77
+
78
+ .brand-name {
79
+ font-size: 14px;
80
+ font-weight: 700;
81
+ letter-spacing: 0.2px;
82
+ }
83
+
84
+ .brand-sub {
85
+ font-size: 11px;
86
+ color: var(--muted-2);
87
+ margin-top: 2px;
88
+ }
89
+
90
+ .nav {
91
+ display: grid;
92
+ gap: 4px;
93
+ }
94
+
95
+ .nav-item {
96
+ display: flex;
97
+ align-items: center;
98
+ gap: 10px;
99
+ padding: 10px 11px;
100
+ border-radius: 11px;
101
+ color: var(--muted);
102
+ text-decoration: none;
103
+ font-size: 13px;
104
+ transition: background 0.15s ease, color 0.15s ease;
105
+ }
106
+
107
+ .nav-item:hover {
108
+ background: rgba(255, 255, 255, 0.04);
109
+ color: var(--text);
110
+ }
111
+
112
+ .nav-item.active {
113
+ background: rgba(108, 92, 231, 0.14);
114
+ color: #cfc8ff;
115
+ box-shadow: inset 0 0 0 1px rgba(108, 92, 231, 0.25);
116
+ }
117
+
118
+ .nav-icon {
119
+ width: 16px;
120
+ text-align: center;
121
+ opacity: 0.9;
122
+ }
123
+
124
+ .sidebar-card {
125
+ margin-top: auto;
126
+ padding: 13px;
127
+ border-radius: 14px;
128
+ background: linear-gradient(160deg, rgba(108, 92, 231, 0.16), rgba(108, 92, 231, 0.04));
129
+ border: 1px solid rgba(108, 92, 231, 0.22);
130
+ }
131
+
132
+ .sidebar-card-title {
133
+ font-size: 12px;
134
+ font-weight: 700;
135
+ }
136
+
137
+ .sidebar-card-text {
138
+ font-size: 11px;
139
+ line-height: 1.5;
140
+ color: var(--muted);
141
+ margin: 4px 0 10px;
142
+ }
143
+
144
+ .ghost-button {
145
+ width: 100%;
146
+ padding: 8px;
147
+ border-radius: 9px;
148
+ border: 1px solid var(--line);
149
+ background: rgba(255, 255, 255, 0.03);
150
+ color: var(--text);
151
+ font-size: 11px;
152
+ cursor: pointer;
153
+ }
154
+
155
+ .user {
156
+ display: flex;
157
+ align-items: center;
158
+ gap: 10px;
159
+ padding-top: 14px;
160
+ margin-top: 14px;
161
+ border-top: 1px solid var(--line);
162
+ }
163
+
164
+ .avatar {
165
+ width: 32px;
166
+ height: 32px;
167
+ border-radius: 50%;
168
+ display: grid;
169
+ place-items: center;
170
+ font-size: 11px;
171
+ font-weight: 700;
172
+ background: linear-gradient(135deg, #2b3448, #1a2130);
173
+ border: 1px solid #2e3950;
174
+ }
175
+
176
+ .user-name {
177
+ font-size: 12px;
178
+ font-weight: 600;
179
+ }
180
+
181
+ .user-mail {
182
+ font-size: 10.5px;
183
+ color: var(--muted-2);
184
+ margin-top: 2px;
185
+ }
186
+
187
+ .main {
188
+ flex: 1;
189
+ min-width: 0;
190
+ display: flex;
191
+ flex-direction: column;
192
+ gap: 14px;
193
+ overflow: hidden;
194
+ }
195
+
196
+ .topbar {
197
+ display: flex;
198
+ align-items: center;
199
+ justify-content: space-between;
200
+ gap: 16px;
201
+ height: 46px;
202
+ }
203
+
204
+ .search {
205
+ position: relative;
206
+ display: flex;
207
+ align-items: center;
208
+ width: min(520px, 52%);
209
+ }
210
+
211
+ .search input {
212
+ width: 100%;
213
+ height: 42px;
214
+ padding: 0 62px 0 38px;
215
+ border-radius: 12px;
216
+ border: 1px solid var(--line);
217
+ background: rgba(13, 18, 27, 0.82);
218
+ color: var(--text);
219
+ outline: none;
220
+ font-size: 12.5px;
221
+ }
222
+
223
+ .search input::placeholder {
224
+ color: var(--muted-2);
225
+ }
226
+
227
+ .search input:focus {
228
+ border-color: rgba(108, 92, 231, 0.55);
229
+ box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
230
+ }
231
+
232
+ .search-icon {
233
+ position: absolute;
234
+ left: 14px;
235
+ color: var(--muted-2);
236
+ font-size: 16px;
237
+ }
238
+
239
+ .kbd {
240
+ position: absolute;
241
+ right: 10px;
242
+ padding: 3px 7px;
243
+ border-radius: 6px;
244
+ border: 1px solid var(--line);
245
+ color: var(--muted-2);
246
+ font-size: 10px;
247
+ }
248
+
249
+ .topbar-actions {
250
+ display: flex;
251
+ align-items: center;
252
+ gap: 10px;
253
+ }
254
+
255
+ .icon-button {
256
+ width: 38px;
257
+ height: 38px;
258
+ border-radius: 11px;
259
+ border: 1px solid var(--line);
260
+ background: rgba(13, 18, 27, 0.8);
261
+ color: var(--muted);
262
+ cursor: pointer;
263
+ font-size: 16px;
264
+ }
265
+
266
+ .icon-button:hover {
267
+ color: var(--text);
268
+ border-color: #2c3850;
269
+ }
270
+
271
+ .primary-button {
272
+ display: inline-flex;
273
+ align-items: center;
274
+ justify-content: center;
275
+ gap: 8px;
276
+ height: 40px;
277
+ padding: 0 16px;
278
+ border: none;
279
+ border-radius: 11px;
280
+ background: linear-gradient(135deg, var(--accent), #7c6cf5);
281
+ color: #fff;
282
+ font-size: 12.5px;
283
+ font-weight: 650;
284
+ cursor: pointer;
285
+ box-shadow: 0 10px 26px rgba(108, 92, 231, 0.32);
286
+ transition: transform 0.15s ease, box-shadow 0.15s ease;
287
+ }
288
+
289
+ .primary-button:hover {
290
+ transform: translateY(-1px);
291
+ box-shadow: 0 14px 32px rgba(108, 92, 231, 0.4);
292
+ }
293
+
294
+ .plus {
295
+ font-size: 17px;
296
+ line-height: 1;
297
+ margin-top: -1px;
298
+ }
299
+
300
+ .hero {
301
+ display: flex;
302
+ align-items: flex-end;
303
+ justify-content: space-between;
304
+ padding: 4px 2px 0;
305
+ }
306
+
307
+ .hero h1 {
308
+ margin: 0;
309
+ font-size: 27px;
310
+ letter-spacing: -0.6px;
311
+ font-weight: 720;
312
+ }
313
+
314
+ .hero p {
315
+ margin: 6px 0 0;
316
+ color: var(--muted);
317
+ font-size: 12.5px;
318
+ }
319
+
320
+ .hero-meta {
321
+ display: flex;
322
+ align-items: center;
323
+ gap: 8px;
324
+ color: var(--muted);
325
+ font-size: 11.5px;
326
+ padding-bottom: 4px;
327
+ }
328
+
329
+ .pulse {
330
+ width: 7px;
331
+ height: 7px;
332
+ border-radius: 50%;
333
+ background: var(--green);
334
+ box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.14);
335
+ }
336
+
337
+ .stats {
338
+ display: grid;
339
+ grid-template-columns: repeat(3, 1fr);
340
+ gap: 12px;
341
+ }
342
+
343
+ .stat-card {
344
+ padding: 14px 16px;
345
+ border-radius: 16px;
346
+ border: 1px solid var(--line);
347
+ background: linear-gradient(160deg, rgba(17, 23, 37, 0.92), rgba(11, 15, 24, 0.96));
348
+ box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
349
+ }
350
+
351
+ .stat-label {
352
+ color: var(--muted);
353
+ font-size: 11px;
354
+ }
355
+
356
+ .stat-value {
357
+ margin-top: 6px;
358
+ font-size: 28px;
359
+ font-weight: 760;
360
+ letter-spacing: -0.8px;
361
+ }
362
+
363
+ .stat-value span {
364
+ font-size: 16px;
365
+ margin-left: 2px;
366
+ color: var(--muted);
367
+ font-weight: 600;
368
+ }
369
+
370
+ .stat-delta {
371
+ margin-top: 4px;
372
+ font-size: 10.5px;
373
+ color: var(--muted-2);
374
+ }
375
+
376
+ .stat-delta.up {
377
+ color: var(--green);
378
+ }
379
+
380
+ .panel {
381
+ border: 1px solid var(--line);
382
+ border-radius: 18px;
383
+ background: linear-gradient(170deg, rgba(17, 23, 37, 0.9), rgba(10, 14, 22, 0.96));
384
+ box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
385
+ }
386
+
387
+ .panel-head {
388
+ display: flex;
389
+ align-items: flex-start;
390
+ justify-content: space-between;
391
+ padding: 14px 16px 0;
392
+ }
393
+
394
+ .panel-title {
395
+ font-size: 13px;
396
+ font-weight: 700;
397
+ }
398
+
399
+ .panel-sub {
400
+ margin-top: 3px;
401
+ font-size: 10.5px;
402
+ color: var(--muted-2);
403
+ }
404
+
405
+ .legend {
406
+ display: flex;
407
+ align-items: center;
408
+ gap: 6px;
409
+ color: var(--muted);
410
+ font-size: 10px;
411
+ }
412
+
413
+ .dot {
414
+ width: 7px;
415
+ height: 7px;
416
+ border-radius: 50%;
417
+ background: var(--accent-2);
418
+ }
419
+
420
+ .chart-panel {
421
+ height: 186px;
422
+ display: flex;
423
+ flex-direction: column;
424
+ }
425
+
426
+ .chart {
427
+ position: relative;
428
+ flex: 1;
429
+ padding: 12px 16px 16px;
430
+ }
431
+
432
+ .bars {
433
+ display: flex;
434
+ align-items: flex-end;
435
+ gap: 7px;
436
+ height: 100%;
437
+ }
438
+
439
+ .bar {
440
+ flex: 1;
441
+ min-width: 0;
442
+ border-radius: 6px 6px 3px 3px;
443
+ background: linear-gradient(180deg, var(--accent-2), rgba(108, 92, 231, 0.28));
444
+ opacity: 0.9;
445
+ animation: grow 0.7s ease both;
446
+ }
447
+
448
+ .bar:nth-child(3n) {
449
+ background: linear-gradient(180deg, #3ddc97, rgba(61, 220, 151, 0.22));
450
+ }
451
+
452
+ .chart-baseline {
453
+ position: absolute;
454
+ left: 16px;
455
+ right: 16px;
456
+ bottom: 15px;
457
+ height: 1px;
458
+ background: linear-gradient(90deg, transparent, var(--line), transparent);
459
+ }
460
+
461
+ @keyframes grow {
462
+ from {
463
+ transform: scaleY(0.1);
464
+ opacity: 0;
465
+ }
466
+ to {
467
+ transform: scaleY(1);
468
+ opacity: 0.9;
469
+ }
470
+ }
471
+
472
+ .projects-panel {
473
+ flex: 1;
474
+ min-height: 0;
475
+ display: flex;
476
+ flex-direction: column;
477
+ }
478
+
479
+ .text-button {
480
+ border: none;
481
+ background: none;
482
+ color: var(--accent-2);
483
+ font-size: 11px;
484
+ cursor: pointer;
485
+ padding: 0;
486
+ }
487
+
488
+ .project-grid {
489
+ display: grid;
490
+ grid-template-columns: repeat(3, 1fr);
491
+ gap: 12px;
492
+ padding: 12px 16px 16px;
493
+ overflow: hidden;
494
+ }
495
+
496
+ .project-card {
497
+ padding: 13px;
498
+ border-radius: 14px;
499
+ border: 1px solid var(--line);
500
+ background: rgba(10, 14, 22, 0.72);
501
+ animation: cardIn 0.45s ease both;
502
+ }
503
+
504
+ @keyframes cardIn {
505
+ from {
506
+ opacity: 0;
507
+ transform: translateY(8px);
508
+ }
509
+ to {
510
+ opacity: 1;
511
+ transform: translateY(0);
512
+ }
513
+ }
514
+
515
+ .project-icon {
516
+ width: 30px;
517
+ height: 30px;
518
+ border-radius: 9px;
519
+ display: grid;
520
+ place-items: center;
521
+ font-size: 13px;
522
+ margin-bottom: 10px;
523
+ }
524
+
525
+ .project-icon.violet {
526
+ background: rgba(108, 92, 231, 0.18);
527
+ color: #b9afff;
528
+ }
529
+
530
+ .project-icon.green {
531
+ background: rgba(61, 220, 151, 0.14);
532
+ color: #7ff0c0;
533
+ }
534
+
535
+ .project-icon.amber {
536
+ background: rgba(245, 184, 75, 0.14);
537
+ color: #ffd48a;
538
+ }
539
+
540
+ .project-name {
541
+ font-size: 12px;
542
+ font-weight: 650;
543
+ white-space: nowrap;
544
+ overflow: hidden;
545
+ text-overflow: ellipsis;
546
+ }
547
+
548
+ .project-meta {
549
+ margin-top: 4px;
550
+ font-size: 10px;
551
+ color: var(--muted-2);
552
+ }
553
+
554
+ .progress {
555
+ margin-top: 11px;
556
+ height: 5px;
557
+ border-radius: 999px;
558
+ background: #161d2a;
559
+ overflow: hidden;
560
+ }
561
+
562
+ .progress span {
563
+ display: block;
564
+ height: 100%;
565
+ border-radius: inherit;
566
+ background: linear-gradient(90deg, var(--accent), var(--accent-2));
567
+ }
568
+
569
+ .modal-backdrop {
570
+ position: fixed;
571
+ inset: 0;
572
+ display: grid;
573
+ place-items: center;
574
+ background: rgba(4, 6, 10, 0.58);
575
+ backdrop-filter: blur(2px);
576
+ opacity: 0;
577
+ pointer-events: none;
578
+ transition: opacity 0.2s ease;
579
+ z-index: 20;
580
+ }
581
+
582
+ .modal-backdrop.open {
583
+ opacity: 1;
584
+ pointer-events: auto;
585
+ }
586
+
587
+ .modal {
588
+ width: 430px;
589
+ padding: 20px;
590
+ border-radius: 20px;
591
+ border: 1px solid #283246;
592
+ background: linear-gradient(170deg, #121927, #0b1018);
593
+ box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
594
+ transform: translateY(10px) scale(0.98);
595
+ transition: transform 0.22s ease;
596
+ }
597
+
598
+ .modal-backdrop.open .modal {
599
+ transform: translateY(0) scale(1);
600
+ }
601
+
602
+ .modal-head {
603
+ display: flex;
604
+ align-items: flex-start;
605
+ justify-content: space-between;
606
+ }
607
+
608
+ .modal-kicker {
609
+ font-size: 10px;
610
+ letter-spacing: 1.4px;
611
+ text-transform: uppercase;
612
+ color: var(--accent-2);
613
+ font-weight: 700;
614
+ }
615
+
616
+ .modal h2 {
617
+ margin: 4px 0 0;
618
+ font-size: 20px;
619
+ letter-spacing: -0.4px;
620
+ }
621
+
622
+ .field {
623
+ display: block;
624
+ margin-top: 16px;
625
+ }
626
+
627
+ .field > span {
628
+ display: block;
629
+ margin-bottom: 7px;
630
+ font-size: 11px;
631
+ color: var(--muted);
632
+ }
633
+
634
+ .field input {
635
+ width: 100%;
636
+ height: 42px;
637
+ padding: 0 12px;
638
+ border-radius: 11px;
639
+ border: 1px solid var(--line);
640
+ background: #090d15;
641
+ color: var(--text);
642
+ outline: none;
643
+ font-size: 12.5px;
644
+ }
645
+
646
+ .field input:focus {
647
+ border-color: rgba(108, 92, 231, 0.6);
648
+ box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
649
+ }
650
+
651
+ .template-row {
652
+ display: flex;
653
+ gap: 8px;
654
+ }
655
+
656
+ .template {
657
+ flex: 1;
658
+ height: 36px;
659
+ border-radius: 10px;
660
+ border: 1px solid var(--line);
661
+ background: #0a0e16;
662
+ color: var(--muted);
663
+ font-size: 11px;
664
+ cursor: pointer;
665
+ }
666
+
667
+ .template.active {
668
+ border-color: rgba(108, 92, 231, 0.5);
669
+ background: rgba(108, 92, 231, 0.13);
670
+ color: #cfc8ff;
671
+ }
672
+
673
+ .modal-foot {
674
+ display: flex;
675
+ align-items: center;
676
+ justify-content: space-between;
677
+ margin-top: 20px;
678
+ }
679
+
680
+ .modal-hint {
681
+ font-size: 10px;
682
+ color: var(--muted-2);
683
+ }
684
+
685
+ .toast {
686
+ position: fixed;
687
+ right: 26px;
688
+ bottom: 26px;
689
+ padding: 11px 15px;
690
+ border-radius: 11px;
691
+ border: 1px solid rgba(61, 220, 151, 0.32);
692
+ background: rgba(13, 22, 20, 0.96);
693
+ color: #a8f3d5;
694
+ font-size: 12px;
695
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
696
+ opacity: 0;
697
+ transform: translateY(10px);
698
+ transition: opacity 0.2s ease, transform 0.2s ease;
699
+ z-index: 30;
700
+ }
701
+
702
+ .toast.show {
703
+ opacity: 1;
704
+ transform: translateY(0);
705
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "url": "http://127.0.0.1:4173",
3
+ "displayUrl": "northstar.app",
4
+ "viewport": { "width": 1440, "height": 810 },
5
+ "initialWait": 700,
6
+ "tail": 1600,
7
+ "steps": [
8
+ { "action": "wait", "ms": 300 },
9
+ {
10
+ "action": "click",
11
+ "role": "button",
12
+ "name": "New project",
13
+ "pause": 500,
14
+ "zoom": false,
15
+ "caption": "Turn an idea into a project"
16
+ },
17
+ {
18
+ "action": "type",
19
+ "selector": "input[name=project-name]",
20
+ "value": "Launch plan",
21
+ "pause": 600,
22
+ "caption": "Give the team a starting point"
23
+ },
24
+ {
25
+ "action": "click",
26
+ "role": "button",
27
+ "name": "Create project",
28
+ "pause": 900,
29
+ "zoom": false,
30
+ "caption": "Ready for the next step"
31
+ },
32
+ { "action": "waitFor", "selector": "#project-grid .project-name:text-is('Launch plan')" }
33
+ ]
34
+ }