1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 19:49:54 +02:00

[ticket/11010] Change input type to search for search forms

Change input type to search for search forms
Replace search placeholder JS with placeholder attribute
Add style for search placeholder

PHPBB3-11010
This commit is contained in:
Vjacheslav Trushkin
2013-04-09 23:04:07 +03:00
committed by Senky
parent 06b7e424fc
commit 178f23d4d8
9 changed files with 34 additions and 8 deletions

View File

@@ -286,6 +286,15 @@ textarea.inputbox {
width: auto !important;
}
input[type="search"] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
display: none;
}
/* Form button styles
---------------------------------------- */
input.button1, input.button2 {