aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/default-colors.css
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-29 09:57:24 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-29 09:57:24 +0000
commit7e35acd1cd9e75678dea76ca37e61d275ad210a0 (patch)
tree1dbe82dd0277ba932e425b7c0c2ed06c983856a9 /template/yoga/default-colors.css
parent9c8639640ef38bda946f425232e53b526b9406d1 (diff)
fix bug 484 : (again) fix rateButtons display broken by svn:1491
fix radio and checkbox display with Opera and IE (related to bug 490) git-svn-id: http://piwigo.org/svn/trunk@1515 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/default-colors.css')
-rw-r--r--template/yoga/default-colors.css20
1 files changed, 17 insertions, 3 deletions
diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css
index 7e7eecc6d..d2766b061 100644
--- a/template/yoga/default-colors.css
+++ b/template/yoga/default-colors.css
@@ -35,10 +35,24 @@ SELECT, TEXTAREA {
color:black;
background-color: #d3d3d3; /* lightgrey */
}
-/*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 */
+ background-color: #f5f5f5; /* whitesmoke */
+}
+
+/* some theme set a border on INPUT which is not pretty for radio/checkbox */
+INPUT[type="radio"], INPUT[type="checkbox"] {
+ border: none; /* <= Opera needs this */
+}
+
+INPUT.radio, INPUT.checkbox {
+ border: none; /* <= IE6 needs this */
+}
+
+/* rate buttons displayed like links */
+INPUT.rateButton, INPUT.rateButtonSelected {
+ color:inherit;
+ background-color:transparent; /* Konqueror doesn't accept transparent here */
}
.errors { /* Errors display */