Files
FireworksApp/staticfiles/project_admin/admin.css
T

176 lines
3.3 KiB
CSS

:root {
--primary: #8abaff;
--secondary: #263a76;
--accent: #b69cff;
--primary-fg: #10182d;
--body-fg: #edf3ff;
--body-bg: #090e1d;
--body-quiet-color: #aab9d8;
--body-loud-color: #fff;
--header-color: #edf3ff;
--header-branding-color: #edf3ff;
--header-bg: #111a31;
--header-link-color: #dbe8ff;
--breadcrumbs-fg: #c8d7f5;
--breadcrumbs-link-fg: #fff;
--breadcrumbs-bg: #192848;
--link-fg: #9ec8ff;
--link-hover-color: #d1bdff;
--link-selected-fg: #fff;
--hairline-color: #2b3d68;
--border-color: #30446f;
--error-fg: #ff9ea8;
--message-success-bg: #104a40;
--message-warning-bg: #5a431c;
--darkened-bg: #13203b;
--selected-bg: #283c68;
--selected-row: #1a2b4e;
--button-fg: #121a34;
--button-bg: #9ac8ff;
--button-hover-bg: #c6adff;
}
body {
background: radial-gradient(circle at 8% 0, #263a76 0, transparent 31rem), #090e1d;
}
#header {
padding: 18px 32px;
background: linear-gradient(135deg, #172443, #10182d);
border-bottom: 1px solid #2b3d68;
}
#site-name a {
font-weight: 900;
letter-spacing: 0.06em;
}
#site-name span {
margin-left: 0.45rem;
color: #aab9d8;
font-size: 0.58em;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.module, div.breadcrumbs, #changelist-filter, .inline-group, .submit-row {
border-color: #2b3d68 !important;
background: #111a31 !important;
box-shadow: 0 1rem 3rem rgba(1, 3, 12, 0.3333333333);
}
.module caption, .module h2, #changelist-filter h2 {
background: #1a2b4e !important;
color: #edf3ff !important;
}
#content {
padding: 28px 32px;
}
input, textarea, select {
color: #edf3ff !important;
border-color: #3d5487 !important;
background: #0a1123 !important;
}
input:focus, textarea:focus, select:focus {
border-color: #9ac8ff !important;
box-shadow: 0 0 0 2px rgba(154, 200, 255, 0.3333333333) !important;
}
.button, button, input[type=submit], input[type=button], .submit-row input {
border-radius: 7px !important;
background: linear-gradient(135deg, #99c8ff, #c6adff) !important;
color: #121a34 !important;
font-weight: 800 !important;
}
#changelist table thead th {
background: #172443;
}
#changelist table tbody tr:nth-child(odd) {
background: #101a31;
}
#changelist table tbody tr:nth-child(even) {
background: #14203a;
}
.messagelist li {
border-radius: 8px;
}
a:link, a:visited {
color: #9ec8ff;
}
a:hover {
color: #d1bdff;
}
.classification-preview {
margin: 24px 0;
padding: 20px;
border: 1px solid #2b3d68;
border-radius: 10px;
background: #101a31;
}
.classification-preview h2 {
margin-top: 0;
}
.preview-meta {
color: #aab9d8;
}
.preview-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.preview-row {
display: flex;
justify-content: space-between;
gap: 12px;
margin: 8px 0;
padding: 10px;
border-left: 3px solid #78a4f0;
background: #162441;
}
.preview-row--firework {
border-color: #f5aa44;
}
.preview-row--speech {
border-color: #fb7185;
}
.raw-json {
margin-top: 18px;
border-top: 1px solid #2b3d68;
padding-top: 14px;
}
.raw-json summary {
cursor: pointer;
color: #9ec8ff;
font-weight: 800;
}
.raw-json pre {
overflow: auto;
max-height: 28rem;
padding: 12px;
color: #dce7ff;
background: #090f20;
}
@media (max-width: 700px) {
.preview-grid {
grid-template-columns: 1fr;
}
}