From dabe945871056314b781638ab62ea6cbdc4e5fa3 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 8 Nov 2016 10:07:48 +0800 Subject: webui: main.css: Update invalid input styles --- fg21sim/webui/static/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fg21sim/webui') 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; } -- cgit v1.2.2