@alliance-droid/status-feedback-system 0.3.1 → 0.3.2
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.
|
@@ -306,26 +306,17 @@
|
|
|
306
306
|
style="left: {adjustedX}px; top: {adjustedY}px;"
|
|
307
307
|
onmousedown={(e) => e.stopPropagation()}
|
|
308
308
|
>
|
|
309
|
-
<div class="
|
|
310
|
-
<button
|
|
311
|
-
class="flex items-center gap-2.5 w-full px-3 py-2.5 text-sm text-foreground hover:bg-surface-hover transition-colors text-left"
|
|
312
|
-
onclick={() => openForm('bug')}
|
|
313
|
-
>
|
|
309
|
+
<div class="sf-ctx-menu">
|
|
310
|
+
<button class="sf-ctx-item" onclick={() => openForm('bug')}>
|
|
314
311
|
<i class="fa-solid fa-bug text-red-400"></i>
|
|
315
312
|
Report Bug
|
|
316
313
|
</button>
|
|
317
|
-
<button
|
|
318
|
-
class="flex items-center gap-2.5 w-full px-3 py-2.5 text-sm text-foreground hover:bg-surface-hover transition-colors text-left"
|
|
319
|
-
onclick={() => openForm('feature')}
|
|
320
|
-
>
|
|
314
|
+
<button class="sf-ctx-item" onclick={() => openForm('feature')}>
|
|
321
315
|
<i class="fa-solid fa-lightbulb text-amber-400"></i>
|
|
322
316
|
Request Feature
|
|
323
317
|
</button>
|
|
324
|
-
<div class="
|
|
325
|
-
<button
|
|
326
|
-
class="flex items-center gap-2.5 w-full px-3 py-2.5 text-sm text-foreground-secondary hover:bg-surface-hover transition-colors text-left"
|
|
327
|
-
onclick={openBoard}
|
|
328
|
-
>
|
|
318
|
+
<div class="sf-ctx-divider">
|
|
319
|
+
<button class="sf-ctx-item sf-ctx-item-secondary" onclick={openBoard}>
|
|
329
320
|
<i class="fa-solid fa-clipboard-list"></i>
|
|
330
321
|
View Open Issues
|
|
331
322
|
</button>
|
|
@@ -475,16 +466,13 @@
|
|
|
475
466
|
<!-- Onboarding toast -->
|
|
476
467
|
{#if showToast}
|
|
477
468
|
<div class="fixed bottom-4 right-4 z-[99997] animate-fade-in">
|
|
478
|
-
<div class="
|
|
479
|
-
<i class="fa-solid fa-computer-mouse
|
|
469
|
+
<div class="sf-toast">
|
|
470
|
+
<i class="fa-solid fa-computer-mouse" style="color: var(--color-primary, #3b82f6); font-size: 1.125rem;"></i>
|
|
480
471
|
<div>
|
|
481
|
-
<p
|
|
482
|
-
<p
|
|
472
|
+
<p style="font-size: 0.875rem; font-weight: 600; margin: 0;">Middle-click anywhere</p>
|
|
473
|
+
<p style="font-size: 0.75rem; color: #94a3b8; margin: 0;">to report bugs or request features</p>
|
|
483
474
|
</div>
|
|
484
|
-
<button
|
|
485
|
-
class="text-foreground-tertiary hover:text-foreground transition-colors bg-transparent border-none cursor-pointer ml-2"
|
|
486
|
-
onclick={() => (showToast = false)}
|
|
487
|
-
>
|
|
475
|
+
<button class="sf-toast-close" onclick={() => (showToast = false)}>
|
|
488
476
|
<i class="fa-solid fa-xmark"></i>
|
|
489
477
|
</button>
|
|
490
478
|
</div>
|
|
@@ -500,4 +488,68 @@
|
|
|
500
488
|
.animate-fade-in {
|
|
501
489
|
animation: fade-in 0.3s ease-out;
|
|
502
490
|
}
|
|
491
|
+
|
|
492
|
+
/* Context menu — hardcoded colors for guaranteed visibility */
|
|
493
|
+
.sf-ctx-menu {
|
|
494
|
+
background: #1e293b;
|
|
495
|
+
border: 1px solid #334155;
|
|
496
|
+
border-radius: 0.5rem;
|
|
497
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
|
498
|
+
overflow: hidden;
|
|
499
|
+
min-width: 180px;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.sf-ctx-item {
|
|
503
|
+
display: flex;
|
|
504
|
+
align-items: center;
|
|
505
|
+
gap: 0.625rem;
|
|
506
|
+
width: 100%;
|
|
507
|
+
padding: 0.625rem 0.75rem;
|
|
508
|
+
font-size: 0.875rem;
|
|
509
|
+
color: #e2e8f0;
|
|
510
|
+
background: transparent;
|
|
511
|
+
border: none;
|
|
512
|
+
cursor: pointer;
|
|
513
|
+
text-align: left;
|
|
514
|
+
transition: background 0.15s;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.sf-ctx-item:hover {
|
|
518
|
+
background: #334155;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.sf-ctx-item-secondary {
|
|
522
|
+
color: #94a3b8;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.sf-ctx-divider {
|
|
526
|
+
border-top: 1px solid #334155;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Toast */
|
|
530
|
+
.sf-toast {
|
|
531
|
+
background: #1e293b;
|
|
532
|
+
border: 1px solid #334155;
|
|
533
|
+
border-radius: 0.5rem;
|
|
534
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
|
535
|
+
padding: 0.75rem 1rem;
|
|
536
|
+
display: flex;
|
|
537
|
+
align-items: center;
|
|
538
|
+
gap: 0.75rem;
|
|
539
|
+
max-width: 20rem;
|
|
540
|
+
color: #e2e8f0;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.sf-toast-close {
|
|
544
|
+
color: #64748b;
|
|
545
|
+
background: transparent;
|
|
546
|
+
border: none;
|
|
547
|
+
cursor: pointer;
|
|
548
|
+
margin-left: 0.5rem;
|
|
549
|
+
transition: color 0.15s;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.sf-toast-close:hover {
|
|
553
|
+
color: #e2e8f0;
|
|
554
|
+
}
|
|
503
555
|
</style>
|
package/package.json
CHANGED