mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 02:42:28 +00:00
Add unread DM badge to profile button
This commit is contained in:
1 parent
52a1b886f1
commit
225c6a1674
6 files changed
+121
-6
No files matched your search
@@ -235,6 +235,23 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
#profileUnreadDot {
|
||||
position: absolute;
|
||||
top: var(--space-3xs);
|
||||
right: var(--space-3xs);
|
||||
width: calc(var(--space-2xs) + var(--space-3xs));
|
||||
height: calc(var(--space-2xs) + var(--space-3xs));
|
||||
border-radius: 999px;
|
||||
border: var(--border-width-hairline) solid var(--color-page);
|
||||
background-color: var(--status-danger);
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#profileUnreadDot.is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-icon-toggle[data-theme-state="light"]:hover,
|
||||
.header-icon-toggle[data-theme-state="light"]:focus-visible {
|
||||
color: var(--color-text);
|
||||
|
||||
Reference in new issue
Block a user