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
alecs_myu
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 {
* Gadget: panel
**********************************************/
div
[
data-gadget-scope
=
'panel'
]
{
background-color
:
#
444444
;
background-color
:
#
393939
;
color
:
#FFFFFF
;
width
:
180pt
;
min-height
:
100%
;
...
...
@@ -494,7 +494,7 @@ div[data-gadget-scope='panel'] div[data-role="header"] a {
overflow
:
hidden
;
text-indent
:
-9999px
;
white-space
:
nowrap
;
background-color
:
#
444444
;
background-color
:
#
393939
;
display
:
block
;
line-height
:
30pt
;
color
:
#FFFFFF
;
...
...
@@ -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"
]
{
color
:
#FFFFFF
!important
;
background-color
:
#7
77777
!important
;
background-color
:
#7
67676
!important
;
}
div
[
data-gadget-scope
=
'panel'
]
img
{
text-align
:
left
;
...
...
@@ -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
:active
{
color
:
#FFFFFF
;
background-color
:
#
2b2b2b
;
background-color
:
#
1F1F1F
;
}
div
[
data-gadget-scope
=
'panel'
]
ul
li
a
::before
{
width
:
24pt
;
}
div
[
data-gadget-scope
=
'panel'
]
dl
{
background-color
:
#7
77777
;
background-color
:
#7
67676
;
color
:
#1F1F1F
;
transform-origin
:
50%
0
;
transform
:
scaleY
(
0
);
...
...
@@ -578,6 +578,7 @@ div[data-gadget-scope='panel'] dl dt {
text-overflow
:
ellipsis
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-transform
:
uppercase
;
}
div
[
data-gadget-scope
=
'panel'
]
dl
dt
::before
{
width
:
24pt
;
...
...
@@ -1011,7 +1012,7 @@ div[data-gadget-scope='header'] .ui-header ul {
padding
:
6pt
;
margin-top
:
30pt
;
margin-right
:
12pt
;
background-color
:
#7
77777
;
background-color
:
#7
67676
;
color
:
#FFFFFF
;
border-radius
:
0.325em
;
border-width
:
1px
;
...
...
@@ -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'
]
:focus
{
background-color
:
#9
19191
;
background-color
:
#9
09090
;
}
.gadget-content
button
[
name
=
'action_update'
]
:active
{
background-color
:
#a
aaaaa
;
background-color
:
#a
9a9a9
;
}
@media
not
screen
and
(
max-width
:
85em
)
{
div
[
data-role
=
'page'
]
:not
(
.desktop-panel-hidden
)
.gadget-content
{
...
...
@@ -1144,7 +1145,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
}
.gadget-content
.ui-field-contain
>
label
{
color
:
#7
77777
;
color
:
#7
67676
;
}
.gadget-content
.required
>
.ui-field-contain
>
label
{
font-weight
:
bold
;
...
...
@@ -1251,7 +1252,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
.relation-input
ul
li
{
cursor
:
pointer
;
background-color
:
#
444444
;
background-color
:
#
393939
;
color
:
#FFFFFF
;
padding
:
3pt
;
padding-left
:
6pt
;
...
...
@@ -1265,7 +1266,7 @@ div[data-gadget-scope='header'] .ui-header ul {
}
.relation-input
ul
li
:hover
,
.relation-input
ul
li
:active
{
background-color
:
#
2b2b2b
;
background-color
:
#
1F1F1F
;
}
/**********************************************
* Gadget: datetime field
...
...
@@ -1326,11 +1327,11 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
}
@media
not
screen
and
(
min-width
:
45em
)
{
.document_table
.ui-table-header
{
border-bottom
:
2px
solid
#0
E81C2
;
border-bottom
:
2px
solid
#0
85078
;
}
}
.document_table
.ui-table-header
h1
{
color
:
#7
77777
;
color
:
#7
67676
;
flex
:
2
;
align-self
:
flex-end
;
}
...
...
@@ -1371,7 +1372,7 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
}
.document_table
table
thead
,
.document_table
table
tfoot
{
background-color
:
#0
E81C2
;
background-color
:
#0
85078
;
color
:
#FFFFFF
;
}
.document_table
table
thead
a
,
...
...
@@ -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
th
:first-child
~
td
a
{
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
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 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1517
562628.45
</float>
<float>
1517
843643.77
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
3578e49d
...
...
@@ -7,7 +7,7 @@
@white: #FFFFFF;
@txtgreen: #22CC22;
@txtsubgrey: #575757;
@grey: #7
77777
;
@grey: #7
67676
;
@backgroundgreen: #37A419;
...
...
@@ -31,8 +31,8 @@
@colorfocus: #3388cc;
@colorblocklinkbackground: #e0e0e0;
@panel
backgroundcolor: #444444
;
@panel
darkerbackgroundcolor: darken(@panel
backgroundcolor, 10%);
@panel
darkerbackgroundcolor: @black
;
@panel
backgroundcolor: lighten(@paneldarker
backgroundcolor, 10%);
@panelcontextuallinkcolor: @colorforeground;
@panelcontextuallinkcolorbackground: @colorbackground;
...
...
@@ -718,6 +718,7 @@ div[data-gadget-scope='panel'] {
dt {
.alignwithicon();
text-transform: uppercase;
}
dd {
...
...
@@ -1545,7 +1546,7 @@ div[data-gadget-scope='erp5_searchfield'] {
padding-top: @half-margin-size;
padding-bottom: @half-margin-size;
@media @smartphone {
border-bottom: 2px solid @color
sub
headerbackground;
border-bottom: 2px solid @colorheaderbackground;
}
h1 {
...
...
@@ -1590,7 +1591,7 @@ div[data-gadget-scope='erp5_searchfield'] {
}
thead, tfoot {
background-color: @color
sub
headerbackground;
background-color: @colorheaderbackground;
color: @white;
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