aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-11-16 20:46:46 +0000
committerrvelices <rv-github@modusoptimus.com>2011-11-16 20:46:46 +0000
commit24e61772321906f3dd63801d1b11c3421fb86cab (patch)
treefcd1984828d88730052e52df2416c5e8740cd9ba /themes
parent0830ee14134df4b872e470450cfbdd3e2a873b10 (diff)
simplify cross browser rating stars display
git-svn-id: http://piwigo.org/svn/trunk@12639 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/fix-ie7.css3
-rw-r--r--themes/default/js/rating.js3
2 files changed, 1 insertions, 5 deletions
diff --git a/themes/default/fix-ie7.css b/themes/default/fix-ie7.css
index b7e7fa798..d4c343f24 100644
--- a/themes/default/fix-ie7.css
+++ b/themes/default/fix-ie7.css
@@ -23,6 +23,3 @@
display: block;
}
-INPUT[type='submit'] {
- text-indent: 0px !important;
-} \ No newline at end of file
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index 3bc846681..6e382d7a7 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -23,10 +23,9 @@ function makeNiceRatingForm(options)
rateButton.initialRateValue = rateButton.value; // save it as a property
try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6
- if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari
+ rateButton.value = " "; //hide the text (Apple + IE would show text above the stars)
with (rateButton.style)
{
- textIndent = "-50px"; //hide the text FF
marginLeft = marginRight = 0;
}