Changeset 532:0b8bed1223ad in documentViewer for css
- Timestamp:
- Jul 25, 2012, 7:28:31 PM (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
css/docuviewer.css
r528 r532 1 2 body { 3 background-color: #ebebeb; 4 margin: 5px; 5 font-size: 12px; 6 } 7 8 a:link, 9 a:visited { 10 color: black; 11 font-weight: bold; 12 text-decoration: none; 13 } 14 a:hover { 15 text-decoration: underline; 16 } 17 18 /* 19 * head 20 */ 21 div.page-head div.logo { 22 display: table-cell; 23 vertical-align: top; 24 padding: 5px; 25 } 26 div.page-head div.title-block { 27 display: table-cell; 28 vertical-align: top; 29 } 30 div.page-head div.title { 31 max-width: 50em; 32 border: 1px solid silver; 33 padding: 0.5em; 34 background-color: white; 35 } 36 37 ul.view-switcher { 38 padding-left: 0; 39 margin-top: 4px; 40 } 41 ul.view-switcher li { 42 list-style-type: none; 43 display: inline; 44 background-color: #d0d0d0; 45 margin-right: 0; 46 border-bottom: 1px solid silver; 47 border-left: 1px solid silver; 48 border-right: 1px solid silver; 49 border-radius: 0 0 5px 5px; 50 padding: 5px; 51 } 52 ul.view-switcher li.sel { 53 background-color: white; 54 } 1 55 2 56 div.page-body { … … 8 62 } 9 63 10 div.toc-text, 11 div.toc-figures { 64 /* 65 * TOC 66 */ 67 div.toc-container { 68 display:table-row; 69 } 70 71 div.toc-switcher { 72 /* position: relative; */ 73 display: table-cell; 74 width: 28px; 75 } 76 div.toc-switcher ul { 77 position: absolute; 78 z-index: 20; 79 transform: rotate(270deg); 80 transform-origin: top left; 81 -moz-transform: rotate(270deg); 82 -moz-transform-origin: top left; 83 -webkit-transform: rotate(270deg); 84 -webkit-transform-origin: top left; 85 -o-transform: rotate(270deg); 86 -o-transform-origin: top left; 87 left: 12px; 88 top: 486px; 89 padding: 0px; 90 } 91 div.toc-switcher li { 92 list-style-type: none; 93 display: inline; 94 background-color: #d0d0d0; 95 margin-bottom: 5px; 96 border-top: 1px solid silver; 97 border-left: 1px solid silver; 98 border-right: 1px solid silver; 99 border-radius: 5px 5px 0 0; 100 padding: 5px; 101 } 102 div.toc-switcher li.sel { 103 background-color: white; 104 } 105 106 div.tocbody { 107 z-index: 10; 108 display: table-cell; 109 border: 1px solid silver; 110 padding: 0.5em; 111 background-color: white; 112 } 113 114 div.tocbody.text, 115 div.tocbody.figures { 12 116 max-width: 20em; 13 } 14 15 div.col.results { 16 max-width: 20em; 17 } 18 19 div.toc-text .toc, 20 div.toc-figures .toc, 21 div.toc-concordance .toc { 117 background-color: white; 118 } 119 120 div.tocbody.text .toc, 121 div.tocbody.figures .toc, 122 div.tocbody.concordance .toc { 22 123 float:left; 23 124 clear:right; 24 125 } 25 div.toc -text .toc.float.right,26 div.toc -figures .toc.float.right,27 div.toc -concordance .toc.float.right {126 div.tocbody.text .toc.float.right, 127 div.tocbody.figures .toc.float.right, 128 div.tocbody.concordance .toc.float.right { 28 129 float:right; 29 130 } 30 131 31 table.thumbs .thumb { 132 div.tocbody table.thumbs td { 133 text-align: center; 134 } 135 div.tocbody table.thumbs .thumb { 32 136 padding: 3px; 33 137 } 34 table.thumbs .thumbsel {138 div.tocbody table.thumbs .thumbsel { 35 139 padding: 2px; 36 140 border: 1px solid blue; 37 141 } 38 table.thumbs .thumbcap {142 div.tocbody table.thumbs .thumbcap { 39 143 color: black; 40 144 } 41 145 146 /* 147 * content 148 */ 149 div.col.main { 150 padding-left: 5px; 151 padding-right: 5px; 152 } 153 div.col.main div.ruler { 154 margin-top: 4px; 155 } 156 div.col.main span.ruler-main { 157 background-color: #d0d0d0; 158 border-left: 1px solid silver; 159 border-top: 1px solid silver; 160 border-right: 1px solid silver; 161 border-radius: 5px 5px 0 0; 162 padding: 4px; 163 } 164 165 div.col.main div.content { 166 border: 1px solid silver; 167 padding: 1em; 168 background-color: white; 169 font-size: 14px; 170 font-family: Junicode,Gentium,Georgia,serif; 171 } 172 div.col.main div.content a:link, 173 div.col.main div.content a:visited { 174 font-weight: inherit; 175 color: #892B06; 176 } 42 177 span.hit.highlight { 43 background-color: lightgreen; 44 } 178 background-color: lime; 179 } 180 181 /* 182 * buttons 183 */ 184 div.col.buttons div.options { 185 border: 1px solid silver; 186 padding: 0.5em; 187 background-color: white; 188 } 189 div.col.buttons h4 { 190 margin-top: 0; 191 margin-bottom: 0; 192 } 193 div.col.buttons ul { 194 list-style-type: none; 195 padding-left: 0; 196 margin-top: 0.5em; 197 margin-bottom: 0.5em; 198 } 199 200 /* 201 * search results 202 */ 203 div.col.results { 204 max-width: 20em; 205 } 206
Note: See TracChangeset
for help on using the changeset viewer.