summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-02-20 23:36:47 +0100
committerGitHub <noreply@github.com>2020-02-20 16:36:47 -0600
commit4efc365c024c9dfaca7de087b7479c9630849e07 (patch)
tree7e0f16f7e3f3402f6afd7868da2c77a1f6cadf6e /web_src
parent872f832a1aa2f3ea66232e9c66c9a52276fa14cc (diff)
downloadgitea-4efc365c024c9dfaca7de087b7479c9630849e07.tar.gz
gitea-4efc365c024c9dfaca7de087b7479c9630849e07.zip
fix input[type=file] on dark theme (#10382)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/themes/theme-arc-green.less26
1 files changed, 14 insertions, 12 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 0d2a1a4e98..29821757fa 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -424,32 +424,34 @@ a.ui.basic.green.label:hover {
}
.ui.form input:not([type]),
-.ui.form input[type="text"],
-.ui.form input[type="email"],
-.ui.form input[type="search"],
-.ui.form input[type="password"],
.ui.form input[type="date"],
.ui.form input[type="datetime-local"],
+.ui.form input[type="email"],
+.ui.form input[type="file"],
+.ui.form input[type="number"],
+.ui.form input[type="password"],
+.ui.form input[type="search"],
.ui.form input[type="tel"],
+.ui.form input[type="text"],
.ui.form input[type="time"],
-.ui.form input[type="url"],
-.ui.form input[type="number"] {
+.ui.form input[type="url"] {
color: #9e9e9e;
background: #404552;
border: 2px solid #353945;
}
.ui.form input:not([type]):focus,
-.ui.form input[type="text"]:focus,
-.ui.form input[type="email"]:focus,
-.ui.form input[type="search"]:focus,
-.ui.form input[type="password"]:focus,
.ui.form input[type="date"]:focus,
.ui.form input[type="datetime-local"]:focus,
+.ui.form input[type="email"]:focus,
+.ui.form input[type="file"]:focus,
+.ui.form input[type="number"]:focus,
+.ui.form input[type="password"]:focus,
+.ui.form input[type="search"]:focus,
.ui.form input[type="tel"]:focus,
+.ui.form input[type="text"]:focus,
.ui.form input[type="time"]:focus,
-.ui.form input[type="url"]:focus,
-.ui.form input[type="number"]:focus {
+.ui.form input[type="url"]:focus {
background: #404552;
border: 2px solid #4b505f;
color: #dbdbdb;