Customizer: Replace usage of `calc()` with `box-sizing: border-box`.

IE8 doesn't support `calc()`.

props afercia.
see #31336.
fixes #32664.
Built from https://develop.svn.wordpress.org/trunk@32821


git-svn-id: http://core.svn.wordpress.org/trunk@32792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-06-17 19:35:28 +00:00
parent 814865ea9e
commit a1f7f4fe17
9 changed files with 21 additions and 19 deletions

View File

@ -210,13 +210,15 @@ body {
} }
#customize-theme-controls .accordion-section-content { #customize-theme-controls .accordion-section-content {
margin: 0;
position: absolute; position: absolute;
right: 100%;
top: 0; top: 0;
width: -webkit-calc(100% - 24px); right: 100%;
width: calc(100% - 24px); width: 100%;
margin: 0;
padding: 12px; padding: 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
.customize-section-description-container { .customize-section-description-container {
@ -1073,7 +1075,6 @@ p.customize-section-description {
display: none; display: none;
padding: 0 8px; padding: 0 8px;
background: #f1f1f1; background: #f1f1f1;
box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;

File diff suppressed because one or more lines are too long

View File

@ -210,13 +210,15 @@ body {
} }
#customize-theme-controls .accordion-section-content { #customize-theme-controls .accordion-section-content {
margin: 0;
position: absolute; position: absolute;
left: 100%;
top: 0; top: 0;
width: -webkit-calc(100% - 24px); left: 100%;
width: calc(100% - 24px); width: 100%;
margin: 0;
padding: 12px; padding: 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
.customize-section-description-container { .customize-section-description-container {
@ -1073,7 +1075,6 @@ p.customize-section-description {
display: none; display: none;
padding: 0 8px; padding: 0 8px;
background: #f1f1f1; background: #f1f1f1;
box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@
} }
.wp-customizer .menu-item-bar .menu-item-handle { .wp-customizer .menu-item-bar .menu-item-handle {
max-width: 100%; width: 100%;
background: #fff; background: #fff;
} }

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@
} }
.wp-customizer .menu-item-bar .menu-item-handle { .wp-customizer .menu-item-bar .menu-item-handle {
max-width: 100%; width: 100%;
background: #fff; background: #fff;
} }

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.3-alpha-32820'; $wp_version = '4.3-alpha-32821';
/** /**
* 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.