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:
Lance Willett 2013-04-10 23:19:55 +00:00
parent 50f0fe7785
commit d5dc522dad
1 changed files with 6 additions and 3 deletions

View File

@ -937,7 +937,8 @@ ul.nav-menu li:hover > ul,
top: 1px;
}
.site-header .searchform [type="search"] {
.site-header .searchform [type="search"],
.site-header .searchform [type="text"] {
background-color: transparent;
background-image: url(images/search-icon.png);
background-position: 5px center;
@ -954,7 +955,8 @@ ul.nav-menu li:hover > ul,
width: 0;
}
.site-header .searchform [type="search"]:focus {
.site-header .searchform [type="search"]:focus,
.site-header .searchform [type="text"]:focus {
background-color: #fff;
border: 2px solid #c3c0ab;
cursor: text;
@ -3185,7 +3187,8 @@ footer.entry-meta {
(-webkit-min-device-pixel-ratio: 1.25),
(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);
}