Add terrible dark mode for inventory

This commit is contained in:
Dariusz Niemczyk 2023-07-11 18:34:18 +02:00
parent d473901f8c
commit 5ed4128151
No known key found for this signature in database
GPG Key ID: 28DFE7164F497CB6
3 changed files with 41 additions and 15 deletions

View File

@ -1,32 +1,39 @@
.table td.placeholder { .table td.placeholder {
text-align: center; text-align: center;
color: #999; color: #999;
} }
.table td.placeholder a { .table td.placeholder a {
display: block; display: block;
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
font-weight: bold; font-weight: bold;
} }
.containericon { .containericon {
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.containericon span { .containericon span {
padding-left: 0.5rem; padding-left: 0.5rem;
font-weight: bold; font-weight: bold;
} }
.label-item { .label-item {
background: #f5f5f5; background: #f5f5f5;
border-radius: 3px; border-radius: 3px;
display: inline-block; display: inline-block;
} }
.label-item code { .label-item code {
margin: 0em 1em; margin: 0em 1em;
}
a {
color: #81d4fa !important;
}
a.navbar-brand {
color: #fff !important;
} }

14
static/css/theme.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -11,6 +11,11 @@
href="{% static 'css/bootstrap.css' %}" href="{% static 'css/bootstrap.css' %}"
media="screen" media="screen"
/> />
<link
rel="stylesheet"
href="{% static 'css/theme.min.css' %}"
media="(prefers-color-scheme: dark)"
/>
<link <link
rel="stylesheet" rel="stylesheet"
href="{% static 'css/custom.css' %}" href="{% static 'css/custom.css' %}"