Changeset 20754
- Timestamp:
- 05/09/2012 04:27:24 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 added
- 2 deleted
- 7 edited
-
css/colors-classic.dev.css (modified) (1 diff)
-
css/colors-fresh.dev.css (modified) (1 diff)
-
css/wp-admin-rtl.dev.css (modified) (1 diff)
-
css/wp-admin.dev.css (modified) (2 diffs)
-
images/gray-star.png (deleted)
-
images/star.png (deleted)
-
images/stars-rtl.png (added)
-
includes/class-wp-plugin-install-list-table.php (modified) (1 diff)
-
includes/plugin-install.php (modified) (1 diff)
-
includes/update-core.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.dev.css
r20749 r20754 1927 1927 1928 1928 /* Install Plugins */ 1929 .star-average,1930 .star.star-rating {1931 background-color: #fc0;1932 }1933 1934 div.star.select:hover {1935 background-color: #d00;1936 }1937 1938 div.star img {1939 border-left: 1px solid #fff;1940 border-right: 1px solid #fff;1941 }1942 1943 1929 #plugin-information .fyi ul { 1944 1930 background-color: #eaf3fa; -
trunk/wp-admin/css/colors-fresh.dev.css
r20749 r20754 1543 1543 1544 1544 /* Install Plugins */ 1545 .star-average,1546 .star.star-rating {1547 background-color: #fc0;1548 }1549 1550 div.star.select:hover {1551 background-color: #d00;1552 }1553 1554 div.star img {1555 border-left: 1px solid #fff;1556 border-right: 1px solid #fff;1557 }1558 1559 .widefat div.star img {1560 border-left: 1px solid #f9f9f9;1561 border-right: 1px solid #f9f9f9;1562 }1563 1564 1545 #plugin-information .fyi ul { 1565 1546 background-color: #eaf3fa; -
trunk/wp-admin/css/wp-admin-rtl.dev.css
r20749 r20754 2288 2288 2289 2289 /* plugin-install */ 2290 div.star { 2291 left: auto; 2292 right: 0; 2293 letter-spacing: 0; 2294 } 2295 2296 .star img, div.star a, div.star a:hover, div.star a:visited { 2297 right: auto; 2298 left: 0; 2299 } 2300 2290 div.star-holder { 2291 background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right; 2292 } 2293 div.star-holder .star-rating { 2294 background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x top right; 2295 float: right; 2296 } 2301 2297 #plugin-information ul#sidemenu { 2302 2298 left: auto; -
trunk/wp-admin/css/wp-admin.dev.css
r20749 r20754 7136 7136 7137 7137 /* plugin-install */ 7138 /* NOTE: the following CSS rules(.star*) are taken more or less straight from the bbPress rating plugin. */7139 7138 div.star-holder { 7140 7139 position: relative; 7141 height: 1 9px;7140 height: 17px; 7142 7141 width: 100px; 7143 font-size: 19px; 7142 background: url('../images/stars.png?ver=20120307') repeat-x bottom left; 7143 } 7144 7145 div.star-holder .star-rating { 7146 background: url('../images/stars.png?ver=20120307') repeat-x top left; 7147 height: 17px; 7148 float: left; 7144 7149 } 7145 7150 … … 7147 7152 font-weight: normal; 7148 7153 margin: 6px 0 0; 7149 }7150 7151 div.star {7152 height: 100%;7153 position: absolute;7154 top: 0;7155 left: 0;7156 background-color: transparent;7157 letter-spacing: 1ex;7158 border: none;7159 }7160 7161 .star1 { width: 20%; }7162 .star2 { width: 40%; }7163 .star3 { width: 60%; }7164 .star4 { width: 80%; }7165 .star5 { width: 100%; }7166 7167 .star img,7168 div.star a,7169 div.star a:hover,7170 div.star a:visited {7171 display: block;7172 position: absolute;7173 right: 0;7174 border: none;7175 text-decoration: none;7176 }7177 7178 div.star img {7179 width: 19px;7180 height: 19px;7181 7154 } 7182 7155 -
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r20751 r20754 219 219 <div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 220 220 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $plugin['rating'] ) ); ?>px"></div> 221 <?php222 $color = get_user_option('admin_color');223 if ( empty($color) || 'fresh' == $color )224 $star_url = admin_url( 'images/gray-star.png?v=20110615' ); // 'Fresh' Gray star for list tables225 else226 $star_url = admin_url( 'images/star.png?v=20110615' ); // 'Classic' Blue star227 ?>228 <div class="star star5"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '5 stars' ) ?>" /></div>229 <div class="star star4"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '4 stars' ) ?>" /></div>230 <div class="star star3"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '3 stars' ) ?>" /></div>231 <div class="star star2"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '2 stars' ) ?>" /></div>232 <div class="star star1"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '1 star' ) ?>" /></div>233 221 </div> 234 222 </td> -
trunk/wp-admin/includes/plugin-install.php
r20752 r20754 344 344 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?>"> 345 345 <div class="star star-rating" style="width: <?php echo esc_attr( str_replace( ',', '.', $api->rating ) ); ?>px"></div> 346 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div>347 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div>348 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('3 stars') ?>" /></div>349 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('2 stars') ?>" /></div>350 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('1 star') ?>" /></div>351 346 </div> 352 347 <small><?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?></small> -
trunk/wp-admin/includes/update-core.php
r20728 r20754 360 360 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/separator.gif', 361 361 // 3.4 362 'wp-admin/images/gray-star.png', 362 363 'wp-admin/images/logo-login.png', 364 'wp-admin/images/star.png', 363 365 'wp-admin/index-extra.php', 364 366 'wp-admin/network/index-extra.php',
Note: See TracChangeset
for help on using the changeset viewer.