Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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
Hamza
erp5-Boxiang
Commits
cfbc621b
Commit
cfbc621b
authored
May 06, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] CSS: only align right float value in Listbox
Follow xhtml_style CSS.
parent
7efe9533
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
10 deletions
+28
-10
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
+5
-2
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
+21
-6
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
cfbc621b
...
...
@@ -1305,8 +1305,6 @@ div[data-gadget-scope='header'] .ui-header ul {
/**********************************************
* Gadget: float/integer field
**********************************************/
.floatfield
p
,
.integerfield
p
,
.floatfield
input
,
.integerfield
input
{
text-align
:
right
;
...
...
@@ -1423,6 +1421,11 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
.document_table
table
a
{
color
:
#1F1F1F
;
}
.document_table
table
.floatfield
p
,
.document_table
table
.integerfield
p
{
text-align
:
right
;
white-space
:
nowrap
;
}
.document_table
table
tbody
{
animation
:
fadein
0.2s
ease-out
;
}
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
cfbc621b
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
1.20364.49895.30788
</string>
</value>
<value>
<string>
97
5.34558.59242.38229
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
15
40981324.5
</float>
<float>
15
57129679.58
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
cfbc621b
...
...
@@ -1527,12 +1527,17 @@ div[data-gadget-scope='header'] .ui-header {
/**********************************************
* Gadget: float/integer field
**********************************************/
.floatfield, .integerfield {
p, input {
.alignFloatValueOnTheRight() {
text-align: right;
// Do not render float/integer on multiline
// as it make them unreadable
white-space: nowrap;
}
@floatvalue-selector: .floatfield, .integerfield;
@{floatvalue-selector} {
input {
.alignFloatValueOnTheRight();
}
}
...
...
@@ -1659,6 +1664,16 @@ div[data-gadget-scope='erp5_searchfield'] {
color: @colorforeground;
}
@{floatvalue-selector} {
// Only align right the float value inside Listbox
// outside listbox, it is unpleasant to read
// and useless, as previous/next fields are probably not
// float/integer to compare
p {
.alignFloatValueOnTheRight();
}
}
tbody {
animation: fadein @transition-timing;
...
...
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