mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-10 01:17:19 +00:00
Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
This commit is contained in:
commit
4403e65053
@ -62,9 +62,37 @@
|
|||||||
ol li {
|
ol li {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.if-logged-in { display: none; }
|
.if-logged-in { display: none; }
|
||||||
.if-logged-in-admin { display: none; }
|
.if-logged-in-admin { display: none; }
|
||||||
|
|
||||||
|
/* The below only gets used if it is supported */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
/* Invert invert lightness but not hue */
|
||||||
|
html {
|
||||||
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Set explicit background color (necessary for Firefox) */
|
||||||
|
html {
|
||||||
|
background-color: #111;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Override Boostrap theme here to give more contrast. The black turns to white by the filter. */
|
||||||
|
.form-control {
|
||||||
|
color: black !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Revert the invert for the navbar */
|
||||||
|
button, div.navbar {
|
||||||
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Revert the revert for the dropdowns */
|
||||||
|
ul.dropdown-menu {
|
||||||
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<link rel="stylesheet" href="/admin/assets/bootstrap/css/bootstrap-theme.min.css">
|
<link rel="stylesheet" href="/admin/assets/bootstrap/css/bootstrap-theme.min.css">
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user