author | Dan |
Sun, 01 Jul 2007 17:12:42 -0400 | |
changeset 37 | 7267c2a67a93 |
parent 32 | 4d87aad3c4c0 |
child 51 | 436e7a3a4013 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
* St. Patty theme for Enano |
|
3 |
* Copyright (C) 2007 Dan Fuhry |
|
4 |
* |
|
5 |
* This theme is Free Software, available under the terms of the GNU General Public License. See the file "GPL" included with this |
|
6 |
* package for details. |
|
7 |
* |
|
8 |
* Some ideas - most notably the hatching patterns and floating divs, were taken from Bittersweet <http://templates.arcsin.se/> |
|
9 |
* No code or graphics were copied. |
|
10 |
*/ |
|
11 |
||
12 |
html,body { |
|
13 |
margin: 0; |
|
14 |
padding: 0; |
|
15 |
height: 100%; |
|
16 |
} |
|
17 |
body { |
|
18 |
background-color: #101d14; |
|
19 |
background-image: url(../images/bghatching.gif); |
|
20 |
background-repeat: repeat; |
|
21 |
font-family: "Lucida Sans Unicode", sans-serif; |
|
22 |
font-size: 75%; |
|
23 |
} |
|
24 |
div#bg { |
|
25 |
min-height: 500px; |
|
26 |
width: 100%; |
|
27 |
background-image: url(../images/bgfade.png); |
|
28 |
background-repeat: repeat-x; |
|
29 |
} |
|
30 |
div#rap { |
|
31 |
width: 760px; |
|
32 |
padding: 0 10px; |
|
33 |
margin: 0 auto; |
|
34 |
background-image: url(../images/rap.png); |
|
35 |
} |
|
36 |
div#title { |
|
37 |
margin: 0px; |
|
38 |
padding: 0px; |
|
39 |
background-color: #6abd2b; |
|
40 |
background-image: url(../images/header.gif); |
|
41 |
background-repeat: repeat-x; |
|
42 |
border-bottom: 1px solid #237000; |
|
43 |
vertical-align: middle; |
|
44 |
} |
|
45 |
div#title h1 { |
|
46 |
margin: 0px 10px 10px 10px; |
|
47 |
padding-top: 30px; |
|
48 |
text-align: left; |
|
49 |
} |
|
50 |
div#title h2 { |
|
51 |
margin: 0px 10px 0px 10px; |
|
52 |
padding-bottom: 40px; |
|
53 |
text-align: left; |
|
54 |
} |
|
55 |
div#title img#clover { |
|
56 |
float: right; |
|
57 |
margin-right: 10px; |
|
58 |
margin-top: 10px; |
|
59 |
||
60 |
display: none; |
|
61 |
} |
|
62 |
div.straightaway { |
|
63 |
clear: both; |
|
64 |
} |
|
65 |
/* Footer */ |
|
66 |
div.footer { |
|
67 |
min-height: 40px; |
|
68 |
padding: 10px; |
|
69 |
background-image: url(../images/footer.gif); |
|
70 |
background-repeat: repeat-x; |
|
71 |
background-color: #6fba38; |
|
72 |
color: #FFF; |
|
73 |
} |
|
74 |
div.footer a { |
|
75 |
color: #B3FF78; |
|
76 |
} |
|
77 |
||
78 |
/* Content area */ |
|
79 |
div#maincontent { |
|
80 |
padding: 10px; |
|
81 |
padding-right: 150px; |
|
37 | 82 |
clear: left; |
0 | 83 |
} |
84 |
img#ajaxloadicon { |
|
85 |
margin-top: 10px; |
|
86 |
} |
|
87 |
div#maincontent h2 { |
|
88 |
color: #53a018; |
|
89 |
margin: 10px 0; |
|
90 |
padding: 0; |
|
91 |
font-size: 16pt; |
|
92 |
} |
|
93 |
div#maincontent p { |
|
94 |
margin-left: 1em; |
|
95 |
} |
|
96 |
div#maincontent h2#pagetitle { |
|
97 |
margin: 0; |
|
98 |
border-bottom: 1px solid #73c038; |
|
99 |
font-size: 18pt; |
|
100 |
color: #000000; |
|
101 |
} |
|
102 |
div#maincontent a:link, div#maincontent a:visited { |
|
103 |
color: #237000; |
|
104 |
text-decoration: none; |
|
105 |
} |
|
106 |
div#maincontent a:hover { |
|
107 |
color: #033000; |
|
108 |
border-bottom: 1px dotted #033000; |
|
109 |
} |
|
110 |
div#maincontent a.wikilink-nonexistent { |
|
111 |
color: #AA0000; |
|
112 |
} |
|
113 |
div#maincontent a.wikilink-nonexistent:hover { |
|
114 |
color: #BA2000; |
|
115 |
} |
|
116 |
div#maincontent ul { |
|
117 |
list-style: square; |
|
118 |
} |
|
119 |
/* Sidebar */ |
|
120 |
div#sidebar, div.dbx-box { |
|
121 |
float: right; |
|
37 | 122 |
clear: right; |
0 | 123 |
width: 135px; |
124 |
} |
|
125 |
div#sidebar h4, div.dbx-handle { |
|
126 |
margin: 0; |
|
127 |
padding: 0 5px; |
|
128 |
line-height: 25px; |
|
129 |
color: #FFF; |
|
130 |
background-color: #104715; |
|
131 |
border-bottom: 1px solid #93e058; |
|
132 |
font-weight: normal; |
|
133 |
text-align: right; |
|
134 |
text-transform: lowercase; |
|
135 |
} |
|
136 |
div.dbx-handle { |
|
137 |
text-align: left; |
|
138 |
cursor: move; |
|
139 |
} |
|
140 |
div#sidebar ul, .dbx-content ul { |
|
141 |
margin: 0; |
|
142 |
padding: 0; |
|
143 |
list-style: none !important; |
|
144 |
} |
|
145 |
div#sidebar ul li, div.dbx-content ul li { |
|
146 |
padding: 0; |
|
147 |
} |
|
148 |
div#sidebar ul li a, div.dbx-content ul li a { |
|
149 |
line-height: 25px; |
|
150 |
padding: 0 7px; |
|
151 |
text-decoration: none; |
|
152 |
color: #000; |
|
153 |
background-color: #60A745; |
|
154 |
display: block; |
|
155 |
border-bottom: 1px solid #93e058; |
|
156 |
} |
|
157 |
div#sidebar ul li a:hover, div.dbx-content ul li a:hover { |
|
158 |
background-color: #70B755; |
|
159 |
} |
|
160 |
div#sidebar div, div.dbx-content2 { |
|
161 |
background-color: #60A745; |
|
162 |
border-bottom: 1px solid #93e058; |
|
163 |
width: 135px; |
|
164 |
/* padding: 3px; */ |
|
165 |
} |
|
166 |
div#sidebar div ul { |
|
167 |
margin-left: 2em; |
|
168 |
list-style: square; |
|
169 |
} |
|
170 |
div#sidebar div ul a { |
|
171 |
background-color: transparent; |
|
172 |
display: inline; |
|
173 |
border-bottom-width: 0px; |
|
174 |
padding: 0; |
|
175 |
color: #134000; |
|
176 |
} |
|
177 |
div#sidebar div ul a:hover { |
|
178 |
background-color: transparent; |
|
179 |
display: inline; |
|
180 |
color: #033000; |
|
181 |
border-bottom: 1px dotted #033000; |
|
182 |
} |
|
183 |
div#maincontent div.dbx-box a { |
|
184 |
color: #000000; |
|
185 |
} |
|
186 |
div#sidebar div div { |
|
187 |
background: transparent; |
|
188 |
border-bottom-width: 0; |
|
189 |
padding: 0; |
|
190 |
} |
|
191 |
/* Page toolbar */ |
|
192 |
/* |
|
193 |
div.pagetools { |
|
194 |
background-color: #93e058; |
|
195 |
line-height: 20px; |
|
196 |
font-size: 75%; |
|
197 |
padding: 0 5px; |
|
198 |
} |
|
199 |
div.pagetools a { |
|
200 |
text-decoration: none; |
|
201 |
padding: 3px; |
|
202 |
color: #235000; |
|
203 |
} |
|
204 |
div.pagetools a:hover { |
|
205 |
background-color: #A3F068; |
|
206 |
height: 20px; |
|
207 |
} |
|
208 |
div.pagetools a.selected { |
|
209 |
font-weight: bold; |
|
210 |
background-color: #f4fff7; |
|
211 |
} |
|
212 |
div.pagetools#pagebarpopup { |
|
213 |
display: none; |
|
214 |
position: absolute; |
|
215 |
width: 150px; |
|
216 |
padding: 0; |
|
217 |
overflow: hidden; |
|
218 |
} |
|
219 |
div.pagetools#pagebarpopup a { |
|
220 |
display: block; |
|
221 |
} |
|
222 |
*/ |
|
223 |
||
224 |
/* |
|
225 |
* jBox menu system |
|
226 |
*/ |
|
227 |
||
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
228 |
div.menu, div.menu_nojs { |
0 | 229 |
background-color: #93e058; |
230 |
font-size: 7pt; |
|
231 |
border-width: 0; |
|
232 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
233 |
div.menu a, div.menu_nojs a, div.menu div.label, div.menu_nojs div.label { |
0 | 234 |
padding: 2.5pt 5px; |
235 |
margin-right: 3px; |
|
236 |
text-decoration: none; |
|
237 |
display: block; |
|
238 |
float: left; |
|
239 |
color: #235000; |
|
240 |
border-bottom-width: 0 !important; |
|
241 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
242 |
div.menu div.label, div.menu_nojs div.label { |
0 | 243 |
color: #002010; |
244 |
cursor: default; |
|
245 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
246 |
div.menu span.sep, div.menu_nojs span.sep { |
0 | 247 |
display: block; |
248 |
float: left; |
|
249 |
width: 5px; |
|
250 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
251 |
div.menu div.multopts, div.menu_nojs div.multopts { |
0 | 252 |
line-height: 17pt; |
253 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
254 |
div.menu div.multopts a, div.menu_nojs div.multopts a, div.menu div.multopts div.label, div.menu_nojs div.multopts div.label { |
0 | 255 |
float: none; |
256 |
display: inline; |
|
257 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
258 |
div.menu a.liteselected, div.menu_nojs a.liteselected, div.menu a.liteselected:hover, div.menu_nojs a.liteselected:hover, div.menu a:hover, div.menu_nojs a:hover { |
0 | 259 |
color: #235000; |
260 |
background-color: #A3F068; |
|
261 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
262 |
div.menu input[type ^="text"], div.menu_nojs input[type ^="text"], div.menu input[type ^="password"], div.menu_nojs input[type ^="password"] { |
0 | 263 |
border-width: 0; |
264 |
font-size: 9pt; |
|
265 |
padding: 4px 5px; |
|
266 |
max-width: 70px; |
|
267 |
background-color: #A3F068; |
|
268 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
269 |
div.menu input[type ^="text"]:hover, div.menu_nojs input[type ^="text"]:hover, div.menu input[type ^="password"]:hover, div.menu_nojs input[type ^="password"]:hover { |
0 | 270 |
background-color: #AAF870; |
271 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
272 |
div.menu input[type ^="text"]:focus, div.menu_nojs input[type ^="text"]:focus, div.menu input[type ^="password"]:focus, div.menu_nojs input[type ^="password"]:focus { |
0 | 273 |
background-color: #B3FF78; |
274 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
275 |
div.menu input[type ^="button"], div.menu_nojs input[type ^="button"], div.menu input[type ^="submit"], div.menu_nojs input[type ^="submit"] { |
0 | 276 |
border-width: 0; |
277 |
font-size: 9pt; |
|
278 |
padding: 3px 5px; |
|
279 |
max-width: 70px; |
|
280 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
281 |
div.menu a.current, div.menu_nojs a.current, div.menu a.current:hover, div.menu_nojs a.current:hover, div.menu a.selected, div.menu_nojs a.selected, div.menu a.selected:hover, div.menu_nojs a.selected:hover { |
0 | 282 |
color: #000040; |
283 |
background-color: #f4fff7; |
|
284 |
font-weight: bold; |
|
285 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
286 |
div.menu ul, div.menu_nojs ul { |
0 | 287 |
display: none; |
288 |
position: absolute; |
|
289 |
padding: 0; |
|
290 |
margin: 0; |
|
291 |
background-color: #93e058; |
|
292 |
border-width: 0; |
|
293 |
min-width: 120px; |
|
294 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
295 |
/* |
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
296 |
div.menu_nojs ul { |
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
297 |
display: block !important; |
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
298 |
} |
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
299 |
*/ |
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
300 |
div.menu ul li, div.menu_nojs ul li { |
0 | 301 |
list-style: none; |
302 |
} |
|
32
4d87aad3c4c0
Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Dan
parents:
0
diff
changeset
|
303 |
div.menu ul a, div.menu_nojs ul a { |
0 | 304 |
float: none; |
305 |
margin: 0; |
|
306 |
} |
|
307 |
span.menuclear { |
|
308 |
font-size: 1px; |
|
309 |
height: 0px; |
|
310 |
width: 0px; |
|
311 |
clear: left; |
|
312 |
line-height: 0px; |
|
313 |
display: block; |
|
314 |
} |
|
315 |
||
316 |
/* Other Enano-related stuff */ |
|
317 |
||
318 |
/* Tables */ |
|
319 |
.tblholder { margin: 10px 0 0 0; padding: 0; border: 1px solid #AAAAAA; background-color: #E8E8E8; } |
|
320 |
div.tblholder td.row1 { padding: 4px; background-color: #E0E0E0; } |
|
321 |
div.tblholder td.row2 { padding: 4px; background-color: #F0F0F0; } |
|
322 |
div.tblholder td.row3 { padding: 4px; background-color: #E8E8E8; } |
|
323 |
div.tblholder th { padding: 4px; background-color: #73c038; font-weight: bold; text-align: center; color: #FFFFFF; } |
|
324 |
div.tblholder th.subhead { padding: 4px; background-color: #93e058; font-weight: bold; text-align: center; color: #FFFFFF; } |
|
325 |
div.tblholder table { background-color: #FFFFFF; width: 100%; } |
|
326 |
||
327 |
/* JWS window theming */ |
|
328 |
div.jswindow { border: 2px solid #7090B0; border-top: 5px solid #7090B0; padding: 0px; font-family: Trebuchet MS, tahoma, verdana, arial, sans-serif; font-size: 9pt; display: none; position: absolute; background-color: #FFFFFF; } |
|
329 |
div.titlebar { background-color: #7090B0; color: #FFFFFF; font-family: Trebuchet MS, tahoma, verdana, arial, sans-serif; font-size: 9pt; padding-bottom: 4px; cursor: default; } |
|
330 |
div.titlebar div.closebtn { width: 16px; height: 16px; border: 1px solid #B0D0F0; background-color: #90B0D0; display: block; } |
|
331 |
div.titlebar div.closebtn:hover { width: 16px; height: 16px; border: 1px solid #FFFFFF; background-color: #B0D0F0; display: block; } |
|
332 |
div.titlebar table, div.titlebar td { margin: 0; padding: 0; } |
|
333 |
div.jswindow div.content { padding: 10px; margin: 0; background-color: #FFFFFF; } |
|
334 |
||
335 |
/* The Wordpress-like fills behind checkboxes and their labels */ |
|
336 |
.catCheck { padding: 3px; } |
|
337 |
.catCheck:hover { padding: 3px; background-color: #F0F0F0; } |
|
338 |
||
339 |
/* Information, warning, question, error, and wait boxes */ |
|
340 |
div.error-box { background-image: url(../../../images/error.png); background-repeat: no-repeat; background-color: #FFF4F4; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 1em; min-height: 25px; } |
|
341 |
div.info-box { background-image: url(../../../images/info.png); background-repeat: no-repeat; background-color: #F4F4FF; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 1em; min-height: 25px; } |
|
342 |
div.warning-box { background-image: url(../../../images/warning.png); background-repeat: no-repeat; background-color: #FFFFF4; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 1em; min-height: 25px; } |
|
343 |
div.question-box { background-image: url(../../../images/question.png); background-repeat: no-repeat; background-color: #F4FFF4; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 1em; min-height: 25px; } |
|
344 |
div.wait-box { background-image: url(../../../images/wait.png); background-repeat: no-repeat; background-color: #FFF4FF; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 1em; min-height: 25px; } |
|
345 |
||
346 |
/* Tables where diffs are shown */ |
|
347 |
table.diff, td.diff-otitle, td.diff-ntitle { background-color: white; } |
|
348 |
td.diff-addedline { background: #cfc; font-size: smaller; } |
|
349 |
td.diff-deletedline { background: #ffa; font-size: smaller; } |
|
350 |
td.diff-context { background: #eee; font-size: smaller; } |
|
351 |
span.diffchange { color: red; font-weight: bold; } |
|
352 |
||
353 |
/* Bordered boxes */ |
|
354 |
blockquote, .mdg-comment, .mdg-infobox { |
|
355 |
background: #FFF; |
|
356 |
border-bottom: 1px solid #EEE; |
|
357 |
border-top: 1px solid #EEE; |
|
358 |
color: #333; |
|
359 |
display: block; |
|
360 |
margin-bottom: 1.2em; |
|
361 |
padding: 6px 12px; |
|
362 |
} |
|
363 |
||
364 |
/* |
|
365 |
* Docking Boxes code (for the sidebar editor) |
|
366 |
*/ |
|
367 |
||
368 |
/* group container(s) */ |
|
369 |
#sbedit { |
|
370 |
margin: 0; |
|
371 |
padding: 0; |
|
372 |
/* position:relative; /* additional outer containers must also have position:relative */ |
|
373 |
} |
|
374 |
/* keyboard navigation tooltip */ |
|
375 |
.dbx-tooltip { |
|
376 |
display:block; |
|
377 |
position:absolute; |
|
378 |
margin:36px 0 0 125px; |
|
379 |
width:185px; |
|
380 |
border:1px solid #000; |
|
381 |
background:#ffd; |
|
382 |
color:#000; |
|
383 |
font:normal normal normal 0.85em tahoma, arial, sans-serif; |
|
384 |
padding:2px 4px 3px 5px; |
|
385 |
text-align:left; |
|
386 |
} |
|
387 |
* html .dbx-tooltip { width:195px; } |
|
388 |
||
389 |
/* use CSS2 system colors in CSS2 browsers |
|
390 |
but not safari, which doesn't support them */ |
|
391 |
*[class="dbx-tooltip"]:lang(en) { |
|
392 |
border-color:InfoText; |
|
393 |
background:InfoBackground; |
|
394 |
color:InfoText; |
|
395 |
font:small-caption; |
|
396 |
font-weight:normal; |
|
397 |
} |
|
398 |
/* additional clone styles */ |
|
399 |
.dbx-clone { |
|
400 |
opacity: 0.8; |
|
401 |
} |
|
402 |
.dbx-content ul { |
|
403 |
margin: 0; padding: 0; |
|
404 |
list-style: none; |
|
405 |
} |
|
406 |
.dbx-content li a, .dbx-content li a:hover { |
|
407 |
text-decoration: none; |
|
408 |
} |
|
409 |
.dbx-content2 { |
|
410 |
margin: 0px 1px 0px 1px; |
|
411 |
} |
|
412 |
||
413 |
/* inputs */ |
|
414 |
input { |
|
415 |
color: #555; |
|
416 |
font: normal 1.1em "Lucida Sans Unicode",sans-serif; |
|
417 |
} |
|
418 |
||
419 |
input, select, textarea { |
|
420 |
background-color: #539018; |
|
421 |
color: #FFF; |
|
422 |
padding: 2px; |
|
423 |
border: 1px solid #EEE; |
|
424 |
} |
|
425 |
||
426 |
input:hover { |
|
427 |
background-color: #73b038; |
|
428 |
} |
|
429 |
||
430 |
input:active { |
|
431 |
background-color: #83c048; |
|
432 |
} |
|
433 |