X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/96bc8e88cf39086a9e0a883b8e2c311fe82a5e97..refs/tags/wordpress-3.3.1-scripts:/wp-includes/functions.php diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6b5aa505..521b0dd0 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2896,6 +2896,13 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; + background-color: #f5f5f5; + background-image: -ms-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2f2f2)); + background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); + background-image: linear-gradient(top, #ffffff, #f2f2f2); } .button:hover { @@ -2903,13 +2910,15 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { border-color: #666; } - .button { - background: #f2f2f2 url(/wp-admin/images/white-grad.png) repeat-x scroll left top; - } - .button:active { - background: #eee url(/wp-admin/images/white-grad-active.png) repeat-x scroll left top; + background-image: -ms-linear-gradient(top, #f2f2f2, #ffffff); + background-image: -moz-linear-gradient(top, #f2f2f2, #ffffff); + background-image: -o-linear-gradient(top, #f2f2f2, #ffffff); + background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ffffff)); + background-image: -webkit-linear-gradient(top, #f2f2f2, #ffffff); + background-image: linear-gradient(top, #f2f2f2, #ffffff); } + body { font-family: Tahoma, Arial; }