diff options
author | Dan McGee <dan@archlinux.org> | 2010-05-26 16:58:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-26 16:59:37 +0200 |
commit | c426fbebb786f4b33fd701f37372c30ebfed796a (patch) | |
tree | 9fdf95b9f481cd76f49922a1bf142ea86f907095 /media | |
parent | 277117ba34204995efac766b715fe62270a5e908 (diff) | |
download | archweb-c426fbebb786f4b33fd701f37372c30ebfed796a.tar.gz archweb-c426fbebb786f4b33fd701f37372c30ebfed796a.tar.xz |
Highlight 'Packages' in navbar when browsing packages
Get this working by doing some class business with CSS in order to highlight
the correct tab. I had to add some stuff to a variety of pages but it should
be working correctly now. Addresses FS#19591.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
-rw-r--r-- | media/archweb.css | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/archweb.css b/media/archweb.css index e360bce..d6fd34c 100644 --- a/media/archweb.css +++ b/media/archweb.css @@ -244,4 +244,6 @@ ul.admin-actions li { display: inline; padding-left: 1.5em; } #dev-signoffs .signed-username { color: #888; margin-left: 0.5em; } /* highlight current website in the navbar */ -#archnavbar ul li.selected a { color: white !important; } +#archnavbar.anb-home ul li#anb-home a { color: white !important; } +#archnavbar.anb-packages ul li#anb-packages a { color: white !important; } +#archnavbar.anb-download ul li#anb-download a { color: white !important; } |