diff options
| author | tekkub <tekkub@gmail.com> | 2009-10-16 16:57:10 -0600 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2009-10-16 16:57:10 -0600 |
| commit | 5ef88809cc6af138409adcd1878009a36714dc67 (patch) | |
| tree | fcdd900c98fcda7ce15ca9dd582519acbaf94a35 /css | |
| parent | be7d6fd29ef5fd159023b5ca677adc990fd027c8 (diff) | |
Rework sidebar to use jQuery UI
Diffstat (limited to 'css')
| -rwxr-xr-x | css/style.css | 33 |
1 files changed, 19 insertions, 14 deletions
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;} |
