Changeset 0.22.7 (#149)

This commit is contained in:
2026-03-04 10:44:42 +00:00
parent d8e0664fa3
commit 389e47b0f9
62 changed files with 6820 additions and 1476 deletions

View File

@@ -8,26 +8,24 @@
position: relative;
display: flex;
align-items: center;
margin-left: auto;
margin-right: 8px;
}
.notif-bell {
background: none;
border: none;
cursor: pointer;
padding: 4px 6px;
border-radius: 6px;
color: var(--text-secondary, #888);
padding: 5px;
border-radius: 7px;
color: var(--text-3);
display: flex;
align-items: center;
position: relative;
transition: background 0.15s;
transition: background 0.15s, color 0.15s;
}
.notif-bell:hover {
background: var(--hover-bg, rgba(128, 128, 128, 0.1));
color: var(--text-primary, #ddd);
background: var(--bg-hover);
color: var(--text);
}
.notif-badge {
@@ -41,7 +39,7 @@
font-weight: 700;
text-align: center;
border-radius: 8px;
background: var(--accent-red, #e55);
background: var(--danger);
color: #fff;
padding: 0 4px;
pointer-events: none;
@@ -56,8 +54,8 @@
right: 0;
width: 360px;
max-height: 480px;
background: var(--bg-surface, #1e1e1e);
border: 1px solid var(--border-color, #333);
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
z-index: 1000;
@@ -69,7 +67,7 @@
justify-content: space-between;
align-items: center;
padding: 10px 14px;
border-bottom: 1px solid var(--border-color, #333);
border-bottom: 1px solid var(--border);
font-weight: 600;
font-size: 13px;
}
@@ -77,7 +75,7 @@
.notif-mark-all {
background: none;
border: none;
color: var(--accent, #5b9);
color: var(--accent);
cursor: pointer;
font-size: 12px;
padding: 2px 6px;
@@ -85,7 +83,7 @@
}
.notif-mark-all:hover {
background: var(--hover-bg, rgba(128, 128, 128, 0.1));
background: var(--bg-hover);
}
.notif-dd-list {
@@ -95,14 +93,14 @@
.notif-dd-footer {
padding: 8px 14px;
border-top: 1px solid var(--border-color, #333);
border-top: 1px solid var(--border);
text-align: center;
}
.notif-view-all {
background: none;
border: none;
color: var(--accent, #5b9);
color: var(--accent);
cursor: pointer;
font-size: 12px;
}
@@ -120,17 +118,17 @@
padding: 10px 14px;
cursor: pointer;
transition: background 0.15s;
border-bottom: 1px solid var(--border-color, #222);
border-bottom: 1px solid var(--border);
}
.notif-item:hover,
.notif-panel-item:hover {
background: var(--hover-bg, rgba(128, 128, 128, 0.08));
background: var(--bg-hover);
}
.notif-item.notif-unread,
.notif-panel-item.notif-unread {
background: var(--notif-unread-bg, rgba(91, 187, 153, 0.06));
background: var(--accent-dim);
}
.notif-dot {
@@ -138,7 +136,7 @@
width: 18px;
font-size: 10px;
margin-top: 3px;
color: var(--accent, #5b9);
color: var(--accent);
}
.notif-item:not(.notif-unread) .notif-dot,
@@ -154,12 +152,12 @@
.notif-title {
font-size: 13px;
line-height: 1.4;
color: var(--text-primary, #ddd);
color: var(--text);
}
.notif-detail {
font-size: 12px;
color: var(--text-secondary, #888);
color: var(--text-2);
margin-top: 2px;
line-height: 1.3;
overflow: hidden;
@@ -176,7 +174,7 @@
.notif-empty {
padding: 32px 14px;
text-align: center;
color: var(--text-secondary, #888);
color: var(--text-2);
font-size: 13px;
}
@@ -192,7 +190,7 @@
display: flex;
gap: 6px;
padding: 8px 12px;
border-bottom: 1px solid var(--border-color, #333);
border-bottom: 1px solid var(--border);
}
.notif-panel-list {
@@ -225,14 +223,14 @@
}
.notif-delete:hover {
color: var(--accent-red, #e55);
background: var(--hover-bg, rgba(128, 128, 128, 0.1));
color: var(--danger);
background: var(--bg-hover);
}
.notif-panel-more {
padding: 8px 12px;
text-align: center;
border-top: 1px solid var(--border-color, #333);
border-top: 1px solid var(--border);
}
/* ── Mobile ────────────────────────────────── */