This commit is contained in:
2026-03-04 02:30:30 +01:00
parent bbc50d624a
commit a04bb2dc73
3 changed files with 131 additions and 35 deletions

View File

@@ -133,7 +133,7 @@ body {
.topbar-logo {
height: 40px;
width: auto;
filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12));
filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
margin-right: 10px;
}
.brand img {
@@ -207,7 +207,7 @@ body {
grid-column: 1 / -1;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 16px;
border-radius: 18px;
padding: 10px 18px;
display: flex;
align-items: center;
@@ -216,18 +216,6 @@ body {
box-shadow: var(--shadow);
min-height: 64px;
}
.topbar::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 16px;
padding: 1px;
background: linear-gradient(135deg, rgba(255, 107, 74, 0.35), rgba(15, 180, 164, 0.25), rgba(255, 107, 74, 0.2));
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.topbar { position: relative; }
.page-title {
margin: 0;
@@ -239,6 +227,70 @@ body {
flex-wrap: wrap;
}
.dropdown {
position: relative;
display: inline-flex;
}
.dropdown-toggle {
background: transparent;
}
.dropdown-menu {
position: absolute;
top: 110%;
right: 0;
min-width: 220px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 12px;
box-shadow: var(--shadow);
padding: 8px;
display: none;
z-index: 30;
}
.dropdown-menu-right { right: 0; left: auto; }
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
display: block;
}
.dropdown-item {
display: block;
padding: 8px 10px;
border-radius: 10px;
color: var(--text);
text-decoration: none;
font-weight: 600;
}
.dropdown-item:hover {
background: var(--panel-2);
}
.dropdown-divider {
height: 1px;
background: var(--line);
margin: 6px 4px;
}
.dropdown-header {
padding: 6px 10px;
font-size: 0.85rem;
color: var(--muted);
}
.avatar-btn {
background: transparent;
border: none;
padding: 0;
cursor: pointer;
}
.avatar {
width: 34px;
height: 34px;
border-radius: 50%;
background: var(--accent);
color: #ffffff;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 700;
}
.module-subnav {
display: flex;
gap: 10px;