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
85064cf3
Commit
85064cf3
authored
Jun 30, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Move the main action button to a more visible location
Add some color just for prototyping
parent
a7497498
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
19 deletions
+58
-19
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
+30
-9
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
+26
-8
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.css
View file @
85064cf3
...
@@ -581,7 +581,6 @@ div[data-gadget-scope='editor_panel'] div[data-role="header"] a::before {
...
@@ -581,7 +581,6 @@ div[data-gadget-scope='editor_panel'] div[data-role="header"] a::before {
* Gadget: header
* Gadget: header
**********************************************/
**********************************************/
div
[
data-gadget-scope
=
'header'
]
.ui-header
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
{
background-color
:
#085078
;
position
:
fixed
;
position
:
fixed
;
z-index
:
1000
;
z-index
:
1000
;
text-align
:
center
;
text-align
:
center
;
...
@@ -609,10 +608,6 @@ div[data-gadget-scope='header'] .ui-header > .ui-btn-left button,
...
@@ -609,10 +608,6 @@ div[data-gadget-scope='header'] .ui-header > .ui-btn-left button,
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-left
a
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-left
a
{
border-right
:
1px
solid
rgba
(
255
,
255
,
255
,
0.55
);
border-right
:
1px
solid
rgba
(
255
,
255
,
255
,
0.55
);
}
}
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
button
,
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
a
{
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.55
);
}
div
[
data-gadget-scope
=
'header'
]
.ui-header
.ui-controlgroup-controls
button
,
div
[
data-gadget-scope
=
'header'
]
.ui-header
.ui-controlgroup-controls
button
,
div
[
data-gadget-scope
=
'header'
]
.ui-header
.ui-controlgroup-controls
a
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
.ui-controlgroup-controls
a
{
display
:
block
;
display
:
block
;
...
@@ -648,10 +643,28 @@ div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a::before {
...
@@ -648,10 +643,28 @@ div[data-gadget-scope='header'] .ui-header .ui-controlgroup-controls a::before {
display
:
none
;
display
:
none
;
}
}
}
}
@media
only
screen
and
(
max-width
:
28em
),
only
screen
and
(
min-width
:
28em
)
and
(
max-width
:
62em
)
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
button
,
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
a
{
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.55
);
}
}
@media
only
screen
and
(
min-width
:
62em
)
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
{
order
:
99
;
}
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
button
,
div
[
data-gadget-scope
=
'header'
]
.ui-header
>
.ui-btn-right
a
{
margin
:
0.5em
;
margin-left
:
2em
;
background-color
:
#F60
;
}
}
div
[
data-gadget-scope
=
'header'
]
.ui-header
h1
{
div
[
data-gadget-scope
=
'header'
]
.ui-header
h1
{
text-align
:
left
;
text-align
:
left
;
line-height
:
2.6em
;
line-height
:
2.6em
;
flex
:
1
;
flex
:
1
;
background-color
:
#085078
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -946,7 +959,11 @@ div[data-gadget-scope='erp5_searchfield'] button {
...
@@ -946,7 +959,11 @@ div[data-gadget-scope='erp5_searchfield'] button {
.document_table
.ui-table-header
{
.document_table
.ui-table-header
{
display
:
flex
;
display
:
flex
;
padding-bottom
:
0.5em
;
padding-bottom
:
0.5em
;
border-bottom
:
2px
solid
rgba
(
0
,
0
,
0
,
0.14902
);
}
@media
only
screen
and
(
max-width
:
28em
)
{
.document_table
.ui-table-header
{
border-bottom
:
2px
solid
rgba
(
0
,
0
,
0
,
0.14902
);
}
}
}
.document_table
.ui-table-header
h1
{
.document_table
.ui-table-header
h1
{
color
:
#777777
;
color
:
#777777
;
...
@@ -989,9 +1006,13 @@ div[data-gadget-scope='erp5_searchfield'] button {
...
@@ -989,9 +1006,13 @@ div[data-gadget-scope='erp5_searchfield'] button {
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.document_table
table
thead
{
.document_table
table
thead
{
background-color
:
#eeeeee
;
/*
background-color
:
rgba
(
0
,
0
,
0
,
0.04
);
background-color: #eeeeee;
color
:
#777777
;
background-color: rgba(0, 0, 0, .04);
color: #777777;
*/
background-color
:
#0E81C2
;
color
:
#FFFFFF
;
}
}
.document_table
table
thead
tr
th
{
.document_table
table
thead
tr
th
{
padding
:
0.4em
0.25em
;
padding
:
0.4em
0.25em
;
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
View file @
85064cf3
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
952.14
349.56496.11042
</string>
</value>
<value>
<string>
952.14
468.56596.29457
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
146729
1947.42
</float>
<float>
146729
8883.69
</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 @
85064cf3
...
@@ -712,8 +712,6 @@ div[data-gadget-scope='editor_panel'] {
...
@@ -712,8 +712,6 @@ div[data-gadget-scope='editor_panel'] {
**********************************************/
**********************************************/
div[data-gadget-scope='header'] .ui-header {
div[data-gadget-scope='header'] .ui-header {
background-color: @colorheaderbackground;
// width: 100%;
// width: 100%;
position: fixed;
position: fixed;
z-index: 1000;
z-index: 1000;
...
@@ -744,11 +742,6 @@ div[data-gadget-scope='header'] .ui-header {
...
@@ -744,11 +742,6 @@ div[data-gadget-scope='header'] .ui-header {
border-right: 1px solid rgba(255, 255, 255, 0.55);
border-right: 1px solid rgba(255, 255, 255, 0.55);
}
}
}
}
& > .ui-btn-right {
button, a {
border-left: 1px solid rgba(255, 255, 255, 0.55);
}
}
.ui-controlgroup-controls {
.ui-controlgroup-controls {
...
@@ -785,10 +778,28 @@ div[data-gadget-scope='header'] .ui-header {
...
@@ -785,10 +778,28 @@ div[data-gadget-scope='header'] .ui-header {
}
}
}
}
& > .ui-btn-right {
@media @smartphone, @tablet {
button, a {
border-left: 1px solid rgba(255, 255, 255, 0.55);
}
}
@media @desktop {
order: 99;
button, a {
margin: 0.5em;
// XXX TODO: same than main page padding
margin-left: 2em;
background-color: #F60;
}
}
}
h1 {
h1 {
text-align: left;
text-align: left;
line-height: @headerheight;
line-height: @headerheight;
flex: 1;
flex: 1;
background-color: @colorheaderbackground;
color: @white;
color: @white;
...
@@ -1104,7 +1115,9 @@ div[data-gadget-scope='erp5_searchfield'] {
...
@@ -1104,7 +1115,9 @@ div[data-gadget-scope='erp5_searchfield'] {
.ui-table-header {
.ui-table-header {
display: flex;
display: flex;
padding-bottom: 0.5em;
padding-bottom: 0.5em;
border-bottom: 2px solid rgba(0, 0, 0, 0.14902);
@media @smartphone {
border-bottom: 2px solid rgba(0, 0, 0, 0.14902);
}
h1 {
h1 {
// XXX TODO Same color than label
// XXX TODO Same color than label
...
@@ -1147,9 +1160,14 @@ div[data-gadget-scope='erp5_searchfield'] {
...
@@ -1147,9 +1160,14 @@ div[data-gadget-scope='erp5_searchfield'] {
}
}
thead {
thead {
/*
background-color: #eeeeee;
background-color: #eeeeee;
background-color: rgba(0, 0, 0, .04);
background-color: rgba(0, 0, 0, .04);
color: #777777;
color: #777777;
*/
background-color: @colorsubheaderbackground;
// background-color: @colorheaderbackground;
color: @white;
// XXX Same than cells
// XXX Same than cells
...
...
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