Make WordPress Core

Changeset 20765


Ignore:
Timestamp:
05/10/2012 07:59:48 PM (12 years ago)
Author:
ryan
Message:

Normalize star ratings markup. Props helenyhou. fixes #20655

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin-rtl.dev.css

    r20763 r20765  
    22752275}
    22762276
    2277 /* plugin-install */
     2277/* Star ratings */
    22782278div.star-holder {
    22792279    background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right;
     
    22832283    float: right;
    22842284}
     2285
    22852286#plugin-information ul#sidemenu {
    22862287    left: auto;
     
    24272428}
    24282429
    2429 .theme-details .theme-rating {
    2430     float: left;
    2431     background: url('../images/stars-rtl.png?ver=20120307') repeat-x bottom right;
    2432 }
    2433 
    2434 .theme-details .theme-rating div {
    2435     background: url('../images/stars-rtl.png?ver=20120307') repeat-x top right;
    2436     float: right;
     2430.theme-details .star-holder {
     2431    float: left;
    24372432}
    24382433
  • trunk/wp-admin/css/wp-admin.dev.css

    r20759 r20765  
    55105510}
    55115511
    5512 .theme-details .theme-rating {
     5512.theme-details .star-holder {
    55135513    margin: 14px 0;
    5514     width: 100px;
    5515     height: 17px;
    55165514    float: right;
    5517     background: url('../images/stars.png?ver=20120307') repeat-x bottom left;
    5518 }
    5519 
    5520 .theme-details .theme-rating div {
    5521     background: url('../images/stars.png?ver=20120307') repeat-x top left;
    5522     height: 17px;
    5523     float: left;
    55245515}
    55255516
     
    71307121}
    71317122
    7132 /* plugin-install */
     7123/* Star ratings */
    71337124div.star-holder {
    71347125    position: relative;
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20751 r20765  
    339339            <?php endif; ?>
    340340            <div class="theme-details">
    341                 <div class="theme-rating" title="<?php echo esc_attr( $num_ratings ); ?>">
    342                     <div style="width:<?php echo esc_attr( intval( $theme->rating ) . 'px' ); ?>;"></div>
     341                <div class="star-holder" title="<?php echo esc_attr( $num_ratings ); ?>">
     342                    <div class="star-rating" style="width:<?php echo esc_attr( intval( $theme->rating ) . 'px' ); ?>;"></div>
    343343                </div>
    344344                <div class="theme-version">
Note: See TracChangeset for help on using the changeset viewer.