Commit 9704b9b5 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Force safari to render search input as text

parent afc6d80d
...@@ -319,6 +319,12 @@ textarea:invalid:focus, ...@@ -319,6 +319,12 @@ textarea:invalid:focus,
select:invalid:focus { select:invalid:focus {
box-shadow: 0 0 12pt #FF6600; box-shadow: 0 0 12pt #FF6600;
} }
input[type="search"] {
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
select { select {
cursor: pointer; cursor: pointer;
-webkit-appearance: none; -webkit-appearance: none;
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>965.10791.25269.53947</string> </value> <value> <string>965.11726.55807.5120</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1517332451.69</float> <float>1517389540.5</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -415,6 +415,14 @@ input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio]) ...@@ -415,6 +415,14 @@ input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio])
} }
} }
// Force safari to render search input as text
// https://stackoverflow.com/questions/34802552/safari-input-type-search-reset-normalize
input[type="search"] {
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
// http://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes // http://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes
select { select {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment