Twenty Twelve: Correct linear-gradient
direction argument syntax.
In CSS, the `linear-gradient` function requires that the direction value explicitly use `to` instead of an implicit `from`. Props: ianbelanger, joyously, man4toman. Fixes #46786. git-svn-id: https://develop.svn.wordpress.org/trunk@45124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bd25bc4473
commit
028e4098c7
@ -143,7 +143,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
border: 1px solid #d2d2d2;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
|
||||
@ -164,7 +164,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
|
||||
background-repeat: repeat-x;
|
||||
color: #5e5e5e;
|
||||
}
|
||||
@ -175,7 +175,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
|
||||
background-repeat: repeat-x;
|
||||
border-color: transparent;
|
||||
box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
|
||||
@ -285,7 +285,7 @@ pre.wp-block-code {
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
}
|
||||
|
||||
.wp-block-button__link:not(.has-text-color) {
|
||||
@ -298,7 +298,7 @@ pre.wp-block-code {
|
||||
background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
@ -307,7 +307,7 @@ pre.wp-block-code {
|
||||
background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
|
||||
background-repeat: repeat-x;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
border: 1px solid #d2d2d2;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
|
||||
@ -366,7 +366,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ article.post-password-required input[type=submit],
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
border: 1px solid #d2d2d2;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
|
||||
@ -285,7 +285,7 @@ article.post-password-required input[type=submit]:hover {
|
||||
background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(top, #f9f9f9, #ebebeb);
|
||||
background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
|
||||
}
|
||||
.menu-toggle:active,
|
||||
.menu-toggle.toggled-on,
|
||||
@ -300,7 +300,7 @@ input[type="reset"]:active {
|
||||
background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(top, #ebebeb, #e1e1e1);
|
||||
background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
|
||||
box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
|
||||
border-color: transparent;
|
||||
}
|
||||
@ -1276,7 +1276,7 @@ article.format-quote .entry-content blockquote {
|
||||
background-image: -ms-linear-gradient(top, #009cee, #0088d0);
|
||||
background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
|
||||
background-image: -o-linear-gradient(top, #009cee, #0088d0);
|
||||
background-image: linear-gradient(top, #009cee, #0088d0);
|
||||
background-image: linear-gradient(to bottom, #009cee, #0088d0);
|
||||
border-radius: 3px;
|
||||
border: 1px solid #007cbd;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user