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,
textarea,
select {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-size: 12pt;
font-weight: 400;
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
**********************************************/
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.42909.35646.3532</string> </value>
<value> <string>952.42944.22072.22442</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1468919909.65</float>
<float>1468921365.19</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -56,7 +56,8 @@
* Shared
**********************************************/
@font-family: @sans-serif;
@font-size: 12pt;
@font-size: 11pt;
@smartphone-font-size: 12pt;
@font-weight: 400;
@line-height: 1.3;
......@@ -192,7 +193,12 @@ body {
body, button, input, textarea, select {
font-family: @font-family;
// 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;
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