You'll first need a selector for the "parent" of the icons you're trying to modify. Not sure what you mean by "Home main list", so I'm gonna assume you mean the media tree on the left. The CSS selector
[data-id="mediaTree"] will work for that.
Then you need a selector for the icons.
svg works, because all icons are SVG.
Lastly, you need to add a
:hover selector, depending on when you want to trigger the color to change. If you want it to ONLY change when you mouse over the icon itself, this'll work:
Code: Select all
[data-id="mediaTree"] svg:hover {
fill: @largeIconHoverColor;
}
fyi this is assuming you set @largeIconHoverColor as a LESS variable.
If you want it to change when you mouse over the associated list item in the media tree, you'll also need the
.lvItem selector, which is a CSS class applied to each item in a List View:
Code: Select all
[data-id="mediaTree"] .lvItem:hover svg {
fill: @largeIconHoverColor;
}
You'll first need a selector for the "parent" of the icons you're trying to modify. Not sure what you mean by "Home main list", so I'm gonna assume you mean the media tree on the left. The CSS selector [b][data-id="mediaTree"][/b] will work for that.
Then you need a selector for the icons. [b]svg[/b] works, because all icons are SVG.
Lastly, you need to add a [b]:hover[/b] selector, depending on when you want to trigger the color to change. If you want it to ONLY change when you mouse over the icon itself, this'll work:
[code][data-id="mediaTree"] svg:hover {
fill: @largeIconHoverColor;
}[/code]
fyi this is assuming you set @largeIconHoverColor as a LESS variable.
If you want it to change when you mouse over the associated list item in the media tree, you'll also need the [b].lvItem[/b] selector, which is a CSS class applied to each item in a List View:
[code][data-id="mediaTree"] .lvItem:hover svg {
fill: @largeIconHoverColor;
}[/code]