diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-08 10:07:48 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-08 10:16:51 +0800 |
commit | dabe945871056314b781638ab62ea6cbdc4e5fa3 (patch) | |
tree | 10bd8563b7d68f73f3364e97b0ec668e06eb09f8 | |
parent | 8a0d58c8295b631ff0aa52020f0f83462138df0e (diff) | |
download | fg21sim-dabe945871056314b781638ab62ea6cbdc4e5fa3.tar.bz2 |
webui: main.css: Update invalid input styles
-rw-r--r-- | fg21sim/webui/static/css/main.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fg21sim/webui/static/css/main.css b/fg21sim/webui/static/css/main.css index 8e687ba..7a673a6 100644 --- a/fg21sim/webui/static/css/main.css +++ b/fg21sim/webui/static/css/main.css @@ -217,6 +217,14 @@ input:valid { } input:invalid { border-color: #d9534f; + box-shadow: 0 0 2px #d9534f; +} +input[type="radio"]:invalid, +input[type="checkbox"]:invalid { + box-shadow: 0 0 1px 2px #d9534f; +} +input:focus { + box-shadow: none; } |