Commit 10c2ead8 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Fix select rendering on Firefox

parent d6a1458c
...@@ -328,11 +328,17 @@ select { ...@@ -328,11 +328,17 @@ select {
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0.4em; padding: 0.4em;
padding-right: 1.5em;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
line-height: 1.4em; line-height: 1.4em;
cursor: pointer; cursor: pointer;
border: none;
background-image: none; background-image: none;
background-color: #FFFFFF; background-color: #FFFFFF;
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='50px' height='50px'><polyline fill-opacity='0.5' points='46.139,15.518 25.166,36.49 4.193,15.519'/></svg>") right no-repeat;
background-position: right .2em top 50%;
background-size: 1em 1em;
color: #1F1F1F; color: #1F1F1F;
border-radius: 0.325em; border-radius: 0.325em;
border-width: 1px; border-width: 1px;
...@@ -345,6 +351,9 @@ select:hover, ...@@ -345,6 +351,9 @@ select:hover,
select:active { select:active {
background-color: #e0e0e0; background-color: #e0e0e0;
} }
select:-moz-focusring {
color: transparent;
}
textarea { textarea {
height: 15em; height: 15em;
width: 100%; width: 100%;
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.47419.7858.59784</string> </value> <value> <string>952.51885.8246.26521</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1469189660.63</float> <float>1469457573.92</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -366,15 +366,28 @@ select { ...@@ -366,15 +366,28 @@ select {
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0.4em; padding: 0.4em;
padding-right: 1.5em;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
line-height: 1.4em; line-height: 1.4em;
cursor: pointer; cursor: pointer;
border: none;
background-image: none; background-image: none;
background-color: @colortextboxbackground; background-color: @colortextboxbackground;
background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='50px' height='50px'><polyline fill-opacity='0.5' points='46.139,15.518 25.166,36.49 4.193,15.519'/></svg>") right no-repeat;
background-position: right .2em top 50%;
background-size: 1em 1em;
color: @colortextboxforeground; color: @colortextboxforeground;
border-radius: @radius; border-radius: @radius;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3);
...@@ -385,6 +398,10 @@ select { ...@@ -385,6 +398,10 @@ select {
&:hover, &:active { &:hover, &:active {
background-color: @colorblocklinkbackground; background-color: @colorblocklinkbackground;
} }
&:-moz-focusring {
color: transparent
}
} }
textarea { textarea {
......
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