From 5ef88809cc6af138409adcd1878009a36714dc67 Mon Sep 17 00:00:00 2001 From: tekkub Date: Fri, 16 Oct 2009 16:57:10 -0600 Subject: Rework sidebar to use jQuery UI --- css/style.css | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'css') diff --git a/css/style.css b/css/style.css index bdd0845..f6ef180 100755 --- a/css/style.css +++ b/css/style.css @@ -5,25 +5,30 @@ .category_index dt { margin-left: 0.5em !important; } .category_index dd { margin-left: 1.5em !important; } + +/*********************/ +/* Sidebar */ +/*********************/ + #guides .guide .sidebar h3 { - color: black; - cursor: pointer; -} -#guides .guide .sidebar ul { margin-left: 0; } -#guides .guide .sidebar ul li { - padding-left: 14px; - background: white url(/images/expand.png) -2px 2px no-repeat; + padding: 4px 4px 4px 14px; + background: white url(/images/expand.png) -2px 6px no-repeat; margin: .2em 0; + cursor: pointer; } -#guides .guide .sidebar ul li.expanded { background: white url(/images/collapse.png) -2px 2px no-repeat; } +#guides .guide .sidebar h3.ui-state-active { background: white url(/images/collapse.png) -2px 6px no-repeat; } +#guides .guide .sidebar h3:focus { outline: none; } -.sidebar dl { - display: none; - margin-bottom: 1em; +.sidebar dl { padding: 0 0.5em 0.5em 0.5em; } +.sidebar dt { + font-weight: bold; + margin-top: 0.5em; } -.sidebar dt { font-weight: bold; } -.sidebar dd { margin-bottom: 0.5em; } + +/**********************/ +/* Pre/code */ +/**********************/ pre.terminal { padding: 1em !important; @@ -32,4 +37,4 @@ pre.terminal { font-size: 0.9em !important; } -code {white-space: nowrap;} \ No newline at end of file +code {white-space: nowrap;} -- cgit v1.3.1