WordPress.org

Make WordPress Core

Changeset 19636


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/wp-includes/functions.php

    r19417 r19636  
    28972897            -webkit-box-sizing: content-box;
    28982898            box-sizing: content-box;
     2899            background-color: #f5f5f5;
     2900            background-image: -ms-linear-gradient(top, #ffffff, #f2f2f2);
     2901            background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
     2902            background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
     2903            background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2));
     2904            background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
     2905            background-image: linear-gradient(top, #ffffff, #f2f2f2);
    28992906        }
    29002907
     
    29042911        }
    29052912
    2906         .button {
    2907             background: #f2f2f2 url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad.png) repeat-x scroll left top;
    2908         }
    2909 
    29102913        .button:active {
    2911             background: #eee url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad-active.png) repeat-x scroll left top;
    2912         }
     2914            background-image: -ms-linear-gradient(top, #f2f2f2, #ffffff);
     2915            background-image: -moz-linear-gradient(top, #f2f2f2, #ffffff);
     2916            background-image: -o-linear-gradient(top, #f2f2f2, #ffffff);
     2917            background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff));
     2918            background-image: -webkit-linear-gradient(top, #f2f2f2, #ffffff);
     2919            background-image: linear-gradient(top, #f2f2f2, #ffffff);
     2920        }
     2921
    29132922        <?php if ( 'rtl' == $text_direction ) : ?>
    29142923        body { font-family: Tahoma, Arial; }
Note: See TracChangeset for help on using the changeset viewer.