From f78f4d58a7e4ece0cf2ff0a78ec6fb84c6ce18ae Mon Sep 17 00:00:00 2001 From: Clive Cooper Date: Mon, 19 May 2014 16:53:53 +1200 Subject: [PATCH 1/2] Changing parent specificity Changing the .parent CSS selector to only apply to "Parent Directory" folder. --- apaxy/theme/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apaxy/theme/style.css b/apaxy/theme/style.css index 3a383bb..b8e772a 100644 --- a/apaxy/theme/style.css +++ b/apaxy/theme/style.css @@ -107,10 +107,10 @@ td { td a{ display: block; } -tr.parent a { +tr.parent a[href="/"] { color:#9099A3; } - .parent a:hover { + .parent a[href="/"]:hover { color:#2281d0; } /*------------------------------------*\ From 98e624f58f617f4cbd13f464782af177bcec42ff Mon Sep 17 00:00:00 2001 From: Clive Cooper Date: Mon, 19 May 2014 17:17:13 +1200 Subject: [PATCH 2/2] Improved parent specificity Yet a better way of selecting the "Parent Directory" folder --- apaxy/theme/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apaxy/theme/style.css b/apaxy/theme/style.css index b8e772a..0c7566f 100644 --- a/apaxy/theme/style.css +++ b/apaxy/theme/style.css @@ -107,10 +107,10 @@ td { td a{ display: block; } -tr.parent a[href="/"] { +tr.parent a[href^="/"] { color:#9099A3; } - .parent a[href="/"]:hover { + .parent a[href^="/"]:hover { color:#2281d0; } /*------------------------------------*\