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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
2df6275d
Commit
2df6275d
authored
Jul 26, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Align center group's field on the left group's field
parent
3d0114c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
8 deletions
+17
-8
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
+5
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_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
+10
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
View file @
2df6275d
...
@@ -917,9 +917,6 @@ div[data-gadget-scope='header'] .ui-header ul a {
...
@@ -917,9 +917,6 @@ div[data-gadget-scope='header'] .ui-header ul a {
display
:
inline-block
;
display
:
inline-block
;
width
:
50%
;
width
:
50%
;
}
}
.gadget-content
.left
{
padding-right
:
2%
;
}
.gadget-content
.right
{
.gadget-content
.right
{
padding-left
:
2%
;
padding-left
:
2%
;
}
}
...
@@ -944,6 +941,11 @@ div[data-gadget-scope='header'] .ui-header ul a {
...
@@ -944,6 +941,11 @@ div[data-gadget-scope='header'] .ui-header ul a {
flex
:
3
;
flex
:
3
;
}
}
}
}
@media
only
screen
and
(
min-width
:
62em
)
{
.gadget-content
.center
.ui-field-contain
label
+
div
{
flex
:
7
;
}
}
@media
only
screen
and
(
max-width
:
28em
)
{
@media
only
screen
and
(
max-width
:
28em
)
{
.gadget-content
.ui-field-contain
{
.gadget-content
.ui-field-contain
{
padding
:
0.8em
0
;
padding
:
0.8em
0
;
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
View file @
2df6275d
...
@@ -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.5
1887.37105.17459
</string>
</value>
<value>
<string>
952.5
2941.50188.56166
</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>
14695
18656.63
</float>
<float>
14695
20994.41
</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 @
2df6275d
...
@@ -1051,9 +1051,6 @@ div[data-gadget-scope='header'] .ui-header {
...
@@ -1051,9 +1051,6 @@ div[data-gadget-scope='header'] .ui-header {
display: inline-block;
display: inline-block;
width: 50%;
width: 50%;
}
}
.left {
padding-right: 2%;
}
.right {
.right {
padding-left: 2%;
padding-left: 2%;
}
}
...
@@ -1080,6 +1077,16 @@ div[data-gadget-scope='header'] .ui-header {
...
@@ -1080,6 +1077,16 @@ div[data-gadget-scope='header'] .ui-header {
}
}
}
}
}
}
@media @desktop {
// Align field on the left group's field
.center {
.ui-field-contain {
label + div {
flex: 7;
}
}
}
}
@media @smartphone {
@media @smartphone {
.ui-field-contain {
.ui-field-contain {
...
...
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