Replace background image with CSS3 gradient in wp_die(), fixes #19701
git-svn-id: http://svn.automattic.com/wordpress/trunk@19635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb84309466
commit
fd53358005
|
@ -2176,6 +2176,13 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
|
||||||
-moz-box-sizing: content-box;
|
-moz-box-sizing: content-box;
|
||||||
-webkit-box-sizing: content-box;
|
-webkit-box-sizing: content-box;
|
||||||
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 {
|
.button:hover {
|
||||||
|
@ -2183,13 +2190,15 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
|
||||||
border-color: #666;
|
border-color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button:active {
|
||||||
background: #f2f2f2 url(<?php echo wp_guess_url(); ?>/wp-admin/images/white-grad.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);
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 ) : ?>
|
<?php if ( 'rtl' == $text_direction ) : ?>
|
||||||
body { font-family: Tahoma, Arial; }
|
body { font-family: Tahoma, Arial; }
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue