Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
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
Show 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 {
...
@@ -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
:hover
,
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
:active
{
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
:active
{
color
:
#
FFFFF
F
;
color
:
#
1F1F1
F
;
background-color
:
#
2b2b2b
;
background-color
:
#
FFFFFF
;
}
}
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
::before
{
div
[
data-gadget-scope
=
'panel'
]
dl
dd
a
::before
{
width
:
24pt
;
width
:
24pt
;
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
3266b44e
...
@@ -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.132
01.46575.21111
</string>
</value>
<value>
<string>
965.132
24.57873.37870
</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>
151747
7074.88
</float>
<float>
151747
8641.81
</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 @
3266b44e
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
@colorblocklinkbackground: #e0e0e0;
@colorblocklinkbackground: #e0e0e0;
@panelbackgroundcolor: #444444;
@panelbackgroundcolor: #444444;
@paneldarkerbackgroundcolor: darken(@panelbackgroundcolor, 10%);
@panelcontextuallinkcolor: @colorforeground;
@panelcontextuallinkcolorbackground: @colorbackground;
@listboxbordercolor: rgba(0, 0, 0, 0.14902);
@listboxbordercolor: rgba(0, 0, 0, 0.14902);
...
@@ -663,18 +667,18 @@ div[data-gadget-scope='panel'] {
...
@@ -663,18 +667,18 @@ div[data-gadget-scope='panel'] {
padding-left: @double-margin-size + @quadruple-margin-size;
padding-left: @double-margin-size + @quadruple-margin-size;
}
}
.linkpanel() {
.linkpanel(
@linkpanelhovercolor: @white, @linkpanelhoverbackgroundcolor: @paneldarkerbackgroundcolor
) {
color: @white;
color: @white;
display: block;
display: block;
// Define .active before :hover to ensure it hover is displayed
// Define .active before :hover to ensure it hover is displayed
// for the .active entry
// for the .active entry
&.active {
&.active {
color: @
colorforeground
;
color: @
panelcontextuallinkcolor
;
background-color: @colorbackground;
background-color: @
panelcontextuallink
colorbackground;
}
}
&:hover, &:active {
&:hover, &:active {
color: @
white
;
color: @
linkpanelhovercolor
;
background-color:
darken(@panelbackgroundcolor, 10%)
;
background-color:
@linkpanelhoverbackgroundcolor
;
}
}
}
}
...
@@ -708,7 +712,7 @@ div[data-gadget-scope='panel'] {
...
@@ -708,7 +712,7 @@ div[data-gadget-scope='panel'] {
dd {
dd {
a {
a {
.linkpanel();
.linkpanel(
@panelcontextuallinkcolor, @panelcontextuallinkcolorbackground
);
.alignwithouticon();
.alignwithouticon();
}
}
}
}
...
@@ -1457,7 +1461,7 @@ div[data-gadget-scope='header'] .ui-header {
...
@@ -1457,7 +1461,7 @@ div[data-gadget-scope='header'] .ui-header {
// No transition, as it doesn't feel right
// No transition, as it doesn't feel right
// transition: background-color @transition-timing;
// transition: background-color @transition-timing;
&:hover, &:active {
&: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