wp_die()
: Update colors and button styling.
see #34388, #31459. git-svn-id: https://develop.svn.wordpress.org/trunk@35327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a1b5f93cd
commit
3d64414d5c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user