Skip to content

Commit

Permalink
fix input[type=file] on dark theme (go-gitea#10382)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored Feb 20, 2020
1 parent 872f832 commit 4efc365
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions web_src/less/themes/theme-arc-green.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4efc365

Please sign in to comment.