mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-04 04:18:13 +10:00
- Add app version to sidebar footer with link to GitHub release - CSS cache busting: append version query string to static assets - Remove LogEvents; improve startup logging with version, env, paths, uptime - Settings modal: collapsible groups with search-aware expand/collapse - Release workflow and publish script: pass version from tag for builds
133 lines
2.4 KiB
CSS
133 lines
2.4 KiB
CSS
.page {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main.main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.content-wrapper {
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: var(--app-content-max-width, 52rem);
|
|
margin: 0 auto;
|
|
padding-left: var(--app-spacing-md, 1rem);
|
|
padding-right: var(--app-spacing-md, 1rem);
|
|
}
|
|
|
|
@media (min-width: 641px) {
|
|
.content-wrapper {
|
|
padding-left: var(--app-spacing-xl, 2rem);
|
|
padding-right: var(--app-spacing-xl, 2rem);
|
|
}
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient(180deg, #052767 0%, #3a0647 70%);
|
|
}
|
|
|
|
.top-row {
|
|
background-color: rgba(0, 0, 0, 0.35);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
justify-content: flex-end;
|
|
min-height: 3.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-row ::deep a,
|
|
.top-row ::deep .btn-link {
|
|
white-space: nowrap;
|
|
margin-left: 1.5rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.top-row ::deep a:hover,
|
|
.top-row ::deep .btn-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.top-row ::deep a:first-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (max-width: 640.98px) {
|
|
.top-row {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.top-row ::deep a,
|
|
.top-row ::deep .btn-link {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.content-wrapper {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 641px) {
|
|
.page {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 260px;
|
|
min-width: 260px;
|
|
height: 100vh;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.top-row {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.top-row.auth ::deep a:first-child {
|
|
flex: 1;
|
|
text-align: right;
|
|
width: 0;
|
|
}
|
|
}
|
|
|
|
#blazor-error-ui {
|
|
color-scheme: light only;
|
|
background: #fff3cd;
|
|
border-top: 1px solid #ffc107;
|
|
bottom: 0;
|
|
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
|
|
box-sizing: border-box;
|
|
display: none;
|
|
left: 0;
|
|
padding: 0.75rem 1.25rem;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#blazor-error-ui .dismiss {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 1rem;
|
|
top: 0.75rem;
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
#blazor-error-ui .dismiss:hover {
|
|
opacity: 1;
|
|
}
|