From 260b3b07fbaca8f1ca34b333aa69556a2b664f11 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 10 May 2012 19:59:48 +0000 Subject: [PATCH] Normalize star ratings markup. Props helenyhou. fixes #20655 git-svn-id: http://core.svn.wordpress.org/trunk@20765 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/wp-admin-rtl.dev.css | 11 +++-------- wp-admin/css/wp-admin.dev.css | 13 ++----------- .../includes/class-wp-theme-install-list-table.php | 4 ++-- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/wp-admin/css/wp-admin-rtl.dev.css b/wp-admin/css/wp-admin-rtl.dev.css index 00c7c3ff77..db7ab4d901 100644 --- a/wp-admin/css/wp-admin-rtl.dev.css +++ b/wp-admin/css/wp-admin-rtl.dev.css @@ -2274,7 +2274,7 @@ body.login { float: right; } -/* plugin-install */ +/* Star ratings */ div.star-holder { background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right; } @@ -2282,6 +2282,7 @@ div.star-holder .star-rating { background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x top right; float: right; } + #plugin-information ul#sidemenu { left: auto; right: 0; @@ -2426,14 +2427,8 @@ h3.tb { float: right; } -.theme-details .theme-rating { +.theme-details .star-holder { float: left; - background: url('../images/stars-rtl.png?ver=20120307') repeat-x bottom right; -} - -.theme-details .theme-rating div { - background: url('../images/stars-rtl.png?ver=20120307') repeat-x top right; - float: right; } .feature-filter .feature-group { diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index 7b42ebe73a..1cc35596ee 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -5509,18 +5509,9 @@ body.full-overlay-active { float: left; } -.theme-details .theme-rating { +.theme-details .star-holder { margin: 14px 0; - width: 100px; - height: 17px; float: right; - background: url('../images/stars.png?ver=20120307') repeat-x bottom left; -} - -.theme-details .theme-rating div { - background: url('../images/stars.png?ver=20120307') repeat-x top left; - height: 17px; - float: left; } .theme-details .theme-description { @@ -7129,7 +7120,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } display: block; } -/* plugin-install */ +/* Star ratings */ div.star-holder { position: relative; height: 17px; diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index be846991a8..d16a10854e 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -338,8 +338,8 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
-
-
+
+