WordPress.org

Make WordPress Core

Ticket #11651: 11651.static-bg-on-badge.patch

File 11651.static-bg-on-badge.patch, 3.3 KB (added by chexee, 7 years ago)

Switches from CSS3 styling to static background image.

  • wp-admin/css/wp-admin.dev.css

     
    48444844}
    48454845.wp-badge {
    48464846        padding-top: 142px;
    4847         height: 37px;
    4848         width: 160px;
     4847        height: 50px;
     4848        width: 173px;
    48494849
    48504850        font-weight: bold;
    48514851        font-size: 14px;
    48524852        text-align: center;
     4853       
     4854        margin: 0 -5px;
    48534855
    4854         -webkit-border-radius: 3px;
    4855         border-radius: 3px;
    4856 
    4857         background-repeat: no-repeat;
    4858         background-position: center 20px, center center;
     4856        background: url('../images/wp-badge.png') no-repeat;
    48594857}
    48604858.about-wrap .wp-badge {
    48614859        position: absolute;
  • wp-admin/css/colors-classic.dev.css

     
    21422142.wp-badge {
    21432143        color: #fff;
    21442144        text-shadow: 0 -1px 0 rgba(22, 57, 81, 0.3);
    2145 
    2146         -moz-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    2147         -webkit-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    2148         box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    2149 
    2150         background-color: #72a7cf;
    2151         background-image: url(../images/wp-badge.png?ver=20111110);
    2152         background-image: url(../images/wp-badge.png?ver=20111110), -ms-radial-gradient(center, #90c5ee, #72a7cf); /* IE10 */
    2153         background-image: url(../images/wp-badge.png?ver=20111110), -moz-radial-gradient(center, #90c5ee, #72a7cf); /* Firefox */
    2154         background-image: url(../images/wp-badge.png?ver=20111110), -o-radial-gradient(center, #90c5ee, #72a7cf); /* Opera */
    2155         background-image: url(../images/wp-badge.png?ver=20111110), -webkit-gradient(radial, center center, center center, from(#90c5ee), to(#72a7cf)); /* old Webkit */
    2156         background-image: url(../images/wp-badge.png?ver=20111110), -webkit-radial-gradient(center, #90c5ee, #72a7cf); /* new Webkit */
    2157         background-image: url(../images/wp-badge.png?ver=20111110), radial-gradient(center, #90c5ee, #72a7cf); /* proposed W3C Markup */
    21582145}
    21592146
    21602147.about-wrap h2 .nav-tab {
  • wp-admin/css/colors-fresh.dev.css

     
    17691769.wp-badge {
    17701770        color: #fff;
    17711771        text-shadow: 0 -1px 0 rgba(22, 57, 81, 0.3);
    1772 
    1773         -moz-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    1774         -webkit-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    1775         box-shadow: 0 0 5px rgba(0,0,0, 0.34);
    1776 
    1777         background-color: #72a7cf;
    1778         background-image: url(../images/wp-badge.png?ver=20111110);
    1779         background-image: url(../images/wp-badge.png?ver=20111110), -ms-radial-gradient(center, #90c5ee, #72a7cf); /* IE10 */
    1780         background-image: url(../images/wp-badge.png?ver=20111110), -moz-radial-gradient(center, #90c5ee, #72a7cf); /* Firefox */
    1781         background-image: url(../images/wp-badge.png?ver=20111110), -o-radial-gradient(center, #90c5ee, #72a7cf); /* Opera */
    1782         background-image: url(../images/wp-badge.png?ver=20111110), -webkit-gradient(radial, center center, center center, from(#90c5ee), to(#72a7cf)); /* old Webkit */
    1783         background-image: url(../images/wp-badge.png?ver=20111110), -webkit-radial-gradient(center, #90c5ee, #72a7cf); /* new Webkit */
    1784         background-image: url(../images/wp-badge.png?ver=20111110), radial-gradient(center, #90c5ee, #72a7cf); /* proposed W3C Markup */
    17851772}
    17861773
    17871774.about-wrap h2 .nav-tab {