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

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

made a few changes based on what had been done previously for the default core.css, including path quote changes to get it working in IE

  • Property svn:keywords set to Author Date Id Revision
File size: 5.7 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}
83
84p.collectiontitle {
85 font-family: sans-serif, arial, helvetica;
86 font-size: 24px;
87 font-weight: bold;
88 text-transform: lowercase;
89 white-space: nowrap;
90 padding: 8px 0px 12px 2px;
91 background-repeat: repeat-y;
92 background-position: top left;
93 margin:0;
94}
95
96a.collectiontitle {
97 color: black;
98 text-decoration: none;
99}
100
101/* make sure this is shown under the other divs (which may be floating) */
102div.bannerextra {
103 clear: both;
104}
105
106/* bg image set in style macro */
107div.divbar { /* for "select a collection" */
108 background-image: url('../images/bg_green.png');
109 font-family: arial;
110 font-size: 10pt;
111 font-weight: bold;
112 border: 0;
113 width: 100%; /* for ns4 */
114}
115
116/* bg image set in style macro */
117div.navbar {
118 background-image: url('../images/bg_green.png');
119 min-width: 500px;
120 white-space: nowrap;
121 font-family: sans-serif, arial, helvetica;
122 font-size: 10pt;
123 font-weight: bold;
124 text-transform: lowercase;
125 border: 0;
126 width: 100%; /* for ns4 */
127}
128
129
130p.navbar { /* opt navbar text inside a divbar div */
131 text-align: center;
132 margin: 0;
133 padding: 0;
134}
135
136/* bg image set in style macro */
137a.navlink {
138 vertical-align: top;
139 padding: 0 10px;
140 color: black;
141 text-decoration: none;
142 background-image: url('../images/bg_off.png');
143 margin: 0 0 0 20px;
144}
145
146/* bg image set in style macro */
147a.navlink_sel {
148 vertical-align: top;
149 padding: 0 10px;
150 color: black;
151 text-decoration: none;
152 background-image: url('../images/bg_green.png');
153}
154
155a.navlink:visited {
156 color: black;
157}
158
159/* for the nav_ns4.dm macro only (for netscape4 support) */
160a.navlink_ns4 {
161 background-color: #e8d9b1;
162}
163
164a.navlink:hover {
165 background-image: url('../images/bg_on.png');
166 }
167
168span.narspace{
169 padding:0;
170 margin: 0 0 0 20px;
171}
172
173div.document {
174 padding: 5px 0 0 0;
175 margin:0;
176}
177
178span.textselect { white-space: nowrap; }
179
180div.documenttext { clear: both; } /* come after any floating divs */
181
182div.heading_title {
183 font-size: 16pt;
184 font-weight: bold;
185
186} /* alternate to cover image */
187
188div.heading_image { float: left; } /* optional cover image */
189
190div.document div.buttons {
191 /* anything that holds buttons... toc_buttons but also continue button */
192 width: 100px; /* each button (inside its own div) can overflow this */
193}
194
195div#toc_buttons { /* expand/contract etc "buttons" */
196 clear: left; /* don't put next to another float on our left-hand side */
197 float: left;
198 margin: 0 15px 5px 0;
199}
200
201div.button {
202 font-size: 11px;
203 font-weight: bold;
204 line-height: 1.2em;
205 /*background: #ffeecc; */
206 background: #f7e7c5;
207 margin: 1px;
208 border: 1px solid #eeddbb;
209 text-align: center;
210 vertical-align: middle;
211 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
212 width: 110px;
213}
214
215*>div.button { /* for other browsers - IE6 doesn't apply this */
216 height: auto;
217 width: auto;
218 min-height: 30px;
219 min-width: 110px;
220}
221
222span.button {}
223span.button a { text-decoration: none; color: black; }
224span.button a:hover { /* IE6 doesn't do :hover for things that aren't <A> */
225 background: #eeddbb;
226}
227
228/* new added */
229div.formheading{
230 font-size: 16pt;
231 font-weight: bold;
232 margin: .5em 0 0;
233 padding:0;
234}
235
236table{table-layout:fixed;}
237tr{overflow:hidden;}
238td{overflow:hidden;}
239
240td.col1{width:25%;}
241td.col2{width:15;}
242td.col3{width:75%;}
243
244div.documentarrows{
245 clear: both;
246 margin: 0 0 0 0;
247 padding: 1em 0 0 0;
248}
249
250img.lessarrow{
251 float:left;
252 border: none;
253}
254
255img.morearrow{
256 float:right;
257 border:none;
258}
259
260img.lessarrowrtl{
261 float:right;
262 border: none;
263}
264
265img.morearrowrtl{
266 float:left;
267 border:none;
268}
269
270div#documentinfo {
271 float:left;
272 padding-right: 10px;
273 margin:0;
274 }
275
276ul#docbuttons li {
277 display: block;
278 font-size: 11px;
279 font-weight: bold;
280 background: #f7e7c5;
281 margin: 1px;
282 border: 1px solid #eeddbb;
283 text-align: center;
284 vertical-align: middle;
285 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
286
287}
288
289div#toc{
290 float: left;
291}
292
293ul#tocnodes li{
294 margin: 0;
295 padding: 5px 0 0 0;
296 display:block;
297}
298
299ul.tocnode {
300 margin:0;
301 padding:5px 0 0 20px;
302}
303
304ul.tocnode a{
305 margin: 0;
306 padding:0 5px 0 0;
307 }
308
309span.bold{
310 font-weight: bold;
311}
312
313
314div.simplehelp li {
315 margin:0;
316 display:block;
317}
Note: See TracBrowser for help on using the repository browser.