summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-06-19 10:23:27 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-06-19 10:23:27 +0200
commitb65ecf82e3757697eccc3f91a0115c8c6e8bf751 (patch)
tree6e2ecdf6eb9c135fc7970646863f12b083523282 /skins
parent2efb5cd52acf37f5c4baa6c731c5e39d1ad6899a (diff)
Use different styles for :required and :focus input fields
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/styles.css7
1 files 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;