Customizer theme switcher: Fix some esoteric breakage in iOS Safari.

This manifested in only being able to switch your theme once in the customizer before the "Change" button would appear to stop responding, though a switch to "Preview" and back to "Customize" would reveal the theme switcher after all. Animated positioning appears to be the problem here. The animations are not critical to the experience, particularly on touch+smaller screen devices.

props iseulde.
see #31794.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-04-10 02:44:29 +00:00
parent 0d4b29ffb9
commit 95ce53a090
5 changed files with 35 additions and 3 deletions

View File

@ -242,6 +242,11 @@ body {
transition: right .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
}
.ios .control-panel-back {
-webkit-transition: right 0s;
transition: right 0s;
}
.collapsed .control-panel-back {
display: none;
}
@ -304,6 +309,12 @@ body {
transition: right ease-in-out .18s;
}
.ios #customize-info,
.ios #customize-theme-controls > ul > .accordion-section {
-webkit-transition: right 0s;
transition: right 0s;
}
.in-sub-panel #customize-info,
.in-sub-panel #customize-theme-controls > ul > .accordion-section {
right: -300px;
@ -329,6 +340,11 @@ body {
transition: right ease-in-out .18s;
}
.ios #customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
-webkit-transition: right 0s;
transition: right 0s;
}
.control-section.control-panel .accordion-section-title .panel-title {
font-size: 20px;
font-weight: 200;

File diff suppressed because one or more lines are too long

View File

@ -242,6 +242,11 @@ body {
transition: left .18s ease-in-out, color .1s ease-in-out, background .1s ease-in-out;
}
.ios .control-panel-back {
-webkit-transition: left 0s;
transition: left 0s;
}
.collapsed .control-panel-back {
display: none;
}
@ -304,6 +309,12 @@ body {
transition: left ease-in-out .18s;
}
.ios #customize-info,
.ios #customize-theme-controls > ul > .accordion-section {
-webkit-transition: left 0s;
transition: left 0s;
}
.in-sub-panel #customize-info,
.in-sub-panel #customize-theme-controls > ul > .accordion-section {
left: -300px;
@ -329,6 +340,11 @@ body {
transition: left ease-in-out .18s;
}
.ios #customize-theme-controls .control-section.current-panel > h3.accordion-section-title {
-webkit-transition: left 0s;
transition: left 0s;
}
.control-section.control-panel .accordion-section-title .panel-title {
font-size: 20px;
font-weight: 200;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta4-32102';
$wp_version = '4.2-beta4-32103';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.