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
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
Lukas Niegsch
erp5
Commits
3578e49d
Commit
3578e49d
authored
Feb 05, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Improve the text contrast
Make the label, listbox, panel more readable.
parent
462d42ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
22 deletions
+24
-22
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
+16
-15
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
+6
-5
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
3578e49d
...
@@ -452,7 +452,7 @@ img {
...
@@ -452,7 +452,7 @@ img {
* Gadget: panel
* Gadget: panel
**********************************************/
**********************************************/
div
[
data-gadget-scope
=
'panel'
]
{
div
[
data-gadget-scope
=
'panel'
]
{
background-color
:
#
444444
;
background-color
:
#
393939
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
width
:
180pt
;
width
:
180pt
;
min-height
:
100%
;
min-height
:
100%
;
...
@@ -494,7 +494,7 @@ div[data-gadget-scope='panel'] div[data-role="header"] a {
...
@@ -494,7 +494,7 @@ div[data-gadget-scope='panel'] div[data-role="header"] a {
overflow
:
hidden
;
overflow
:
hidden
;
text-indent
:
-9999px
;
text-indent
:
-9999px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
background-color
:
#
444444
;
background-color
:
#
393939
;
display
:
block
;
display
:
block
;
line-height
:
30pt
;
line-height
:
30pt
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
...
@@ -519,7 +519,7 @@ div[data-gadget-scope='panel'] div[data-gadget-scope='erp5_searchfield'] button
...
@@ -519,7 +519,7 @@ div[data-gadget-scope='panel'] div[data-gadget-scope='erp5_searchfield'] button
}
}
div
[
data-gadget-scope
=
'panel'
]
div
[
data-gadget-scope
=
'erp5_searchfield'
]
input
[
type
=
"search"
]
{
div
[
data-gadget-scope
=
'panel'
]
div
[
data-gadget-scope
=
'erp5_searchfield'
]
input
[
type
=
"search"
]
{
color
:
#FFFFFF
!important
;
color
:
#FFFFFF
!important
;
background-color
:
#7
77777
!important
;
background-color
:
#7
67676
!important
;
}
}
div
[
data-gadget-scope
=
'panel'
]
img
{
div
[
data-gadget-scope
=
'panel'
]
img
{
text-align
:
left
;
text-align
:
left
;
...
@@ -557,13 +557,13 @@ div[data-gadget-scope='panel'] ul li a.active {
...
@@ -557,13 +557,13 @@ div[data-gadget-scope='panel'] ul li a.active {
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
:hover
,
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
:hover
,
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
:active
{
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
:active
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
background-color
:
#
2b2b2b
;
background-color
:
#
1F1F1F
;
}
}
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
::before
{
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
::before
{
width
:
24pt
;
width
:
24pt
;
}
}
div
[
data-gadget-scope
=
'panel'
]
dl
{
div
[
data-gadget-scope
=
'panel'
]
dl
{
background-color
:
#7
77777
;
background-color
:
#7
67676
;
color
:
#1F1F1F
;
color
:
#1F1F1F
;
transform-origin
:
50%
0
;
transform-origin
:
50%
0
;
transform
:
scaleY
(
0
);
transform
:
scaleY
(
0
);
...
@@ -578,6 +578,7 @@ div[data-gadget-scope='panel'] dl dt {
...
@@ -578,6 +578,7 @@ div[data-gadget-scope='panel'] dl dt {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-transform
:
uppercase
;
}
}
div
[
data-gadget-scope
=
'panel'
]
dl
dt
::before
{
div
[
data-gadget-scope
=
'panel'
]
dl
dt
::before
{
width
:
24pt
;
width
:
24pt
;
...
@@ -1011,7 +1012,7 @@ div[data-gadget-scope='header'] .ui-header ul {
...
@@ -1011,7 +1012,7 @@ div[data-gadget-scope='header'] .ui-header ul {
padding
:
6pt
;
padding
:
6pt
;
margin-top
:
30pt
;
margin-top
:
30pt
;
margin-right
:
12pt
;
margin-right
:
12pt
;
background-color
:
#7
77777
;
background-color
:
#7
67676
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
border-radius
:
0.325em
;
border-radius
:
0.325em
;
border-width
:
1px
;
border-width
:
1px
;
...
@@ -1020,10 +1021,10 @@ div[data-gadget-scope='header'] .ui-header ul {
...
@@ -1020,10 +1021,10 @@ div[data-gadget-scope='header'] .ui-header ul {
}
}
.gadget-content
button
[
name
=
'action_update'
]
:hover
,
.gadget-content
button
[
name
=
'action_update'
]
:hover
,
.gadget-content
button
[
name
=
'action_update'
]
:focus
{
.gadget-content
button
[
name
=
'action_update'
]
:focus
{
background-color
:
#9
19191
;
background-color
:
#9
09090
;
}
}
.gadget-content
button
[
name
=
'action_update'
]
:active
{
.gadget-content
button
[
name
=
'action_update'
]
:active
{
background-color
:
#a
aaaaa
;
background-color
:
#a
9a9a9
;
}
}
@media
not
screen
and
(
max-width
:
85em
)
{
@media
not
screen
and
(
max-width
:
85em
)
{
div
[
data-role
=
'page'
]
:not
(
.desktop-panel-hidden
)
.gadget-content
{
div
[
data-role
=
'page'
]
:not
(
.desktop-panel-hidden
)
.gadget-content
{
...
@@ -1144,7 +1145,7 @@ div[data-gadget-scope='header'] .ui-header ul {
...
@@ -1144,7 +1145,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
}
}
}
.gadget-content
.ui-field-contain
>
label
{
.gadget-content
.ui-field-contain
>
label
{
color
:
#7
77777
;
color
:
#7
67676
;
}
}
.gadget-content
.required
>
.ui-field-contain
>
label
{
.gadget-content
.required
>
.ui-field-contain
>
label
{
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -1251,7 +1252,7 @@ div[data-gadget-scope='header'] .ui-header ul {
...
@@ -1251,7 +1252,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
}
.relation-input
ul
li
{
.relation-input
ul
li
{
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
#
444444
;
background-color
:
#
393939
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
padding
:
3pt
;
padding
:
3pt
;
padding-left
:
6pt
;
padding-left
:
6pt
;
...
@@ -1265,7 +1266,7 @@ div[data-gadget-scope='header'] .ui-header ul {
...
@@ -1265,7 +1266,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
}
.relation-input
ul
li
:hover
,
.relation-input
ul
li
:hover
,
.relation-input
ul
li
:active
{
.relation-input
ul
li
:active
{
background-color
:
#
2b2b2b
;
background-color
:
#
1F1F1F
;
}
}
/**********************************************
/**********************************************
* Gadget: datetime field
* Gadget: datetime field
...
@@ -1326,11 +1327,11 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
...
@@ -1326,11 +1327,11 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
}
}
@media
not
screen
and
(
min-width
:
45em
)
{
@media
not
screen
and
(
min-width
:
45em
)
{
.document_table
.ui-table-header
{
.document_table
.ui-table-header
{
border-bottom
:
2px
solid
#0
E81C2
;
border-bottom
:
2px
solid
#0
85078
;
}
}
}
}
.document_table
.ui-table-header
h1
{
.document_table
.ui-table-header
h1
{
color
:
#7
77777
;
color
:
#7
67676
;
flex
:
2
;
flex
:
2
;
align-self
:
flex-end
;
align-self
:
flex-end
;
}
}
...
@@ -1371,7 +1372,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
...
@@ -1371,7 +1372,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
}
}
.document_table
table
thead
,
.document_table
table
thead
,
.document_table
table
tfoot
{
.document_table
table
tfoot
{
background-color
:
#0
E81C2
;
background-color
:
#0
85078
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.document_table
table
thead
a
,
.document_table
table
thead
a
,
...
@@ -1467,7 +1468,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
...
@@ -1467,7 +1468,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
.document_table
table
tbody
tr
td
:first-child
~
td
a
,
.document_table
table
tbody
tr
td
:first-child
~
td
a
,
.document_table
table
tbody
tr
th
:first-child
~
td
a
{
.document_table
table
tbody
tr
th
:first-child
~
td
a
{
pointer-events
:
none
;
pointer-events
:
none
;
color
:
#7
77777
;
color
:
#7
67676
;
}
}
.document_table
table
tbody
tr
td
:first-child
~
th
:not
(
:last-child
)
a
:not
(
:empty
)
:after
,
.document_table
table
tbody
tr
td
:first-child
~
th
:not
(
:last-child
)
a
:not
(
:empty
)
:after
,
.document_table
table
tbody
tr
th
:first-child
~
th
:not
(
:last-child
)
a
:not
(
:empty
)
:after
,
.document_table
table
tbody
tr
th
:first-child
~
th
:not
(
:last-child
)
a
:not
(
:empty
)
:after
,
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
3578e49d
...
@@ -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.1
4626.55645.31283
</string>
</value>
<value>
<string>
965.1
9250.34599.40550
</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>
1517
562628.45
</float>
<float>
1517
843643.77
</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 @
3578e49d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
@white: #FFFFFF;
@white: #FFFFFF;
@txtgreen: #22CC22;
@txtgreen: #22CC22;
@txtsubgrey: #575757;
@txtsubgrey: #575757;
@grey: #7
77777
;
@grey: #7
67676
;
@backgroundgreen: #37A419;
@backgroundgreen: #37A419;
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
@colorfocus: #3388cc;
@colorfocus: #3388cc;
@colorblocklinkbackground: #e0e0e0;
@colorblocklinkbackground: #e0e0e0;
@panel
backgroundcolor: #444444
;
@panel
darkerbackgroundcolor: @black
;
@panel
darkerbackgroundcolor: darken(@panel
backgroundcolor, 10%);
@panel
backgroundcolor: lighten(@paneldarker
backgroundcolor, 10%);
@panelcontextuallinkcolor: @colorforeground;
@panelcontextuallinkcolor: @colorforeground;
@panelcontextuallinkcolorbackground: @colorbackground;
@panelcontextuallinkcolorbackground: @colorbackground;
...
@@ -718,6 +718,7 @@ div[data-gadget-scope='panel'] {
...
@@ -718,6 +718,7 @@ div[data-gadget-scope='panel'] {
dt {
dt {
.alignwithicon();
.alignwithicon();
text-transform: uppercase;
}
}
dd {
dd {
...
@@ -1545,7 +1546,7 @@ div[data-gadget-scope='erp5_searchfield'] {
...
@@ -1545,7 +1546,7 @@ div[data-gadget-scope='erp5_searchfield'] {
padding-top: @half-margin-size;
padding-top: @half-margin-size;
padding-bottom: @half-margin-size;
padding-bottom: @half-margin-size;
@media @smartphone {
@media @smartphone {
border-bottom: 2px solid @color
sub
headerbackground;
border-bottom: 2px solid @colorheaderbackground;
}
}
h1 {
h1 {
...
@@ -1590,7 +1591,7 @@ div[data-gadget-scope='erp5_searchfield'] {
...
@@ -1590,7 +1591,7 @@ div[data-gadget-scope='erp5_searchfield'] {
}
}
thead, tfoot {
thead, tfoot {
background-color: @color
sub
headerbackground;
background-color: @colorheaderbackground;
color: @white;
color: @white;
a {
a {
...
...
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