aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/css
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-08 10:07:48 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-08 10:16:51 +0800
commitdabe945871056314b781638ab62ea6cbdc4e5fa3 (patch)
tree10bd8563b7d68f73f3364e97b0ec668e06eb09f8 /fg21sim/webui/static/css
parent8a0d58c8295b631ff0aa52020f0f83462138df0e (diff)
downloadfg21sim-dabe945871056314b781638ab62ea6cbdc4e5fa3.tar.bz2
webui: main.css: Update invalid input styles
Diffstat (limited to 'fg21sim/webui/static/css')
-rw-r--r--fg21sim/webui/static/css/main.css8
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;
}