From ca951738d15dec487bc254a3ab63725e590bb4fa Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 25 Sep 2019 01:48:20 +0000 Subject: 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 --- public/stylesheets/application.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'public') 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;} -- cgit v1.2.3