Commit 5d801136 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not show non editable input as editable

parent 7aab18e6
......@@ -283,6 +283,13 @@ textarea {
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
outline-offset: 0;
}
input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio]):not([type=color])[readonly="readonly"],
textarea[readonly="readonly"] {
border: none;
box-shadow: none;
padding: 0;
line-height: 1em;
}
input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio]):not([type=color]):active,
textarea:active,
input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio]):not([type=color]):focus,
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.24208.10266.65160</string> </value>
<value> <string>952.24232.30623.62429</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1467798268.0</float>
<float>1467798619.41</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -329,6 +329,13 @@ input:not([type=submit]):not([type=file]):not([type=checkbox]):not([type=radio])
outline-offset: 0;
&[readonly="readonly"] {
border: none;
box-shadow: none;
padding: 0;
line-height: 1em;
}
&:active, &:focus {
// outline: 2px @border-type @colortextboxbackground;
outline-offset: 0;
......
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