`wp_die()`: Update colors and button styling.

see #34388, #31459.

Built from https://develop.svn.wordpress.org/trunk@35327


git-svn-id: http://core.svn.wordpress.org/trunk@35293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-10-21 15:23:26 +00:00
parent 4d0759afae
commit 8803c05db5
2 changed files with 30 additions and 13 deletions

View File

@ -2555,15 +2555,25 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
font-size: 14px ; font-size: 14px ;
} }
a { a {
color: #21759B; color: #0073aa;
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
color: #D54E21; color: #00a0d2;
}
a:focus {
color: #124964;
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
outline: none;
} }
.button { .button {
background: #f7f7f7; background: #f7f7f7;
border: 1px solid #cccccc; border: 1px solid #ccc;
color: #555; color: #555;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
@ -2581,35 +2591,42 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08); -webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08); box-shadow: 0 1px 0 #ccc;
vertical-align: top; vertical-align: top;
} }
.button.button-large { .button.button-large {
height: 29px; height: 30px;
line-height: 28px; line-height: 28px;
padding: 0 12px; padding: 0 12px 2px;
} }
.button:hover, .button:hover,
.button:focus { .button:focus {
background: #fafafa; background: #fafafa;
border-color: #999; border-color: #999;
color: #222; color: #23282d;
} }
.button:focus { .button:focus {
-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2); -webkit-box-shadow:
box-shadow: 1px 1px 1px rgba(0,0,0,.2); 0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
outline: none;
} }
.button:active { .button:active {
background: #eee; background: #eee;
border-color: #999; border-color: #999;
color: #333; -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
-webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
-webkit-transform: translateY(1px);
-ms-transform: translateY(1px);
transform: translateY(1px);
} }
<?php <?php

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-35326'; $wp_version = '4.4-alpha-35327';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.