Merge lp:~daimoneze/osdf/drupal7-theme into lp:~sillydeveloper/osdf/trunk
- drupal7-theme
- Merge into trunk
Proposed by
Toast McFarland
Status: | Merged |
---|---|
Merge reported by: | Toast McFarland |
Merged at revision: | not available |
Proposed branch: | lp:~daimoneze/osdf/drupal7-theme |
Merge into: | lp:~sillydeveloper/osdf/trunk |
Diff against target: |
3783 lines (+3605/-0) (has conflicts) 18 files modified
LICENSE.txt (+274/-0) orange/css/ie-6.css (+45/-0) orange/css/ie-7.css (+51/-0) orange/css/style.css (+1266/-0) orange/js/orange.js (+13/-0) orange/orange.info (+41/-0) orange/orange.skinr.inc (+368/-0) orange/template.php (+207/-0) orange/templates/block.tpl.php (+53/-0) orange/templates/comment-wrapper.tpl.php (+53/-0) orange/templates/comment.tpl.php (+86/-0) orange/templates/html.tpl.php (+54/-0) orange/templates/node.tpl.php (+114/-0) orange/templates/page.tpl.php (+113/-0) orange/templates/region.tpl.php (+34/-0) orange_admin/css/style-admin.css (+760/-0) orange_admin/orange_admin.info (+26/-0) orange_admin/page.tpl.php (+47/-0) Conflict adding file LICENSE.txt. Moved existing file to LICENSE.txt.moved. |
To merge this branch: | bzr merge lp:~daimoneze/osdf/drupal7-theme |
Related bugs: | |
Related blueprints: |
Configuration of Drupal
(Essential)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Ettinger | Pending | ||
Review via email: mp+60257@code.launchpad.net |
Commit message
Change to Drupal 7 theme.
Description of the change
Changing to Drupal 7 theme.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'LICENSE.txt' |
2 | --- LICENSE.txt 1970-01-01 00:00:00 +0000 |
3 | +++ LICENSE.txt 2011-05-06 23:15:54 +0000 |
4 | @@ -0,0 +1,274 @@ |
5 | +GNU GENERAL PUBLIC LICENSE |
6 | + |
7 | + Version 2, June 1991 |
8 | + |
9 | +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, |
10 | +Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute |
11 | +verbatim copies of this license document, but changing it is not allowed. |
12 | + |
13 | + Preamble |
14 | + |
15 | +The licenses for most software are designed to take away your freedom to |
16 | +share and change it. By contrast, the GNU General Public License is |
17 | +intended to guarantee your freedom to share and change free software--to |
18 | +make sure the software is free for all its users. This General Public License |
19 | +applies to most of the Free Software Foundation's software and to any other |
20 | +program whose authors commit to using it. (Some other Free Software |
21 | +Foundation software is covered by the GNU Library General Public License |
22 | +instead.) You can apply it to your programs, too. |
23 | + |
24 | +When we speak of free software, we are referring to freedom, not price. Our |
25 | +General Public Licenses are designed to make sure that you have the |
26 | +freedom to distribute copies of free software (and charge for this service if |
27 | +you wish), that you receive source code or can get it if you want it, that you |
28 | +can change the software or use pieces of it in new free programs; and that |
29 | +you know you can do these things. |
30 | + |
31 | +To protect your rights, we need to make restrictions that forbid anyone to |
32 | +deny you these rights or to ask you to surrender the rights. These restrictions |
33 | +translate to certain responsibilities for you if you distribute copies of the |
34 | +software, or if you modify it. |
35 | + |
36 | +For example, if you distribute copies of such a program, whether gratis or for |
37 | +a fee, you must give the recipients all the rights that you have. You must make |
38 | +sure that they, too, receive or can get the source code. And you must show |
39 | +them these terms so they know their rights. |
40 | + |
41 | +We protect your rights with two steps: (1) copyright the software, and (2) |
42 | +offer you this license which gives you legal permission to copy, distribute |
43 | +and/or modify the software. |
44 | + |
45 | +Also, for each author's protection and ours, we want to make certain that |
46 | +everyone understands that there is no warranty for this free software. If the |
47 | +software is modified by someone else and passed on, we want its recipients |
48 | +to know that what they have is not the original, so that any problems |
49 | +introduced by others will not reflect on the original authors' reputations. |
50 | + |
51 | +Finally, any free program is threatened constantly by software patents. We |
52 | +wish to avoid the danger that redistributors of a free program will individually |
53 | +obtain patent licenses, in effect making the program proprietary. To prevent |
54 | +this, we have made it clear that any patent must be licensed for everyone's |
55 | +free use or not licensed at all. |
56 | + |
57 | +The precise terms and conditions for copying, distribution and modification |
58 | +follow. |
59 | + |
60 | + GNU GENERAL PUBLIC LICENSE |
61 | + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND |
62 | + MODIFICATION |
63 | + |
64 | +0. This License applies to any program or other work which contains a notice |
65 | +placed by the copyright holder saying it may be distributed under the terms |
66 | +of this General Public License. The "Program", below, refers to any such |
67 | +program or work, and a "work based on the Program" means either the |
68 | +Program or any derivative work under copyright law: that is to say, a work |
69 | +containing the Program or a portion of it, either verbatim or with |
70 | +modifications and/or translated into another language. (Hereinafter, translation |
71 | +is included without limitation in the term "modification".) Each licensee is |
72 | +addressed as "you". |
73 | + |
74 | +Activities other than copying, distribution and modification are not covered |
75 | +by this License; they are outside its scope. The act of running the Program is |
76 | +not restricted, and the output from the Program is covered only if its contents |
77 | +constitute a work based on the Program (independent of having been made |
78 | +by running the Program). Whether that is true depends on what the Program |
79 | +does. |
80 | + |
81 | +1. You may copy and distribute verbatim copies of the Program's source |
82 | +code as you receive it, in any medium, provided that you conspicuously and |
83 | +appropriately publish on each copy an appropriate copyright notice and |
84 | +disclaimer of warranty; keep intact all the notices that refer to this License |
85 | +and to the absence of any warranty; and give any other recipients of the |
86 | +Program a copy of this License along with the Program. |
87 | + |
88 | +You may charge a fee for the physical act of transferring a copy, and you |
89 | +may at your option offer warranty protection in exchange for a fee. |
90 | + |
91 | +2. You may modify your copy or copies of the Program or any portion of it, |
92 | +thus forming a work based on the Program, and copy and distribute such |
93 | +modifications or work under the terms of Section 1 above, provided that you |
94 | +also meet all of these conditions: |
95 | + |
96 | +a) You must cause the modified files to carry prominent notices stating that |
97 | +you changed the files and the date of any change. |
98 | + |
99 | +b) You must cause any work that you distribute or publish, that in whole or in |
100 | +part contains or is derived from the Program or any part thereof, to be |
101 | +licensed as a whole at no charge to all third parties under the terms of this |
102 | +License. |
103 | + |
104 | +c) If the modified program normally reads commands interactively when run, |
105 | +you must cause it, when started running for such interactive use in the most |
106 | +ordinary way, to print or display an announcement including an appropriate |
107 | +copyright notice and a notice that there is no warranty (or else, saying that |
108 | +you provide a warranty) and that users may redistribute the program under |
109 | +these conditions, and telling the user how to view a copy of this License. |
110 | +(Exception: if the Program itself is interactive but does not normally print such |
111 | +an announcement, your work based on the Program is not required to print |
112 | +an announcement.) |
113 | + |
114 | +These requirements apply to the modified work as a whole. If identifiable |
115 | +sections of that work are not derived from the Program, and can be |
116 | +reasonably considered independent and separate works in themselves, then |
117 | +this License, and its terms, do not apply to those sections when you distribute |
118 | +them as separate works. But when you distribute the same sections as part |
119 | +of a whole which is a work based on the Program, the distribution of the |
120 | +whole must be on the terms of this License, whose permissions for other |
121 | +licensees extend to the entire whole, and thus to each and every part |
122 | +regardless of who wrote it. |
123 | + |
124 | +Thus, it is not the intent of this section to claim rights or contest your rights to |
125 | +work written entirely by you; rather, the intent is to exercise the right to |
126 | +control the distribution of derivative or collective works based on the |
127 | +Program. |
128 | + |
129 | +In addition, mere aggregation of another work not based on the Program |
130 | +with the Program (or with a work based on the Program) on a volume of a |
131 | +storage or distribution medium does not bring the other work under the scope |
132 | +of this License. |
133 | + |
134 | +3. You may copy and distribute the Program (or a work based on it, under |
135 | +Section 2) in object code or executable form under the terms of Sections 1 |
136 | +and 2 above provided that you also do one of the following: |
137 | + |
138 | +a) Accompany it with the complete corresponding machine-readable source |
139 | +code, which must be distributed under the terms of Sections 1 and 2 above |
140 | +on a medium customarily used for software interchange; or, |
141 | + |
142 | +b) Accompany it with a written offer, valid for at least three years, to give |
143 | +any third party, for a charge no more than your cost of physically performing |
144 | +source distribution, a complete machine-readable copy of the corresponding |
145 | +source code, to be distributed under the terms of Sections 1 and 2 above on |
146 | +a medium customarily used for software interchange; or, |
147 | + |
148 | +c) Accompany it with the information you received as to the offer to distribute |
149 | +corresponding source code. (This alternative is allowed only for |
150 | +noncommercial distribution and only if you received the program in object |
151 | +code or executable form with such an offer, in accord with Subsection b |
152 | +above.) |
153 | + |
154 | +The source code for a work means the preferred form of the work for |
155 | +making modifications to it. For an executable work, complete source code |
156 | +means all the source code for all modules it contains, plus any associated |
157 | +interface definition files, plus the scripts used to control compilation and |
158 | +installation of the executable. However, as a special exception, the source |
159 | +code distributed need not include anything that is normally distributed (in |
160 | +either source or binary form) with the major components (compiler, kernel, |
161 | +and so on) of the operating system on which the executable runs, unless that |
162 | +component itself accompanies the executable. |
163 | + |
164 | +If distribution of executable or object code is made by offering access to |
165 | +copy from a designated place, then offering equivalent access to copy the |
166 | +source code from the same place counts as distribution of the source code, |
167 | +even though third parties are not compelled to copy the source along with the |
168 | +object code. |
169 | + |
170 | +4. You may not copy, modify, sublicense, or distribute the Program except as |
171 | +expressly provided under this License. Any attempt otherwise to copy, |
172 | +modify, sublicense or distribute the Program is void, and will automatically |
173 | +terminate your rights under this License. However, parties who have received |
174 | +copies, or rights, from you under this License will not have their licenses |
175 | +terminated so long as such parties remain in full compliance. |
176 | + |
177 | +5. You are not required to accept this License, since you have not signed it. |
178 | +However, nothing else grants you permission to modify or distribute the |
179 | +Program or its derivative works. These actions are prohibited by law if you |
180 | +do not accept this License. Therefore, by modifying or distributing the |
181 | +Program (or any work based on the Program), you indicate your acceptance |
182 | +of this License to do so, and all its terms and conditions for copying, |
183 | +distributing or modifying the Program or works based on it. |
184 | + |
185 | +6. Each time you redistribute the Program (or any work based on the |
186 | +Program), the recipient automatically receives a license from the original |
187 | +licensor to copy, distribute or modify the Program subject to these terms and |
188 | +conditions. You may not impose any further restrictions on the recipients' |
189 | +exercise of the rights granted herein. You are not responsible for enforcing |
190 | +compliance by third parties to this License. |
191 | + |
192 | +7. If, as a consequence of a court judgment or allegation of patent |
193 | +infringement or for any other reason (not limited to patent issues), conditions |
194 | +are imposed on you (whether by court order, agreement or otherwise) that |
195 | +contradict the conditions of this License, they do not excuse you from the |
196 | +conditions of this License. If you cannot distribute so as to satisfy |
197 | +simultaneously your obligations under this License and any other pertinent |
198 | +obligations, then as a consequence you may not distribute the Program at all. |
199 | +For example, if a patent license would not permit royalty-free redistribution |
200 | +of the Program by all those who receive copies directly or indirectly through |
201 | +you, then the only way you could satisfy both it and this License would be to |
202 | +refrain entirely from distribution of the Program. |
203 | + |
204 | +If any portion of this section is held invalid or unenforceable under any |
205 | +particular circumstance, the balance of the section is intended to apply and |
206 | +the section as a whole is intended to apply in other circumstances. |
207 | + |
208 | +It is not the purpose of this section to induce you to infringe any patents or |
209 | +other property right claims or to contest validity of any such claims; this |
210 | +section has the sole purpose of protecting the integrity of the free software |
211 | +distribution system, which is implemented by public license practices. Many |
212 | +people have made generous contributions to the wide range of software |
213 | +distributed through that system in reliance on consistent application of that |
214 | +system; it is up to the author/donor to decide if he or she is willing to |
215 | +distribute software through any other system and a licensee cannot impose |
216 | +that choice. |
217 | + |
218 | +This section is intended to make thoroughly clear what is believed to be a |
219 | +consequence of the rest of this License. |
220 | + |
221 | +8. If the distribution and/or use of the Program is restricted in certain |
222 | +countries either by patents or by copyrighted interfaces, the original copyright |
223 | +holder who places the Program under this License may add an explicit |
224 | +geographical distribution limitation excluding those countries, so that |
225 | +distribution is permitted only in or among countries not thus excluded. In such |
226 | +case, this License incorporates the limitation as if written in the body of this |
227 | +License. |
228 | + |
229 | +9. The Free Software Foundation may publish revised and/or new versions |
230 | +of the General Public License from time to time. Such new versions will be |
231 | +similar in spirit to the present version, but may differ in detail to address new |
232 | +problems or concerns. |
233 | + |
234 | +Each version is given a distinguishing version number. If the Program specifies |
235 | +a version number of this License which applies to it and "any later version", |
236 | +you have the option of following the terms and conditions either of that |
237 | +version or of any later version published by the Free Software Foundation. If |
238 | +the Program does not specify a version number of this License, you may |
239 | +choose any version ever published by the Free Software Foundation. |
240 | + |
241 | +10. If you wish to incorporate parts of the Program into other free programs |
242 | +whose distribution conditions are different, write to the author to ask for |
243 | +permission. For software which is copyrighted by the Free Software |
244 | +Foundation, write to the Free Software Foundation; we sometimes make |
245 | +exceptions for this. Our decision will be guided by the two goals of |
246 | +preserving the free status of all derivatives of our free software and of |
247 | +promoting the sharing and reuse of software generally. |
248 | + |
249 | + NO WARRANTY |
250 | + |
251 | +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, |
252 | +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT |
253 | +PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE |
254 | +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
255 | +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT |
256 | +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, |
257 | +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
258 | +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
259 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND |
260 | +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
261 | +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
262 | +NECESSARY SERVICING, REPAIR OR CORRECTION. |
263 | + |
264 | +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR |
265 | +AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR |
266 | +ANY OTHER PARTY WHO MAY MODIFY AND/OR |
267 | +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE |
268 | +LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, |
269 | +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES |
270 | +ARISING OUT OF THE USE OR INABILITY TO USE THE |
271 | +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA |
272 | +OR DATA BEING RENDERED INACCURATE OR LOSSES |
273 | +SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE |
274 | +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN |
275 | +IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF |
276 | +THE POSSIBILITY OF SUCH DAMAGES. |
277 | + |
278 | + END OF TERMS AND CONDITIONS |
279 | |
280 | === renamed file 'LICENSE.txt' => 'LICENSE.txt.moved' |
281 | === added directory 'orange' |
282 | === added directory 'orange/css' |
283 | === added file 'orange/css/ie-6.css' |
284 | --- orange/css/ie-6.css 1970-01-01 00:00:00 +0000 |
285 | +++ orange/css/ie-6.css 2011-05-06 23:15:54 +0000 |
286 | @@ -0,0 +1,45 @@ |
287 | + |
288 | +#header-top { |
289 | + height: 20px; |
290 | +} |
291 | +#header-top #slogan { |
292 | + float: left; |
293 | +} |
294 | +#header-top #member-login { |
295 | + float: right; |
296 | +} |
297 | +input[type=submit] { |
298 | + padding: 3px 8px; |
299 | +} |
300 | +#nav #search-block-form input[type=text] { |
301 | + width: 125px; |
302 | +} |
303 | +#nav #search-block-form input[type=submit] { |
304 | + padding: 3px 4px; |
305 | +} |
306 | +#nav ul { |
307 | + zoom: 1; |
308 | +} |
309 | +#nav ul li { |
310 | + padding: 0px 15px; |
311 | + line-height: 2.4em; |
312 | + list-style: none; |
313 | + list-style-image: none; |
314 | +} |
315 | +#nav ul li.hover ul { |
316 | + left: 15px; |
317 | + z-index: 4000; |
318 | +} |
319 | +#nav ul ul li a:hover, |
320 | +#nav ul ul li a, |
321 | +#nav ul ul ul li a, |
322 | +#nav ul ul ul li a:hover { |
323 | + display: inline-block; |
324 | +} |
325 | +#nav ul li.expanded ul li.expanded a, |
326 | +#nav ul li.expanded ul li.expanded ul li.expanded a, |
327 | +#nav li.expanded ul li.expanded a:hover, |
328 | +#nav li.expanded ul li.expanded ul li.expanded a:hover { |
329 | + display: inline-block; |
330 | + background: transparent url(../images/ddplus.gif) no-repeat 100% 50%; |
331 | +} |
332 | \ No newline at end of file |
333 | |
334 | === added file 'orange/css/ie-7.css' |
335 | --- orange/css/ie-7.css 1970-01-01 00:00:00 +0000 |
336 | +++ orange/css/ie-7.css 2011-05-06 23:15:54 +0000 |
337 | @@ -0,0 +1,51 @@ |
338 | + |
339 | +body.contextual-links-region { |
340 | + position: static; |
341 | +} |
342 | +#header-top { |
343 | + height: 20px; |
344 | +} |
345 | +#header-top #slogan { |
346 | + float: left; |
347 | +} |
348 | +#header-top #member-login { |
349 | + float: right; |
350 | +} |
351 | +#nav .contextual-links-region { |
352 | + position: static; |
353 | +} |
354 | +input[type=submit] { |
355 | + padding: 3px 8px; |
356 | +} |
357 | +#nav #search-block-form input[type=text] { |
358 | + width: 125px; |
359 | +} |
360 | +#nav #search-block-form input[type=submit] { |
361 | + padding: 3px 4px; |
362 | +} |
363 | +#nav ul { |
364 | + zoom: 1; |
365 | +} |
366 | +#nav ul li { |
367 | + padding: 0px 15px; |
368 | + line-height: 2.4em; |
369 | + list-style: none; |
370 | + list-style-image: none; |
371 | +} |
372 | +#nav ul li.hover ul { |
373 | + left: 15px; |
374 | + z-index: 4000; |
375 | +} |
376 | +#nav ul ul li a:hover, |
377 | +#nav ul ul li a, |
378 | +#nav ul ul ul li a, |
379 | +#nav ul ul ul li a:hover { |
380 | + display: inline-block; |
381 | +} |
382 | +#nav ul li.expanded ul li.expanded a, |
383 | +#nav ul li.expanded ul li.expanded ul li.expanded a, |
384 | +#nav li.expanded ul li.expanded a:hover, |
385 | +#nav li.expanded ul li.expanded ul li.expanded a:hover { |
386 | + display: inline-block; |
387 | + background: transparent url(../images/ddplus.gif) no-repeat 100% 50%; |
388 | +} |
389 | \ No newline at end of file |
390 | |
391 | === added file 'orange/css/style.css' |
392 | --- orange/css/style.css 1970-01-01 00:00:00 +0000 |
393 | +++ orange/css/style.css 2011-05-06 23:15:54 +0000 |
394 | @@ -0,0 +1,1266 @@ |
395 | +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption { |
396 | + background:transparent none repeat scroll 0 0; |
397 | + border:0 none; |
398 | + font-size: 100%; |
399 | + font-weight: normal; |
400 | + margin :0; |
401 | + outline-style: none; |
402 | + outline-width: 0; |
403 | + padding: 0; |
404 | + vertical-align: baseline; |
405 | +} |
406 | +* { |
407 | + outline: none; |
408 | +} |
409 | +body { |
410 | + background: #fff url(../images/bg.jpg) repeat-x 0 0; |
411 | + color: #333; |
412 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
413 | + font-size: 0.75em; |
414 | + line-height: 1.5em; |
415 | +} |
416 | +body.toolbar { |
417 | + background-position: 0 30px; |
418 | + margin: 0; |
419 | +} |
420 | +html body.admin-menu { |
421 | + background-position: 0 20px; |
422 | + margin: 0; |
423 | +} |
424 | +body.toolbar-drawer { |
425 | + background-position: 0 65px; |
426 | + margin: 0; |
427 | +} |
428 | +#skip-link { |
429 | + position: absolute; |
430 | + right: 15px; |
431 | + top: 4px; |
432 | +} |
433 | +#skip-link a { |
434 | + color: #999; |
435 | +} |
436 | +blockquote { |
437 | + font-size: 14px; |
438 | + font-style: italic; |
439 | + font-weight: bold; |
440 | + padding: 5px 15px; |
441 | +} |
442 | +/*---- page top gap fix----*/ |
443 | +body.contextual-links-region { |
444 | + outline: none; |
445 | + position: inherit; |
446 | +} |
447 | +#wrapper { |
448 | + margin: 0 auto; |
449 | + width: 960px; |
450 | +} |
451 | +a.feed-icon { |
452 | + color: #999; |
453 | + display: block; |
454 | + font-weight: bold; |
455 | + margin: 15px 0 0; |
456 | +} |
457 | +a.feed-icon img { |
458 | + margin: 0 3px 0 0; |
459 | + vertical-align: middle; |
460 | +} |
461 | +/*----------basics---------*/ |
462 | +h1, |
463 | +h2, |
464 | +h3, |
465 | +h4, |
466 | +h5 { |
467 | + color: #222; |
468 | + font-weight: normal; |
469 | + line-height: 1.2em; |
470 | + margin-bottom: 10px; |
471 | +} |
472 | +h1, |
473 | +h1 a { |
474 | + font-size: 2.2em; |
475 | + font-weight: normal; |
476 | + text-decoration: none; |
477 | +} |
478 | +h1.title { |
479 | + margin: 10px 0; |
480 | +} |
481 | +h2, |
482 | +h2 a { |
483 | + color: #222; |
484 | + font-size: 1.5em; |
485 | + text-decoration: none; |
486 | +} |
487 | +h2 a:hover { |
488 | + color: #EF9F20; |
489 | + text-decoration: underline; |
490 | +} |
491 | +h3, |
492 | +h3 a { |
493 | + font-size: 1.3em; |
494 | + text-decoration: none; |
495 | +} |
496 | +h4, |
497 | +h4 a { |
498 | + font-size: 1.2em; |
499 | + text-decoration: none; |
500 | +} |
501 | +a { |
502 | + color: #009ee4; |
503 | + text-decoration: none; |
504 | + -moz-transition: all 0.3s ease-out; /* FF3.7+ */ |
505 | + -o-transition: all 0.3s ease-out; /* Opera 10.5 */ |
506 | + -webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */ |
507 | + transition: all 0.3s ease-out; |
508 | +} |
509 | +a:hover, |
510 | +a:focus { |
511 | + color: #222; |
512 | +} |
513 | +strong { |
514 | + font-weight: bold; |
515 | +} |
516 | +ul, |
517 | +ol { |
518 | + padding: 0 0 0 20px; |
519 | +} |
520 | +.clear { |
521 | + clear: both; |
522 | + height: 2px; |
523 | +} |
524 | +.clearfix:after, |
525 | +.clearfix .inner:after { |
526 | + clear: both; |
527 | + content: "."; |
528 | + display: block; |
529 | + font-size: 0; |
530 | + height: 0; |
531 | + visibility: hidden; |
532 | +} |
533 | +p { |
534 | + margin: 10px 0; |
535 | + line-height: 1.6em; |
536 | +} |
537 | +input[type=submit] { |
538 | + background: transparent url(../images/black-btn-off.jpg) repeat-x 0 0; |
539 | + border: none; |
540 | + color: #fff; |
541 | + font-family: 'helvetica', arial, sans-serif; |
542 | + padding: 6px 16px; |
543 | + text-transform: uppercase; |
544 | + -webkit-border-radius: 7px; |
545 | + -moz-border-radius: 7px; |
546 | + border-radius: 7px; |
547 | +} |
548 | +input[type=submit]:hover { |
549 | + background: transparent url(../images/black-btn-on.jpg) repeat-x 0 0; |
550 | + cursor: pointer; |
551 | +} |
552 | +input[type=text], |
553 | +input[type=password], |
554 | +textarea { |
555 | + padding: 4px; |
556 | + margin: 4px 0; |
557 | +} |
558 | +/*--------header--------*/ |
559 | +#header-top { |
560 | + color: #999; |
561 | + padding: 3px 20px; |
562 | + height: 18px; |
563 | +} |
564 | +#header-top #member-login { |
565 | + color: #333; |
566 | + float: right; |
567 | +} |
568 | +#header-top a { |
569 | + color: #999; |
570 | + text-decoration: none; |
571 | + padding: 0 3px; |
572 | +} |
573 | +#header-top a:hover { |
574 | + color: #333; |
575 | + text-decoration: underline; |
576 | +} |
577 | +#header { |
578 | + height: 159px; |
579 | + position: relative; |
580 | +} |
581 | +#header a { |
582 | + color: #222; |
583 | + text-decoration: none; |
584 | +} |
585 | +#logo { |
586 | + padding: 16px 0 0 20px; |
587 | +} |
588 | +#logo img { |
589 | + float: left; |
590 | +} |
591 | +#logo h1#site-name { |
592 | + width: auto; |
593 | +} |
594 | +#logo h1#site-name a { |
595 | + font-size: 1.9em; |
596 | + float: left; |
597 | + font-weight: lighter; |
598 | + padding: 17px 0 0 10px; |
599 | + letter-spacing: 1px; |
600 | +} |
601 | +/*-------navigation-------*/ |
602 | +#nav { |
603 | + bottom: 0; |
604 | + display: block; |
605 | + left: 0; |
606 | + position: absolute; |
607 | + text-transform: uppercase; |
608 | + width: 100%; |
609 | + z-index: 500; |
610 | +} |
611 | +#nav h2 { |
612 | + display: none; |
613 | +} |
614 | +#nav ul { |
615 | + float: left; |
616 | + padding: 16px 0; |
617 | +} |
618 | +#nav ul li { |
619 | + background: transparent url(../images/navspace.jpg) no-repeat 100% 50%; |
620 | + display: inline; |
621 | + font-size: 1em; |
622 | + padding: 9px 14px 9px 10px; |
623 | + list-style: none; |
624 | + margin: 0; |
625 | + position: relative; |
626 | +} |
627 | +#nav ul li.last { |
628 | + background: none; |
629 | +} |
630 | +#nav ul li a { |
631 | + color: #fff; |
632 | + padding: 9px 17px 15px; |
633 | + text-shadow: 0px -1px 1px #000; |
634 | + -moz-border-radius: 7px; |
635 | + -webkit-border-radius: 7px; |
636 | + border-radius: 7px; |
637 | +} |
638 | +#nav ul li a:hover, |
639 | +#nav ul li a.active { |
640 | + color: #B3E8FF; |
641 | +} |
642 | +#nav ul li.expanded a:hover, |
643 | +#nav ul li.expanded.hover a { |
644 | + background: transparent url(../images/navbg.jpg) repeat-x 0 0; |
645 | +} |
646 | +#nav ul li ul { |
647 | + color: #fff; |
648 | + display: none;/* make sure the submenus aren't visible on load */ |
649 | + font-size: 0.95em; |
650 | + left: 0.95em; |
651 | + line-height: 2.5em; |
652 | + padding: 0; |
653 | + position: absolute; |
654 | + top: 2.4em; |
655 | + width: 15em; |
656 | +} |
657 | +#nav ul li.hover ul { |
658 | + display: block; |
659 | +} |
660 | +#nav ul li.hover ul li ul, |
661 | +#nav ul li.hover ul li.hover ul li ul { |
662 | + display: none; |
663 | +} |
664 | +#nav ul li.hover ul li.hover ul, |
665 | +#nav ul li.hover ul li.hover ul li.hover ul { |
666 | + display: block; |
667 | +} |
668 | +#nav ul ul li { |
669 | + background: #0b0b0b url(../images/dd-space.jpg) repeat-x scroll 0 100%; |
670 | + display: block; |
671 | + line-height: 2.5em; |
672 | + margin: 0 !important; |
673 | + padding: 0; |
674 | + position: relative; |
675 | + text-align: left; |
676 | + width: 15em; |
677 | +} |
678 | +#nav ul ul li.last { |
679 | + background: #010101; |
680 | +} |
681 | +#nav ul li.expanded ul li.expanded a, |
682 | +#nav ul li.expanded ul li.expanded ul li.expanded a, |
683 | +#nav li.expanded ul li.expanded a:hover, |
684 | +#nav li.expanded ul li.expanded ul li.expanded a:hover { |
685 | + background: transparent url(../images/ddplus.gif) no-repeat 92% 50%; |
686 | +} |
687 | +#nav ul li.expanded ul li a, |
688 | +#nav ul li.expanded ul ul li a, |
689 | +#nav ul li.expanded ul ul ul li a, |
690 | +#nav ul li.expanded ul li.expanded ul li a, |
691 | +#nav ul li.expanded ul li.expanded ul li a:hover, |
692 | +#nav ul li.expanded ul li.expanded ul li.expanded ul li a, |
693 | +#nav ul li.expanded ul li.expanded ul li.expanded ul li a:hover, |
694 | +#nav li.expanded ul li.expanded li a:hover { |
695 | + background: transparent; |
696 | + display: block; |
697 | + height: auto; |
698 | + padding: 2px 15px; |
699 | +} |
700 | +#nav li.expanded ul li a:hover, |
701 | +#nav li.expanded ul ul li a:hover { |
702 | + background: transparent; |
703 | + color: #EF9F20; |
704 | + padding: 2px 15px; |
705 | +} |
706 | +#nav li .expanded ul { |
707 | + margin: -2.7em 0 0 16em; |
708 | +} |
709 | +#nav .block { |
710 | + margin: 0; |
711 | +} |
712 | +/*------content top-----------*/ |
713 | +#container { |
714 | + padding: 18px 15px; |
715 | +} |
716 | +#content-top { |
717 | + background: transparent url(../images/content-topbg.jpg) no-repeat 0 0; |
718 | + color: #fff; |
719 | + display: block; |
720 | + height: 224px; |
721 | + padding: 10px 10px 22px; |
722 | +} |
723 | +#content-top h2, |
724 | +#content-top a { |
725 | + color: #fff; |
726 | + text-decoration: none; |
727 | +} |
728 | +#content-top a:hover { |
729 | + color: #000; |
730 | + text-decoration: underline; |
731 | +} |
732 | +#content-top .block { |
733 | + background: transparent url(../images/content-top-space.jpg) no-repeat 100% 0; |
734 | + float: left; |
735 | + height: 208px; |
736 | + margin: 8px; |
737 | + padding: 0 16px 0 8px; |
738 | +} |
739 | +#content-top .block.last { |
740 | + background: transparent; |
741 | + margin: 8px 0; |
742 | + padding: 0 8px; |
743 | +} |
744 | +#content-top ul li { |
745 | + list-style: none; |
746 | + margin: 0; |
747 | +} |
748 | +#content-top ul li a { |
749 | + background: transparent url(../images/orange-bullet.gif) no-repeat 0 50%; |
750 | + padding: 0 0 0 12px; |
751 | +} |
752 | +/*---- breadcrumb ------*/ |
753 | +.breadcrumb { |
754 | + color: #999; |
755 | + padding: 0; |
756 | +} |
757 | +.breadcrumb a { |
758 | + color: #999; |
759 | +} |
760 | +.breadcrumb a:hover { |
761 | + color: #EF9F20; |
762 | +} |
763 | +/*---------main------------*/ |
764 | +#main { |
765 | + clear: none; |
766 | +} |
767 | +.one-sidebar #sidebar { |
768 | + float: left; |
769 | + padding: 10px 13px; |
770 | + width: 258px; |
771 | +} |
772 | +.one-sidebar #main { |
773 | + float: right; |
774 | + padding: 10px 0; |
775 | + width: 616px; |
776 | +} |
777 | +.right #sidebar { |
778 | + float: right; |
779 | +} |
780 | +.right #main { |
781 | + float: left; |
782 | +} |
783 | +.no-sidebar #main { |
784 | + width: 100%; |
785 | +} |
786 | +.sidebar a { |
787 | + color: #555; |
788 | +} |
789 | +.sidebar a:hover { |
790 | + color: #EF9F20; |
791 | +} |
792 | +/*-----content inner ------*/ |
793 | +#content-inner { |
794 | + margin: 10px 0 20px; |
795 | + background-color: #e5e5e5; |
796 | + padding: 10px; |
797 | + -moz-border-radius: 7px; |
798 | + -webkit-border-radius: 7px; |
799 | + border-radius: 7px; |
800 | +} |
801 | +#content-inner .block { |
802 | + /*background: url(../images/content-in-space.jpg) repeat-y 100% 0;*/ |
803 | + clear: none; |
804 | + padding: 0 15px 0 5px; |
805 | + float: left; |
806 | + margin: 0 15px 10px 5px; |
807 | +} |
808 | +#content-inner .block.last { |
809 | + background-image: none; |
810 | + padding: 0; |
811 | + margin: 0; |
812 | +} |
813 | +#content-inner h2 { |
814 | + font-size: 1.3em; |
815 | + margin: 0; |
816 | +} |
817 | +#content-inner p { |
818 | + color: #777; |
819 | + line-height: 1.2em; |
820 | + padding:0 0 5px; |
821 | +} |
822 | +/*----------tabs-------------*/ |
823 | +#tabs { |
824 | + margin: 0 0 15px 0; |
825 | +} |
826 | +ul.tabs.primary { |
827 | + background: transparent; |
828 | + margin: 0; |
829 | + border-bottom: 1px solid #e9e9e9; |
830 | + overflow: hidden; |
831 | + text-align: right; |
832 | + line-height: 1.9em; |
833 | +} |
834 | +ul.tabs.primary li a { |
835 | + background: #e9e9e9; |
836 | + border: none; |
837 | + color: #bbb; |
838 | + padding: 5px 10px; |
839 | + -webkit-border-top-right-radius: 3px; |
840 | + -webkit-border-top-left-radius: 3px; |
841 | + -moz-border-radius-topright: 3px; |
842 | + -moz-border-radius-topleft: 3px; |
843 | + border-top-right-radius: 3px; |
844 | + border-top-left-radius: 3px; |
845 | +} |
846 | +ul.tabs.primary li a:hover { |
847 | + background: #EF9F20; |
848 | + color: #fff; |
849 | +} |
850 | +ul.tabs.primary li a.active, |
851 | +ul.tabs.primary li.active a { |
852 | + background: #ddd; |
853 | + color: #777; |
854 | +} |
855 | +ul.tabs.secondary { |
856 | + border: none; |
857 | + padding: 7px 0 0; |
858 | + text-align: right; |
859 | +} |
860 | +ul.tabs.secondary li { |
861 | + border: none; |
862 | + padding: 0; |
863 | + margin: 0 5px; |
864 | +} |
865 | +ul.tabs.secondary li a { |
866 | + color: #bbb; |
867 | +} |
868 | +ul.tabs.secondary li a:hover { |
869 | + color: #777; |
870 | + text-decoration: underline; |
871 | +} |
872 | +ul.tabs.secondary li a.active, |
873 | +ul.tabs.secondary li.active a { |
874 | + color: #EF9F20; |
875 | + border: none; |
876 | + text-decoration: underline; |
877 | +} |
878 | + |
879 | +.info { |
880 | + background: transparent; |
881 | + border: 1px solid #e1e1e1; |
882 | + color: #777; |
883 | + font-size: 0.9em; |
884 | + padding: 5px 10px; |
885 | + margin: 10px 0; |
886 | + text-transform: uppercase; |
887 | +} |
888 | +.info.photo { |
889 | + padding: 5px 5px 5px 65px; |
890 | + min-height: 50px; |
891 | +} |
892 | +.info.photo .user-picture { |
893 | + position: absolute; |
894 | + margin: 0 0 0 -59px; |
895 | +} |
896 | +.info.photo .user-picture img { |
897 | + height: 50px; |
898 | + width: 50px; |
899 | +} |
900 | +.info a:hover { |
901 | + border-bottom: 1px solid #e1e1e1; |
902 | + color: #111; |
903 | +} |
904 | +/*-------- nodes --------*/ |
905 | +.node { |
906 | + margin: 0 0 20px 0; |
907 | +} |
908 | +.node-links { |
909 | + color: #999; |
910 | + clear: both; |
911 | + display: block; |
912 | + margin: 15px 0; |
913 | +} |
914 | +.node-links ul.links.inline { |
915 | + background: transparent; |
916 | + border: 1px solid #eee; |
917 | + display: block; |
918 | + line-height: 2.2em; |
919 | + padding: 0; |
920 | +} |
921 | +.node-links ul.links.inline li:after { |
922 | + content: ""; |
923 | +} |
924 | +.node-links ul.links.inline li a:before { |
925 | + content: "+ "; |
926 | +} |
927 | +.node-links ul.links.inline li { |
928 | + display: inline; |
929 | + margin: 0 0 0 3px; |
930 | + padding: 0; |
931 | +} |
932 | +.node-links ul.links.inline li a { |
933 | + color: #777; |
934 | + font-size: 0.9em; |
935 | + padding: 4px 6px; |
936 | + text-transform: uppercase; |
937 | +} |
938 | +.node-links ul.links.inline li a:hover { |
939 | + background: #EF9F20; |
940 | + border-color: #fff; |
941 | + color: #fff; |
942 | +} |
943 | +.taxonomy { |
944 | + line-height: 2.2em; |
945 | + text-transform: uppercase; |
946 | +} |
947 | +.taxonomy ul li { |
948 | + margin: 0; |
949 | +} |
950 | +.taxonomy a { |
951 | + color: #999; |
952 | + text-transform: none; |
953 | +} |
954 | +#main .taxonomy a:hover { |
955 | + background: #EF9F20; |
956 | + color: #fff; |
957 | +} |
958 | +/*--------forum--------*/ |
959 | +.forum-topic-navigation { |
960 | + border-color: #eee; |
961 | +} |
962 | +.forum-topic-navigation .topic-previous { |
963 | + text-align: left; |
964 | +} |
965 | +.forum-topic-navigation .topic-next { |
966 | + text-align: right; |
967 | +} |
968 | +/*--------------pager-------------*/ |
969 | +ul.pager, |
970 | +.item-list .pager { |
971 | + border-top: 2px solid #eee; |
972 | + margin: 10px 0 0; |
973 | + text-align: left; |
974 | +} |
975 | +ul.pager li, |
976 | +.item-list .pager li { |
977 | + color: #444; |
978 | + margin: 0; |
979 | + padding: 0; |
980 | + line-height: 2em; |
981 | +} |
982 | +ul.pager li.pager-current { |
983 | + background: #eee; |
984 | + border:none; |
985 | + padding: 5px 10px; |
986 | +} |
987 | +ul.pager li a { |
988 | + background: #fff; |
989 | + color: #aaa; |
990 | + padding: 5px 10px; |
991 | + margin: 0; |
992 | +} |
993 | +ul.pager li a:hover { |
994 | + background: #EF9F20; |
995 | + color: #fff; |
996 | +} |
997 | +.picture { |
998 | + float: left; |
999 | + margin: 0 10px 0 0; |
1000 | +} |
1001 | +/*-------------comments----------*/ |
1002 | +#comments { |
1003 | + border-top: 2px solid #eee; |
1004 | + padding: 10px 0 0; |
1005 | + margin: 10px 0; |
1006 | +} |
1007 | +#comments h2 { |
1008 | + color: #444; |
1009 | + font-size: 1em; |
1010 | + font-weight: bold; |
1011 | + letter-spacing: 1px; |
1012 | + padding: 0 10px; |
1013 | + text-transform: uppercase; |
1014 | +} |
1015 | +#comments h2.comment-form { |
1016 | + border-top: 2px solid #eee; |
1017 | + padding: 10px 0 0; |
1018 | + margin: 10px 0; |
1019 | +} |
1020 | +.comment { |
1021 | + background: #f9f9f9; |
1022 | + padding: 15px; |
1023 | + position: relative; |
1024 | + margin: 15px 0; |
1025 | +} |
1026 | +.comment.photo { |
1027 | + padding: 15px 15px 15px 75px; |
1028 | +} |
1029 | +.comment .user-picture { |
1030 | + position: absolute; |
1031 | + margin: 0 0 0 -60px; |
1032 | +} |
1033 | +.comment .user-picture img { |
1034 | + height: 50px; |
1035 | + width: 50px; |
1036 | +} |
1037 | +.comment h3 { |
1038 | + font-size: 1.3em; |
1039 | + margin-bottom: 5px; |
1040 | + width: 90%; |
1041 | +} |
1042 | +.comment ul.links { |
1043 | + border-top: 2px solid #eee; |
1044 | + margin: 5px 0 0; |
1045 | + padding: 5px 0 0; |
1046 | +} |
1047 | +.comment ul.links li { |
1048 | + display: inline; |
1049 | + font-size: 0.9em; |
1050 | + margin: 0; |
1051 | + padding: 0; |
1052 | +} |
1053 | +.comment ul.links li a { |
1054 | + color: #444; |
1055 | + padding: 4px 8px; |
1056 | + text-decoration: none; |
1057 | + text-transform: uppercase; |
1058 | +} |
1059 | +.comment ul.links li a:hover { |
1060 | + background: #EF9F20; |
1061 | + border-color: #EF9F20; |
1062 | + color: #fff; |
1063 | +} |
1064 | +.comment .new { |
1065 | + background: #EF9F20; |
1066 | + color: #fff; |
1067 | + font-weight: bold; |
1068 | + padding: 5px 15px; |
1069 | + position: absolute; |
1070 | + right: 0; |
1071 | + top: 0; |
1072 | +} |
1073 | +/*---------block--------*/ |
1074 | +label { |
1075 | + font-weight: normal !important; |
1076 | +} |
1077 | +.block-region { |
1078 | + background: transparent; |
1079 | + color: #3399cc; |
1080 | + border: 1px dashed #3399cc; |
1081 | + font-weight: bold; |
1082 | + font-size: 1em; |
1083 | + padding: 10px; |
1084 | + text-align: center; |
1085 | + text-transform: uppercase; |
1086 | +} |
1087 | +#nav .block-region { |
1088 | + position: absolute; |
1089 | + top: 10px; |
1090 | + width: 100%; |
1091 | +} |
1092 | +#sidebar .block { |
1093 | + margin: 5px 0 40px; |
1094 | +} |
1095 | +#sidebar h2 { |
1096 | + font-size: 1.6em; |
1097 | + margin-bottom: 6px; |
1098 | +} |
1099 | +.block .poll { |
1100 | + margin:10px 3px; |
1101 | +} |
1102 | +.block .poll .title { |
1103 | + margin: 10px 0; |
1104 | +} |
1105 | +.poll .bar, |
1106 | +.poll .bar .foreground { |
1107 | + height:16px; |
1108 | +} |
1109 | +/*----- profile-----*/ |
1110 | +.profile h3 { |
1111 | + border-color: #eee; |
1112 | + padding: 5px 0; |
1113 | +} |
1114 | +/*-------contentbottom-------*/ |
1115 | +#content-bottom { |
1116 | + border-top: 2px solid #eee; |
1117 | + padding: 15px 0; |
1118 | +} |
1119 | +/*---------footer------*/ |
1120 | +#footer { |
1121 | + background: #eee; |
1122 | + color: #999; |
1123 | +} |
1124 | +#footerwrap { |
1125 | + padding: 20px 0; |
1126 | + margin: 0 auto; |
1127 | + width: 940px; |
1128 | +} |
1129 | +#footer-message { |
1130 | + clear: none; |
1131 | + float: right; |
1132 | + text-align: right; |
1133 | + width: auto; |
1134 | +} |
1135 | +#footer a { |
1136 | + color: #999; |
1137 | + text-decoration: none; |
1138 | +} |
1139 | +#footer a:hover { |
1140 | + color: #333; |
1141 | + text-decoration: underline; |
1142 | +} |
1143 | +#footer a.active { |
1144 | + color: #333; |
1145 | +} |
1146 | +/*---search block form =----*/ |
1147 | +#nav #search-block-form { |
1148 | + position: absolute; |
1149 | + right: 0px; |
1150 | + top: 11px; |
1151 | + width: 240px; |
1152 | +} |
1153 | +#nav #search-block-form label { |
1154 | + display: none; |
1155 | +} |
1156 | +#nav #search-block-form input[type=text] { |
1157 | + float: left; |
1158 | + margin: 0 8px 0 0; |
1159 | + width: 135px; |
1160 | +} |
1161 | +#nav #search-block-form input[type=submit] { |
1162 | + background: transparent url(../images/orange-btn-off.jpg) repeat-x 0 0; |
1163 | + border: none; |
1164 | + float: left; |
1165 | + padding: 7px 14px; |
1166 | + margin: 0; |
1167 | +} |
1168 | +#nav #search-block-form input[type=submit]:hover { |
1169 | + background: transparent url(../images/orange-btn-on.jpg) repeat-x 0 0; |
1170 | +} |
1171 | +.sidebar #search-block-form { |
1172 | + background: #e5e5e5; |
1173 | + padding: 10px; |
1174 | +} |
1175 | +.sidebar #search-block-form label { |
1176 | + display: none; |
1177 | +} |
1178 | +.sidebar #search-block-form input[type=text] { |
1179 | + float: left; |
1180 | + margin-right: 2px; |
1181 | + width: 135px; |
1182 | +} |
1183 | +#content-inner #search-block-form label { |
1184 | + display: none; |
1185 | +} |
1186 | +#content-inner #search-block-form input[type=text] { |
1187 | + width: 140px; |
1188 | +} |
1189 | +fieldset { |
1190 | + background: #fff url(../images/grey-white.gif) repeat-x 0 0; |
1191 | + border: 1px solid #eee; |
1192 | + line-height: 1.5em; |
1193 | + margin: 10px 5px; |
1194 | + padding: 4px 5px 10px; |
1195 | + position: relative; |
1196 | +} |
1197 | + |
1198 | +fieldset .fieldset-legend { |
1199 | + margin: 0.5em 0 0; |
1200 | + position: absolute; |
1201 | + color: #444; |
1202 | + font-weight: bold; |
1203 | + text-transform: uppercase; |
1204 | +} |
1205 | +fieldset .fieldset-wrapper { |
1206 | + padding: 25px 15px; |
1207 | +} |
1208 | +fieldset a.fieldset-title { |
1209 | + color: #444; |
1210 | + font-weight: bold; |
1211 | +} |
1212 | +fieldset a.fieldset-title:hover { |
1213 | + color: #EF9F20; |
1214 | + text-decoration: underline; |
1215 | +} |
1216 | +html.js fieldset.collapsed { |
1217 | + border: 1px solid #eee; |
1218 | + height: 1.4em; |
1219 | + margin-bottom: 10px; |
1220 | +} |
1221 | +fieldset.filter-wrapper { |
1222 | + padding: 0; |
1223 | +} |
1224 | +fieldset.filter-wrapper .fieldset-wrapper { |
1225 | + padding: 15px 0; |
1226 | +} |
1227 | +.form-item { |
1228 | + margin: 5px 0; |
1229 | +} |
1230 | +.container-inline fieldset { |
1231 | + padding: 10px; |
1232 | + margin: 10px 0; |
1233 | +} |
1234 | +table { |
1235 | + background: #fff; |
1236 | + margin: 5px 0; |
1237 | +} |
1238 | +table th, |
1239 | +table td { |
1240 | + padding: 6px; |
1241 | + vertical-align: middle; |
1242 | +} |
1243 | +table th.select-all, |
1244 | +table td .form-item { |
1245 | + text-align: center; |
1246 | +} |
1247 | +table td.block { |
1248 | + padding: 8px; |
1249 | +} |
1250 | +thead th, |
1251 | +thead th a { |
1252 | + background: #f8f8f8; |
1253 | + border-color: #e5e5e5; |
1254 | + color: #444; |
1255 | + font-weight: bold; |
1256 | + text-transform: uppercase; |
1257 | +} |
1258 | +thead th a:hover { |
1259 | + color: #EF9F20; |
1260 | +} |
1261 | +th.active img { |
1262 | + display: none; |
1263 | +} |
1264 | +th.active { |
1265 | + background: #f8f8f8 url(../images/dnarrow.jpg) no-repeat 5% 45%; |
1266 | + padding-left: 30px; |
1267 | +} |
1268 | +table tbody tr.even { |
1269 | + background: #f5f5f5; |
1270 | +} |
1271 | +table tbody tr.odd, |
1272 | +table tbody tr.even { |
1273 | + border: none; |
1274 | +} |
1275 | +tr.drag-previous { |
1276 | + background: #b8dffc; |
1277 | +} |
1278 | +div.error, |
1279 | +div.warning { |
1280 | + background: #EF9F20; |
1281 | + border: none; |
1282 | + color: #fff; |
1283 | + margin: 0 0 15px 0; |
1284 | + padding: 10px; |
1285 | +} |
1286 | +div.status { |
1287 | + background: #eee; |
1288 | + border: none; |
1289 | + color: #aaa; |
1290 | + margin: 0 0 15px 0; |
1291 | + padding: 10px; |
1292 | +} |
1293 | +div.error a, |
1294 | +div.warning a, |
1295 | +div.status a { |
1296 | + color: #555; |
1297 | + text-decoration: underline; |
1298 | +} |
1299 | +div.error a:hover, |
1300 | +div.warning a:hover, |
1301 | +div.status a:hover { |
1302 | + color: #333; |
1303 | +} |
1304 | +.help { |
1305 | + color: #444; |
1306 | + margin: 10px 5px; |
1307 | +} |
1308 | +.help .more-help-link { |
1309 | + text-align: right; |
1310 | +} |
1311 | +/*-------vertical tabs support---------*/ |
1312 | +.vertical-tabs { |
1313 | + background: #fff; |
1314 | + border-color: #ddd; |
1315 | + margin: 0 5px 10px; |
1316 | + padding: 0; |
1317 | +} |
1318 | +.vertical-tabs ul { |
1319 | + border-color: #ddd; |
1320 | +} |
1321 | +.vertical-tabs fieldset { |
1322 | + background: #fff; |
1323 | +} |
1324 | +.vertical-tabs fieldset .fieldset-wrapper { |
1325 | + padding: 10px; |
1326 | +} |
1327 | +.vertical-tabs ul.vertical-tabs-list .summary { |
1328 | + font-size: 0.85em; |
1329 | + color: #999; |
1330 | +} |
1331 | +.vertical-tabs ul.vertical-tabs-list a strong { |
1332 | + color: #444; |
1333 | + text-transform: uppercase; |
1334 | +} |
1335 | + |
1336 | +/* @group skinr ------------------------------------ */ |
1337 | +.hide-title h1.title, |
1338 | +.hide-title h2, |
1339 | +.hide-title h3 { |
1340 | + display: none; |
1341 | +} |
1342 | +.align-left { |
1343 | + text-align: left; |
1344 | +} |
1345 | +.align-center { |
1346 | + text-align: center; |
1347 | +} |
1348 | +.align-right { |
1349 | + text-align: right; |
1350 | +} |
1351 | +.sm-font { |
1352 | + font-size: 0.85em; |
1353 | + line-height: 1.2em; |
1354 | +} |
1355 | +.md-font { |
1356 | + font-size: 1.1em; |
1357 | + line-height: 1.3em; |
1358 | +} |
1359 | +.lg-font { |
1360 | + font-size: 1.5; |
1361 | +} |
1362 | +.ex-font { |
1363 | + font-size: 2em; |
1364 | +} |
1365 | +.giant { |
1366 | + font-size: 2.5em; |
1367 | +} |
1368 | +.uppercase { |
1369 | + text-transform: uppercase; |
1370 | +} |
1371 | +.lowercase { |
1372 | + text-transform: lowercase; |
1373 | +} |
1374 | +.capitalize { |
1375 | + text-transform: capitalize; |
1376 | +} |
1377 | +/*---widths---*/ |
1378 | +.width-100 { |
1379 | + width: 100%; |
1380 | +} |
1381 | +.width-75 { |
1382 | + float: left; |
1383 | + width: 73%; |
1384 | +} |
1385 | +.width-50 { |
1386 | + float: left; |
1387 | + width: 48%; |
1388 | +} |
1389 | +.width-33 { |
1390 | + float: left; |
1391 | + width: 32%; |
1392 | +} |
1393 | +.width-25 { |
1394 | + float: left; |
1395 | + width: 23%; |
1396 | +} |
1397 | +#content-top .width-75, |
1398 | +#content-inner .width-75 { |
1399 | + width: 71%; |
1400 | +} |
1401 | +#content-top .width-50, |
1402 | +#content-inner .width-50 { |
1403 | + width: 46%; |
1404 | +} |
1405 | +#content-top .width-33, |
1406 | +#content-inner .width-33 { |
1407 | + width: 29%; |
1408 | +} |
1409 | +#content-top .width-25, |
1410 | +#content-inner .width-25 { |
1411 | + width: 22%; |
1412 | +} |
1413 | +/*----margins----*/ |
1414 | +.top-10 { |
1415 | + margin-top: 10px; |
1416 | +} |
1417 | +.right-10 { |
1418 | + margin-right: 10px; |
1419 | +} |
1420 | +.bottom-10 { |
1421 | + margin-bottom: 10px; |
1422 | +} |
1423 | +.left-10 { |
1424 | + margin-left: 10px; |
1425 | +} |
1426 | +/*---*/ |
1427 | +.img ul { |
1428 | + padding: 0; |
1429 | +} |
1430 | +.img ul li { |
1431 | + border-bottom: 1px solid #eee; |
1432 | + padding: 5px 0; |
1433 | + margin: 0 5px; |
1434 | + list-style-image: url(../images/black-bullet.gif); |
1435 | + list-style-position: inside; |
1436 | +} |
1437 | +.img ul li.expanded { |
1438 | + border-bottom: none; |
1439 | +} |
1440 | +#content-top .img ul li { |
1441 | + list-style-image: url(../images/orange-bullet.gif); |
1442 | +} |
1443 | +.img { |
1444 | + color: #888; |
1445 | +} |
1446 | +.blist ul { |
1447 | + padding: 0; |
1448 | +} |
1449 | +.blist ul li { |
1450 | + list-style: none; |
1451 | + list-style-image: none; |
1452 | + line-height: 2.3em; |
1453 | + margin: 0; |
1454 | + padding: 0; |
1455 | +} |
1456 | +.blist ul li a { |
1457 | + border-bottom: #eee 1px solid; |
1458 | + color: #444; |
1459 | + display: block; |
1460 | + padding: 0 0 0 5px; |
1461 | +} |
1462 | +.blist ul li a:hover { |
1463 | + background: #EF9F20; |
1464 | + color: #fff; |
1465 | +} |
1466 | +.blist.grey ul li a:hover { |
1467 | + background: #ddd; |
1468 | + color: #444; |
1469 | +} |
1470 | +.blist ul ul li a { |
1471 | + padding: 0 0 0 10px; |
1472 | +} |
1473 | +.blist ul ul ul li a { |
1474 | + padding: 0 0 0 15px; |
1475 | +} |
1476 | +/*---blocks---*/ |
1477 | +.ohead h3 { |
1478 | + background: #EF9F20; |
1479 | + color: #fff; |
1480 | + line-height: 1.4em; |
1481 | + padding: 0 5px; |
1482 | +} |
1483 | +.gborder { |
1484 | + border: 1px solid #ddd; |
1485 | + padding: 5px; |
1486 | + -webkit-border-radius: 6px; |
1487 | + -moz-border-radius: 6px; |
1488 | + border-radius: 6px; |
1489 | +} |
1490 | +.gbox { |
1491 | + background: #e5e5e5; |
1492 | + padding: 5px; |
1493 | + -webkit-border-radius: 6px; |
1494 | + -moz-border-radius: 6px; |
1495 | + border-radius: 6px; |
1496 | +} |
1497 | +.gbox .block-inner { |
1498 | + background: #fefefe; |
1499 | +} |
1500 | + |
1501 | +/*----links-----*/ |
1502 | +.inline-links ul { |
1503 | + padding: 0; |
1504 | +} |
1505 | +.inline-links ul li { |
1506 | + border-right: 1px solid #777; |
1507 | + display: inline; |
1508 | + padding: 0 10px 0 0; |
1509 | + line-height: 1em; |
1510 | + margin: 0 10px 0 0; |
1511 | +} |
1512 | +.inline-links ul li.last { |
1513 | + border-right: none; |
1514 | +} |
1515 | +.inline-links ul ul { |
1516 | + display: none; |
1517 | +} |
1518 | +.column-links ul { |
1519 | + padding: 0; |
1520 | +} |
1521 | +.column-links ul li { |
1522 | + display: inline; |
1523 | + display: inline-block; |
1524 | + float: left; |
1525 | + list-style: none; |
1526 | + margin: 0 50px 0 0; |
1527 | + position: relative; |
1528 | + vertical-align: top; |
1529 | +} |
1530 | +.column-links ul li a { |
1531 | + font-weight: bold; |
1532 | +} |
1533 | +.column-links ul li ul { |
1534 | + display: block; |
1535 | + position: relative; |
1536 | +} |
1537 | +.column-links ul li ul li { |
1538 | + display: block; |
1539 | + float: none; |
1540 | + margin: 0; |
1541 | +} |
1542 | +.column-links ul li ul li a { |
1543 | + font-weight: normal; |
1544 | + font-size: 0.9em; |
1545 | + line-height: 1em; |
1546 | +} |
1547 | +.column-links ul li ul li ul { |
1548 | + padding: 0 0 0 10px; |
1549 | +} |
1550 | +.column-links ul li ul li ul { |
1551 | + padding: 0 0 0 10px; |
1552 | +} |
1553 | +/*---imgfield-----*/ |
1554 | +.img-left .field-type-image, |
1555 | +.img-left.image-insert { |
1556 | + float: left; |
1557 | + margin: 0 10px 10px 0; |
1558 | +} |
1559 | +.img-left .views-row { |
1560 | + clear: left; |
1561 | +} |
1562 | +.img-right .field-type-image, |
1563 | +.img-right.image-insert { |
1564 | + float: right; |
1565 | + margin: 0 0 10px 10px; |
1566 | +} |
1567 | +.img-left .views-row { |
1568 | + clear: right; |
1569 | +} |
1570 | +/*-----fonts----*/ |
1571 | +.serif-heading h1, |
1572 | +.serif-heading h1 a, |
1573 | +.serif-heading h2, |
1574 | +.serif-heading h2 a, |
1575 | +.serif-heading h3, |
1576 | +.serif-heading h3 a, |
1577 | +.serif-heading h4, |
1578 | +.serif-heading h4 a, |
1579 | +.serif-heading h5, |
1580 | +.serif-heading h5 a { |
1581 | + font-family: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif; |
1582 | +} |
1583 | +.serif-all, |
1584 | +.serif-all input { |
1585 | + font-family: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif; |
1586 | +} |
1587 | +.lucida-heading h1, |
1588 | +.lucida-heading h1 a, |
1589 | +.lucida-heading h2, |
1590 | +.lucida-heading h2 a, |
1591 | +.lucida-heading h3, |
1592 | +.lucida-heading h3 a, |
1593 | +.lucida-heading h4, |
1594 | +.lucida-heading h4 a, |
1595 | +.lucida-heading h5, |
1596 | +.lucida-heading h5 a { |
1597 | + font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; |
1598 | +} |
1599 | +.lucida-all, |
1600 | +.lucida-all input { |
1601 | + font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; |
1602 | + font-size: 0.9em; |
1603 | +} |
1604 | +.mono-heading h1, |
1605 | +.mono-heading h1 a, |
1606 | +.mono-heading h2, |
1607 | +.mono-heading h2 a, |
1608 | +.mono-heading h3, |
1609 | +.mono-heading h3 a, |
1610 | +.mono-heading h4, |
1611 | +.mono-heading h4 a, |
1612 | +.mono-heading h5, |
1613 | +.mono-heading h5 a { |
1614 | + font-family: Consolas, "Courier New", "Courier", mono; |
1615 | +} |
1616 | +.mono-all, |
1617 | +.mono-all input { |
1618 | + font-family: Consolas, "Courier New", "Courier", mono; |
1619 | +} |
1620 | +.verdana-heading h1, |
1621 | +.verdana-heading h1 a, |
1622 | +.verdana-heading h2, |
1623 | +.verdana-heading h2 a, |
1624 | +.verdana-heading h3, |
1625 | +.verdana-heading h3 a, |
1626 | +.verdana-heading h4, |
1627 | +.verdana-heading h4 a, |
1628 | +.verdana-heading h5, |
1629 | +.verdana-heading h5 a { |
1630 | + font-family: Verdana, Geneva, sans-serif; |
1631 | +} |
1632 | +.verdana-all, |
1633 | +.verdana-all input { |
1634 | + font-family: Verdana, Geneva, sans-serif; |
1635 | + font-size: 0.9em; |
1636 | +} |
1637 | + |
1638 | +/*Start featured blocks*/ |
1639 | +div.region #block-views-featured-block { |
1640 | + float:right; |
1641 | +} |
1642 | + |
1643 | +.region-content-inner { |
1644 | + margin: 10px 0; |
1645 | +} |
1646 | +div div.region-content-inner #block-views-featured-post-block-1{ |
1647 | + margin-top:10px !important; |
1648 | + width:390px; |
1649 | +} |
1650 | + |
1651 | +/* |
1652 | +* Bottom content region */ |
1653 | +.region-content-bottom{} |
1654 | + |
1655 | +.region-content-bottom .block{ |
1656 | + width:30%; |
1657 | + margin: 0 10px; |
1658 | + float:left; |
1659 | +} |
1660 | +/* @end */ |
1661 | \ No newline at end of file |
1662 | |
1663 | === added directory 'orange/images' |
1664 | === added file 'orange/images/bg.jpg' |
1665 | Binary files orange/images/bg.jpg 1970-01-01 00:00:00 +0000 and orange/images/bg.jpg 2011-05-06 23:15:54 +0000 differ |
1666 | === added file 'orange/images/black-btn-off.jpg' |
1667 | Binary files orange/images/black-btn-off.jpg 1970-01-01 00:00:00 +0000 and orange/images/black-btn-off.jpg 2011-05-06 23:15:54 +0000 differ |
1668 | === added file 'orange/images/black-btn-on.jpg' |
1669 | Binary files orange/images/black-btn-on.jpg 1970-01-01 00:00:00 +0000 and orange/images/black-btn-on.jpg 2011-05-06 23:15:54 +0000 differ |
1670 | === added file 'orange/images/black-bullet.gif' |
1671 | Binary files orange/images/black-bullet.gif 1970-01-01 00:00:00 +0000 and orange/images/black-bullet.gif 2011-05-06 23:15:54 +0000 differ |
1672 | === added file 'orange/images/black-minus.gif' |
1673 | Binary files orange/images/black-minus.gif 1970-01-01 00:00:00 +0000 and orange/images/black-minus.gif 2011-05-06 23:15:54 +0000 differ |
1674 | === added file 'orange/images/content-in-space.jpg' |
1675 | Binary files orange/images/content-in-space.jpg 1970-01-01 00:00:00 +0000 and orange/images/content-in-space.jpg 2011-05-06 23:15:54 +0000 differ |
1676 | === added file 'orange/images/content-top-space.jpg' |
1677 | Binary files orange/images/content-top-space.jpg 1970-01-01 00:00:00 +0000 and orange/images/content-top-space.jpg 2011-05-06 23:15:54 +0000 differ |
1678 | === added file 'orange/images/content-topbg.jpg' |
1679 | Binary files orange/images/content-topbg.jpg 1970-01-01 00:00:00 +0000 and orange/images/content-topbg.jpg 2011-05-06 23:15:54 +0000 differ |
1680 | === added file 'orange/images/dd-space.jpg' |
1681 | Binary files orange/images/dd-space.jpg 1970-01-01 00:00:00 +0000 and orange/images/dd-space.jpg 2011-05-06 23:15:54 +0000 differ |
1682 | === added file 'orange/images/ddplus.gif' |
1683 | Binary files orange/images/ddplus.gif 1970-01-01 00:00:00 +0000 and orange/images/ddplus.gif 2011-05-06 23:15:54 +0000 differ |
1684 | === added file 'orange/images/drupalisbest.jpg' |
1685 | Binary files orange/images/drupalisbest.jpg 1970-01-01 00:00:00 +0000 and orange/images/drupalisbest.jpg 2011-05-06 23:15:54 +0000 differ |
1686 | === added file 'orange/images/forum-closed.png' |
1687 | Binary files orange/images/forum-closed.png 1970-01-01 00:00:00 +0000 and orange/images/forum-closed.png 2011-05-06 23:15:54 +0000 differ |
1688 | === added file 'orange/images/forum-default.png' |
1689 | Binary files orange/images/forum-default.png 1970-01-01 00:00:00 +0000 and orange/images/forum-default.png 2011-05-06 23:15:54 +0000 differ |
1690 | === added file 'orange/images/forum-hot-new.png' |
1691 | Binary files orange/images/forum-hot-new.png 1970-01-01 00:00:00 +0000 and orange/images/forum-hot-new.png 2011-05-06 23:15:54 +0000 differ |
1692 | === added file 'orange/images/forum-hot.png' |
1693 | Binary files orange/images/forum-hot.png 1970-01-01 00:00:00 +0000 and orange/images/forum-hot.png 2011-05-06 23:15:54 +0000 differ |
1694 | === added file 'orange/images/forum-new.png' |
1695 | Binary files orange/images/forum-new.png 1970-01-01 00:00:00 +0000 and orange/images/forum-new.png 2011-05-06 23:15:54 +0000 differ |
1696 | === added file 'orange/images/forum-sticky.png' |
1697 | Binary files orange/images/forum-sticky.png 1970-01-01 00:00:00 +0000 and orange/images/forum-sticky.png 2011-05-06 23:15:54 +0000 differ |
1698 | === added file 'orange/images/grey-white.gif' |
1699 | Binary files orange/images/grey-white.gif 1970-01-01 00:00:00 +0000 and orange/images/grey-white.gif 2011-05-06 23:15:54 +0000 differ |
1700 | === added file 'orange/images/home-gigya-imp-rev-b.jpg' |
1701 | Binary files orange/images/home-gigya-imp-rev-b.jpg 1970-01-01 00:00:00 +0000 and orange/images/home-gigya-imp-rev-b.jpg 2011-05-06 23:15:54 +0000 differ |
1702 | === added file 'orange/images/navbg.jpg' |
1703 | Binary files orange/images/navbg.jpg 1970-01-01 00:00:00 +0000 and orange/images/navbg.jpg 2011-05-06 23:15:54 +0000 differ |
1704 | === added file 'orange/images/navspace.jpg' |
1705 | Binary files orange/images/navspace.jpg 1970-01-01 00:00:00 +0000 and orange/images/navspace.jpg 2011-05-06 23:15:54 +0000 differ |
1706 | === added file 'orange/images/orange-btn-off.jpg' |
1707 | Binary files orange/images/orange-btn-off.jpg 1970-01-01 00:00:00 +0000 and orange/images/orange-btn-off.jpg 2011-05-06 23:15:54 +0000 differ |
1708 | === added file 'orange/images/orange-btn-on.jpg' |
1709 | Binary files orange/images/orange-btn-on.jpg 1970-01-01 00:00:00 +0000 and orange/images/orange-btn-on.jpg 2011-05-06 23:15:54 +0000 differ |
1710 | === added file 'orange/images/orange-bullet.gif' |
1711 | Binary files orange/images/orange-bullet.gif 1970-01-01 00:00:00 +0000 and orange/images/orange-bullet.gif 2011-05-06 23:15:54 +0000 differ |
1712 | === added file 'orange/images/rss.png' |
1713 | Binary files orange/images/rss.png 1970-01-01 00:00:00 +0000 and orange/images/rss.png 2011-05-06 23:15:54 +0000 differ |
1714 | === added directory 'orange/js' |
1715 | === added file 'orange/js/orange.js' |
1716 | --- orange/js/orange.js 1970-01-01 00:00:00 +0000 |
1717 | +++ orange/js/orange.js 2011-05-06 23:15:54 +0000 |
1718 | @@ -0,0 +1,13 @@ |
1719 | +(function ($) { |
1720 | +Drupal.behaviors.orange = { |
1721 | + attach: function(context) { |
1722 | + $('#nav ul li.expanded', context).hover(function() { |
1723 | + $(this).toggleClass('hover'); |
1724 | + }, function() { |
1725 | + $(this).toggleClass('hover'); |
1726 | + }); |
1727 | + } |
1728 | + |
1729 | +}; |
1730 | + |
1731 | +})(jQuery); |
1732 | \ No newline at end of file |
1733 | |
1734 | === added file 'orange/logo.png' |
1735 | Binary files orange/logo.png 1970-01-01 00:00:00 +0000 and orange/logo.png 2011-05-06 23:15:54 +0000 differ |
1736 | === added file 'orange/orange.info' |
1737 | --- orange/orange.info 1970-01-01 00:00:00 +0000 |
1738 | +++ orange/orange.info 2011-05-06 23:15:54 +0000 |
1739 | @@ -0,0 +1,41 @@ |
1740 | +name = Orange |
1741 | +description = A two column layout which utilizes the Skinr module to allow for various configurations. |
1742 | +version = VERSION |
1743 | +core = 7.x |
1744 | +engine = phptemplate |
1745 | + |
1746 | +; Stylesheets |
1747 | +;stylesheets[all][] = css/style.css |
1748 | + |
1749 | +; Scripts |
1750 | +scripts[] = js/orange.js |
1751 | + |
1752 | +; Regions |
1753 | +regions[nav] = Navigation |
1754 | +regions[sidebar_first] = Sidebar |
1755 | +regions[content_top] = Content top |
1756 | +regions[content_inner] = Content inner |
1757 | +regions[content] = Content |
1758 | +regions[help] = Help |
1759 | +regions[highlight] = Highlight |
1760 | +regions[search] = Search |
1761 | +regions[node_inner] = Region within node content |
1762 | +regions[content_bottom] = Content bottom |
1763 | +regions[content_footer] = Footer content |
1764 | + |
1765 | +; Features |
1766 | +features[] = logo |
1767 | +features[] = name |
1768 | +features[] = slogan |
1769 | +features[] = comment_user_picture |
1770 | +features[] = search |
1771 | +features[] = favicon |
1772 | +features[] = shortcut_icon |
1773 | + |
1774 | +skinr[api] = 2 |
1775 | +; Information added by drupal.org packaging script on 2011-04-26 |
1776 | +version = "7.x-1.1" |
1777 | +core = "7.x" |
1778 | +project = "orange" |
1779 | +datestamp = "1303862216" |
1780 | + |
1781 | |
1782 | === added file 'orange/orange.skinr.inc' |
1783 | --- orange/orange.skinr.inc 1970-01-01 00:00:00 +0000 |
1784 | +++ orange/orange.skinr.inc 2011-05-06 23:15:54 +0000 |
1785 | @@ -0,0 +1,368 @@ |
1786 | +<?php |
1787 | + |
1788 | +/** |
1789 | + * @file orange.skinr.inc |
1790 | + * Implementation of a Skinr plugin. |
1791 | + */ |
1792 | + |
1793 | +/** |
1794 | + * Implements hook_skinr_group_info(). |
1795 | + * |
1796 | + * Optional. Defines group(s) that will contain skins. Groups are form element |
1797 | + * containers used to organize skins categorically using vertical_tabs. If you |
1798 | + * don't define a group, your skins will appear in Skinr's default group, which |
1799 | + * is labeled "General." |
1800 | + * |
1801 | + * Group name(s): |
1802 | + * Each group name must be unique. It is recommended to prefix the name of each |
1803 | + * group with the name of the theme or module name implementing it, followed by |
1804 | + * the name of the group. Note that you cannot define 2 groups with the same |
1805 | + * the same name, even if they are in different plugins. |
1806 | + * |
1807 | + * Group properties: |
1808 | + * - title (required): Brief title of the tab. |
1809 | + * - description (optional): Description of the tab group. |
1810 | + * - weight (discouraged): Weight of the tab group; NULL by default. |
1811 | + * |
1812 | + * The "hook" prefix is substituted with the name of the module or theme that |
1813 | + * implements it, followed by the plugin name, e.g. |
1814 | + * THEMENAME_PLUGINNAME_skinr_group_info(), or |
1815 | + * MODULENAME_PLUGINNAME_skinr_group_info(). |
1816 | + */ |
1817 | +function orange_skinr_group_info() { |
1818 | + $groups['orange_links'] = array( |
1819 | + 'title' => t('Links'), |
1820 | + 'description' => t('Choose one or more styles to apply to links and menus.'), |
1821 | + ); |
1822 | + return $groups; |
1823 | +} |
1824 | + |
1825 | +/** |
1826 | + * Implements hook_skinr_skin_info(). |
1827 | + * |
1828 | + * Required. Define the skin(s) for this Skinr plugin. Each skin definition |
1829 | + * consists of properties that define its form element and settings that are |
1830 | + * needed to make it work, such as the class(es) Skinr should apply, which files |
1831 | + * it should load, whether or not it should be disabled by default and which |
1832 | + * theme hook(s) it was designed to work with. |
1833 | + * |
1834 | + * Skin name(s): |
1835 | + * Each skin name must be unique. It is recommended to prefix the name of each |
1836 | + * skin with the name of the theme or module name implementing it, followed by |
1837 | + * the name of the skin. Note that you cannot define 2 skins with the same |
1838 | + * the same name, even if they are in different plugins. |
1839 | + * |
1840 | + * Skin settings: |
1841 | + * - title (required): Title of the skin form element. |
1842 | + * - description (optional): Description of the skin form element. |
1843 | + * - group (optional): The group the skin is attached to; defaults to a Skinr |
1844 | + * provided group labeled "General." |
1845 | + * - type (optional): The type of form element. Allowed values: |
1846 | + * - checkboxes (default): Useful when single or multiple options can be |
1847 | + * chosen. |
1848 | + * Does not need to be set manually, as Skinr will apply this by default. |
1849 | + * - select: Useful when a single option can be chosen, but many exist. |
1850 | + * - radios: Useful when a single option can be chosen and only a few options |
1851 | + * exist. |
1852 | + * - weight (discouraged): Sets the weight of the skin inside the group; NULL |
1853 | + * by default. weight should not be set on each individual skin. Instead |
1854 | + * - attached (optional): A array containing information about CSS and |
1855 | + * JavaScript files the skin requires. Each entry is an array keyed by type: |
1856 | + * - css (optional): Maps to the functionality of drupal_add_css() with one |
1857 | + * exception: paths are automatically assumed relative to the plugin |
1858 | + * directory, unless external. Examples: |
1859 | + * - Simple: |
1860 | + * 'css' => array('css/skin-name.css') |
1861 | + * - Advanced: |
1862 | + * 'css' => array( |
1863 | + * array('css/skin-name-ie.css', array( |
1864 | + * 'media' => 'screen', |
1865 | + * 'browsers' => array('IE' => 'lte IE 8'), |
1866 | + * ), |
1867 | + * ) |
1868 | + * - js (optional): Maps to the functionality of drupal_add_js() with one |
1869 | + * exception: paths are automatically assumed as relative to the plugin |
1870 | + * directory, unless external. Examples: |
1871 | + * - Simple: |
1872 | + * 'js' => array('js/skin-name.js') |
1873 | + * - Advanced: |
1874 | + * 'js' => array( |
1875 | + * array( |
1876 | + * 'js/skin-name-advanced.js', |
1877 | + * array( |
1878 | + * 'scope' => 'footer', |
1879 | + * 'group' => JS_THEME, |
1880 | + * ), |
1881 | + * ) |
1882 | + * - options (required): An array containing one or more options (also arrays) |
1883 | + * for the user to choose from when applying skins. Each option key should be |
1884 | + * a machine name describing the option. An option should including the |
1885 | + * following keys: |
1886 | + * - label (required): The option label. |
1887 | + * - class (required): An array containing one or more classes the skin |
1888 | + * should apply. All classes should be entered as an array: For example: |
1889 | + * 'class' => array('class-b', 'class-b') |
1890 | + * - attached (optional): Same syntax as above, but applies to a specific |
1891 | + * option only. |
1892 | + * - theme hooks (optional): An array containing certain allowed hooks, which |
1893 | + * allow you to limit where the skin can be used. Allowed options include: |
1894 | + * block, block__MODULE, comment, comment__NODETYPE, comment_wrapper, |
1895 | + * comment__wrapper_NODETYPE, node, node__NODETYPE, region, |
1896 | + * region__REGIONNAME, panels_display, panels_region, panels_pane, views_view, |
1897 | + * views_view__STYLENAME, views_view__DISPLAY_NAME, views_view__VIEWNAME, and |
1898 | + * views_view__VIEWNAME_DISPLAYNAME. |
1899 | + * - default_status (optional): Skins are disabled by default to keep UI |
1900 | + * clutter to a minimum. In some cases, like contrib themes, it makes sense to |
1901 | + * enable skins which are required to make the theme work properly by default. |
1902 | + * Setting this property to 1, will cause it to be enabled it by default for |
1903 | + * all installed themes. |
1904 | + * |
1905 | + * The "hook" prefix is substituted with the name of the module or theme |
1906 | + * implementing it, followed by the plugin name, e.g. |
1907 | + * THEMENAME_PLUGINNAME_skinr_skin_info(), or |
1908 | + * MODULENAME_PLUGINNAME_skinr_skin_info(). |
1909 | + * |
1910 | + */ |
1911 | +function orange_skinr_skin_info() { |
1912 | + $skins['orange_sidebar'] = array( |
1913 | + 'title' => t('Sidebar Position'), |
1914 | + 'group' => 'layout', |
1915 | + 'default status' => '1', |
1916 | + 'theme hooks' => array('page'), |
1917 | + 'options' => array( |
1918 | + 'right' => array( |
1919 | + 'title' => 'Position to the right of content area', |
1920 | + 'class' => array('right'), |
1921 | + ), |
1922 | + ), |
1923 | + ); |
1924 | + $skins['orange_align'] = array( |
1925 | + 'title' => t('Content alignment'), |
1926 | + 'type' => 'select', |
1927 | + 'group' => 'layout', |
1928 | + 'default status' => '1', |
1929 | + 'options' => array( |
1930 | + 'left' => array( |
1931 | + 'title' => 'Left', |
1932 | + 'class' => array('left'), |
1933 | + ), |
1934 | + 'center' => array( |
1935 | + 'title' => 'Center', |
1936 | + 'class' => array('center'), |
1937 | + ), |
1938 | + 'right' => array( |
1939 | + 'title' => 'Right', |
1940 | + 'class' => array('right'), |
1941 | + ), |
1942 | + ), |
1943 | + ); |
1944 | + $skins['orange_widths'] = array( |
1945 | + 'title' => t('Object width'), |
1946 | + 'description' => t('This option allows you to select a width percentage for blocks, views, panels and nodes. NOTE that it also floats the content left.'), |
1947 | + 'type' => 'select', |
1948 | + 'group' => 'layout', |
1949 | + 'default status' => '1', |
1950 | + 'theme hooks' => array('block', 'panels_pane', 'views_view', 'node', 'region'), |
1951 | + 'options' => array( |
1952 | + 'width-100' => array( |
1953 | + 'title' => t('100% wide'), |
1954 | + 'class' => array('width-100'), |
1955 | + ), |
1956 | + 'width-75' => array( |
1957 | + 'title' => t('75% wide'), |
1958 | + 'class' => array('width-75'), |
1959 | + ), |
1960 | + 'width-50' => array( |
1961 | + 'title' => t('50% wide'), |
1962 | + 'class' => array('width-50'), |
1963 | + ), |
1964 | + 'width-33' => array( |
1965 | + 'title' => t('33% wide'), |
1966 | + 'class' => array('width-33'), |
1967 | + ), |
1968 | + 'width-25' => array( |
1969 | + 'title' => t('25% wide'), |
1970 | + 'class' => array('width-25'), |
1971 | + ), |
1972 | + ), |
1973 | + ); |
1974 | + $skins['orange_margin'] = array( |
1975 | + 'title' => t('Margins'), |
1976 | + 'group' => 'layout', |
1977 | + 'default status' => '1', |
1978 | + 'theme hooks' => array('block', 'panels_pane', 'views_view', 'node', 'region'), |
1979 | + 'options' => array( |
1980 | + 'top-10' => array( |
1981 | + 'title' => t('Add 10px to top'), |
1982 | + 'class' => array('top-10'), |
1983 | + ), |
1984 | + 'right-10' => array( |
1985 | + 'title' => t('Add 10px to right'), |
1986 | + 'class' => array('right-10'), |
1987 | + ), |
1988 | + 'bottom-10' => array( |
1989 | + 'title' => t('Add 10px to bottom'), |
1990 | + 'class' => array('bottom-10'), |
1991 | + ), |
1992 | + 'left-10' => array( |
1993 | + 'title' => t('Add 10px to left'), |
1994 | + 'class' => array('left-10'), |
1995 | + ), |
1996 | + ), |
1997 | + ); |
1998 | + $skins['orange_image'] = array( |
1999 | + 'title' => t('Float image fields'), |
2000 | + 'type' => 'select', |
2001 | + 'group' => 'layout', |
2002 | + 'default status' => '1', |
2003 | + 'theme hooks' => array('block', 'panels_pane', 'views_view', 'node', 'region'), |
2004 | + 'options' => array( |
2005 | + 'img-right' => array( |
2006 | + 'title' => t('Float Right'), |
2007 | + 'class' => array('img-right'), |
2008 | + ), |
2009 | + 'img-left' => array( |
2010 | + 'title' => t('Float Left'), |
2011 | + 'class' => array('img-left'), |
2012 | + ), |
2013 | + ), |
2014 | + ); |
2015 | + $skins['orange_fontcase'] = array( |
2016 | + 'title' => t('Alter text case'), |
2017 | + 'type' => 'select', |
2018 | + 'group' => 'typography', |
2019 | + 'default status' => '1', |
2020 | + 'options' => array( |
2021 | + 'uppercase' => array( |
2022 | + 'title' => t('Uppercase'), |
2023 | + 'class' => array('uppercase'), |
2024 | + ), |
2025 | + 'lowercase' => array( |
2026 | + 'title' => t('Lowercase'), |
2027 | + 'class' => array('lowercase'), |
2028 | + ), |
2029 | + 'capitalize' => array( |
2030 | + 'title' => t('Capitalize'), |
2031 | + 'class' => array('capitalize'), |
2032 | + ), |
2033 | + ), |
2034 | + ); |
2035 | + $skins['orange_fontsize'] = array( |
2036 | + 'title' => t('Page font size'), |
2037 | + 'type' => 'select', |
2038 | + 'group' => 'typography', |
2039 | + 'default status' => '1', |
2040 | + 'options' => array( |
2041 | + 'sm-font' => array( |
2042 | + 'title' => t('Small'), |
2043 | + 'class' => array('sm-font'), |
2044 | + ), |
2045 | + 'md-font' => array( |
2046 | + 'title' => t('Medium'), |
2047 | + 'class' => array('md-font'), |
2048 | + ), |
2049 | + 'lg-font' => array( |
2050 | + 'title' => t('Large'), |
2051 | + 'class' => array('lg-font'), |
2052 | + ), |
2053 | + 'ex-font' => array( |
2054 | + 'title' => t('Extra Large'), |
2055 | + 'class' => array('ex-font'), |
2056 | + ), |
2057 | + 'giant-font' => array( |
2058 | + 'title' => t('Giant (use with caution)'), |
2059 | + 'class' => array('giant-font'), |
2060 | + ), |
2061 | + ), |
2062 | + ); |
2063 | + $skins['orange_headings'] = array( |
2064 | + 'title' => t('Headings'), |
2065 | + 'description' => t('This option will only change the heading font on this element.'), |
2066 | + 'type' => 'select', |
2067 | + 'group' => 'typography', |
2068 | + 'default status' => '1', |
2069 | + 'options' => array( |
2070 | + 'serif-heading' => array( |
2071 | + 'title' => t('Serif headings'), |
2072 | + 'class' => array('serif-heading'), |
2073 | + ), |
2074 | + 'lucida-heading' => array( |
2075 | + 'title' => t('Lucida sans headings'), |
2076 | + 'class' => array('lucida-heading'), |
2077 | + ), |
2078 | + 'mono-heading' => array( |
2079 | + 'title' => t('Monospace headings'), |
2080 | + 'class' => array('mono-heading'), |
2081 | + ), |
2082 | + 'verdana-heading' => array( |
2083 | + 'title' => t('Verdana headings'), |
2084 | + 'class' => array('verdana-heading'), |
2085 | + ), |
2086 | + ), |
2087 | + ); |
2088 | + $skins['orange_fontstack'] = array( |
2089 | + 'title' => t('Font stacks'), |
2090 | + 'description' => t('This option will change the font stack for this element.'), |
2091 | + 'type' => 'select', |
2092 | + 'group' => 'typography', |
2093 | + 'default status' => '1', |
2094 | + 'options' => array( |
2095 | + 'serif-all' => array( |
2096 | + 'title' => t('Big Caslon, Book Antiqua, Palatino Linotype, Georgia, serif'), |
2097 | + 'class' => array('serif-all'), |
2098 | + ), |
2099 | + 'lucida-all' => array( |
2100 | + 'title' => t('Lucida Grande, Lucida Sans Unicode, Lucida Sans, Geneva, Verdana, sans-serif'), |
2101 | + 'class' => array('lucida-all'), |
2102 | + ), |
2103 | + 'mono-all' => array( |
2104 | + 'title' => t('Consolas, Courier New, Courier, mono'), |
2105 | + 'class' => array('mono-all'), |
2106 | + ), |
2107 | + 'verdana-heading' => array( |
2108 | + 'title' => t('Verdana, Geneva, sans-serif'), |
2109 | + 'class' => array('verdana-all'), |
2110 | + ), |
2111 | + ), |
2112 | + ); |
2113 | + $skins['orange_lists'] = array( |
2114 | + 'title' => t('List styles'), |
2115 | + 'type' => 'select', |
2116 | + 'group' => 'orange_links', |
2117 | + 'default status' => '1', |
2118 | + 'theme hooks' => array('block', 'panels_pane', 'views_view', 'node', 'region'), |
2119 | + 'options' => array( |
2120 | + 'img' => array( |
2121 | + 'title' => t('List style with image'), |
2122 | + 'class' => array('img'), |
2123 | + ), |
2124 | + 'blocky' => array( |
2125 | + 'title' => t('Blocky list with orange hover'), |
2126 | + 'class' => array('blist'), |
2127 | + ), |
2128 | + 'grey' => array( |
2129 | + 'title' => t('Blocky list with grey hover'), |
2130 | + 'class' => array('blist', 'grey'), |
2131 | + ), |
2132 | + ), |
2133 | + ); |
2134 | + $skins['orange_menus'] = array( |
2135 | + 'title' => t('Menu styles'), |
2136 | + 'type' => 'select', |
2137 | + 'group' => 'orange_links', |
2138 | + 'default status' => '1', |
2139 | + 'theme hooks' => array('block', 'panels_pane', 'views_view', 'node', 'region'), |
2140 | + 'options' => array( |
2141 | + 'inline-links' => array( |
2142 | + 'title' => t('One level links with separators'), |
2143 | + 'class' => array('inline-links'), |
2144 | + ), |
2145 | + 'column-links' => array( |
2146 | + 'title' => t('Links as columns with sub-options below'), |
2147 | + 'class' => array('column-links'), |
2148 | + ), |
2149 | + ), |
2150 | + ); |
2151 | + |
2152 | + return $skins; |
2153 | +} |
2154 | |
2155 | === added file 'orange/screenshot.png' |
2156 | Binary files orange/screenshot.png 1970-01-01 00:00:00 +0000 and orange/screenshot.png 2011-05-06 23:15:54 +0000 differ |
2157 | === added file 'orange/template.php' |
2158 | --- orange/template.php 1970-01-01 00:00:00 +0000 |
2159 | +++ orange/template.php 2011-05-06 23:15:54 +0000 |
2160 | @@ -0,0 +1,207 @@ |
2161 | +<?php |
2162 | + |
2163 | +/** |
2164 | + * Return a themed breadcrumb trail. |
2165 | + * |
2166 | + * @param $breadcrumb |
2167 | + * An array containing the breadcrumb links. |
2168 | + * @return a string containing the breadcrumb output. |
2169 | + */ |
2170 | +function orange_breadcrumb($vars) { |
2171 | + $breadcrumb = $vars['breadcrumb']; |
2172 | + $output = ''; |
2173 | + if (!empty($breadcrumb)) { |
2174 | + // Provide a navigational heading to give context for breadcrumb links to |
2175 | + // screen-reader users. Make the heading invisible with .element-invisible. |
2176 | + $breadcrumb[] = drupal_get_title(); |
2177 | + $separator = theme('image', array('path' => path_to_theme() . '/images/black-bullet.gif')); |
2178 | + $output .= '<div class="breadcrumb">' . implode(' '. $separator .' ', $breadcrumb) . '</div>'; |
2179 | + return $output; |
2180 | + } |
2181 | +} |
2182 | +/** |
2183 | + * Override or insert variables into the html template. |
2184 | + */ |
2185 | +function orange_preprocess_html(&$vars) { |
2186 | + drupal_add_css(path_to_theme() . '/css/style.css', array('weight' => CSS_THEME)); |
2187 | + // Add conditional CSS for IE7. |
2188 | + drupal_add_css(path_to_theme() . '/css/ie-7.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'IE 7', '!IE' => FALSE), 'preprocess' => FALSE)); |
2189 | + // Add conditional CSS for IE6. |
2190 | + drupal_add_css(path_to_theme() . '/css/ie-6.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE)); |
2191 | + |
2192 | +} |
2193 | +/** |
2194 | + * Implements hook_preprocess_block(). |
2195 | + */ |
2196 | +function orange_preprocess_block(&$vars) { |
2197 | + // Set "first" and "last" classes. |
2198 | + if ($vars['block']->position_first){ |
2199 | + $vars['classes_array'][] = 'first'; |
2200 | + } |
2201 | + if ($vars['block']->position_last){ |
2202 | + $vars['classes_array'][] = 'last'; |
2203 | + } |
2204 | +} |
2205 | + |
2206 | +/** |
2207 | + * Implements hook_preprocess_comment_wrapper(). |
2208 | + */ |
2209 | +function orange_preprocess_comment_wrapper(&$vars) { |
2210 | + // Provide contextual information. |
2211 | + $vars['node'] = $vars['content']['#node']; |
2212 | + |
2213 | + if($vars['node']->comment_count == 0) { |
2214 | + $vars['classes_array'][] = 'no-comments'; |
2215 | + } else { |
2216 | + $vars['classes_array'][] = 'has-comments'; |
2217 | + if($vars['node']->type == 'forum') { |
2218 | + $vars['title'] = t('Replies (@count)', array('@count' => $vars['node']->comment_count)); |
2219 | + } else { |
2220 | + $vars['title'] = t('Comments (@count)', array('@count' => $vars['node']->comment_count)); |
2221 | + } |
2222 | + } |
2223 | +} |
2224 | + |
2225 | +/** |
2226 | + * Implements hook_preprocess_comment_wrapper(). |
2227 | + */ |
2228 | +function orange_preprocess_comment(&$vars) { |
2229 | + $comment = $vars['elements']['#comment']; |
2230 | + |
2231 | + $timestamp = $comment->created; |
2232 | + |
2233 | + $vars['created'] = format_date($timestamp, 'custom', 'F jS, Y'); |
2234 | + |
2235 | + if($vars['picture']) { |
2236 | + $vars['classes_array'][] = 'photo'; |
2237 | + } else { |
2238 | + $vars['classes_array'][] = 'no-photo'; |
2239 | + } |
2240 | +} |
2241 | + |
2242 | +/** |
2243 | + * Implements hook_preprocess_node(). |
2244 | + */ |
2245 | +function orange_preprocess_node(&$vars) { |
2246 | + if($vars['date']) { |
2247 | + $date_day = format_date($vars['node']->created, 'custom', 'j'); |
2248 | + $date_month = format_date($vars['node']->created, 'custom', 'F'); |
2249 | + $date_year = format_date($vars['node']->created, 'custom', 'Y'); |
2250 | + |
2251 | + $vars['date'] = '<span class="date"><strong>'. $date_month . '</strong> '; |
2252 | + $vars['date'] .= $date_day .', '; |
2253 | + $vars['date'] .= $date_year .'</span>'; |
2254 | + } |
2255 | + |
2256 | +} |
2257 | + |
2258 | +/** |
2259 | + * Implements hook_preprocess_comment_wrapper(). |
2260 | + */ |
2261 | +function orange_preprocess_page(&$vars) { |
2262 | + // Prepare header. |
2263 | + $site_fields = array(); |
2264 | + if (!empty($vars['site_name'])) { |
2265 | + $site_fields[] = check_plain($vars['site_name']); |
2266 | + } |
2267 | + if (!empty($vars['site_slogan'])) { |
2268 | + $site_fields[] = check_plain($vars['site_slogan']); |
2269 | + } |
2270 | + $vars['site_title'] = implode(' ', $site_fields); |
2271 | + if (!empty($site_fields)) { |
2272 | + $site_fields[0] = '<span>' . $site_fields[0] . '</span>'; |
2273 | + } |
2274 | + |
2275 | + |
2276 | + if($vars['logged_in']) { |
2277 | + $vars['signup'] = l(t('My Account'), 'user'); |
2278 | + $vars['signup'] .= ' | '; |
2279 | + $vars['signup'] .= l(t('Log Out'), 'user/logout'); |
2280 | + } |
2281 | + |
2282 | +} |
2283 | + |
2284 | +/** |
2285 | + * Implements hook_page_alter(). |
2286 | + */ |
2287 | +function orange_page_alter(&$page) { |
2288 | + // Determine the position and count of blocks within regions. |
2289 | + foreach ($page as &$region) { |
2290 | + // Make sure this is a "region" element. |
2291 | + if (is_array($region) && isset($region['#region'])) { |
2292 | + $i = 0; |
2293 | + foreach ($region as &$block) { |
2294 | + // Make sure this is a "block" element. |
2295 | + if (is_array($block) && isset($block['#block'])) { |
2296 | + $block['#block']->position = $i++; |
2297 | + // Set a flag for "first" and "last" blocks. |
2298 | + $block['#block']->position_first = ($block['#block']->position == 0); |
2299 | + $block['#block']->position_last = FALSE; |
2300 | + $last_block =& $block; |
2301 | + } |
2302 | + } |
2303 | + $last_block['#block']->position_last = TRUE; |
2304 | + $region['#block_count'] = $i; |
2305 | + } |
2306 | + } |
2307 | +} |
2308 | + |
2309 | +function orange_field__field_tags($vars) { |
2310 | + $output = ''; |
2311 | + |
2312 | + // Render the label, if it's not hidden. |
2313 | + if (!$vars['label_hidden']) { |
2314 | + $output .= '<span class="field-label"' . $vars['title_attributes'] . '>' . $vars['label'] . ': </span>'; |
2315 | + } |
2316 | + $total = count($vars['items']); |
2317 | + |
2318 | + // Render the items. |
2319 | + $output .= '<span class="field-items"' . $vars['content_attributes'] . '>'; |
2320 | + foreach ($vars['items'] as $delta => $item) { |
2321 | + $classes = 'field-item ' . ($delta % 2 ? 'odd' : 'even'); |
2322 | + $output .= '<span class="' . $classes . '"' . $vars['item_attributes'][$delta] . '>' . drupal_render($item) . '</span>'; |
2323 | + if($delta != ($total - 1)) { |
2324 | + $output .= ', '; |
2325 | + } |
2326 | + } |
2327 | + $output .= '</span>'; |
2328 | + |
2329 | + // Render the top-level DIV. |
2330 | + $output = '<div class="' . $vars['classes'] . '"' . $vars['attributes'] . '>' . $output . '</div>'; |
2331 | + |
2332 | + return $output; |
2333 | +} |
2334 | + |
2335 | +function orange_field__taxonomy_forums($vars) { |
2336 | + $output = ''; |
2337 | + |
2338 | + // Render the label, if it's not hidden. |
2339 | + if (!$vars['label_hidden']) { |
2340 | + $output .= '<span class="field-label"' . $vars['title_attributes'] . '>' . $vars['label'] . ': </span>'; |
2341 | + } |
2342 | + $total = count($vars['items']); |
2343 | + |
2344 | + // Render the items. |
2345 | + $output .= '<span class="field-items"' . $vars['content_attributes'] . '>'; |
2346 | + foreach ($vars['items'] as $delta => $item) { |
2347 | + $classes = 'field-item ' . ($delta % 2 ? 'odd' : 'even'); |
2348 | + $output .= '<span class="' . $classes . '"' . $vars['item_attributes'][$delta] . '>' . drupal_render($item) . '</span>'; |
2349 | + if($delta != ($total - 1)) { |
2350 | + $output .= ', '; |
2351 | + } |
2352 | + } |
2353 | + $output .= '</span>'; |
2354 | + |
2355 | + // Render the top-level DIV. |
2356 | + $output = '<div class="' . $vars['classes'] . '"' . $vars['attributes'] . '>' . $output . '</div>'; |
2357 | + |
2358 | + return $output; |
2359 | +} |
2360 | + |
2361 | +function orange_feed_icon($vars) { |
2362 | + |
2363 | + $text = t('Subscribe to @feed-title', array('@feed-title' => $vars['title'])); |
2364 | + if ($image = theme('image', array('path' => path_to_theme() .'/images/rss.png', 'alt' => $text))) { |
2365 | + return l($image . t(' RSS Feed'), $vars['url'], array('html' => TRUE, 'attributes' => array('class' => array('feed-icon'), 'title' => $text))); |
2366 | + } |
2367 | +} |
2368 | \ No newline at end of file |
2369 | |
2370 | === added directory 'orange/templates' |
2371 | === added file 'orange/templates/block.tpl.php' |
2372 | --- orange/templates/block.tpl.php 1970-01-01 00:00:00 +0000 |
2373 | +++ orange/templates/block.tpl.php 2011-05-06 23:15:54 +0000 |
2374 | @@ -0,0 +1,53 @@ |
2375 | +<?php |
2376 | + |
2377 | +/** |
2378 | + * @file |
2379 | + * Orange theme's implementation to display a block. |
2380 | + * |
2381 | + * Available variables: |
2382 | + * - $block->subject: Block title. |
2383 | + * - $content: Block content. |
2384 | + * - $block->module: Module that generated the block. |
2385 | + * - $block->delta: An ID for the block, unique within each module. |
2386 | + * - $block->region: The block region embedding the current block. |
2387 | + * - $classes: String of classes that can be used to style contextually through |
2388 | + * CSS. It can be manipulated through the variable $classes_array from |
2389 | + * preprocess functions. The default values can be one or more of the following: |
2390 | + * - block: The current template type, i.e., "theming hook". |
2391 | + * - block-[module]: The module generating the block. For example, the user module |
2392 | + * is responsible for handling the default user navigation block. In that case |
2393 | + * the class would be "block-user". |
2394 | + * - $title_prefix (array): An array containing additional output populated by |
2395 | + * modules, intended to be displayed in front of the main title tag that |
2396 | + * appears in the template. |
2397 | + * - $title_suffix (array): An array containing additional output populated by |
2398 | + * modules, intended to be displayed after the main title tag that appears in |
2399 | + * the template. |
2400 | + * |
2401 | + * Helper variables: |
2402 | + * - $classes_array: Array of html class attribute values. It is flattened |
2403 | + * into a string within the variable $classes. |
2404 | + * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region. |
2405 | + * - $zebra: Same output as $block_zebra but independent of any block region. |
2406 | + * - $block_id: Counter dependent on each block region. |
2407 | + * - $id: Same output as $block_id but independent of any block region. |
2408 | + * - $is_front: Flags true when presented in the front page. |
2409 | + * - $logged_in: Flags true when the current user is a logged-in member. |
2410 | + * - $is_admin: Flags true when the current user is an administrator. |
2411 | + * - $block_html_id: A valid HTML ID and guaranteed unique. |
2412 | + * |
2413 | + * @see template_preprocess() |
2414 | + * @see template_preprocess_block() |
2415 | + * @see template_process() |
2416 | + */ |
2417 | +?> |
2418 | +<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>> |
2419 | + |
2420 | + <?php print render($title_prefix); ?> |
2421 | +<?php if (!empty($block->subject)): ?> |
2422 | + <h2 class="title"<?php print $title_attributes; ?>><?php print $block->subject ?></h2> |
2423 | +<?php endif;?> |
2424 | + <?php print render($title_suffix); ?> |
2425 | + |
2426 | + <div class="content"<?php print $content_attributes; ?>><?php print $content ?></div> |
2427 | +</div> |
2428 | |
2429 | === added file 'orange/templates/comment-wrapper.tpl.php' |
2430 | --- orange/templates/comment-wrapper.tpl.php 1970-01-01 00:00:00 +0000 |
2431 | +++ orange/templates/comment-wrapper.tpl.php 2011-05-06 23:15:54 +0000 |
2432 | @@ -0,0 +1,53 @@ |
2433 | +<?php |
2434 | + |
2435 | +/** |
2436 | + * @file |
2437 | + * Orange theme's implementation to provide an HTML container for comments. |
2438 | + * |
2439 | + * Available variables: |
2440 | + * - $content: The array of content-related elements for the node. Use |
2441 | + * render($content) to print them all, or |
2442 | + * print a subset such as render($content['comment_form']). |
2443 | + * - $classes: String of classes that can be used to style contextually through |
2444 | + * CSS. It can be manipulated through the variable $classes_array from |
2445 | + * preprocess functions. The default value has the following: |
2446 | + * - comment-wrapper: The current template type, i.e., "theming hook". |
2447 | + * - $title_prefix (array): An array containing additional output populated by |
2448 | + * modules, intended to be displayed in front of the main title tag that |
2449 | + * appears in the template. |
2450 | + * - $title_suffix (array): An array containing additional output populated by |
2451 | + * modules, intended to be displayed after the main title tag that appears in |
2452 | + * the template. |
2453 | + * |
2454 | + * The following variables are provided for contextual information. |
2455 | + * - $node: Node object the comments are attached to. |
2456 | + * The constants below the variables show the possible values and should be |
2457 | + * used for comparison. |
2458 | + * - $display_mode |
2459 | + * - COMMENT_MODE_FLAT |
2460 | + * - COMMENT_MODE_THREADED |
2461 | + * |
2462 | + * Other variables: |
2463 | + * - $classes_array: Array of html class attribute values. It is flattened |
2464 | + * into a string within the variable $classes. |
2465 | + * |
2466 | + * @see template_preprocess_comment_wrapper() |
2467 | + * @see theme_comment_wrapper() |
2468 | + */ |
2469 | +?> |
2470 | +<div id="comments-wrapper"> |
2471 | + <div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>> |
2472 | + <?php if ($content['comments']): ?> |
2473 | + <?php print render($title_prefix); ?> |
2474 | + <h2 class="title"><?php print $title; ?></h2> |
2475 | + <?php print render($title_suffix); ?> |
2476 | + <?php endif; ?> |
2477 | + |
2478 | + <?php print render($content['comments']); ?> |
2479 | + |
2480 | + <?php if ($content['comment_form']): ?> |
2481 | + <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2> |
2482 | + <?php print render($content['comment_form']); ?> |
2483 | + <?php endif; ?> |
2484 | + </div> |
2485 | +</div> |
2486 | \ No newline at end of file |
2487 | |
2488 | === added file 'orange/templates/comment.tpl.php' |
2489 | --- orange/templates/comment.tpl.php 1970-01-01 00:00:00 +0000 |
2490 | +++ orange/templates/comment.tpl.php 2011-05-06 23:15:54 +0000 |
2491 | @@ -0,0 +1,86 @@ |
2492 | +<?php |
2493 | + |
2494 | +/** |
2495 | + * @file |
2496 | + * Orange theme's implementation for comments. |
2497 | + * |
2498 | + * Available variables: |
2499 | + * - $author: Comment author. Can be link or plain text. |
2500 | + * - $content: An array of comment items. Use render($content) to print them all, or |
2501 | + * print a subset such as render($content['field_example']). Use |
2502 | + * hide($content['field_example']) to temporarily suppress the printing of a |
2503 | + * given element. |
2504 | + * - $created: Formatted date and time for when the comment was created. |
2505 | + * Preprocess functions can reformat it by calling format_date() with the |
2506 | + * desired parameters on the $comment->created variable. |
2507 | + * - $changed: Formatted date and time for when the comment was last changed. |
2508 | + * Preprocess functions can reformat it by calling format_date() with the |
2509 | + * desired parameters on the $comment->changed variable. |
2510 | + * - $new: New comment marker. |
2511 | + * - $permalink: Comment permalink. |
2512 | + * - $submitted: Submission information created from $author and $created during |
2513 | + * template_preprocess_comment(). |
2514 | + * - $picture: Authors picture. |
2515 | + * - $signature: Authors signature. |
2516 | + * - $status: Comment status. Possible values are: |
2517 | + * comment-unpublished, comment-published or comment-preview. |
2518 | + * - $title: Linked title. |
2519 | + * - $classes: String of classes that can be used to style contextually through |
2520 | + * CSS. It can be manipulated through the variable $classes_array from |
2521 | + * preprocess functions. The default values can be one or more of the following: |
2522 | + * - comment: The current template type, i.e., "theming hook". |
2523 | + * - comment-by-anonymous: Comment by an unregistered user. |
2524 | + * - comment-by-node-author: Comment by the author of the parent node. |
2525 | + * - comment-preview: When previewing a new or edited comment. |
2526 | + * The following applies only to viewers who are registered users: |
2527 | + * - comment-unpublished: An unpublished comment visible only to administrators. |
2528 | + * - comment-by-viewer: Comment by the user currently viewing the page. |
2529 | + * - comment-new: New comment since last the visit. |
2530 | + * - $title_prefix (array): An array containing additional output populated by |
2531 | + * modules, intended to be displayed in front of the main title tag that |
2532 | + * appears in the template. |
2533 | + * - $title_suffix (array): An array containing additional output populated by |
2534 | + * modules, intended to be displayed after the main title tag that appears in |
2535 | + * the template. |
2536 | + * |
2537 | + * These two variables are provided for context: |
2538 | + * - $comment: Full comment object. |
2539 | + * - $node: Node object the comments are attached to. |
2540 | + * |
2541 | + * Other variables: |
2542 | + * - $classes_array: Array of html class attribute values. It is flattened |
2543 | + * into a string within the variable $classes. |
2544 | + * |
2545 | + * @see template_preprocess() |
2546 | + * @see template_preprocess_comment() |
2547 | + * @see template_process() |
2548 | + * @see theme_comment() |
2549 | + */ |
2550 | +?> |
2551 | +<div class="<?php print $classes . ' ' . $zebra; ?>"<?php print $attributes; ?>> |
2552 | + |
2553 | + <div class="clearfix"> |
2554 | + <?php print $picture ?> |
2555 | + <?php if ($new) : ?> |
2556 | + <span class="new"><?php print drupal_ucfirst($new) ?></span> |
2557 | + <?php endif; ?> |
2558 | + |
2559 | + <?php print render($title_prefix); ?> |
2560 | + <h3<?php print $title_attributes; ?>><?php print $title ?></h3> |
2561 | + <?php print render($title_suffix); ?> |
2562 | + |
2563 | + <div class="submitted"><?php print $created; ?> - <?php print $author; ?></div> |
2564 | + |
2565 | + <div class="content"<?php print $content_attributes; ?>> |
2566 | + <?php hide($content['links']); print render($content); ?> |
2567 | + <?php if ($signature): ?> |
2568 | + <div class="clearfix"> |
2569 | + <div>Ñ</div> |
2570 | + <?php print $signature ?> |
2571 | + </div> |
2572 | + <?php endif; ?> |
2573 | + </div> |
2574 | + </div> |
2575 | + |
2576 | + <?php print render($content['links']) ?> |
2577 | +</div> |
2578 | |
2579 | === added file 'orange/templates/html.tpl.php' |
2580 | --- orange/templates/html.tpl.php 1970-01-01 00:00:00 +0000 |
2581 | +++ orange/templates/html.tpl.php 2011-05-06 23:15:54 +0000 |
2582 | @@ -0,0 +1,54 @@ |
2583 | +<?php |
2584 | + |
2585 | +/** |
2586 | + * @file |
2587 | + * Orange theme's implementation to display the basic html structure of a single |
2588 | + * Drupal page. |
2589 | + * |
2590 | + * Variables: |
2591 | + * - $css: An array of CSS files for the current page. |
2592 | + * - $language: (object) The language the site is being displayed in. |
2593 | + * $language->language contains its textual representation. |
2594 | + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. |
2595 | + * - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document. |
2596 | + * - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data. |
2597 | + * - $head_title: A modified version of the page title, for use in the TITLE tag. |
2598 | + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and |
2599 | + * so on). |
2600 | + * - $styles: Style tags necessary to import all CSS files for the page. |
2601 | + * - $scripts: Script tags necessary to load the JavaScript files and settings |
2602 | + * for the page. |
2603 | + * - $page_top: Initial markup from any modules that have altered the |
2604 | + * page. This variable should always be output first, before all other dynamic |
2605 | + * content. |
2606 | + * - $page: The rendered page content. |
2607 | + * - $page_bottom: Final closing markup from any modules that have altered the |
2608 | + * page. This variable should always be output last, after all other dynamic |
2609 | + * content. |
2610 | + * - $classes String of classes that can be used to style contextually through |
2611 | + * CSS. |
2612 | + * |
2613 | + * @see template_preprocess() |
2614 | + * @see template_preprocess_html() |
2615 | + * @see template_process() |
2616 | + */ |
2617 | +?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" |
2618 | + "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> |
2619 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>> |
2620 | + |
2621 | +<head profile="<?php print $grddl_profile; ?>"> |
2622 | + <?php print $head; ?> |
2623 | + <title><?php print $head_title; ?></title> |
2624 | + <?php print $styles; ?> |
2625 | + <?php print $scripts; ?> |
2626 | +</head> |
2627 | +<body class="<?php print $classes; ?>" <?php print $attributes;?>> |
2628 | + <?php print render($title_suffix); ?> |
2629 | + <div id="skip-link"> |
2630 | + <a href="#main-content"><?php print t('Skip to main content'); ?></a> |
2631 | + </div> |
2632 | + <?php print $page_top; ?> |
2633 | + <?php print $page; ?> |
2634 | + <?php print $page_bottom; ?> |
2635 | +</body> |
2636 | +</html> |
2637 | \ No newline at end of file |
2638 | |
2639 | === added file 'orange/templates/node.tpl.php' |
2640 | --- orange/templates/node.tpl.php 1970-01-01 00:00:00 +0000 |
2641 | +++ orange/templates/node.tpl.php 2011-05-06 23:15:54 +0000 |
2642 | @@ -0,0 +1,114 @@ |
2643 | +<?php |
2644 | + |
2645 | +/** |
2646 | + * @file |
2647 | + * Orange theme's implementation to display a node. |
2648 | + * |
2649 | + * Available variables: |
2650 | + * - $title: the (sanitized) title of the node. |
2651 | + * - $content: An array of node items. Use render($content) to print them all, |
2652 | + * or print a subset such as render($content['field_example']). Use |
2653 | + * hide($content['field_example']) to temporarily suppress the printing of a |
2654 | + * given element. |
2655 | + * - $user_picture: The node author's picture from user-picture.tpl.php. |
2656 | + * - $date: Formatted creation date. Preprocess functions can reformat it by |
2657 | + * calling format_date() with the desired parameters on the $created variable. |
2658 | + * - $name: Themed username of node author output from theme_username(). |
2659 | + * - $node_url: Direct url of the current node. |
2660 | + * - $display_submitted: Whether submission information should be displayed. |
2661 | + * - $submitted: Submission information created from $name and $date during |
2662 | + * template_preprocess_node(). |
2663 | + * - $classes: String of classes that can be used to style contextually through |
2664 | + * CSS. It can be manipulated through the variable $classes_array from |
2665 | + * preprocess functions. The default values can be one or more of the |
2666 | + * following: |
2667 | + * - node: The current template type, i.e., "theming hook". |
2668 | + * - node-[type]: The current node type. For example, if the node is a |
2669 | + * "Blog entry" it would result in "node-blog". Note that the machine |
2670 | + * name will often be in a short form of the human readable label. |
2671 | + * - node-teaser: Nodes in teaser form. |
2672 | + * - node-preview: Nodes in preview mode. |
2673 | + * The following are controlled through the node publishing options. |
2674 | + * - node-promoted: Nodes promoted to the front page. |
2675 | + * - node-sticky: Nodes ordered above other non-sticky nodes in teaser |
2676 | + * listings. |
2677 | + * - node-unpublished: Unpublished nodes visible only to administrators. |
2678 | + * - $title_prefix (array): An array containing additional output populated by |
2679 | + * modules, intended to be displayed in front of the main title tag that |
2680 | + * appears in the template. |
2681 | + * - $title_suffix (array): An array containing additional output populated by |
2682 | + * modules, intended to be displayed after the main title tag that appears in |
2683 | + * the template. |
2684 | + * |
2685 | + * Other variables: |
2686 | + * - $node: Full node object. Contains data that may not be safe. |
2687 | + * - $type: Node type, i.e. story, page, blog, etc. |
2688 | + * - $comment_count: Number of comments attached to the node. |
2689 | + * - $uid: User ID of the node author. |
2690 | + * - $created: Time the node was published formatted in Unix timestamp. |
2691 | + * - $classes_array: Array of html class attribute values. It is flattened |
2692 | + * into a string within the variable $classes. |
2693 | + * - $zebra: Outputs either "even" or "odd". Useful for zebra striping in |
2694 | + * teaser listings. |
2695 | + * - $id: Position of the node. Increments each time it's output. |
2696 | + * |
2697 | + * Node status variables: |
2698 | + * - $view_mode: View mode, e.g. 'full', 'teaser'... |
2699 | + * - $teaser: Flag for the teaser state (shortcut for $view_mode == 'teaser'). |
2700 | + * - $page: Flag for the full page state. |
2701 | + * - $promote: Flag for front page promotion state. |
2702 | + * - $sticky: Flags for sticky post setting. |
2703 | + * - $status: Flag for published status. |
2704 | + * - $comment: State of comment settings for the node. |
2705 | + * - $readmore: Flags true if the teaser content of the node cannot hold the |
2706 | + * main body content. |
2707 | + * - $is_front: Flags true when presented in the front page. |
2708 | + * - $logged_in: Flags true when the current user is a logged-in member. |
2709 | + * - $is_admin: Flags true when the current user is an administrator. |
2710 | + * |
2711 | + * Field variables: for each field instance attached to the node a corresponding |
2712 | + * variable is defined, e.g. $node->body becomes $body. When needing to access |
2713 | + * a field's raw values, developers/themers are strongly encouraged to use these |
2714 | + * variables. Otherwise they will have to explicitly specify the desired field |
2715 | + * language, e.g. $node->body['en'], thus overriding any language negotiation |
2716 | + * rule that was previously applied. |
2717 | + * |
2718 | + * @see template_preprocess() |
2719 | + * @see template_preprocess_node() |
2720 | + * @see template_process() |
2721 | + */ |
2722 | +?> |
2723 | +<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>> |
2724 | + <?php print render($title_prefix); ?> |
2725 | + <?php if (!$page): ?> |
2726 | + <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2> |
2727 | + <?php endif; ?> |
2728 | + <?php print render($title_suffix); ?> |
2729 | + <?php if($display_submitted): ?> |
2730 | + <div class="info"> |
2731 | + <?php if ($display_submitted): ?> |
2732 | + <?php print $date; ?> - <?php print $name; ?> |
2733 | + <?php endif; ?> |
2734 | + <?php if(isset($content['field_tags'])) print render($content['field_tags']); ?> |
2735 | + <?php if(isset($content['taxonomy_forums'])) print render($content['taxonomy_forums']); ?> |
2736 | + </div> |
2737 | + <?php endif; ?> |
2738 | + |
2739 | + <div class="content clearfix"<?php print $content_attributes; ?>> |
2740 | + <?php |
2741 | + // We hide the comments and links now so that we can render them later. |
2742 | + hide($content['comments']); |
2743 | + hide($content['links']); |
2744 | + print render($content); |
2745 | + ?> |
2746 | + </div> |
2747 | + |
2748 | + <div class="clearfix"> |
2749 | + <?php if (!empty($content['links'])): ?> |
2750 | + <div class="node-links"><?php print render($content['links']); ?></div> |
2751 | + <?php endif; ?> |
2752 | + |
2753 | + <?php print render($content['comments']); ?> |
2754 | + </div> |
2755 | + |
2756 | +</div> |
2757 | |
2758 | === added file 'orange/templates/page.tpl.php' |
2759 | --- orange/templates/page.tpl.php 1970-01-01 00:00:00 +0000 |
2760 | +++ orange/templates/page.tpl.php 2011-05-06 23:15:54 +0000 |
2761 | @@ -0,0 +1,113 @@ |
2762 | +<?php |
2763 | + |
2764 | +/** |
2765 | + * @file |
2766 | + * Orange theme's implementation to display a single Drupal page. |
2767 | + */ |
2768 | +?> |
2769 | + <?php print render($page['header']); ?> |
2770 | + <div id="wrapper"> |
2771 | + <div id="header-top"> |
2772 | + <?php if($site_slogan): ?> |
2773 | + <span id="slogan"> |
2774 | + <?php print $site_slogan; ?> |
2775 | + </span> |
2776 | + <?php endif; ?> |
2777 | + <span id="member-login"> |
2778 | + <?php if(isset($signup)) print $signup; ?> |
2779 | + </span> |
2780 | + </div><!-- end header-top --> |
2781 | + |
2782 | + <div id="header"> |
2783 | + <div id="logo"> |
2784 | + <?php if ($logo): ?> |
2785 | + <a href="<?php print $front_page ?>" title="<?php print $site_title; ?>"> |
2786 | + <img src="<?php print $logo ?>" alt="<?php print $site_title; ?>" /> |
2787 | + </a> |
2788 | + <?php endif; ?> |
2789 | + <?php if ($site_name): ?> |
2790 | + <h1 id="site-name"><a href="<?php print $front_page ?>" title="<?php print $site_name; ?>"> |
2791 | + <?php print $site_name; ?> |
2792 | + </a></h1> |
2793 | + <?php endif; ?> |
2794 | + </div> <!-- end logo --> |
2795 | + <?php if ($page['nav']): ?> |
2796 | + <div id="nav"> |
2797 | + <?php print render($page['nav']); ?> |
2798 | + </div> |
2799 | + <?php endif; ?><!-- end nav --> |
2800 | + </div> <!-- end header --> |
2801 | + |
2802 | + <div id="container"> |
2803 | + <?php if ($page['content_top']): ?> |
2804 | + <div id="content-top"> |
2805 | + <?php print render($page['content_top']); ?> |
2806 | + </div> |
2807 | + <?php endif; ?><!-- end content top --> |
2808 | + |
2809 | + <div id="main"> |
2810 | + <?php print $breadcrumb; ?> |
2811 | + <?php if($page['content_inner']): ?> |
2812 | + <div id="content-inner"> |
2813 | + <?php print render($page['content_inner']); ?> |
2814 | + <div class="clear"> </div> |
2815 | + </div> |
2816 | + <?php endif; ?><!-- end content inner --> |
2817 | + |
2818 | + <?php if ($page['highlight']): ?> |
2819 | + <div id="highlight"> |
2820 | + <?php print render($page['highlight']); ?> |
2821 | + </div> |
2822 | + <?php endif; ?> <!-- end highlight --> |
2823 | + <a name="main-content" id="main-content"></a> |
2824 | + <?php if ($title): ?> |
2825 | + <h1 class="title"><?php print $title; ?></h1> |
2826 | + <?php endif; ?> <!-- end title --> |
2827 | + |
2828 | + <?php if ($tabs): ?> |
2829 | + <div id="tabs"> |
2830 | + <?php if ($tabs): ?> |
2831 | + <?php print render($tabs) ?> |
2832 | + <?php endif; ?> |
2833 | + </div> <!-- end tabs --> |
2834 | + <?php endif; ?> |
2835 | + |
2836 | + <div id="content"> |
2837 | + <?php print $messages; ?> |
2838 | + <?php print render($page['help']); ?> |
2839 | + <?php if ($action_links): ?> |
2840 | + <ul class="action-links"><?php print render($action_links); ?></ul> |
2841 | + <?php endif; ?> |
2842 | + <?php print render($page['content']); ?> |
2843 | + <?php print $feed_icons ?> |
2844 | + </div> <!-- end content --> |
2845 | + </div><!-- end main --> |
2846 | + |
2847 | + <?php if($page['sidebar_first']): ?> |
2848 | + <div id="sidebar"> |
2849 | + <?php print render($page['sidebar_first']); ?> |
2850 | + </div> |
2851 | + <?php endif; ?><!-- end sidebar--> |
2852 | + |
2853 | + <div class="clear"> </div> |
2854 | + <?php if($page['content_bottom']): ?> |
2855 | + <div id="content-bottom"> |
2856 | + <?php print render($page['content_bottom']); ?> |
2857 | + <div class="clear"> </div> |
2858 | + </div> |
2859 | + <?php endif; ?> |
2860 | + </div> <!-- end container --> |
2861 | + </div><!-- end wrapper --> |
2862 | + |
2863 | + <div id="footer"> |
2864 | + <div id="footerwrap"> |
2865 | + <?php if ($page['content_footer']): ?> |
2866 | + <div id="content-footer"> |
2867 | + <?php print render($page['content_footer']); ?> |
2868 | + <div class="clear"> </div> |
2869 | + </div> |
2870 | + <?php endif; ?> |
2871 | + </div> <!-- end footerwrap --> |
2872 | + </div> <!-- end footer --> |
2873 | + |
2874 | +<?php print render($page['footer']) ?> |
2875 | \ No newline at end of file |
2876 | |
2877 | === added file 'orange/templates/region.tpl.php' |
2878 | --- orange/templates/region.tpl.php 1970-01-01 00:00:00 +0000 |
2879 | +++ orange/templates/region.tpl.php 2011-05-06 23:15:54 +0000 |
2880 | @@ -0,0 +1,34 @@ |
2881 | +<?php |
2882 | + |
2883 | +/** |
2884 | + * @file |
2885 | + * Orange theme's implementation to display a region. |
2886 | + * |
2887 | + * Available variables: |
2888 | + * - $content: The content for this region, typically blocks. |
2889 | + * - $classes: String of classes that can be used to style contextually through |
2890 | + * CSS. It can be manipulated through the variable $classes_array from |
2891 | + * preprocess functions. The default values can be one or more of the following: |
2892 | + * - region: The current template type, i.e., "theming hook". |
2893 | + * - region-[name]: The name of the region with underscores replaced with |
2894 | + * dashes. For example, the page_top region would have a region-page-top class. |
2895 | + * - $region: The name of the region variable as defined in the theme's .info file. |
2896 | + * |
2897 | + * Helper variables: |
2898 | + * - $classes_array: Array of html class attribute values. It is flattened |
2899 | + * into a string within the variable $classes. |
2900 | + * - $is_admin: Flags true when the current user is an administrator. |
2901 | + * - $is_front: Flags true when presented in the front page. |
2902 | + * - $logged_in: Flags true when the current user is a logged-in member. |
2903 | + * |
2904 | + * @see template_preprocess() |
2905 | + * @see template_preprocess_region() |
2906 | + * @see template_process() |
2907 | + */ |
2908 | +?> |
2909 | +<?php if ($content): ?> |
2910 | + <div class="<?php print $classes; ?>"> |
2911 | + <?php print render($title_suffix); ?> |
2912 | + <?php print $content; ?> |
2913 | + </div> |
2914 | +<?php endif; ?> |
2915 | \ No newline at end of file |
2916 | |
2917 | === added directory 'orange_admin' |
2918 | === added directory 'orange_admin/css' |
2919 | === added file 'orange_admin/css/style-admin.css' |
2920 | --- orange_admin/css/style-admin.css 1970-01-01 00:00:00 +0000 |
2921 | +++ orange_admin/css/style-admin.css 2011-05-06 23:15:54 +0000 |
2922 | @@ -0,0 +1,760 @@ |
2923 | +* { |
2924 | + outline: none; |
2925 | +} |
2926 | +body { |
2927 | + background: transparent; |
2928 | + color: #333; |
2929 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
2930 | + font-size: 0.75em; |
2931 | + line-height: 1.5em; |
2932 | + margin: 0; |
2933 | +} |
2934 | +a { |
2935 | + color: #EF9F20; |
2936 | + text-decoration: none; |
2937 | + -webkit-transition: all 0.3s linear; |
2938 | +} |
2939 | +a:hover, |
2940 | +a:focus { |
2941 | + color: #222; |
2942 | +} |
2943 | +strong { |
2944 | + font-weight: bold; |
2945 | +} |
2946 | +input[type=submit] { |
2947 | + background: transparent url(../images/black-btn-off.jpg) repeat-x 0 0; |
2948 | + border: none; |
2949 | + color: #fff; |
2950 | + font-family: 'helvetica', arial, sans-serif; |
2951 | + padding: 6px 16px; |
2952 | + text-transform: uppercase; |
2953 | + -webkit-border-radius: 7px; |
2954 | + -moz-border-radius: 7px; |
2955 | + border-radius: 7px; |
2956 | +} |
2957 | +input[type=submit]:hover { |
2958 | + background: transparent url(../images/black-btn-on.jpg) repeat-x 0 0; |
2959 | + cursor: pointer; |
2960 | +} |
2961 | +input[type=text], |
2962 | +input[type=password], |
2963 | +textarea { |
2964 | + padding: 4px; |
2965 | + margin: 4px 0; |
2966 | +} |
2967 | +#wrapper { |
2968 | + width: 100%; |
2969 | +} |
2970 | +#header { |
2971 | + background: #ccc; |
2972 | + height: 20px; |
2973 | + padding: 10px 40px; |
2974 | + font-size: 14px; |
2975 | +} |
2976 | +#header a { |
2977 | + color: #777; |
2978 | +} |
2979 | +#header a:hover { |
2980 | + border-bottom: 1px solid #aaa; |
2981 | + color: #111; |
2982 | +} |
2983 | +#header h4 { |
2984 | + float: right; |
2985 | + margin: 0; |
2986 | +} |
2987 | +#header .breadcrumb { |
2988 | + float: left; |
2989 | +} |
2990 | +#container { |
2991 | + padding: 0; |
2992 | + position: relative; |
2993 | +} |
2994 | +#container h1.title { |
2995 | + background: #eee; |
2996 | + margin: 0; |
2997 | + font-size: 2.8em; |
2998 | + padding: 20px 40px; |
2999 | +} |
3000 | +#container #content { |
3001 | + padding: 10px 40px; |
3002 | +} |
3003 | +.description { |
3004 | + font-size: 11px; |
3005 | +} |
3006 | +html.js fieldset.collapsible .fieldset-legend { |
3007 | + background: transparent url(../images/collapse.jpg) no-repeat 0 50%; |
3008 | + padding: 0 0 0 20px; |
3009 | +} |
3010 | +html.js fieldset.collapsed .fieldset-legend { |
3011 | + background: transparent url(../images/expand.jpg) no-repeat 0 50%; |
3012 | + padding: 0 0 0 20px; |
3013 | +} |
3014 | +div.admin-panel { |
3015 | + background: #fbfbfb; |
3016 | + border-bottom: 2px solid #eee; |
3017 | + margin: 10px 0; |
3018 | + padding: 5px; |
3019 | +} |
3020 | +div.admin-panel h3 { |
3021 | + background: #eee; |
3022 | + font-size: 20px; |
3023 | + letter-spacing: 0; |
3024 | + padding: 5px 10px; |
3025 | +} |
3026 | +div.admin-panel h3 a { |
3027 | + color: #555; |
3028 | +} |
3029 | +dl.admin-list dt a { |
3030 | + background: transparent url(../images/dnarrow.jpg) no-repeat 0 49%; |
3031 | + color: #444; |
3032 | + font-size: 13px; |
3033 | + font-weight: bold; |
3034 | + padding-left: 20px; |
3035 | + text-transform: uppercase; |
3036 | +} |
3037 | +div.admin-panel .description { |
3038 | + font-size: 12px; |
3039 | + padding: 5px 5px 5px 12px; |
3040 | +} |
3041 | +div.admin-panel ul { |
3042 | + padding: 0; |
3043 | +} |
3044 | +div.admin-panel ul li { |
3045 | + border-bottom: 1px solid #eee; |
3046 | + list-style: none; |
3047 | + line-height: 2.5em; |
3048 | + margin: 0; |
3049 | +} |
3050 | +div.admin-panel ul li a { |
3051 | + background: transparent url(../images/dnarrow.jpg) no-repeat 0 49%; |
3052 | + color: #444; |
3053 | + font-size: 13px; |
3054 | + font-weight: bold; |
3055 | + padding-left: 20px; |
3056 | + text-transform: uppercase; |
3057 | +} |
3058 | +dl.admin-list dt a:hover, |
3059 | +div.admin-panel ul li a:hover { |
3060 | + color: #EF9F20; |
3061 | + text-decoration: underline; |
3062 | +} |
3063 | +dl.admin-list dd { |
3064 | + border-bottom: 1px solid #eee; |
3065 | + padding: 5px 5px 5px 20px; |
3066 | + margin: 0 0 10px; |
3067 | +} |
3068 | +#tabs { |
3069 | + margin: 0 40px; |
3070 | +} |
3071 | +ul.tabs.primary { |
3072 | + border-bottom: none; |
3073 | + margin: 0; |
3074 | + padding: 0; |
3075 | +} |
3076 | +ul.tabs.primary li { |
3077 | + line-height: 2.2em; |
3078 | +} |
3079 | +ul.tabs.primary li a { |
3080 | + background: #ddd; |
3081 | + border: none; |
3082 | + color: #999; |
3083 | + padding: 7px 20px; |
3084 | + -webkit-border-top-right-radius: 0px; |
3085 | + -webkit-border-top-left-radius: 0px; |
3086 | + -moz-border-radius-topright: 0px; |
3087 | + -moz-border-radius-topleft: 0px; |
3088 | + -webkit-border-bottom-right-radius: 5px; |
3089 | + -webkit-border-bottom-left-radius: 5px; |
3090 | + -moz-border-radius-bottomright: 5px; |
3091 | + -moz-border-radius-bottomleft: 5px; |
3092 | +} |
3093 | +ul.tabs.primary li a:hover { |
3094 | + background: #EF9F20; |
3095 | + color: #fff; |
3096 | +} |
3097 | +ul.tabs.primary li a.active, |
3098 | +ul.tabs.primary li.active a { |
3099 | + background: #eee; |
3100 | + color: #777; |
3101 | +} |
3102 | +ul.action-links, |
3103 | +div.compact-link { |
3104 | + padding: 0; |
3105 | +} |
3106 | +ul.action-links li { |
3107 | + list-style: none; |
3108 | + line-height: 2.5em; |
3109 | + display: inline; |
3110 | + margin: 5px; |
3111 | +} |
3112 | +ul.action-links li a, |
3113 | +div.compact-link a { |
3114 | + background: #f8f8f8 url(../images/dnarrow.jpg) no-repeat 4% 50%; |
3115 | + padding: 5px 5px 5px 25px; |
3116 | + -moz-border-radius: 5px; |
3117 | + -webkit-border-radius: 5px; |
3118 | +} |
3119 | +table { |
3120 | + width: 100%; |
3121 | +} |
3122 | +table td { |
3123 | + padding: 10px; |
3124 | +} |
3125 | +#permissions td .form-item { |
3126 | + text-align: left; |
3127 | +} |
3128 | + |
3129 | +fieldset { |
3130 | + background: #fff url(../images/grey-white.gif) repeat-x 0 0; |
3131 | + border: 1px solid #eee; |
3132 | + line-height: 1.5em; |
3133 | + margin: 10px 5px; |
3134 | + padding: 4px 5px 10px; |
3135 | + position: relative; |
3136 | +} |
3137 | + |
3138 | +fieldset .fieldset-legend { |
3139 | + margin: 0.5em 0 0; |
3140 | + position: absolute; |
3141 | + color: #444; |
3142 | + font-weight: bold; |
3143 | + text-transform: uppercase; |
3144 | +} |
3145 | +fieldset .fieldset-wrapper { |
3146 | + padding: 25px 15px; |
3147 | +} |
3148 | +fieldset a.fieldset-title { |
3149 | + color: #444; |
3150 | + font-weight: bold; |
3151 | +} |
3152 | +fieldset a.fieldset-title:hover { |
3153 | + color: #EF9F20; |
3154 | + text-decoration: underline; |
3155 | +} |
3156 | +html.js fieldset.collapsed { |
3157 | + border: 1px solid #eee; |
3158 | + height: 1.4em; |
3159 | + margin-bottom: 10px; |
3160 | +} |
3161 | +fieldset.filter-wrapper { |
3162 | + padding: 0; |
3163 | +} |
3164 | +fieldset.filter-wrapper .fieldset-wrapper { |
3165 | + padding: 15px 0; |
3166 | +} |
3167 | +.form-item { |
3168 | + margin: 5px 0; |
3169 | +} |
3170 | +.container-inline fieldset { |
3171 | + padding: 10px; |
3172 | + margin: 10px 0; |
3173 | +} |
3174 | +table { |
3175 | + background: #fff; |
3176 | + margin: 5px 0; |
3177 | +} |
3178 | +table th, |
3179 | +table td { |
3180 | + padding: 6px; |
3181 | + vertical-align: middle; |
3182 | +} |
3183 | +table th.select-all, |
3184 | +table td .form-item { |
3185 | + text-align: center; |
3186 | +} |
3187 | +table td.block { |
3188 | + padding: 8px; |
3189 | +} |
3190 | +thead th, |
3191 | +thead th a { |
3192 | + background: #f8f8f8; |
3193 | + border-color: #e5e5e5; |
3194 | + color: #444; |
3195 | + font-weight: bold; |
3196 | + text-transform: uppercase; |
3197 | +} |
3198 | +thead th a:hover { |
3199 | + color: #EF9F20; |
3200 | +} |
3201 | +th.active img { |
3202 | + display: none; |
3203 | +} |
3204 | +th.active { |
3205 | + background: #f8f8f8 url(../images/dnarrow.jpg) no-repeat 5% 45%; |
3206 | + padding-left: 30px; |
3207 | +} |
3208 | +table tbody tr.even { |
3209 | + background: #f5f5f5; |
3210 | +} |
3211 | +table tbody tr.odd, |
3212 | +table tbody tr.even { |
3213 | + border: none; |
3214 | +} |
3215 | +tr.drag-previous { |
3216 | + background: #b8dffc; |
3217 | +} |
3218 | +div.error, |
3219 | +div.warning { |
3220 | + background: #EF9F20; |
3221 | + border: none; |
3222 | + color: #fff; |
3223 | + margin: 0 0 15px 0; |
3224 | + padding: 10px; |
3225 | +} |
3226 | +div.status { |
3227 | + background: #eee; |
3228 | + border: none; |
3229 | + color: #aaa; |
3230 | + margin: 0 0 15px 0; |
3231 | + padding: 10px; |
3232 | +} |
3233 | +div.error a, |
3234 | +div.warning a, |
3235 | +div.status a { |
3236 | + color: #555; |
3237 | + text-decoration: underline; |
3238 | +} |
3239 | +div.error a:hover, |
3240 | +div.warning a:hover, |
3241 | +div.status a:hover { |
3242 | + color: #333; |
3243 | +} |
3244 | +.help { |
3245 | + color: #444; |
3246 | + margin: 10px 5px; |
3247 | +} |
3248 | +.help .more-help-link { |
3249 | + text-align: right; |
3250 | +} |
3251 | + |
3252 | +/*-------vertical tabs support---------*/ |
3253 | +.vertical-tabs { |
3254 | + background: #fff; |
3255 | + border-color: #ddd; |
3256 | + margin: 0 5px 10px; |
3257 | + padding: 0; |
3258 | +} |
3259 | +.vertical-tabs ul { |
3260 | + border-color: #ddd; |
3261 | +} |
3262 | +.vertical-tabs fieldset { |
3263 | + background: #fff; |
3264 | +} |
3265 | +.vertical-tabs fieldset .fieldset-wrapper { |
3266 | + padding: 10px; |
3267 | +} |
3268 | +.vertical-tabs ul.vertical-tabs-list .summary { |
3269 | + font-size: 0.85em; |
3270 | + color: #999; |
3271 | +} |
3272 | +.vertical-tabs ul.vertical-tabs-list a strong { |
3273 | + color: #444; |
3274 | + text-transform: uppercase; |
3275 | +} |
3276 | + |
3277 | +* { |
3278 | + outline: none; |
3279 | +} |
3280 | +body { |
3281 | + background: transparent; |
3282 | + color: #333; |
3283 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
3284 | + font-size: 0.75em; |
3285 | + line-height: 1.5em; |
3286 | + margin: 0; |
3287 | +} |
3288 | +a { |
3289 | + color: #EF9F20; |
3290 | + text-decoration: none; |
3291 | + -webkit-transition: all 0.3s linear; |
3292 | +} |
3293 | +a:hover, |
3294 | +a:focus { |
3295 | + color: #222; |
3296 | +} |
3297 | +strong { |
3298 | + font-weight: bold; |
3299 | +} |
3300 | +input[type=submit] { |
3301 | + background: transparent url(../images/black-btn-off.jpg) repeat-x 0 0; |
3302 | + border: none; |
3303 | + color: #fff; |
3304 | + font-family: 'helvetica', arial, sans-serif; |
3305 | + padding: 6px 16px; |
3306 | + text-transform: uppercase; |
3307 | + -webkit-border-radius: 7px; |
3308 | + -moz-border-radius: 7px; |
3309 | + border-radius: 7px; |
3310 | +} |
3311 | +input[type=submit]:hover { |
3312 | + background: transparent url(../images/black-btn-on.jpg) repeat-x 0 0; |
3313 | + cursor: pointer; |
3314 | +} |
3315 | +input[type=text], |
3316 | +input[type=password], |
3317 | +textarea { |
3318 | + padding: 4px; |
3319 | + margin: 4px 0; |
3320 | +} |
3321 | +#wrapper { |
3322 | + width: 100%; |
3323 | +} |
3324 | +#header { |
3325 | + background: #ccc; |
3326 | + height: 20px; |
3327 | + padding: 10px 40px; |
3328 | + font-size: 14px; |
3329 | +} |
3330 | +#header a { |
3331 | + color: #777; |
3332 | +} |
3333 | +#header a:hover { |
3334 | + border-bottom: 1px solid #aaa; |
3335 | + color: #111; |
3336 | +} |
3337 | +#header h4 { |
3338 | + float: right; |
3339 | + margin: 0; |
3340 | +} |
3341 | +#header .breadcrumb { |
3342 | + float: left; |
3343 | +} |
3344 | +#container { |
3345 | + padding: 0; |
3346 | + position: relative; |
3347 | +} |
3348 | +#container h1.title { |
3349 | + background: #eee; |
3350 | + margin: 0; |
3351 | + font-size: 2.8em; |
3352 | + padding: 20px 40px; |
3353 | +} |
3354 | +#container #content { |
3355 | + padding: 10px 40px; |
3356 | +} |
3357 | +.description { |
3358 | + font-size: 11px; |
3359 | +} |
3360 | +html.js fieldset.collapsible .fieldset-legend { |
3361 | + background: transparent url(../images/collapse.jpg) no-repeat 0 50%; |
3362 | + padding: 0 0 0 20px; |
3363 | +} |
3364 | +html.js fieldset.collapsed .fieldset-legend { |
3365 | + background: transparent url(../images/expand.jpg) no-repeat 0 50%; |
3366 | + padding: 0 0 0 20px; |
3367 | +} |
3368 | +div.admin-panel { |
3369 | + background: #fbfbfb; |
3370 | + border-bottom: 2px solid #eee; |
3371 | + margin: 10px 0; |
3372 | + padding: 5px; |
3373 | +} |
3374 | +div.admin-panel h3 { |
3375 | + background: #eee; |
3376 | + font-size: 20px; |
3377 | + letter-spacing: 0; |
3378 | + padding: 5px 10px; |
3379 | +} |
3380 | +div.admin-panel h3 a { |
3381 | + color: #555; |
3382 | +} |
3383 | +dl.admin-list dt a { |
3384 | + background: transparent url(../images/dnarrow.jpg) no-repeat 0 49%; |
3385 | + color: #444; |
3386 | + font-size: 13px; |
3387 | + font-weight: bold; |
3388 | + padding-left: 20px; |
3389 | + text-transform: uppercase; |
3390 | +} |
3391 | +div.admin-panel .description { |
3392 | + font-size: 12px; |
3393 | + padding: 5px 5px 5px 12px; |
3394 | +} |
3395 | +div.admin-panel ul { |
3396 | + padding: 0; |
3397 | +} |
3398 | +div.admin-panel ul li { |
3399 | + border-bottom: 1px solid #eee; |
3400 | + list-style: none; |
3401 | + line-height: 2.5em; |
3402 | + margin: 0; |
3403 | +} |
3404 | +div.admin-panel ul li a { |
3405 | + background: transparent url(../images/dnarrow.jpg) no-repeat 0 49%; |
3406 | + color: #444; |
3407 | + font-size: 13px; |
3408 | + font-weight: bold; |
3409 | + padding-left: 20px; |
3410 | + text-transform: uppercase; |
3411 | +} |
3412 | +dl.admin-list dt a:hover, |
3413 | +div.admin-panel ul li a:hover { |
3414 | + color: #EF9F20; |
3415 | + text-decoration: underline; |
3416 | +} |
3417 | +dl.admin-list dd { |
3418 | + border-bottom: 1px solid #eee; |
3419 | + padding: 5px 5px 5px 20px; |
3420 | + margin: 0 0 10px; |
3421 | +} |
3422 | +#tabs { |
3423 | + margin: 0 40px; |
3424 | +} |
3425 | +ul.tabs.primary { |
3426 | + border-bottom: none; |
3427 | + margin: 0; |
3428 | + padding: 0; |
3429 | +} |
3430 | +ul.tabs.primary li { |
3431 | + line-height: 2.2em; |
3432 | +} |
3433 | +ul.tabs.primary li a { |
3434 | + background: #ddd; |
3435 | + border: none; |
3436 | + color: #999; |
3437 | + padding: 7px 20px; |
3438 | + -webkit-border-top-right-radius: 0px; |
3439 | + -webkit-border-top-left-radius: 0px; |
3440 | + -moz-border-radius-topright: 0px; |
3441 | + -moz-border-radius-topleft: 0px; |
3442 | + -webkit-border-bottom-right-radius: 5px; |
3443 | + -webkit-border-bottom-left-radius: 5px; |
3444 | + -moz-border-radius-bottomright: 5px; |
3445 | + -moz-border-radius-bottomleft: 5px; |
3446 | +} |
3447 | +ul.tabs.primary li a:hover { |
3448 | + background: #EF9F20; |
3449 | + color: #fff; |
3450 | +} |
3451 | +ul.tabs.primary li a.active, |
3452 | +ul.tabs.primary li.active a { |
3453 | + background: #eee; |
3454 | + color: #777; |
3455 | +} |
3456 | + |
3457 | +ul.tabs.secondary { |
3458 | + border: none; |
3459 | + padding: 7px 0 0; |
3460 | + text-align: right; |
3461 | +} |
3462 | +ul.tabs.secondary li { |
3463 | + border: none; |
3464 | + padding: 0; |
3465 | + margin: 0 5px; |
3466 | +} |
3467 | +ul.tabs.secondary li a { |
3468 | + color: #bbb; |
3469 | +} |
3470 | +ul.tabs.secondary li a:hover { |
3471 | + color: #777; |
3472 | + text-decoration: underline; |
3473 | +} |
3474 | +ul.tabs.secondary li a.active, |
3475 | +ul.tabs.secondary li.active a { |
3476 | + color: #EF9F20; |
3477 | + border: none; |
3478 | + text-decoration: underline; |
3479 | +} |
3480 | +ul.action-links, |
3481 | +div.compact-link { |
3482 | + padding: 0; |
3483 | +} |
3484 | +ul.action-links li { |
3485 | + list-style: none; |
3486 | + line-height: 2.5em; |
3487 | + display: inline; |
3488 | + margin: 5px; |
3489 | +} |
3490 | +ul.action-links li a, |
3491 | +div.compact-link a { |
3492 | + background: #f8f8f8 url(../images/dnarrow.jpg) no-repeat 4% 50%; |
3493 | + padding: 5px 5px 5px 25px; |
3494 | + -moz-border-radius: 5px; |
3495 | + -webkit-border-radius: 5px; |
3496 | +} |
3497 | +table { |
3498 | + width: 100%; |
3499 | +} |
3500 | +table td { |
3501 | + padding: 10px; |
3502 | +} |
3503 | +#permissions td .form-item { |
3504 | + text-align: left; |
3505 | +} |
3506 | + |
3507 | +fieldset { |
3508 | + background: #fff url(../images/grey-white.gif) repeat-x 0 0; |
3509 | + border: 1px solid #eee; |
3510 | + line-height: 1.5em; |
3511 | + margin: 10px 5px; |
3512 | + padding: 4px 5px 10px; |
3513 | + position: relative; |
3514 | +} |
3515 | + |
3516 | +fieldset .fieldset-legend { |
3517 | + margin: 0.5em 0 0; |
3518 | + position: absolute; |
3519 | + color: #444; |
3520 | + font-weight: bold; |
3521 | + text-transform: uppercase; |
3522 | +} |
3523 | +fieldset .fieldset-wrapper { |
3524 | + padding: 25px 15px; |
3525 | +} |
3526 | +fieldset a.fieldset-title { |
3527 | + color: #444; |
3528 | + font-weight: bold; |
3529 | +} |
3530 | +fieldset a.fieldset-title:hover { |
3531 | + color: #EF9F20; |
3532 | + text-decoration: underline; |
3533 | +} |
3534 | +html.js fieldset.collapsed { |
3535 | + border: 1px solid #eee; |
3536 | + height: 1.4em; |
3537 | + margin-bottom: 10px; |
3538 | +} |
3539 | +fieldset.filter-wrapper { |
3540 | + padding: 0; |
3541 | +} |
3542 | +fieldset.filter-wrapper .fieldset-wrapper { |
3543 | + padding: 15px 0; |
3544 | +} |
3545 | +.form-item { |
3546 | + margin: 5px 0; |
3547 | +} |
3548 | +.container-inline fieldset { |
3549 | + padding: 10px; |
3550 | + margin: 10px 0; |
3551 | +} |
3552 | +table { |
3553 | + background: #fff; |
3554 | + margin: 5px 0; |
3555 | +} |
3556 | +table th, |
3557 | +table td { |
3558 | + padding: 6px; |
3559 | + vertical-align: middle; |
3560 | +} |
3561 | +table th.select-all, |
3562 | +table td .form-item { |
3563 | + text-align: center; |
3564 | +} |
3565 | +table td.block { |
3566 | + padding: 8px; |
3567 | +} |
3568 | +thead th, |
3569 | +thead th a { |
3570 | + background: #f8f8f8; |
3571 | + border-color: #e5e5e5; |
3572 | + color: #444; |
3573 | + font-weight: bold; |
3574 | + text-transform: uppercase; |
3575 | +} |
3576 | +thead th a:hover { |
3577 | + color: #EF9F20; |
3578 | +} |
3579 | +th.active img { |
3580 | + display: none; |
3581 | +} |
3582 | +th.active { |
3583 | + background: #f8f8f8 url(../images/dnarrow.jpg) no-repeat 5% 45%; |
3584 | + padding-left: 30px; |
3585 | +} |
3586 | +table tbody tr.even { |
3587 | + background: #f5f5f5; |
3588 | +} |
3589 | +table tbody tr.odd, |
3590 | +table tbody tr.even { |
3591 | + border: none; |
3592 | +} |
3593 | +tr.drag-previous { |
3594 | + background: #b8dffc; |
3595 | +} |
3596 | +div.error, |
3597 | +div.warning { |
3598 | + background: #EF9F20; |
3599 | + border: none; |
3600 | + color: #fff; |
3601 | + margin: 0 0 15px 0; |
3602 | + padding: 10px; |
3603 | +} |
3604 | +div.status { |
3605 | + background: #eee; |
3606 | + border: none; |
3607 | + color: #aaa; |
3608 | + margin: 0 0 15px 0; |
3609 | + padding: 10px; |
3610 | +} |
3611 | +div.error a, |
3612 | +div.warning a, |
3613 | +div.status a { |
3614 | + color: #555; |
3615 | + text-decoration: underline; |
3616 | +} |
3617 | +div.error a:hover, |
3618 | +div.warning a:hover, |
3619 | +div.status a:hover { |
3620 | + color: #333; |
3621 | +} |
3622 | +.help { |
3623 | + color: #444; |
3624 | + margin: 10px 5px; |
3625 | +} |
3626 | +.help .more-help-link { |
3627 | + text-align: right; |
3628 | +} |
3629 | + |
3630 | +/*--------------pager-------------*/ |
3631 | +ul.pager, |
3632 | +.item-list .pager { |
3633 | + border-top: 2px solid #eee; |
3634 | + margin: 10px 0 0; |
3635 | + text-align: left; |
3636 | +} |
3637 | +ul.pager li, |
3638 | +.item-list .pager li { |
3639 | + color: #444; |
3640 | + margin: 0; |
3641 | + padding: 0; |
3642 | + line-height: 2em; |
3643 | +} |
3644 | +ul.pager li.pager-current { |
3645 | + background: #eee; |
3646 | + border:none; |
3647 | + padding: 5px 10px; |
3648 | +} |
3649 | +ul.pager li a { |
3650 | + background: #fff; |
3651 | + color: #aaa; |
3652 | + padding: 5px 10px; |
3653 | + margin: 0; |
3654 | +} |
3655 | +ul.pager li a:hover { |
3656 | + background: #EF9F20; |
3657 | + color: #fff; |
3658 | +} |
3659 | +/*-------vertical tabs support---------*/ |
3660 | +.vertical-tabs { |
3661 | + background: #fff; |
3662 | + border-color: #ddd; |
3663 | + margin: 0 5px 10px; |
3664 | + padding: 0; |
3665 | +} |
3666 | +.vertical-tabs ul { |
3667 | + border-color: #ddd; |
3668 | +} |
3669 | +.vertical-tabs fieldset { |
3670 | + background: #fff; |
3671 | +} |
3672 | +.vertical-tabs fieldset .fieldset-wrapper { |
3673 | + padding: 10px; |
3674 | +} |
3675 | +.vertical-tabs ul.vertical-tabs-list .summary { |
3676 | + font-size: 0.85em; |
3677 | + color: #999; |
3678 | +} |
3679 | +.vertical-tabs ul.vertical-tabs-list a strong { |
3680 | + color: #444; |
3681 | + text-transform: uppercase; |
3682 | +} |
3683 | \ No newline at end of file |
3684 | |
3685 | === added directory 'orange_admin/images' |
3686 | === added file 'orange_admin/images/black-btn-off.jpg' |
3687 | Binary files orange_admin/images/black-btn-off.jpg 1970-01-01 00:00:00 +0000 and orange_admin/images/black-btn-off.jpg 2011-05-06 23:15:54 +0000 differ |
3688 | === added file 'orange_admin/images/black-btn-on.jpg' |
3689 | Binary files orange_admin/images/black-btn-on.jpg 1970-01-01 00:00:00 +0000 and orange_admin/images/black-btn-on.jpg 2011-05-06 23:15:54 +0000 differ |
3690 | === added file 'orange_admin/images/collapse.jpg' |
3691 | Binary files orange_admin/images/collapse.jpg 1970-01-01 00:00:00 +0000 and orange_admin/images/collapse.jpg 2011-05-06 23:15:54 +0000 differ |
3692 | === added file 'orange_admin/images/dnarrow.jpg' |
3693 | Binary files orange_admin/images/dnarrow.jpg 1970-01-01 00:00:00 +0000 and orange_admin/images/dnarrow.jpg 2011-05-06 23:15:54 +0000 differ |
3694 | === added file 'orange_admin/images/expand.jpg' |
3695 | Binary files orange_admin/images/expand.jpg 1970-01-01 00:00:00 +0000 and orange_admin/images/expand.jpg 2011-05-06 23:15:54 +0000 differ |
3696 | === added file 'orange_admin/images/grey-white.gif' |
3697 | Binary files orange_admin/images/grey-white.gif 1970-01-01 00:00:00 +0000 and orange_admin/images/grey-white.gif 2011-05-06 23:15:54 +0000 differ |
3698 | === added file 'orange_admin/orange_admin.info' |
3699 | --- orange_admin/orange_admin.info 1970-01-01 00:00:00 +0000 |
3700 | +++ orange_admin/orange_admin.info 2011-05-06 23:15:54 +0000 |
3701 | @@ -0,0 +1,26 @@ |
3702 | +name = Orange Admin |
3703 | +description = Administration theme to go along with the Orange theme. |
3704 | +version = VERSION |
3705 | +core = 7.x |
3706 | +engine = phptemplate |
3707 | + |
3708 | +; Regions |
3709 | +regions[content] = Content |
3710 | +regions[help] = Help |
3711 | +regions[highlight] = Highlight |
3712 | +regions[search] = Search |
3713 | + |
3714 | +; Features |
3715 | +features[] = name |
3716 | +features[] = favicon |
3717 | +features[] = shortcut_icon |
3718 | + |
3719 | +; Stylesheets |
3720 | +stylesheets[all][] = css/style-admin.css |
3721 | + |
3722 | +; Information added by drupal.org packaging script on 2011-04-26 |
3723 | +version = "7.x-1.1" |
3724 | +core = "7.x" |
3725 | +project = "orange" |
3726 | +datestamp = "1303862216" |
3727 | + |
3728 | |
3729 | === added file 'orange_admin/page.tpl.php' |
3730 | --- orange_admin/page.tpl.php 1970-01-01 00:00:00 +0000 |
3731 | +++ orange_admin/page.tpl.php 2011-05-06 23:15:54 +0000 |
3732 | @@ -0,0 +1,47 @@ |
3733 | +<?php |
3734 | + |
3735 | +/** |
3736 | + * @file |
3737 | + * Orange_admin theme's implementation to display a single Drupal page. |
3738 | + */ |
3739 | +?> |
3740 | + <?php print render($page['header']); ?> |
3741 | + |
3742 | + <div id="wrapper"> |
3743 | + <div id="header"> |
3744 | + <?php print $breadcrumb; ?> |
3745 | + <?php if ($site_name): ?> |
3746 | + <h4><a href="<?php print $front_page ?>" title="<?php print $site_name; ?>"> |
3747 | + <?php print $site_name; ?> |
3748 | + </a></h4> |
3749 | + <?php endif; ?> |
3750 | + </div> <!-- end header --> |
3751 | + |
3752 | + <div id="container"> |
3753 | + <?php print render($title_prefix); ?> |
3754 | + <?php if ($title): ?> |
3755 | + <h1 class="title"><?php print $title; ?></h1> |
3756 | + <?php endif; ?> |
3757 | + <?php print render($title_suffix); ?> |
3758 | + <?php print render($primary_local_tasks); ?> |
3759 | + <?php if ($tabs): ?> |
3760 | + <div id="tabs"> |
3761 | + <?php if ($tabs): ?> |
3762 | + <?php print render($tabs) ?> |
3763 | + <?php endif; ?> |
3764 | + </div> <!-- end tabs --> |
3765 | + <?php endif; ?> |
3766 | + <div id="content"> |
3767 | + <?php print $messages; ?> |
3768 | + <?php print render($page['help']); ?> |
3769 | + <?php if ($action_links): ?> |
3770 | + <ul class="action-links"><?php print render($action_links); ?></ul> |
3771 | + <?php endif; ?> |
3772 | + <?php print render($page['content']); ?> |
3773 | + </div> <!-- end content --> |
3774 | + |
3775 | + |
3776 | + </div> <!-- end container --> |
3777 | + </div><!-- end wrapper --> |
3778 | + |
3779 | +<?php print render($page['footer']); ?> |
3780 | \ No newline at end of file |
3781 | |
3782 | === added file 'orange_admin/screenshot.png' |
3783 | Binary files orange_admin/screenshot.png 1970-01-01 00:00:00 +0000 and orange_admin/screenshot.png 2011-05-06 23:15:54 +0000 differ |