Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
51b90925
Commit
51b90925
authored
Feb 01, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Reduce font size on big screen
This will increase the information's density for desktop users
parent
d879d58c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
5 deletions
+33
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
...emplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
+18
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
...emplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
+2
-2
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
...teItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
+13
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
51b90925
...
@@ -177,6 +177,24 @@ select {
...
@@ -177,6 +177,24 @@ select {
font-weight
:
400
;
font-weight
:
400
;
line-height
:
1.5
;
line-height
:
1.5
;
}
}
@media
only
screen
and
(
min-width
:
45em
)
and
(
max-width
:
85em
)
{
body
,
button
,
input
,
textarea
,
select
{
font-size
:
11pt
;
}
}
@media
not
screen
and
(
max-width
:
85em
)
{
body
,
button
,
input
,
textarea
,
select
{
font-size
:
10pt
;
}
}
/**********************************************
/**********************************************
* Inline elements
* Inline elements
**********************************************/
**********************************************/
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
51b90925
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
965.13
250.38999.16264
</string>
</value>
<value>
<string>
965.13
467.35844.48162
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15174
80024.55
</float>
<float>
15174
92960.24
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
51b90925
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
@radius: .325em;
@radius: .325em;
// XXX BUG Generate wrong align on firefox smartphone
// XXX BUG Generate wrong align on firefox smartphone
@headerheight: @font-size * 2 + @margin-size;
@headerheight: @
smartphone-
font-size * 2 + @margin-size;
@headerheight-smartphone: 2 * @headerheight + @margin-size + 1;
@headerheight-smartphone: 2 * @headerheight + @margin-size + 1;
@headerheight-tablet: 2 * @headerheight + 2 * @margin-size + 1;
@headerheight-tablet: 2 * @headerheight + 2 * @margin-size + 1;
...
@@ -81,7 +81,11 @@
...
@@ -81,7 +81,11 @@
**********************************************/
**********************************************/
@font-family: @sans-serif;
@font-family: @sans-serif;
// Increase font size to prevent IOS auto zooming when focusing input field
// Increase font size to prevent IOS auto zooming when focusing input field
@font-size: 12pt;
@smartphone-font-size: 12pt;
// Reduce font size on tablet/desktop,
// as users want to increase information's density on big screen
@tablet-font-size: 11pt;
@desktop-font-size: 10pt;
@font-weight: 400;
@font-weight: 400;
@line-height: 1.5;
@line-height: 1.5;
...
@@ -245,7 +249,13 @@ body {
...
@@ -245,7 +249,13 @@ body {
body, button, input, textarea, select {
body, button, input, textarea, select {
font-family: @font-family;
font-family: @font-family;
font-size: @font-size;
font-size: @smartphone-font-size;
@media @tablet {
font-size: @tablet-font-size;
}
@media @desktop {
font-size: @desktop-font-size;
}
padding: 0;
padding: 0;
margin: 0;
margin: 0;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment