source: other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/gs2/style/gs2-style.css@ 26899

Last change on this file since 26899 was 26899, checked in by davidb, 11 years ago

Tipple reborn after Chris's Summer of Code 2013

File size: 6.6 KB
Line 
1/* greenstone 2 style for greenstone3 */
2
3
4a:link { color: #006666; }
5
6a:hover { color: #cc9900; }
7
8a:visited { color: #666633; }
9
10body {
11 padding:0;
12 margin:0;
13 font-family: sans-serif, arial, helvetica;
14 background-image: url('../images/chalk.gif');
15 background-color: #fff;
16 background-repeat:repeat-y;
17 color: #000000;
18}
19
20/* this contains everything - all the other divs */
21#page-wrapper {
22 margin: 0 3em 0 5em;
23 padding: 0;
24}
25
26#banner {
27 margin: 0 0 5px 0;
28 padding:0;
29
30}
31
32/* this div contains the bannerlinks and bannertitle paragraphs */
33div.pageinfo {
34 float: right;
35 text-align: right;
36 padding: 0;
37 margin:0 0 3px 0;
38 width: 50%;
39}
40
41/* home, help, preferences links */
42p.bannerlinks {
43 font-family: sans-serif, arial, helvetica;
44 font-size: 10pt;
45 font-weight: bold;
46 margin:0;
47 padding:0;
48}
49
50/* the title set by the receptionist based on the page action */
51p.bannertitle {
52 font-family: sans-serif, arial, helvetica;
53 font-size: 24px;
54 font-weight: bold;
55 margin: 10px 0 0 0;
56 text-transform: lowercase;
57 white-space: nowrap;
58 padding: 6px 2px 10px 0px;
59 background-repeat: repeat-y;
60 background-position: top right;
61 background-image: url('../images/banner_bg.png');
62
63 }
64
65
66/* home, help, preferences links */
67p.bannerlinks {
68 font-family: sans-serif, arial, helvetica;
69 font-size: 10pt;
70 font-weight: bold;
71 margin:0;
72 padding:0;
73}
74
75/* the image for the collection, shown in the banner */
76div.collectimage {
77 text-align: left;
78 #height: 100%; /* for IE5/6 to make containing div the full height */
79 float: left;
80 width: 45%;
81 padding:0;
82 margin:0;
83 background-image: url('../images/banner_bg.png');
84 background-repeat: repeat-y;
85}
86
87p.collectiontitle {
88 font-family: sans-serif, arial, helvetica;
89 font-size: 24px;
90 font-weight: bold;
91 text-transform: lowercase;
92 white-space: nowrap;
93 padding: 8px 0px 12px 2px;
94 background-repeat: repeat-y;
95 background-position: top left;
96 margin:0;
97}
98
99a.collectiontitle {
100 color: black;
101 text-decoration: none;
102}
103
104/* make sure this is shown under the other divs (which may be floating) */
105div.bannerextra {
106 clear: both;
107}
108
109/* bg image set in style macro */
110div.divbar { /* for "select a collection" */
111 background-image: url('../images/bg_green.png');
112 font-family: arial;
113 font-size: 10pt;
114 font-weight: bold;
115 border: 0;
116 width: 100%; /* for ns4 */
117}
118
119/* bg image set in style macro */
120div.navbar {
121 background-image: url('../images/bg_green.png');
122 min-width: 500px;
123 white-space: nowrap;
124 font-family: sans-serif, arial, helvetica;
125 font-size: 10pt;
126 font-weight: bold;
127 text-transform: lowercase;
128 border: 0;
129 width: 100%; /* for ns4 */
130}
131
132
133p.navbar { /* opt navbar text inside a divbar div */
134 text-align: center;
135 margin: 0;
136 padding: 0;
137}
138
139/* bg image set in style macro */
140a.navlink {
141 vertical-align: top;
142 padding: 0 10px;
143 color: black;
144 text-decoration: none;
145 background-image: url('../images/bg_off.png');
146 margin: 0 0 0 20px;
147}
148
149/* bg image set in style macro */
150a.navlink_sel {
151 vertical-align: top;
152 padding: 0 10px;
153 color: black;
154 text-decoration: none;
155 background-image: url('../images/bg_green.png');
156}
157
158a.navlink:visited {
159 color: black;
160}
161
162/* for the nav_ns4.dm macro only (for netscape4 support) */
163a.navlink_ns4 {
164 background-color: #e8d9b1;
165}
166
167a.navlink:hover {
168 background-image: url('../images/bg_on.png');
169 }
170
171span.narspace{
172 padding:0;
173 margin: 0 0 0 20px;
174}
175
176div.document {
177 padding: 5px 0 0 0;
178 margin:0;
179}
180
181span.textselect { white-space: nowrap; }
182
183div.documenttext { clear: both; } /* come after any floating divs */
184
185div.heading_title {
186 font-size: 16pt;
187 font-weight: bold;
188
189} /* alternate to cover image */
190
191div.heading_image { float: left; } /* optional cover image */
192
193div.document div.buttons {
194 /* anything that holds buttons... toc_buttons but also continue button */
195 width: 100px; /* each button (inside its own div) can overflow this */
196}
197
198div#toc_buttons { /* expand/contract etc "buttons" */
199 clear: left; /* don't put next to another float on our left-hand side */
200 float: left;
201 margin: 0 15px 5px 0;
202}
203
204div.button {
205 font-size: 11px;
206 font-weight: bold;
207 line-height: 1.2em;
208 /*background: #ffeecc; */
209 background: #f7e7c5;
210 margin: 1px;
211 border: 1px solid #eeddbb;
212 text-align: center;
213 vertical-align: middle;
214 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
215 width: 110px;
216}
217
218*>div.button { /* for other browsers - IE6 doesn't apply this */
219 height: auto;
220 width: auto;
221 min-height: 30px;
222 min-width: 110px;
223}
224
225span.button {}
226span.button a { text-decoration: none; color: black; }
227span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
228 background: #eeddbb;
229}
230
231/* new added */
232div.formheading{
233 font-size: 16pt;
234 font-weight: bold;
235 margin: .5em 0 0;
236 padding:0;
237}
238
239table{table-layout:auto;}
240tr{overflow:hidden;}
241td{overflow:hidden;}
242
243td.col1{width:25%;}
244td.col2{width:15;}
245td.col3{width:75%;}
246
247div.documentarrows{
248 clear: both;
249 margin: 0 0 0 0;
250 padding: 1em 0 0 0;
251}
252
253img.lessarrow{
254 float:left;
255 border: none;
256}
257
258img.morearrow{
259 float:right;
260 border:none;
261}
262
263img.lessarrowrtl{
264 float:right;
265 border: none;
266}
267
268img.morearrowrtl{
269 float:left;
270 border:none;
271}
272
273div#documentinfo {
274 float:left;
275 padding-right: 10px;
276 margin:0;
277 }
278
279ul#docbuttons li {
280 display: block;
281 font-size: 11px;
282 font-weight: bold;
283 background: #f7e7c5;
284 margin: 1px;
285 border: 1px solid #eeddbb;
286 text-align: center;
287 vertical-align: middle;
288 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
289
290}
291
292div#toc{
293 float: left;
294}
295
296ul#tocnodes li{
297 margin: 0;
298 padding: 5px 0 0 0;
299 display:block;
300}
301
302ul.tocnode {
303 margin:0;
304 padding:5px 0 0 20px;
305}
306
307ul.tocnode a{
308 margin: 0;
309 padding:0 5px 0 0;
310 }
311
312span.bold{
313 font-weight: bold;
314}
315
316
317div.simplehelp li {
318 margin:0;
319 display:block;
320}
321
322# some stuff from gs3 interface core.css
323
324ul#collectionlist {
325 list-style-type:none;
326 margin:0;
327 padding:0;
328}
329
330ul#collectionlist li {
331 display:block;
332 padding:0;
333 margin: .2em 0 0 0;
334 overflow:hidden;
335}
336
337
338ul#collectionlist img{
339 margin:0;
340 padding:0;
341 width: 150px;
342 height: 45px;
343 border: 1px solid black;
344 background-image: url('../images/collectimg_bg.png');
345 background-repeat: repeat-y;
346 overflow:hidden
347}
348
349ul#collectionlist li a.noimage{
350 display: block;
351 margin:0;
352 width: 145px;
353 height: 40px;
354 border: 1px solid black;
355 background-image: url('../images/collectimg_bg.png');
356 background-repeat: repeat-y;
357 overflow:hidden; padding-left:5px; padding-right:0; padding-top:5px; padding-bottom:0
358
359}
360
361ul#collectionlist li a{
362 font-size: 16px;
363 color: #000000;
364 text-decoration: none;
365 font-weight: bold;
366}
Note: See TracBrowser for help on using the repository browser.