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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
3266b44e
Commit
3266b44e
authored
Feb 01, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Change contextual link color on hover
parent
a1254a61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
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
+2
-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
+11
-7
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
3266b44e
...
...
@@ -580,8 +580,8 @@ div[data-gadget-scope='panel'] dl dd a.active {
}
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
:hover
,
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
:active
{
color
:
#
FFFFF
F
;
background-color
:
#
2b2b2b
;
color
:
#
1F1F1
F
;
background-color
:
#
FFFFFF
;
}
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
::before
{
width
:
24pt
;
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
3266b44e
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
965.132
01.46575.21111
</string>
</value>
<value>
<string>
965.132
24.57873.37870
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
151747
7074.88
</float>
<float>
151747
8641.81
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
3266b44e
...
...
@@ -32,6 +32,10 @@
@colorblocklinkbackground: #e0e0e0;
@panelbackgroundcolor: #444444;
@paneldarkerbackgroundcolor: darken(@panelbackgroundcolor, 10%);
@panelcontextuallinkcolor: @colorforeground;
@panelcontextuallinkcolorbackground: @colorbackground;
@listboxbordercolor: rgba(0, 0, 0, 0.14902);
...
...
@@ -663,18 +667,18 @@ div[data-gadget-scope='panel'] {
padding-left: @double-margin-size + @quadruple-margin-size;
}
.linkpanel() {
.linkpanel(
@linkpanelhovercolor: @white, @linkpanelhoverbackgroundcolor: @paneldarkerbackgroundcolor
) {
color: @white;
display: block;
// Define .active before :hover to ensure it hover is displayed
// for the .active entry
&.active {
color: @
colorforeground
;
background-color: @colorbackground;
color: @
panelcontextuallinkcolor
;
background-color: @
panelcontextuallink
colorbackground;
}
&:hover, &:active {
color: @
white
;
background-color:
darken(@panelbackgroundcolor, 10%)
;
color: @
linkpanelhovercolor
;
background-color:
@linkpanelhoverbackgroundcolor
;
}
}
...
...
@@ -708,7 +712,7 @@ div[data-gadget-scope='panel'] {
dd {
a {
.linkpanel();
.linkpanel(
@panelcontextuallinkcolor, @panelcontextuallinkcolorbackground
);
.alignwithouticon();
}
}
...
...
@@ -1457,7 +1461,7 @@ div[data-gadget-scope='header'] .ui-header {
// No transition, as it doesn't feel right
// transition: background-color @transition-timing;
&:hover, &:active {
background-color:
darken(@panelbackgroundcolor, 10%)
;
background-color:
@paneldarkerbackgroundcolor
;
}
}
...
...
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