Buttons: More consistent focus styling.

props afercia.
fixes #32915.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-10-28 20:17:27 +00:00
parent fc440ef0f0
commit 831f3d4105
5 changed files with 15 additions and 23 deletions

View File

@ -162,12 +162,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus,
.wp-core-ui .button-link:focus {
-webkit-box-shadow:
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);
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-core-ui .button.active,
@ -184,14 +181,13 @@ TABLE OF CONTENTS:
}
.wp-core-ui .button.active:focus {
border-color: #5b9dd9;
-webkit-box-shadow:
inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
0 0 3px rgba( 0, 115, 170, .8 );
box-shadow:
inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-core-ui .button[disabled],

File diff suppressed because one or more lines are too long

View File

@ -162,12 +162,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus,
.wp-core-ui .button-link:focus {
-webkit-box-shadow:
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);
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-core-ui .button.active,
@ -184,14 +181,13 @@ TABLE OF CONTENTS:
}
.wp-core-ui .button.active:focus {
border-color: #5b9dd9;
-webkit-box-shadow:
inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
0 0 3px rgba( 0, 115, 170, .8 );
box-shadow:
inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ),
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(0, 115, 170, .8);
0 0 3px rgba( 0, 115, 170, .8 );
}
.wp-core-ui .button[disabled],

File diff suppressed because one or more lines are too long

View File

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