Commit 080305b6 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Add text shadow to white text on clear background

parent 73546980
...@@ -732,6 +732,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -732,6 +732,7 @@ div[data-gadget-scope='header'] .ui-header {
flex-flow: row wrap; flex-flow: row wrap;
width: 100%; width: 100%;
color: #FFFFFF; color: #FFFFFF;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
background-color: #0E81C2; background-color: #0E81C2;
} }
@media not screen and (max-width: 85em) { @media not screen and (max-width: 85em) {
...@@ -743,6 +744,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -743,6 +744,7 @@ div[data-gadget-scope='header'] .ui-header {
div[data-gadget-scope='header'] .ui-header button, div[data-gadget-scope='header'] .ui-header button,
div[data-gadget-scope='header'] .ui-header a { div[data-gadget-scope='header'] .ui-header a {
color: #FFFFFF; color: #FFFFFF;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
transition: background-color 0.2s ease-out; transition: background-color 0.2s ease-out;
} }
div[data-gadget-scope='header'] .ui-header button:hover, div[data-gadget-scope='header'] .ui-header button:hover,
...@@ -1012,6 +1014,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1012,6 +1014,7 @@ div[data-gadget-scope='header'] .ui-header ul {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
min-width: 8em; min-width: 8em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
} }
.gadget-content input[type='submit']:hover, .gadget-content input[type='submit']:hover,
.gadget-content input[type='submit']:focus { .gadget-content input[type='submit']:focus {
...@@ -1194,6 +1197,7 @@ div[data-gadget-scope='header'] .ui-header ul { ...@@ -1194,6 +1197,7 @@ div[data-gadget-scope='header'] .ui-header ul {
.gadget-content form .ui-field-contain > span { .gadget-content form .ui-field-contain > span {
background-color: #FF6600; background-color: #FF6600;
color: #f8fff3; color: #f8fff3;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
left: 25%; left: 25%;
position: absolute; position: absolute;
bottom: 110%; bottom: 110%;
...@@ -1614,6 +1618,7 @@ div[data-gadget-scope='notification'] button { ...@@ -1614,6 +1618,7 @@ div[data-gadget-scope='notification'] button {
width: 180pt; width: 180pt;
padding: 12pt; padding: 12pt;
color: #f8fff3; color: #f8fff3;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-radius: 0.325em; border-radius: 0.325em;
} }
div[data-gadget-scope='notification'] button.success { div[data-gadget-scope='notification'] button.success {
......
...@@ -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.51829.41265.35805</string> </value> <value> <string>979.63643.1243.63317</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>1574429069.76</float> <float>1574431058.05</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;
@foreground-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
@quarter-margin-size: 1.5pt; @quarter-margin-size: 1.5pt;
@half-margin-size: 3pt; @half-margin-size: 3pt;
@margin-size: 6pt; @margin-size: 6pt;
...@@ -932,10 +934,12 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -932,10 +934,12 @@ div[data-gadget-scope='header'] .ui-header {
} }
color: @white; color: @white;
text-shadow: @foreground-text-shadow;
background-color: @colorsubheaderbackground; background-color: @colorsubheaderbackground;
button, a { button, a {
color: @white; color: @white;
text-shadow: @foreground-text-shadow;
transition: background-color @transition-timing; transition: background-color @transition-timing;
&:hover, &:active { &:hover, &:active {
background-color: lighten(@colorheaderbackground, 20%); background-color: lighten(@colorheaderbackground, 20%);
...@@ -1182,6 +1186,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1182,6 +1186,7 @@ div[data-gadget-scope='header'] .ui-header {
// Dialog page template main submit button // Dialog page template main submit button
input[type='submit'] { input[type='submit'] {
.renderPageSubmitButton(@coloraccent); .renderPageSubmitButton(@coloraccent);
text-shadow: @foreground-text-shadow;
} }
// Dialog page template update button // Dialog page template update button
button[name='action_update'] { button[name='action_update'] {
...@@ -1405,6 +1410,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -1405,6 +1410,7 @@ div[data-gadget-scope='header'] .ui-header {
@media @desktop, @tablet { @media @desktop, @tablet {
background-color: @coloraccent; background-color: @coloraccent;
color: @colorsubheaderlink; color: @colorsubheaderlink;
text-shadow: @foreground-text-shadow;
left: 25%; left: 25%;
position: absolute; position: absolute;
bottom: 110%; bottom: 110%;
...@@ -1886,6 +1892,7 @@ div[data-gadget-scope='notification'] { ...@@ -1886,6 +1892,7 @@ div[data-gadget-scope='notification'] {
width: @panelwidth; width: @panelwidth;
padding: @double-margin-size; padding: @double-margin-size;
color: @colorsubheaderlink; color: @colorsubheaderlink;
text-shadow: @foreground-text-shadow;
border-radius: @border-radius; border-radius: @border-radius;
&.success { &.success {
background-color: @backgroundgreen; background-color: @backgroundgreen;
......
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