]> git.plutz.net Git - cgilite/blobdiff - common.css
do not require class=search for input of type=search
[cgilite] / common.css
index 6f4c484f6457db0f5b9892a0d2ae1763af1eacaa..38eff7da3b957999ff674f26ebe80ca3bf1c4409 100644 (file)
@@ -115,6 +115,7 @@ input + label {
   margin-left: .375em;
 }
 
+input[type="search"] + button.search,
 input.search + button.search {
   width: 2.5em;
   color: transparent;
@@ -125,6 +126,7 @@ input.search + button.search {
   white-space: nowrap;
   overflow: hidden;
 }
+input[type="search"] + button.search:before {
 input.search + button.search:before {
   content: '\1f50d';
   color: #000;