From 7e35acd1cd9e75678dea76ca37e61d275ad210a0 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 29 Jul 2006 09:57:24 +0000 Subject: 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 --- template/yoga/default-colors.css | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'template/yoga/default-colors.css') 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 */ -- cgit v1.2.3