Eyecandy on admin page and fix of functionality on that page
Build LinkLog Development Image / development-image (push) Successful in 11s
Build LinkLog Development Image / development-image (push) Successful in 11s
This commit is contained in:
@@ -451,6 +451,108 @@ main.container {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#admin-controls {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.settings-panel + .settings-panel {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.settings-panel h2 {
|
||||
margin: 0 0 12px;
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, margin 0.2s ease;
|
||||
}
|
||||
|
||||
.settings-panel h2:hover {
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
.settings-panel:nth-of-type(5n+1) h2 {
|
||||
color: var(--mauve);
|
||||
background: var(--surface-1);
|
||||
background: color-mix(in srgb, var(--mauve) 14%, transparent);
|
||||
border-left: 4px solid var(--mauve);
|
||||
}
|
||||
|
||||
.settings-panel:nth-of-type(5n+2) h2 {
|
||||
color: var(--teal);
|
||||
background: var(--surface-1);
|
||||
background: color-mix(in srgb, var(--teal) 14%, transparent);
|
||||
border-left: 4px solid var(--teal);
|
||||
}
|
||||
|
||||
.settings-panel:nth-of-type(5n+3) h2 {
|
||||
color: var(--peach);
|
||||
background: var(--surface-1);
|
||||
background: color-mix(in srgb, var(--peach) 14%, transparent);
|
||||
border-left: 4px solid var(--peach);
|
||||
}
|
||||
|
||||
.settings-panel:nth-of-type(5n+4) h2 {
|
||||
color: var(--blue);
|
||||
background: var(--surface-1);
|
||||
background: color-mix(in srgb, var(--blue) 14%, transparent);
|
||||
border-left: 4px solid var(--blue);
|
||||
}
|
||||
|
||||
.settings-panel:nth-of-type(5n+5) h2 {
|
||||
color: var(--lavender);
|
||||
background: var(--surface-1);
|
||||
background: color-mix(in srgb, var(--lavender) 14%, transparent);
|
||||
border-left: 4px solid var(--lavender);
|
||||
}
|
||||
|
||||
.settings-panel.minimized h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.panel-toggle-btn {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
color: inherit !important;
|
||||
font: inherit !important;
|
||||
font-size: 1rem !important;
|
||||
font-weight: inherit !important;
|
||||
cursor: pointer !important;
|
||||
text-align: left !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.panel-toggle-btn > * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.panel-toggle-btn:focus-visible {
|
||||
outline: 2px solid var(--lavender) !important;
|
||||
outline-offset: 2px !important;
|
||||
}
|
||||
|
||||
.panel-toggle-icon {
|
||||
font-size: 0.75rem;
|
||||
transition: transform 0.2s ease;
|
||||
margin-left: 8px;
|
||||
color: var(--subtext);
|
||||
}
|
||||
|
||||
.settings-panel.minimized .panel-toggle-icon {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.settings-panel.minimized > *:not(h2) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.toolbar label,
|
||||
.settings-panel label {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user