Commit df2af71f authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Only increase the font-size on smartphone

parent f6d97496
...@@ -164,10 +164,27 @@ input, ...@@ -164,10 +164,27 @@ input,
textarea, textarea,
select { select {
font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-size: 12pt;
font-weight: 400; font-weight: 400;
line-height: 1.3; line-height: 1.3;
} }
@media only screen and (min-width: 62em), only screen and (min-width: 28em) and (max-width: 62em) {
body,
button,
input,
textarea,
select {
font-size: 11pt;
}
}
@media only screen and (max-width: 28em) {
body,
button,
input,
textarea,
select {
font-size: 12pt;
}
}
/********************************************** /**********************************************
* Inline elements * Inline elements
**********************************************/ **********************************************/
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.42909.35646.3532</string> </value> <value> <string>952.42944.22072.22442</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1468919909.65</float> <float>1468921365.19</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -56,7 +56,8 @@ ...@@ -56,7 +56,8 @@
* Shared * Shared
**********************************************/ **********************************************/
@font-family: @sans-serif; @font-family: @sans-serif;
@font-size: 12pt; @font-size: 11pt;
@smartphone-font-size: 12pt;
@font-weight: 400; @font-weight: 400;
@line-height: 1.3; @line-height: 1.3;
...@@ -192,7 +193,12 @@ body { ...@@ -192,7 +193,12 @@ body {
body, button, input, textarea, select { body, button, input, textarea, select {
font-family: @font-family; font-family: @font-family;
// letter-spacing: @letter-spacing; // letter-spacing: @letter-spacing;
font-size: @font-size; @media @desktop, @tablet {
font-size: @font-size;
}
@media @smartphone {
font-size: @smartphone-font-size;
}
font-weight: @font-weight; font-weight: @font-weight;
line-height: @line-height; line-height: @line-height;
} }
......
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