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

[erp5_web_renderjs_ui] Force safari to render search input as text

parent afc6d80d
No related merge requests found
......@@ -319,6 +319,12 @@ textarea:invalid:focus,
select:invalid:focus {
box-shadow: 0 0 12pt #FF6600;
}
input[type="search"] {
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
select {
cursor: pointer;
-webkit-appearance: none;
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.10791.25269.53947</string> </value>
<value> <string>965.11726.55807.5120</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1517332451.69</float>
<float>1517389540.5</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -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
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