Dashboard status strip, "Not set up yet" list, sidebar badges and user menu
The dashboard opens with one line saying whether anything needs attention (from the same alert report as the Alerts page) and never claims "all clear" when some checks couldn't run. Widgets with nothing configured are listed once under "Not set up yet" instead of one grey card each. The sidebar shows the active alert count and open maintenance windows next to their pages (and on a closed group), and the foot of the sidebar is one user menu holding theme, privacy and sign-out. One shared alert poll serves the strip and the badge. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aab2f8cb4a
commit
7d56ad18b7
5 files changed
+369
-22
No files matched your search
@@ -85,6 +85,66 @@ html[data-env] .navbar-vertical {
|
||||
border-top: 4px solid var(--hlm-env-color);
|
||||
}
|
||||
|
||||
/* The user menu at the foot of the sidebar: who is signed in, with theme, privacy and sign-out behind one button. */
|
||||
.user-menu {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.user-menu-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
padding: 0.4rem 0.5rem;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
background: color-mix(in srgb, currentColor 7%, transparent);
|
||||
border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
|
||||
border-radius: var(--tblr-border-radius, 4px);
|
||||
}
|
||||
|
||||
.user-menu-toggle:hover,
|
||||
.user-menu-toggle[aria-expanded="true"] {
|
||||
background: color-mix(in srgb, currentColor 14%, transparent);
|
||||
}
|
||||
|
||||
.user-menu-who {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.user-menu-chevron-closed {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.user-menu-list {
|
||||
margin-bottom: 0.4rem;
|
||||
padding: 0.25rem;
|
||||
background: color-mix(in srgb, currentColor 9%, transparent);
|
||||
border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
|
||||
border-radius: var(--tblr-border-radius, 4px);
|
||||
}
|
||||
|
||||
.user-menu-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
padding: 0.4rem 0.5rem;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
background: none;
|
||||
border: 0;
|
||||
border-radius: var(--tblr-border-radius, 4px);
|
||||
}
|
||||
|
||||
.user-menu-item:hover {
|
||||
color: inherit;
|
||||
background: color-mix(in srgb, currentColor 14%, transparent);
|
||||
}
|
||||
|
||||
/* Sidebar submenus: a little tighter than Tabler's dropdown rows, so several open groups still fit on one screen. */
|
||||
.navbar-vertical .dropdown-menu .dropdown-item {
|
||||
padding-top: 0.3rem;
|
||||
|
||||
Reference in new issue
Block a user