WordPress.org

Make WordPress Core

Changeset 19635


Ignore:
Timestamp:
12/30/2011 10:25:53 PM (6 years ago)
Author:
azaozz
Message:

Replace background image with CSS3 gradient in wp_die(), fixes #19701

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r19613 r19635  
    21772177            -webkit-box-sizing: content-box;
    21782178            box-sizing: content-box;
     2179            background-color: #f5f5f5;
     2180            background-image: -ms-linear-gradient(top, #ffffff, #f2f2f2);
     2181            background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
     2182            background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
     2183            background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2));
     2184            background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
     2185            background-image: linear-gradient(top, #ffffff, #f2f2f2);
    21792186        }
    21802187
     
    21842191        }
    21852192
    2186         .button {
    2187             background: #f2f2f2 url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad.png) repeat-x scroll left top;
    2188         }
    2189 
    21902193        .button:active {
    2191             background: #eee url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad-active.png) repeat-x scroll left top;
    2192         }
     2194            background-image: -ms-linear-gradient(top, #f2f2f2, #ffffff);
     2195            background-image: -moz-linear-gradient(top, #f2f2f2, #ffffff);
     2196            background-image: -o-linear-gradient(top, #f2f2f2, #ffffff);
     2197            background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff));
     2198            background-image: -webkit-linear-gradient(top, #f2f2f2, #ffffff);
     2199            background-image: linear-gradient(top, #f2f2f2, #ffffff);
     2200        }
     2201
    21932202        <?php if ( 'rtl' == $text_direction ) : ?>
    21942203        body { font-family: Tahoma, Arial; }
Note: See TracChangeset for help on using the changeset viewer.