aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/default-colors.css
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/default-colors.css')
-rw-r--r--template/yoga/default-colors.css24
1 files changed, 15 insertions, 9 deletions
diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css
index c7779075d..7e7eecc6d 100644
--- a/template/yoga/default-colors.css
+++ b/template/yoga/default-colors.css
@@ -21,19 +21,25 @@
}
/* Tables & forms */
-INPUT, SELECT, TEXTAREA {
- color:black;
+
+/* IE <= 6 is so bad with this that you can't merge with the following rule */
+INPUT[type="text"], INPUT[type="password"], INPUT[type="button"],
+INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] {
+ color:black;
+ background-color: #d3d3d3; /* lightgrey */
}
-INPUT, SELECT, TEXTAREA, FORM .nofocus {
- background-color: #d3d3d3; /* lightgrey */
+
+INPUT.text, INPUT.password, INPUT.button,
+INPUT.submit, INPUT.reset, INPUT.file,
+SELECT, TEXTAREA {
+ color:black;
+ background-color: #d3d3d3; /* lightgrey */
}
-FORM .focus {
+/*INPUT.text.focus, INPUT.password.focus, INPUT.button.focus,
+INPUT.submit.focus, INPUT.reset.focus, INPUT.file.focus,*/
+INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
background-color: #f5f5f5; /* whitesmoke */
}
-INPUT[type="radio"] { /* for Opera */
- border: none;
- background-color: transparent;
-}
.errors { /* Errors display */
color: red;