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
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
a5db87a1
Commit
a5db87a1
authored
Feb 09, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: allow to use the css grid in multiple places
Use the `ui-list-grid` class on a `ul` element.
parent
293687c5
Pipeline
#15941
canceled with stage
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
14 deletions
+12
-14
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
+6
-6
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/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.html
...em/web_page_module/rjs_gadget_erp5_pt_frontpage_html.html
+1
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.xml
...tem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.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
+1
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
a5db87a1
...
...
@@ -1827,12 +1827,12 @@ div[data-gadget-scope='maximize'] button:active {
/**********************************************
* Front page
**********************************************/
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
{
ul
.ui-list-grid
{
display
:
flex
;
align-items
:
flex-start
;
flex-wrap
:
wrap
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
>
li
{
ul
.ui-list-grid
>
li
{
flex-shrink
:
1
;
vertical-align
:
top
;
padding
:
3pt
;
...
...
@@ -1842,25 +1842,25 @@ div[data-gadget-url$="gadget_erp5_page_front.html"] > ul > li {
background-color
:
#FFFFFF
;
}
@media
not
screen
and
(
min-width
:
45em
)
{
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
>
li
{
ul
.ui-list-grid
>
li
{
flex-basis
:
100%
;
margin-bottom
:
6pt
;
}
}
@media
only
screen
and
(
min-width
:
45em
)
and
(
max-width
:
85em
),
not
screen
and
(
max-width
:
85em
)
{
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
>
li
{
ul
.ui-list-grid
>
li
{
margin-right
:
24pt
;
margin-bottom
:
24pt
;
flex-basis
:
20em
;
}
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
>
li
h2
{
ul
.ui-list-grid
>
li
h2
{
font-weight
:
700
;
background
:
#085078
;
color
:
#FFFFFF
;
padding
:
6pt
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_front.html"
]
>
ul
>
li
li
{
ul
.ui-list-grid
>
li
li
{
padding
:
3pt
6pt
;
}
/**********************************************
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
a5db87a1
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.
49292.64608.7680
</string>
</value>
<value>
<string>
989.
60433.59989.54698
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
1612
445457.98
</float>
<float>
1612
969527.49
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.html
View file @
a5db87a1
...
...
@@ -22,7 +22,7 @@
</head>
<body>
<ul>
<ul
class=
"ui-list-grid"
>
</ul>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.xml
View file @
a5db87a1
...
...
@@ -238,7 +238,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
1.53539.4987.2892
8
</string>
</value>
<value>
<string>
98
9.60433.59989.5469
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>
1
581602343.58
</float>
<float>
1
612969553.17
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
a5db87a1
...
...
@@ -2088,8 +2088,7 @@ div[data-gadget-scope='maximize'] button {
/**********************************************
* Front page
**********************************************/
div[data-gadget-url$="gadget_erp5_page_front.html"] {
> ul {
ul.ui-list-grid {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
...
...
@@ -2122,7 +2121,6 @@ div[data-gadget-url$="gadget_erp5_page_front.html"] {
padding: @half-margin-size @margin-size;
}
}
}
}
/**********************************************
...
...
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