Files
MarcWieland 1def618e34 Neue navbar
2026-06-09 00:06:18 +02:00

57 lines
1.6 KiB
CSS

/* Custom scrollbar for the modern drawer */
::deep .modern-drawer .mud-drawer-content::-webkit-scrollbar {
width: 6px;
}
::deep .modern-drawer .mud-drawer-content::-webkit-scrollbar-track {
background: transparent;
}
::deep .modern-drawer .mud-drawer-content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
::deep .modern-drawer .mud-drawer-content::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
::deep .modern-drawer {
border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1) !important;
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* Glassmorphism for the appbar */
::deep .mud-appbar {
background: rgba(15, 23, 42, 0.85) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
/* Smooth transition in main layout content */
::deep .mud-main-content {
transition: padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
background-color: #F8FAFC;
}
/* Blazor Error UI */
#blazor-error-ui {
color-scheme: light only;
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
box-sizing: border-box;
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}