source: greenstone3/trunk/web/interfaces/classic/style/classic.css@ 16859

Last change on this file since 16859 was 16859, checked in by kjdon, 16 years ago

added a style for li in simple help otherwise get no style for this

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