Twenty Thirteen: add fallback selectors for older browsers that don't understand `search` input elements. Fixes #23997, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
50f0fe7785
commit
d5dc522dad
|
@ -937,7 +937,8 @@ ul.nav-menu li:hover > ul,
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-header .searchform [type="search"] {
|
.site-header .searchform [type="search"],
|
||||||
|
.site-header .searchform [type="text"] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: url(images/search-icon.png);
|
background-image: url(images/search-icon.png);
|
||||||
background-position: 5px center;
|
background-position: 5px center;
|
||||||
|
@ -954,7 +955,8 @@ ul.nav-menu li:hover > ul,
|
||||||
width: 0;
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-header .searchform [type="search"]:focus {
|
.site-header .searchform [type="search"]:focus,
|
||||||
|
.site-header .searchform [type="text"]:focus {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 2px solid #c3c0ab;
|
border: 2px solid #c3c0ab;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
@ -3185,7 +3187,8 @@ footer.entry-meta {
|
||||||
(-webkit-min-device-pixel-ratio: 1.25),
|
(-webkit-min-device-pixel-ratio: 1.25),
|
||||||
(min-resolution: 120dpi) {
|
(min-resolution: 120dpi) {
|
||||||
|
|
||||||
.site-header .searchform [type="search"] {
|
.site-header .searchform [type="search"],
|
||||||
|
.site-header .searchform [type="text"] {
|
||||||
background-image: url(images/search-icon-2x.png);
|
background-image: url(images/search-icon-2x.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue