Highlighting the current category in the Media Library

Editing T4 SiteManager tweaks in Stylish

I’ve just made an update to my post about Tweaking the SiteManager UI in Firefox from January 2008.

Tweak not working

For months now — I guess since our update to version 6 point something — I noticed that my original Media Library tweak was no longer working, it wasn’t highlighting which category I was currently viewing. So I dusted down Firebug and did some investigating.

I guess the original tweaks worked in Site Manager version 5.x.

The fix

It looks like TERMINALFOUR changed the class applied to the currently selected Media Library category. The following should work in Stylish … at least, it works for me!

a.nodeSel {
background-color: #950004 !important;
color: #fff !important;
padding: 2px !important ;
}

Example

What it does, is gives the currently selected category a dark red background, and displays the text in white.  Like this:

Selected category in the Media Library

If you’re not sure how to make this work then check out the original article: Tweaking the SiteManager UI in Firefox.

Gareth @ St Andrews

There are no comments on this post

Leave a Reply