mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
Improve visual distinction of link presence in SVG icons (#43280).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24026 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1984,10 +1984,22 @@ td.gantt_watcher_users_column div.issue_watcher_users ul li:not(:last-child)::af
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
a.icon:link .icon-svg, a.icon-only:link .icon-svg, span.icon-actions:link .icon-svg,
|
||||
a.icon:visited .icon-svg, a.icon-only:visited .icon-svg, span.icon-actions:visited .icon-svg {
|
||||
stroke: var(--oc-blue-9);
|
||||
fill: none;
|
||||
}
|
||||
|
||||
a.icon:hover .icon-svg, a.icon-only:hover .icon-svg, span.icon-actions:hover .icon-svg {
|
||||
stroke: var(--oc-red-9);
|
||||
}
|
||||
|
||||
a.icon:link .icon-svg-filled, a.icon-only:link .icon-svg-filled,
|
||||
a.icon:visited .icon-svg-filled, a.icon-only:visited .icon-svg-filled {
|
||||
stroke: none;
|
||||
fill: var(--oc-blue-9);
|
||||
}
|
||||
|
||||
a.icon:hover .icon-svg-filled, a.icon-only:hover .icon-svg-filled {
|
||||
stroke: none;
|
||||
fill: var(--oc-red-9);
|
||||
@@ -2010,14 +2022,14 @@ a.icon:hover .icon-svg-filled, a.icon-only:hover .icon-svg-filled {
|
||||
}
|
||||
|
||||
svg.icon-svg {
|
||||
stroke: var(--oc-blue-9);
|
||||
stroke: var(--oc-gray-8);
|
||||
fill: none;
|
||||
stroke-width: 1.5;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
svg.icon-svg-filled {
|
||||
fill: var(--oc-blue-9);
|
||||
fill: var(--oc-gray-8);
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user