diff --git a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/rating/rating.css b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/rating/rating.css index 58e3691b6b25..9e73d50692b1 100644 --- a/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/rating/rating.css +++ b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/rating/rating.css @@ -127,20 +127,22 @@ ul.locked a { display: block; height: 100%; width: 100%; + /* Remove default background for Firefox */ background: none; } -/* Remove default background for */ +/* Remove default background for Chrome & Safari */ .average-rating::-webkit-meter-bar { background: none; border: none; } - +/* Add the stars for Chrome & Safari */ .average-rating::-webkit-meter-optimum-value { background: url("star.gif") left repeat-x; } +/* Add the stars for Firefox */ .average-rating:-moz-meter-optimum::-moz-meter-bar { background: url("star.gif") left repeat-x; } \ No newline at end of file