Twenty Fourteen: clean up vendor prefixes. Props iamtakashi, fixes #25305.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-09-19 17:42:11 +00:00
parent c86b02b4c3
commit b531d76266
1 changed files with 45 additions and 38 deletions

View File

@ -38,8 +38,8 @@ table, caption, tbody, tfoot, thead, tr, th, td {
html { html {
font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */ overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ -webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ -ms-text-size-adjust: 100%;
} }
body { body {
background: #fff; background: #fff;
@ -362,14 +362,16 @@ input[type="submit"]:active {
} }
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {
box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0; /* Addresses excess padding in IE8/9 */ padding: 0; /* Addresses excess padding in IE8/9 */
} }
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
-moz-box-sizing: content-box; -webkit-box-sizing: content-box;
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ -moz-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
} }
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
-webkit-appearance: none; -webkit-appearance: none;
@ -387,8 +389,9 @@ input[type="password"],
textarea { textarea {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px; border-radius: 2px;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
color: #2b2b2b; color: #2b2b2b;
} }
input[type="text"]:focus, input[type="text"]:focus,
@ -439,11 +442,8 @@ button,
html input[type="button"], html input[type="button"],
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-transition: all 0.2s ease-out; -webkit-transition: all 200ms ease-out;
-moz-transition: all 0.2s ease-out; transition: all 200ms ease-out;
-ms-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
} }
/* Alignment */ /* Alignment */
@ -545,8 +545,9 @@ body {
z-index: 2; z-index: 2;
} }
.content-sidebar { .content-sidebar {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
padding: 36px 10px 0; padding: 36px 10px 0;
padding: 3.6rem 1.0rem 0; padding: 3.6rem 1.0rem 0;
position: relative; position: relative;
@ -642,8 +643,9 @@ body {
} }
.search-toggle { .search-toggle {
background-color: #24890d; background-color: #24890d;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
color: #fff; color: #fff;
display: block; display: block;
float: left; float: left;
@ -684,8 +686,9 @@ body {
left: 50%; left: 50%;
} }
.search-box-wrapper { .search-box-wrapper {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
position: absolute; position: absolute;
width: 100%; width: 100%;
z-index: 2; z-index: 2;
@ -728,8 +731,9 @@ body {
padding-left: 0; padding-left: 0;
} }
.primary-navigation li { .primary-navigation li {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
display: inline-block; display: inline-block;
height: 48px; height: 48px;
height: 4.8rem; height: 4.8rem;
@ -835,8 +839,9 @@ body {
} }
.mobile-navigation { .mobile-navigation {
background-color: #000; background-color: #000;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px; font-size: 14px;
font-size: 1.4rem; font-size: 1.4rem;
font-weight: 700; font-weight: 700;
@ -1158,11 +1163,8 @@ footer.entry-meta .entry-title a:hover {
height: auto; height: auto;
} }
.site .tag-links a { .site .tag-links a {
-webkit-transition: all 0s ease-out; -webkit-transition: all 0ms ease-out;
-moz-transition: all 0s ease-out; transition: all 0ms ease-out;
-ms-transition: all 0s ease-out;
-o-transition: all 0s ease-out;
transition: all 0s ease-out;
} }
.tag-links a { .tag-links a {
background-color: #767676; background-color: #767676;
@ -1275,8 +1277,9 @@ footer.entry-meta .entry-title a:hover {
#featured-content { #featured-content {
background: #000 url(images/pattern-dark.png) repeat 0 0; background: #000 url(images/pattern-dark.png) repeat 0 0;
background-size: 5px 5px; background-size: 5px 5px;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%; width: 100%;
} }
#featured-content .hentry { #featured-content .hentry {
@ -1353,8 +1356,9 @@ footer.entry-meta .entry-title a:hover {
.ephemera { .ephemera {
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
clear: both; clear: both;
padding: 23px 10px 0; padding: 23px 10px 0;
padding: 2.3rem 1.0rem 0; padding: 2.3rem 1.0rem 0;
@ -1547,8 +1551,9 @@ img.aligncenter,
max-width: 100%; max-width: 100%;
} }
.wp-caption-text { .wp-caption-text {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 12px; font-size: 12px;
font-size: 1.2rem; font-size: 1.2rem;
font-style: italic; font-style: italic;
@ -1721,8 +1726,9 @@ span > object {
.image-navigation .previous-image, .image-navigation .previous-image,
.image-navigation .next-image { .image-navigation .next-image {
border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
float: none; float: none;
padding: 11px 10px; padding: 11px 10px;
padding: 1.1rem 1.0rem; padding: 1.1rem 1.0rem;
@ -2293,8 +2299,9 @@ span > object {
----------------------------------------------- */ ----------------------------------------------- */
.site-footer .widget-area { .site-footer .widget-area {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;
} }
.site-footer .widget { .site-footer .widget {
float: left; float: left;