Customize: Increase the target size of the expand/collapse button in the customizer.

To improve accessibility on touch devices increase the size of the button in the collapsed view from 24×28 to 44×45 pixel.

Props celloexpressions.
Fixes #36093.
Built from https://develop.svn.wordpress.org/trunk@37341


git-svn-id: http://core.svn.wordpress.org/trunk@37307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-05-01 20:29:27 +00:00
parent f0962c42ab
commit 9354965638
5 changed files with 21 additions and 9 deletions

View File

@ -1397,9 +1397,10 @@ body.full-overlay-active {
/* Collapse Button */ /* Collapse Button */
.wp-core-ui .wp-full-overlay .collapse-sidebar { .wp-core-ui .wp-full-overlay .collapse-sidebar {
position: fixed; position: fixed;
bottom: 8px; bottom: 0;
right: 10px; right: 0;
padding: 0; padding: 9px 10px 9px 0;
height: 45px;
color: #656a6f; color: #656a6f;
outline: 0; outline: 0;
line-height: 1; line-height: 1;
@ -1461,6 +1462,10 @@ body.full-overlay-active {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar {
padding: 9px 10px;
}
/* rtl:ignore */ /* rtl:ignore */
.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, .wp-full-overlay.collapsed .collapse-sidebar-arrow:before,
.rtl .wp-full-overlay .collapse-sidebar-arrow:before { .rtl .wp-full-overlay .collapse-sidebar-arrow:before {
@ -1503,6 +1508,7 @@ body.full-overlay-active {
width: 300px; width: 300px;
height: 45px; height: 45px;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
background: #eee;
} }
.wp-full-overlay-footer .devices { .wp-full-overlay-footer .devices {

File diff suppressed because one or more lines are too long

View File

@ -1397,9 +1397,10 @@ body.full-overlay-active {
/* Collapse Button */ /* Collapse Button */
.wp-core-ui .wp-full-overlay .collapse-sidebar { .wp-core-ui .wp-full-overlay .collapse-sidebar {
position: fixed; position: fixed;
bottom: 8px; bottom: 0;
left: 10px; left: 0;
padding: 0; padding: 9px 0 9px 10px;
height: 45px;
color: #656a6f; color: #656a6f;
outline: 0; outline: 0;
line-height: 1; line-height: 1;
@ -1461,6 +1462,10 @@ body.full-overlay-active {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar {
padding: 9px 10px;
}
/* rtl:ignore */ /* rtl:ignore */
.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, .wp-full-overlay.collapsed .collapse-sidebar-arrow:before,
.rtl .wp-full-overlay .collapse-sidebar-arrow:before { .rtl .wp-full-overlay .collapse-sidebar-arrow:before {
@ -1503,6 +1508,7 @@ body.full-overlay-active {
width: 300px; width: 300px;
height: 45px; height: 45px;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
background: #eee;
} }
.wp-full-overlay-footer .devices { .wp-full-overlay-footer .devices {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37340'; $wp_version = '4.6-alpha-37341';
/** /**
* 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.