From 40cfe242c166334c7eeaa757e754416a2b50fd1c Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 12 Jan 2021 15:28:13 +0000 Subject: [PATCH] erp5_web_renderjs_ui: fixup invalid class selector See https://lab.nexedi.com/nexedi/erp5/commit/ea219b746f32e972532ce1b3bcb9680dbc9110b6 --- .../web_page_module/rjs_gadget_erp5_nojqm_css.css | 6 +++--- .../web_page_module/rjs_gadget_erp5_nojqm_css.xml | 8 +++++--- .../portal_skins/erp5_web_renderjs_ui/erp5css.less.txt | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css index f9af989733..8d71580227 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css @@ -8,7 +8,7 @@ * Shared **********************************************/ /********************************************** -* http://meyerweb.com/eric/tools/css/reset/ +* http://meyerweb.com/eric/tools/css/reset/ * v2.0 | 20110126 * License: none (public domain) **********************************************/ @@ -1183,7 +1183,7 @@ div[data-gadget-scope='header'] .ui-header ul { padding-left: 24pt; } } -.gadget-content .ui-field-contain > label:not(:is-invalid) { +.gadget-content .ui-field-contain > label:not(.is-invalid) { color: hsl(0, 0%, 42%); } .gadget-content .required > .ui-field-contain > label { @@ -3275,4 +3275,4 @@ hmtl .ui-icon-carat-u::before { } .ui-icon-clone::before { content: "\f24d"; -} \ No newline at end of file +} diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml index 24bb22901c..704f396a7c 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml @@ -75,7 +75,9 @@ </item> <item> <key> <string>content_type</string> </key> - <value> <string>text/css</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>default_reference</string> </key> @@ -244,7 +246,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>987.16008.2576.23808</string> </value> + <value> <string>989.18940.32400.648</string> </value> </item> <item> <key> <string>state</string> </key> @@ -262,7 +264,7 @@ </tuple> <state> <tuple> - <float>1602511207.11</float> + <float>1610465136.37</float> <string>UTC</string> </tuple> </state> diff --git a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt index 46a5b27c84..77f023c0b8 100644 --- a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt +++ b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt @@ -1363,7 +1363,7 @@ div[data-gadget-scope='header'] .ui-header { //Label .ui-field-contain { - & > label:not(:is-invalid) { + & > label:not(.is-invalid) { color: @colorlabel; } -- 2.30.9