Changeset 535:510bae2b593b in documentViewer
- Timestamp:
- Jul 26, 2012, 5:32:31 PM (12 years ago)
- Branch:
- default
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
css/docuviewer.css
r533 r535 31 31 div.page-head div.title { 32 32 max-width: 50em; 33 border: 1px solid silver; 33 background-color: white; 34 font-family: Georgia,Times,serif; 35 font-size: 14px; 36 line-height: 1.3; 37 border: 1px solid silver; 34 38 padding: 0.5em; 35 background-color: white;36 39 } 37 40 … … 70 73 } 71 74 75 div.toc-switcher-col { 76 display: table-cell; 77 } 72 78 div.toc-switcher { 73 display: table-cell; 79 display: block; /* moz only does relative with block */ 80 position: relative; 74 81 width: 26.5px; /* for moz and webkit -- don't ask me */ 75 82 } 76 83 div.toc-switcher ul { 77 84 position: absolute; 78 /* z-index: 20; */79 85 transform: rotate(270deg); 80 86 transform-origin: top left; … … 85 91 -o-transform: rotate(270deg); 86 92 -o-transform-origin: top left; 87 left: 12px; 88 top: 486px; 93 left: 7px; 94 top: 32em; 95 width: 40em; 89 96 padding: 0px; 90 97 } 98 91 99 div.toc-switcher li { 92 100 list-style-type: none; … … 105 113 106 114 div.tocbody { 107 /* z-index: 10; */108 115 display: table-cell; 109 116 border: 1px solid silver; … … 138 145 div.tocbody table.thumbs .thumbsel { 139 146 padding: 2px; 140 border: 1px solid blue;147 border: 1px solid #892B06; 141 148 } 142 149 div.tocbody table.thumbs .thumbcap { … … 164 171 165 172 div.col.main div.content { 166 border: 1px solid silver;167 padding: 1em;168 background-color: white;173 min-width: 30em; 174 background-color: white; 175 font-family: Junicode,Gentium,Georgia,serif; 169 176 font-size: 14px; 170 font-family: Junicode,Gentium,Georgia,serif; 177 line-height: 1.3; 178 border: 1px solid silver; 179 padding: 1em; 171 180 } 172 181 div.col.main div.content a:link, … … 183 192 */ 184 193 div.col.buttons div.options { 185 border: 1px solid silver; 186 padding: 0.5em; 187 background-color: white; 194 background-color: white; 195 border: 1px solid silver; 196 border-radius: 5px; 197 padding: 0.5em; 198 margin-bottom: 5px; 188 199 } 189 200 div.col.buttons h4 { … … 205 216 } 206 217 218 /* 219 * index page 220 */ 221 div.index-image { 222 float: left; 223 padding-left: 1em; 224 padding-right: 1em; 225 padding-bottom: 1em; 226 } 227 div.index-info td.type { 228 font-weight: bold; 229 } -
documentViewer.py
r532 r535 146 146 # make docuviewer_css refreshable for development 147 147 docuviewer_css.index_html = refreshingImageFileIndexHtml 148 docuviewer_ie_css = ImageFile('css/docuviewer_ie.css',globals()) 149 # make docuviewer_ie_css refreshable for development 150 docuviewer_ie_css.index_html = refreshingImageFileIndexHtml 148 151 jquery_js = ImageFile('js/jquery.js',globals()) 149 152 -
version.txt
r518 r535 1 DocumentViewer 2. 1.2a1 DocumentViewer 2.2.0 -
zpt/common_template.zpt
r534 r535 101 101 <!-- toc type switcher --> 102 102 <metal:block metal:define-macro="toc_switcher"> 103 <div class="toc-switcher-col"> 103 104 <div class="toc-switcher"> 104 105 <ul> … … 118 119 </ul> 119 120 </div> 121 </div> 120 122 </metal:block> 121 123 -
zpt/toc_concordance.zpt
r532 r535 13 13 pageNumbers docinfo/pageNumbers | nothing; 14 14 batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);"> 15 <div metal:use-macro="here/template/common_template/macros/toc_switcher" />16 15 <div class="ruler"> 17 16 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> -
zpt/toc_figures.zpt
r532 r535 12 12 tal:define="start pageinfo/start; tocsize docinfo/numFigureEntries; grpsize pageinfo/tocPageSize; 13 13 batch python:here.getBatch(start=start,size=grpsize,end=tocsize);"> 14 <div metal:use-macro="here/template/common_template/macros/toc_switcher" />15 14 <div class="ruler"> 16 15 <metal:block metal:use-macro="here/template/common_template/macros/toc_ruler" /> -
zpt/toc_none.zpt
r526 r535 9 9 <div class="toc-none" metal:define-macro="main"> 10 10 <div metal:use-macro="here/template/common_template/macros/toc_switcher"/> 11 < div class="content"></div>11 <!-- <div class="tocbody none"></div> --> 12 12 </div> 13 13 <!-- toc --> -
zpt/viewer_index.zpt
r505 r535 18 18 <!-- image --> 19 19 <a tal:define="tp docinfo/titlePage | nothing" 20 tal:attributes="href python:context.getLink( 'viewMode','auto')"><img20 tal:attributes="href python:context.getLink(params={'viewMode':'auto','pn':tp})"><img 21 21 tal:condition="tp" border="0" 22 22 tal:attributes="src string:${docinfo/imageURL}&pn=$tp&dw=300&dh=500" /><img 23 tal:condition=" not:tp" border="0" src="images/oldbook.png" /></a>23 tal:condition="python:not tp and exists('here/template/book.png')" border="0" src="template/book.png" /></a> 24 24 </div> 25 25 -
zpt/viewer_text.zpt
r532 r535 12 12 <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')" /> 13 13 <link rel="stylesheet" href="template/docuviewer_css" type="text/css" /> 14 <!--[if IE]><link rel="stylesheet" href="template/docuviewer_ie_css" type="text/css" /><![endif]--> 14 15 <script type="text/javascript" tal:attributes="src string:$rootUrl/template/jquery_js"></script> 15 16 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.