From f0108e8ae888356e9bb7d7b01947a0022840a9e7 Mon Sep 17 00:00:00 2001 From: Christopher Gateley Date: Fri, 10 Dec 2010 23:11:15 -0600 Subject: added back in unused 'jump-list' specific css and html --- pycco_resources/__init__.py | 51 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/pycco_resources/__init__.py b/pycco_resources/__init__.py index f9535f5..0f320c5 100644 --- a/pycco_resources/__init__.py +++ b/pycco_resources/__init__.py @@ -32,6 +32,42 @@ h2, h3, h4, h5, h6 { border-left: 1px solid #e5e5ee; z-index: -1; } +#jump_to, #jump_page { + background: white; + -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777; + -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; + font: 10px Arial; + text-transform: uppercase; + cursor: pointer; + text-align: right; +} +#jump_to, #jump_wrapper { + position: fixed; + right: 0; top: 0; + padding: 5px 10px; +} + #jump_wrapper { + padding: 0; + display: none; + } + #jump_to:hover #jump_wrapper { + display: block; + } + #jump_page { + padding: 5px 0 3px; + margin: 0 0 25px 25px; + } + #jump_page .source { + display: block; + padding: 5px 10px; + text-decoration: none; + border-top: 1px solid #eee; + } + #jump_page .source:hover { + background: #f5f5ff; + } + #jump_page .source:first-child { + } div.docs { float: left; max-width: 500px; @@ -162,6 +198,21 @@ html = """\
+ {{#sources?}} +
+ Jump To … +
+
+ {{#sources}} + {{ basename }} + {{/sources}} +
+
+
+ {{/sources?}} +
+

{{ title }}

+
{{#sections}}
-- cgit v1.2.1