summaryrefslogtreecommitdiff
path: root/shared/css
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-16 16:55:19 -0700
committerCameron McEfee <cameron@github.com>2011-05-16 16:55:32 -0700
commit19bac5de92117513f86c7b646a16a139f7e80872 (patch)
tree883e4f0604f9e31ebf232386232eb70e48b14d5f /shared/css
parent4a73a1e5bc6ae610f356cbaafec5c32c4a9bb95a (diff)
expand active item/category
There isn't really a good way to deal with situations where there is more than one category for a post. For now, the script just expands/highlights the first occurrence. This will probably work most of the time, since the only multiple instance posts seem to be OS related. Showing the non-OS category is probably better. Ideally, we should come up with a more concise method of organization where there are no duplicates.
Diffstat (limited to 'shared/css')
-rw-r--r--shared/css/documentation.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/css/documentation.css b/shared/css/documentation.css
index cafbefb..25ee156 100644
--- a/shared/css/documentation.css
+++ b/shared/css/documentation.css
@@ -258,6 +258,12 @@ div.sidebar-module li.disable {
background-color: #f0f0f3;
}
+div.sidebar-module li.disable {
+ background-image: url(/shared/images/active-arrow.png);
+ background-position: left center;
+ background-repeat: no-repeat;
+}
+
div.sidebar-module ul ul li a,
div.sidebar-module ul ul li span {
padding: 6px 0px 6px 10px;