mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-08 22:07:53 +00:00
Declare login page is compatible with dark theme
This commit is contained in:
parent
db56a895b9
commit
0b542d2003
@ -1,9 +1,3 @@
|
||||
@import url("palette.css");
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
@ -12,26 +6,6 @@ body {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
input[type="button"],
|
||||
input[type="submit"],
|
||||
button,
|
||||
select {
|
||||
border: 1px solid var(--color-border-default);
|
||||
border-radius: 3px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
input[type="button"],
|
||||
input[type="submit"],
|
||||
button {
|
||||
cursor: pointer;
|
||||
margin: 4px 0;
|
||||
padding: 4px 16px;
|
||||
}
|
||||
|
||||
.col {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
@ -54,7 +28,7 @@ button {
|
||||
}
|
||||
|
||||
#error_msg {
|
||||
color: var(--color-text-red);
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
#login {
|
||||
|
@ -1,10 +1,8 @@
|
||||
@import url("palette.css");
|
||||
|
||||
#formplace {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#noscript {
|
||||
color: var(--color-text-red);
|
||||
color: #f00;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -1,25 +0,0 @@
|
||||
/* Adaptive color palette */
|
||||
|
||||
/* Default rules */
|
||||
* {
|
||||
--color-text-red: hsl(0deg 100% 65%);
|
||||
--color-border-default: hsl(0deg 0% 85%);
|
||||
}
|
||||
|
||||
: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;
|
||||
}
|
||||
}
|
@ -3,6 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<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/svg+xml" href="images/qbittorrent-tray.svg" />
|
||||
|
@ -418,7 +418,6 @@
|
||||
<file>private/views/transferlist.html</file>
|
||||
<file>public/css/login.css</file>
|
||||
<file>public/css/noscript.css</file>
|
||||
<file>public/css/palette.css</file>
|
||||
<file>public/images/qbittorrent-tray.svg</file>
|
||||
<file>public/images/qbittorrent32.png</file>
|
||||
<file>public/index.html</file>
|
||||
|
Loading…
Reference in New Issue
Block a user