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

git-svn-id: https://develop.svn.wordpress.org/trunk@19635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-12-30 22:25:53 +00:00
parent 161b158172
commit 68ac3d9c93
1 changed files with 14 additions and 5 deletions

View File

@ -2176,6 +2176,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 {
@ -2183,13 +2190,15 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
border-color: #666;
}
.button {
background: #f2f2f2 url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad.png) repeat-x scroll left top;
.button:active {
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);
}
.button:active {
background: #eee url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad-active.png) repeat-x scroll left top;
}
<?php if ( 'rtl' == $text_direction ) : ?>
body { font-family: Tahoma, Arial; }
<?php endif; ?>