summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 09:58:43 -0500
committerDan McGee <dan@archlinux.org>2010-05-26 09:59:37 -0500
commitc426fbebb786f4b33fd701f37372c30ebfed796a (patch)
tree9fdf95b9f481cd76f49922a1bf142ea86f907095 /media
parent277117ba34204995efac766b715fe62270a5e908 (diff)
downloadarchweb-c426fbebb786f4b33fd701f37372c30ebfed796a.tar.gz
archweb-c426fbebb786f4b33fd701f37372c30ebfed796a.zip
Highlight 'Packages' in navbar when browsing packagesrelease_2010-05-26
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.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/archweb.css b/media/archweb.css
index e360bce7..d6fd34c3 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; }