source: greenstone3/trunk/web/interfaces/gs2/style/gs2-style.css@ 20039

Last change on this file since 20039 was 20039, checked in by kjdon, 15 years ago

copied some style things from default interface to try and get automatic collection images working. Have left coll images there for now. still work to do.

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