mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 06:21:19 +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:
committed by
Senky
parent
06b7e424fc
commit
178f23d4d8
@@ -995,6 +995,14 @@ fieldset.quick-login input.inputbox {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.inputbox:-moz-placeholder {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.inputbox::-webkit-input-placeholder {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.inputbox:hover {
|
||||
border-color: #11A3EA;
|
||||
}
|
||||
@@ -1004,6 +1012,15 @@ fieldset.quick-login input.inputbox {
|
||||
color: #0F4987;
|
||||
}
|
||||
|
||||
.inputbox:focus:-moz-placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.inputbox:focus::-webkit-input-placeholder {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/* Form button styles
|
||||
---------------------------------------- */
|
||||
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user