aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/style.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css
index 3d9206d..2770dd7 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/style.css
+++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css
@@ -2075,6 +2075,31 @@ a.transfer-name {
}
}
+/* ── Minimise to tray ────────────────────────────────────────────────────── */
+
+/* Monochrome on purpose: it sits next to the bell, and the bell's badge is the
+ only thing in this corner allowed to pull the eye. Inherits --nav-text like
+ every other nav control, so it follows the theme rather than carrying its own
+ colour, and the glyph is a stroked `currentColor` icon with nothing to tint. */
+.nav-tray {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ background: none;
+ border: 0;
+ padding: 4px;
+ margin-right: 2px;
+ color: var(--nav-text);
+ cursor: pointer;
+ border-radius: 6px;
+ opacity: 0.75;
+}
+.nav-tray:hover,
+.nav-tray:focus-visible {
+ opacity: 1;
+ background: rgba(255, 255, 255, 0.1);
+}
+
/* ── Notification bell ───────────────────────────────────────────────────── */
.nav-notif {