summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-25 01:48:20 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-25 01:48:20 +0000
commitca951738d15dec487bc254a3ab63725e590bb4fa (patch)
treeca7b6902e584680dc0e080cb9b9a9071cd84029d /public
parent591d0eae799968578f1fd0d5e3b37a5ee8515d4a (diff)
downloadredmine-ca951738d15dec487bc254a3ab63725e590bb4fa.tar.gz
redmine-ca951738d15dec487bc254a3ab63725e590bb4fa.zip
Highlight the input field that has focus by setting border-color (#31971).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18524 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/application.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 04fc3ae12..edf96d4fe 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -484,6 +484,16 @@ input[type="submit"] {
input[type="submit"]:hover {
background-color: #ddd;
}
+
+input[type="text"]:focus, input[type="text"]:active,
+input[type="password"]:focus, input[type="password"]:active,
+input[type="date"]:focus, input[type="date"]:active,
+select:focus, select:active,
+textarea:focus, textarea:active {
+ border: 1px solid #5ad;
+ outline: none;
+}
+
select[multiple=multiple] {background: #fff; padding-right: initial; height: auto;}
fieldset {border: 1px solid #e4e4e4; margin:0; min-width: inherit;}
legend {color: #333;}