Commit ee05f62a authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: add compatibility with the page css class

parent 0cd64e9b
...@@ -1196,6 +1196,9 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1196,6 +1196,9 @@ div[data-gadget-scope='header'] .ui-header ul {
.gadget-content .invisible > .ui-field-contain > label { .gadget-content .invisible > .ui-field-contain > label {
display: none; display: none;
} }
.gadget-content .page {
background-color: #FFFFFF;
}
@media only screen and (min-width: 45em) and (max-width: 85em), not screen and (max-width: 85em) { @media only screen and (min-width: 45em) and (max-width: 85em), not screen and (max-width: 85em) {
.gadget-content .ui-field-contain { .gadget-content .ui-field-contain {
display: flex; display: flex;
......
...@@ -75,7 +75,9 @@ ...@@ -75,7 +75,9 @@
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
<value> <string>text/css</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
...@@ -244,7 +246,7 @@ ...@@ -244,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.53918.32237.3225</string> </value> <value> <string>989.27549.43950.31078</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +264,7 @@ ...@@ -262,7 +264,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1600941690.9</float> <float>1611220748.32</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -1385,6 +1385,10 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1385,6 +1385,10 @@ div[data-gadget-scope='header'] .ui-header {
// used to hide the label of a formbox // used to hide the label of a formbox
display: none; display: none;
} }
.page {
// backward-compatibility: force non transparency on such field
background-color: @colorbackground;
}
@media @tablet, @desktop { @media @tablet, @desktop {
......
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