Commit 9a8e414a authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Add a box shadow on the page submit button

parent 080305b6
...@@ -1013,7 +1013,9 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1013,7 +1013,9 @@ div[data-gadget-scope='header'] .ui-header ul {
border-radius: 0.325em; border-radius: 0.325em;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #FF6600;
min-width: 8em; min-width: 8em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
} }
.gadget-content input[type='submit']:hover, .gadget-content input[type='submit']:hover,
...@@ -1032,7 +1034,9 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1032,7 +1034,9 @@ div[data-gadget-scope='header'] .ui-header ul {
border-radius: 0.325em; border-radius: 0.325em;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #767676;
min-width: 8em; min-width: 8em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
} }
.gadget-content button[name='action_update']:hover, .gadget-content button[name='action_update']:hover,
.gadget-content button[name='action_update']:focus { .gadget-content button[name='action_update']:focus {
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>979.63643.1243.63317</string> </value> <value> <string>979.63653.41704.8345</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1574431058.05</float> <float>1574431490.02</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -109,6 +109,8 @@ ...@@ -109,6 +109,8 @@
@invalid-border: @border-size @border-type @coloraccent; @invalid-border: @border-size @border-type @coloraccent;
@invalid-box-shadow: 0 0 @double-margin-size @coloraccent; @invalid-box-shadow: 0 0 @double-margin-size @coloraccent;
@button-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.20);
@foreground-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20); @foreground-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
@quarter-margin-size: 1.5pt; @quarter-margin-size: 1.5pt;
...@@ -1167,9 +1169,12 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1167,9 +1169,12 @@ div[data-gadget-scope='header'] .ui-header {
border-radius: @radius; border-radius: @radius;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: @backgroundcolor;
min-width: 8em; min-width: 8em;
box-shadow: @button-box-shadow;
&:hover, &:focus { &:hover, &:focus {
background-color: lighten(@backgroundcolor, 10%); background-color: lighten(@backgroundcolor, 10%);
} }
......
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