Commit 157e2c07 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: use margin-left instead of padding-left and reuse margin...

erp5_web_renderjs_ui: use margin-left instead of padding-left and reuse margin size to avoid values hardcoded
parent cd491aa4
...@@ -1005,7 +1005,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1005,7 +1005,7 @@ div[data-gadget-scope='header'] .ui-header ul {
animation: fadein 0.2s ease-out; animation: fadein 0.2s ease-out;
} }
.gadget-content div[data-gadget-scope='erp5_form'] > a { .gadget-content div[data-gadget-scope='erp5_form'] > a {
padding-left: 3pt; margin-left: 3pt;
} }
.gadget-content input[type='submit'] { .gadget-content input[type='submit'] {
padding: 6pt; padding: 6pt;
...@@ -1096,7 +1096,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1096,7 +1096,7 @@ div[data-gadget-scope='header'] .ui-header ul {
font-size: 150%; font-size: 150%;
} }
.gadget-content .ui-content-header-plain > h3 > a { .gadget-content .ui-content-header-plain > h3 > a {
padding-left: 3pt; margin-left: 3pt;
} }
.gadget-content .worklist-empty { .gadget-content .worklist-empty {
max-width: 442px; max-width: 442px;
...@@ -1184,7 +1184,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1184,7 +1184,7 @@ div[data-gadget-scope='header'] .ui-header ul {
color: hsl(0, 0%, 42%); color: hsl(0, 0%, 42%);
} }
.gadget-content .ui-field-contain > label > a { .gadget-content .ui-field-contain > label > a {
padding-left: 3pt; margin-left: 3pt;
} }
.gadget-content .required > .ui-field-contain > label { .gadget-content .required > .ui-field-contain > label {
font-weight: bold; font-weight: bold;
...@@ -1396,7 +1396,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button { ...@@ -1396,7 +1396,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
} }
} }
.document_table .ui-table-header h1 > a { .document_table .ui-table-header h1 > a {
padding-left: 3pt; margin-left: 3pt;
} }
.document_table .ui-table-header button { .document_table .ui-table-header button {
padding: 3pt; padding: 3pt;
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>988.2056.8848.16469</string> </value> <value> <string>988.2627.57081.47803</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1605606512.05</float> <float>1605640720.58</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -1192,7 +1192,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1192,7 +1192,7 @@ div[data-gadget-scope='header'] .ui-header {
div[data-gadget-scope='erp5_form'] { div[data-gadget-scope='erp5_form'] {
& > a { & > a {
padding-left: 3pt; margin-left: @half-margin-size;
} }
} }
...@@ -1272,7 +1272,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1272,7 +1272,7 @@ div[data-gadget-scope='header'] .ui-header {
.ui-content-header-plain { .ui-content-header-plain {
font-size: 150%; font-size: 150%;
& > h3 > a { & > h3 > a {
padding-left: 3pt; margin-left: @half-margin-size;
} }
} }
.worklist-empty { .worklist-empty {
...@@ -1373,7 +1373,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1373,7 +1373,7 @@ div[data-gadget-scope='header'] .ui-header {
color: @colorlabel; color: @colorlabel;
& > a { & > a {
// links inside label when dev mode is enable // links inside label when dev mode is enable
padding-left: 3pt; margin-left: @half-margin-size;
} }
} }
} }
...@@ -1645,7 +1645,7 @@ div[data-gadget-scope='erp5_searchfield'] { ...@@ -1645,7 +1645,7 @@ div[data-gadget-scope='erp5_searchfield'] {
} }
} }
& > a { & > a {
padding-left: 3pt; margin-left: @half-margin-size;
} }
} }
......
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