From b65ecf82e3757697eccc3f91a0115c8c6e8bf751 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 19 Jun 2014 10:23:27 +0200 Subject: Use different styles for :required and :focus input fields --- skins/larry/styles.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 2f547121b..6b3b6f21c 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -61,8 +61,6 @@ textarea { input[type="text"]:focus, input[type="password"]:focus, -input[type="text"]:required, -input[type="password"]:required, input.button:focus, textarea:focus { border-color: #4787b1; @@ -73,6 +71,11 @@ textarea:focus { outline: none; } +input[type="text"]:required, +input[type="password"]:required { + border-color: #4787b1; +} + input.placeholder, textarea.placeholder { color: #aaa; -- cgit v1.2.3