fix star ratings in firefox

This commit is contained in:
James Koster 2013-02-28 12:19:25 +00:00
parent 356042e655
commit 9e9183367f
2 changed files with 27 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -1767,3 +1767,29 @@ p.demo_store {
} }
} }
} }
// Firefox hack :( (for some reason Firefox doesn't like applying font-size to pseudo-elements containing unicode chars in the content property)
@-moz-document url-prefix() {
.woocommerce .star-rating, .woocommerce-page .star-rating {
width:3.4em;
font-size:1.5em;
}
.woocommerce p.stars, .woocommerce-page p.stars {
width:3.5em;
font-size:1.5em;
a.star-1 {
width:.7em;
}
a.star-2 {
width:1.4em;
}
a.star-3 {
width:2.1em;
}
a.star-4 {
width:2.8em;
}
a.star-5 {
width:3.5em;
}
}
}