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 {
margin: 0;
position: absolute;
right: 100%;
top: 0;
width: -webkit-calc(100% - 24px);
width: calc(100% - 24px);
padding: 12px;
right: 100%;
width: 100%;
margin: 0;
padding: 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.customize-section-description-container {
@ -1073,7 +1075,6 @@ p.customize-section-description {
display: none;
padding: 0 8px;
background: #f1f1f1;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-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 {
margin: 0;
position: absolute;
left: 100%;
top: 0;
width: -webkit-calc(100% - 24px);
width: calc(100% - 24px);
padding: 12px;
left: 100%;
width: 100%;
margin: 0;
padding: 12px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.customize-section-description-container {
@ -1073,7 +1075,6 @@ p.customize-section-description {
display: none;
padding: 0 8px;
background: #f1f1f1;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-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 {
max-width: 100%;
width: 100%;
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 {
max-width: 100%;
width: 100%;
background: #fff;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @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.