mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
add common pallete for public side
This commit is contained in:
parent
72deeb58ff
commit
fd1b63fca0
@ -32,7 +32,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#error_msg {
|
#error_msg {
|
||||||
color: #f00;
|
color: var(--color-text-red);
|
||||||
}
|
}
|
||||||
|
|
||||||
#login {
|
#login {
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#noscript {
|
#noscript {
|
||||||
color: #f00;
|
color: var(--color-text-red);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
24
src/webui/www/public/css/palette.css
Normal file
24
src/webui/www/public/css/palette.css
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Adaptive color palette #19844 */
|
||||||
|
|
||||||
|
/* Default rules */
|
||||||
|
* {
|
||||||
|
--color-text-red: hsl(0deg 100% 65%);
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
color-scheme: light dark;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light corrections */
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
:root {
|
||||||
|
color-scheme: light;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark corrections */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
}
|
@ -6,6 +6,7 @@
|
|||||||
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
|
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
|
||||||
<link rel="icon" type="image/png" href="images/qbittorrent32.png" />
|
<link rel="icon" type="image/png" href="images/qbittorrent32.png" />
|
||||||
<link rel="icon" type="image/svg+xml" href="images/qbittorrent-tray.svg" />
|
<link rel="icon" type="image/svg+xml" href="images/qbittorrent-tray.svg" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/palette.css?v=${CACHEID}" />
|
||||||
<link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}" />
|
<link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}" />
|
||||||
<noscript>
|
<noscript>
|
||||||
<link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}" />
|
<link rel="stylesheet" type="text/css" href="css/noscript.css?v=${CACHEID}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user