feat: add window with profile and logout buttons. add notification component

This commit is contained in:
2026-05-10 18:43:35 +03:00
parent 84e4fcdaec
commit 01685e3811
7 changed files with 273 additions and 20 deletions

View File

@@ -39,10 +39,55 @@
color: #ff4d4d;
}
.accountWrapper {
position: relative;
}
.account {
display: flex;
align-items: center;
gap: 10px;
background: none;
border: none;
cursor: pointer;
padding: 0;
}
.dropdown {
position: absolute;
top: calc(100% + 12px);
right: 0;
background: var(--bg-card, #1a1a2e);
border: 1px solid var(--glass-border);
border-radius: 10px;
overflow: hidden;
min-width: 180px;
z-index: 100;
display: flex;
flex-direction: column;
}
.dropdownItem {
display: block;
padding: 12px 16px;
font-size: 14px;
color: var(--text-secondary);
text-decoration: none;
background: none;
border: none;
cursor: pointer;
text-align: left;
width: 100%;
transition: background 0.15s, color 0.15s;
}
.dropdownItem:hover {
background: var(--glass-border);
color: var(--text-primary);
}
.dropdownItem.danger:hover {
color: var(--error);
}
.avatar {