Merge lp:~mh0/ubuntu-drupal-theme/7.x into lp:ubuntu-drupal-theme
- 7.x
- Merge into 6.x-2010
Proposed by
Micheal Harker
Status: | Needs review |
---|---|
Proposed branch: | lp:~mh0/ubuntu-drupal-theme/7.x |
Merge into: | lp:ubuntu-drupal-theme |
Diff against target: |
2501 lines (+2398/-0) (has conflicts) 15 files modified
README (+125/-0) page.tpl.php (+73/-0) styles/base-rtl.css (+150/-0) styles/base.css (+426/-0) styles/classic-brown-rtl.css (+77/-0) styles/classic-brown.css (+245/-0) styles/kimis-pink-rtl.css (+77/-0) styles/kimis-pink.css (+245/-0) styles/majan-blue-rtl.css (+77/-0) styles/majan-blue.css (+245/-0) styles/ubuntu-2010-rtl.css (+77/-0) styles/ubuntu-2010.css (+242/-0) template.php (+204/-0) theme-settings.php (+105/-0) udtheme.info (+30/-0) Conflict adding file README. Moved existing file to README.moved. Conflict adding file favicon.ico. Moved existing file to favicon.ico.moved. Conflict adding file images. Moved existing file to images.moved. Conflict adding file logo.png. Moved existing file to logo.png.moved. Conflict adding file page.tpl.php. Moved existing file to page.tpl.php.moved. Conflict adding file screenshot.png. Moved existing file to screenshot.png.moved. Conflict adding file styles. Moved existing file to styles.moved. Conflict adding file template.php. Moved existing file to template.php.moved. Conflict adding file theme-settings.php. Moved existing file to theme-settings.php.moved. Conflict adding file udtheme.info. Moved existing file to udtheme.info.moved. |
To merge this branch: | bzr merge lp:~mh0/ubuntu-drupal-theme/7.x |
Related bugs: | |
Related blueprints: |
Ubuntu Drupal Package
(Medium)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Lustfield (community) | Needs Fixing | ||
Review via email: mp+42290@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Michael Lustfield (michaellustfield) wrote : | # |
review:
Needs Fixing
lp:~mh0/ubuntu-drupal-theme/7.x
updated
Unmerged revisions
- 10. By Micheal Harker <michealh@michealh-laptop>
-
Fixed issues
- 9. By Micheal Harker <michealh@michealh-laptop>
-
Fixed header using margin: -9px auto 0;
- 8. By Micheal Harker <michealh@michealh-laptop>
-
7.x changes for bug 632179
- 7. By Michael Lustfield
-
Fixed issue with some overflow being cut off.
- 6. By Michael Lustfield
-
Fixed minor bug with width options
- 5. By Michael Lustfield
-
Seems to be working- bug checking time.
- 4. By Michael Lustfield
-
Most CSS fixes dealt with
- 3. By Michael Lustfield
-
A lot of D7 transitional bugs knocked out. Mostly just CSS and review left.
- 2. By www-data <email address hidden>
-
Large chunk of changes for Making the theme work with Drupal 7.x - Getting pretty close.
- 1. By Michael Lustfield
-
Initial commit of module migration to Drupal 7.x. If it works perfect now, then no more commits. That is unlikely, however. :)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'README' |
2 | --- README 1970-01-01 00:00:00 +0000 |
3 | +++ README 2010-11-30 21:26:38 +0000 |
4 | @@ -0,0 +1,125 @@ |
5 | +===================== |
6 | += Authors / History = |
7 | +===================== |
8 | + |
9 | +This theme came together because of the contributions of many people. You may |
10 | +find them in #ubuntu-drupal on irc.freenode.net. It was initially started by |
11 | +David Giard (swe3tdate) and later picked up by Michael Lustfield (MTecknology). |
12 | +It has since had many patches and contributions from many individuals. At its |
13 | +beginning, it was disliked by Canonical because it offered an exact clone of |
14 | +the Ubuntu website. Unknown to the authors, this also violated trademarks. |
15 | +Following the success of the project, Canonical began driving a community based |
16 | +theme that differed from the primary website but offered an unmistakable look |
17 | +and feel for community based projects. Because of the trademark policies, this |
18 | +theme does not adhere to the base theme provided but instead looks to only |
19 | +provide an easy means to include the base for community driven projects. |
20 | + |
21 | +IRC Nick Name Role |
22 | +MTecknology Michael Lustfield Primary Developer and Lead |
23 | +Ddorda Dor Danker RTL Theming |
24 | +Mongolito404 Pierre Buyle Research and Support |
25 | +swe3tdave David Giard Previous Project Lead |
26 | +ilo Inake Lopez Previous Research |
27 | +lajjr Leo Jackson Previous Developer |
28 | + |
29 | +=================== |
30 | += Drop Down Menus = |
31 | +=================== |
32 | + |
33 | +To enable drop down menus, simpley enable the nice_menus module. The theme will |
34 | +check for its existance and use it. It also checks for the deprecated version |
35 | +of the theme function if the newer version isn't available. |
36 | + |
37 | +Currently the theme will not work flawlessly with nice_menus. The 'last' class |
38 | +is not being applied which prevents the right sidebar from showing. This issue |
39 | +has been addressed in the development version of the module. When version 2 of |
40 | +the nice_menus module is released this issue will be resolved and compatibility |
41 | +will be removed. Until then, you can use the development version of the module |
42 | +and these issues will not apply to you. |
43 | + |
44 | +========== |
45 | += Styles = |
46 | +========== |
47 | + |
48 | +The ability to easily modify the look of the theme exists. To do this: |
49 | +Navigate to: /admin/build/themes/settings/udtheme |
50 | +Choose the Color Set you wish to use |
51 | +Click "Save Configuration" |
52 | + |
53 | +===================== |
54 | += GPL Compatibility = |
55 | +===================== |
56 | + |
57 | +Out of the box, this theme is to be 100% GPLv2 and GPLv3 compatible. This also |
58 | +means that no trademark policies may be violated. This is a particular concern |
59 | +for anyone using an Ubuntu driven theme. As stated in the above section, the |
60 | +pieces of the theme that violate trademark policy have been "popped" off to |
61 | +avoid conflicts with both GPL licenses and trademark policies. |
62 | + |
63 | +=============================== |
64 | += Including Restricted Pieces = |
65 | +=============================== |
66 | + |
67 | +If you are building a website for an Ubuntu related project, then it is |
68 | +acceptable to include the parts that were popped off to maintain compatibility |
69 | +with other sections. This is only acceptable if your project is directly related |
70 | +to Ubuntu or one of its dirivatives. |
71 | + |
72 | +<note type="side"> |
73 | + The general rule of thumb is: |
74 | + If you're directly affiliated with Ubuntu, you can mimic the site very closely |
75 | + This theme will not do that |
76 | + If you're site is related to the community, you can use the community styles |
77 | + This theme enables this ability |
78 | + If you're neither of the above, you need to maintain distinction |
79 | + This theme does so by default |
80 | +</note> |
81 | + |
82 | +To include these popped off sections: |
83 | +Navigate to: /admin/build/themes/settings/udtheme |
84 | +Choose the Color Set "Official Ubuntu - see http://bit.ly/Hk4DA" |
85 | +Find "Theme-specific settings" -> "Ubuntu Affiliated" |
86 | +Select "Yes" |
87 | +Click "Save Configuration" |
88 | + |
89 | +Congratulations - your theme should now mimic the official Ubuntu light-base-theme. |
90 | + |
91 | +If you are not sure if you qualify for using these tweaks, please visit |
92 | +http://bit.ly/Hk4DA for details of acceptable use. |
93 | + |
94 | +========== |
95 | += Issues = |
96 | +========== |
97 | + |
98 | +If you have an issue with the theme, please seek support. |
99 | +Questions: https://answers.launchpad.net/ubuntu-drupal-theme |
100 | +Bugs: https://bugs.launchpad.net/ubuntu-drupal-theme |
101 | +IRC: #ubuntu-drupal on Freenode |
102 | +Thank you for downloading the Ubuntu-Drupal theme. |
103 | +We've modified it to match the new Ubuntu branding introduced in 2010. |
104 | + |
105 | +Here are a few configuration options that are unique to this theme, or recommended. |
106 | + |
107 | +=================== |
108 | += Launchpad Login = |
109 | +=================== |
110 | + |
111 | +Launchpad login is a convenient way for uses to log in using their existing Launchpad accounts: |
112 | +https://launchpad.net/drupal-launchpad |
113 | +https://code.launchpad.net/~canonical-isd-hackers/drupal-launchpad/6.x-trunk |
114 | + |
115 | +Once installed, this this theme has a special appearance for it when used in the |
116 | +subheader region, so go to admin > blocks and move "Launchpad Login Button" in |
117 | +the "Second Header" region. |
118 | + |
119 | +========== |
120 | += Search = |
121 | +========== |
122 | + |
123 | +If you choose to have search functionality on your site, it is highly reccomended |
124 | +that you enable it by going to admin > themes > configure > ubuntu drupal theme |
125 | +then checkmarking the "Search box" in "Toggle display". |
126 | + |
127 | +Simply moving the search block to a region will not make this block nicely themed. |
128 | + |
129 | +This way the search box is specially themed in the header. |
130 | |
131 | === renamed file 'README' => 'README.moved' |
132 | === added file 'favicon.ico' |
133 | Binary files favicon.ico 1970-01-01 00:00:00 +0000 and favicon.ico 2010-11-30 21:26:38 +0000 differ |
134 | === renamed file 'favicon.ico' => 'favicon.ico.moved' |
135 | === added directory 'images' |
136 | === renamed directory 'images' => 'images.moved' |
137 | === added file 'images/dotted.png' |
138 | Binary files images/dotted.png 1970-01-01 00:00:00 +0000 and images/dotted.png 2010-11-30 21:26:38 +0000 differ |
139 | === added file 'images/footer.png' |
140 | Binary files images/footer.png 1970-01-01 00:00:00 +0000 and images/footer.png 2010-11-30 21:26:38 +0000 differ |
141 | === added file 'images/header.png' |
142 | Binary files images/header.png 1970-01-01 00:00:00 +0000 and images/header.png 2010-11-30 21:26:38 +0000 differ |
143 | === added file 'images/launchpad-logo.png' |
144 | Binary files images/launchpad-logo.png 1970-01-01 00:00:00 +0000 and images/launchpad-logo.png 2010-11-30 21:26:38 +0000 differ |
145 | === added file 'images/mainnav.png' |
146 | Binary files images/mainnav.png 1970-01-01 00:00:00 +0000 and images/mainnav.png 2010-11-30 21:26:38 +0000 differ |
147 | === added file 'logo.png' |
148 | Binary files logo.png 1970-01-01 00:00:00 +0000 and logo.png 2010-11-30 21:26:38 +0000 differ |
149 | === renamed file 'logo.png' => 'logo.png.moved' |
150 | === added file 'page.tpl.php' |
151 | --- page.tpl.php 1970-01-01 00:00:00 +0000 |
152 | +++ page.tpl.php 2010-11-30 21:26:38 +0000 |
153 | @@ -0,0 +1,73 @@ |
154 | +<?php |
155 | +// $Id$ |
156 | + |
157 | +/** |
158 | + * @file |
159 | + * Core layout for every page |
160 | + */ |
161 | + |
162 | +?> |
163 | + |
164 | +<!-- Header --> |
165 | +<div id="header"> |
166 | + <div class="container" style="width:<?php print $pg_width; ?>;"> |
167 | + <?php print $menu; ?> |
168 | + <?php print $logo; ?> |
169 | + <?php print render($page['top_header']); ?> |
170 | + <?php if ($page['search']) { ?> |
171 | + <div class="block block-theme"> |
172 | + <?php print render($page['search']); ?> |
173 | + </div> |
174 | + <?php } ?> |
175 | + </div> |
176 | +</div> |
177 | + |
178 | +<!-- Sub Header --> |
179 | +<?php if ($secondary_menu or $subheader) { ?> |
180 | + <div id="subheader"> |
181 | + <div class="container" style="width: <?php print $pg_width; ?>;"> |
182 | + <div class="container-inside"> |
183 | + <?php print $submenu; ?> |
184 | + <?php print render($page['subheader']); ?> |
185 | + </div> |
186 | + </div> |
187 | + </div> |
188 | +<?php } ?> |
189 | + |
190 | +<!-- Content --> |
191 | +<div id="content"> |
192 | + <div class="container" style="width: <?php print $pg_width; ?>;"> |
193 | + <?php print render($page['above_content']); ?> |
194 | + <?php if ($show_messages) print $messages; ?> |
195 | + |
196 | + <?php print (theme_get_setting('display_help')) ? render($page['help']) : NULL; ?> |
197 | + <?php if ($page['left']) { ?> |
198 | + <div id="sidebar-left" class="sidebar"> |
199 | + <?php print render($page['left']); ?> |
200 | + </div> |
201 | + <?php } ?> |
202 | + <?php if ($page['right']) { ?> |
203 | + <div id="sidebar-right" class="sidebar"> |
204 | + <?php print render($page['right']); ?> |
205 | + </div> |
206 | + <?php } ?> |
207 | + <div id="center" <?php print udtheme_body_class($page['left'], $page['right']); ?>> |
208 | + <?php print render($page['top_content']); ?> |
209 | + <h1><?php print $title ?></h1> |
210 | + <?php if ($tabs) print render($tabs); ?> |
211 | + <?php print render($page['content']); ?> |
212 | + </div> |
213 | + </div> |
214 | +</div> |
215 | + |
216 | +<!-- Footer --> |
217 | +<?php if (theme_get_setting('ubuntu_footer')) { ?> |
218 | + <div id="footer"> |
219 | + <div class="container" style="width: <?php print pagewidth(); ?>;"> |
220 | + <?php print udtheme_footer_text(); ?> |
221 | + <?php print render($page['footer']); ?> |
222 | + </div> |
223 | + </div> |
224 | +<?php } else { |
225 | + print render($page['footer']); |
226 | +} ?> |
227 | |
228 | === renamed file 'page.tpl.php' => 'page.tpl.php.moved' |
229 | === added file 'screenshot.png' |
230 | Binary files screenshot.png 1970-01-01 00:00:00 +0000 and screenshot.png 2010-11-30 21:26:38 +0000 differ |
231 | === renamed file 'screenshot.png' => 'screenshot.png.moved' |
232 | === added directory 'styles' |
233 | === renamed directory 'styles' => 'styles.moved' |
234 | === added file 'styles/base-rtl.css' |
235 | --- styles/base-rtl.css 1970-01-01 00:00:00 +0000 |
236 | +++ styles/base-rtl.css 2010-11-30 21:26:38 +0000 |
237 | @@ -0,0 +1,150 @@ |
238 | +/* $Id$ */ |
239 | + |
240 | +/** |
241 | + * Index: |
242 | + * 1. Body |
243 | + * 2. Header |
244 | + * 3. Subheader |
245 | + * 4. Content |
246 | + * 5. Sidebar |
247 | + * 6. Footer |
248 | + * 7. Nice Menus |
249 | + * 8. Advanced Forums |
250 | + */ |
251 | + |
252 | + |
253 | +/** |
254 | + * 1. Body |
255 | + */ |
256 | + |
257 | + |
258 | +/** |
259 | + * 2. Header |
260 | + */ |
261 | + |
262 | + |
263 | +#header li { |
264 | + float: right; |
265 | + border-left: auto; |
266 | +} |
267 | + |
268 | +#header li.last { |
269 | + border-right: auto; |
270 | +} |
271 | + |
272 | +#header li a { |
273 | + float: right; |
274 | +} |
275 | + |
276 | +#header .block { |
277 | + float: left; |
278 | +} |
279 | + |
280 | +#header #search .form-submit { |
281 | + float: left; |
282 | + padding: 5px 1px 0 3px; |
283 | +} |
284 | + |
285 | +#logo { |
286 | + float: left; |
287 | +} |
288 | + |
289 | +/** |
290 | + * 3. Subheader |
291 | + */ |
292 | + |
293 | +#subheader .block { |
294 | + float: right; |
295 | +} |
296 | + |
297 | +#subheader .links { |
298 | + float: right; |
299 | +} |
300 | + |
301 | +#subheader .form-submit { |
302 | + margin: 7px 0 7px 9px; |
303 | +} |
304 | + |
305 | +#subheader .form-text { |
306 | + margin: 7px 0 7px 9px; |
307 | +} |
308 | + |
309 | +#subheader .block-search { |
310 | + float: left; |
311 | +} |
312 | + |
313 | +/* launchpad login */ |
314 | +#subheader #openid-launchpad-login-form input { |
315 | + padding-right: 22px; |
316 | + padding-left: auto; |
317 | +} |
318 | + |
319 | +/** |
320 | + * 4. Content |
321 | + */ |
322 | + |
323 | +#content .primary { |
324 | + margin: 5px 0 0 0; |
325 | +} |
326 | + |
327 | +.submitted { |
328 | + margin: 0 5px 0 0; |
329 | +} |
330 | + |
331 | +.comment h3 { |
332 | + margin: 0 0 0 15px; |
333 | + float: right; |
334 | +} |
335 | + |
336 | +.comment { |
337 | + bottom-left: auto; |
338 | +} |
339 | + |
340 | +.new { |
341 | + float: left; |
342 | +} |
343 | + |
344 | +/** |
345 | + * 5. Sidebar |
346 | + */ |
347 | + |
348 | +.sidebar .menu { |
349 | + padding: 0 15px 0 0 !important; |
350 | +} |
351 | + |
352 | +.sidebar .menu a { |
353 | + margin: 0 -4px 0 0;; |
354 | +} |
355 | + |
356 | + |
357 | +/** |
358 | + * 6. Footer |
359 | + */ |
360 | + |
361 | +#footer .block { |
362 | + float: right; |
363 | +} |
364 | + |
365 | + |
366 | +/** |
367 | + * 7. Nice Menus |
368 | + */ |
369 | + |
370 | +/* Reset Nice Menu CSS */ |
371 | + |
372 | +ul.nice-menu, ul.nice-menu ul { |
373 | + border-right: auto; |
374 | +} |
375 | + |
376 | +#header ul.nice-menu li ul { |
377 | + margin-right: 0px; |
378 | +} |
379 | + |
380 | +#header ul.nice-menu li ul li a { |
381 | + padding: 0 10px 0 0; |
382 | +} |
383 | + |
384 | +/** |
385 | + * 8. Advanced Forums |
386 | + */ |
387 | + |
388 | |
389 | === added file 'styles/base.css' |
390 | --- styles/base.css 1970-01-01 00:00:00 +0000 |
391 | +++ styles/base.css 2010-11-30 21:26:38 +0000 |
392 | @@ -0,0 +1,426 @@ |
393 | +/* $Id$ */ |
394 | + |
395 | +/** |
396 | + * Index: |
397 | + * 1. Body |
398 | + * 2. Header |
399 | + * 3. Subheader |
400 | + * 4. Content |
401 | + * 5. Sidebar |
402 | + * 6. Footer |
403 | + * 7. Nice Menus |
404 | + * 8. Advanced Forums |
405 | + */ |
406 | + |
407 | + |
408 | +/** |
409 | + * 1. Body |
410 | + */ |
411 | + |
412 | +* { |
413 | + font-family: Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif; |
414 | +} |
415 | + |
416 | +body { |
417 | + font-size: 12px; |
418 | + line-height: 20px; |
419 | + margin: 0; |
420 | + padding: 0; |
421 | +} |
422 | + |
423 | +.container { |
424 | + margin: 0 auto; |
425 | + padding: 0; |
426 | +} |
427 | + |
428 | +/** |
429 | + * 2. Header |
430 | + */ |
431 | + |
432 | +#header { |
433 | + height: 70px; |
434 | + margin: -9px auto 0; |
435 | + padding: 0 5px; |
436 | + position: relative; |
437 | + font-size: 14px; |
438 | + |
439 | +} |
440 | + |
441 | +#header ul { |
442 | + margin: 0; |
443 | + padding: 0; |
444 | +} |
445 | + |
446 | +#header li { |
447 | + float: left; |
448 | + display: block; |
449 | + padding: 0; |
450 | + margin: 0; |
451 | +} |
452 | + |
453 | +#header li a { |
454 | + border-bottom: 0 none; |
455 | + border-top: 0 none; |
456 | + display: block; |
457 | + float: left; |
458 | + height: 70px; |
459 | + line-height: 70px; |
460 | + margin: 0; |
461 | + padding: 0 15px; |
462 | + text-decoration: none; |
463 | +} |
464 | + |
465 | +#header .block { |
466 | + float: right; |
467 | + margin: 20px 5px 0; |
468 | +} |
469 | + |
470 | +#header #search { |
471 | + border-radius: 5px; |
472 | + -moz-border-radius: 5px; |
473 | + -webkit-border-radius: 5px; |
474 | + width: 150px; |
475 | +} |
476 | + |
477 | +#header #search * { |
478 | + margin: 0; |
479 | + padding: 0; |
480 | + font-size: 10px !important; |
481 | + font-weight: bold; |
482 | + border: none; |
483 | +} |
484 | + |
485 | +#header #search .form-text { |
486 | + padding: 2px 3px; |
487 | +} |
488 | + |
489 | +#header #search .form-submit { |
490 | + cursor: pointer; |
491 | + float: right; |
492 | + padding: 5px 3px 0 1px; |
493 | +} |
494 | + |
495 | +#logo { |
496 | + float: right; |
497 | + margin: 11px 5px 0; |
498 | +} |
499 | + |
500 | +/** |
501 | + * 3. Subheader |
502 | + */ |
503 | + |
504 | +#subheader { |
505 | + height: 40px; |
506 | +} |
507 | + |
508 | +#subheader .container { |
509 | + position: relative; |
510 | + margin: -9px auto 0; |
511 | + padding: 0 0 10px; |
512 | +} |
513 | + |
514 | +#subheader .container-inside { |
515 | + width: 96%; |
516 | + margin: 0 auto; |
517 | + height: 39px; |
518 | + position: relative; |
519 | + border-radius: 0px 0px 8px 8px; |
520 | + -moz-border-radius: 0px 0px 8px 8px; |
521 | + -webkit-border-radius: 0px 0px 8px 8px; |
522 | +} |
523 | + |
524 | +#subheader .block { |
525 | + float: left; |
526 | + display: block; |
527 | +} |
528 | + |
529 | +#subheader .links { |
530 | + float: left; |
531 | + display: block; |
532 | + padding: 0 10px; |
533 | + margin: 0; |
534 | +} |
535 | + |
536 | +#subheader .links li { |
537 | + padding: 0; |
538 | +} |
539 | + |
540 | +#subheader .links a { |
541 | + float: left; |
542 | + padding: 0 15px; |
543 | + margin: 0; |
544 | + line-height: 40px; |
545 | + text-decoration: none; |
546 | +} |
547 | + |
548 | +#subheader h2 { |
549 | + display: none; |
550 | +} |
551 | + |
552 | +#subheader .form-submit { |
553 | + height: 24px; |
554 | + margin: 7px 9px 7px 0; |
555 | + padding: 2px; |
556 | +} |
557 | + |
558 | +#subheader .form-text { |
559 | + height: 16px; |
560 | + margin: 7px 9px 7px 0; |
561 | + padding: 3px; |
562 | + width: 180px; |
563 | +} |
564 | + |
565 | +#subheader .form-text:focus { |
566 | +} |
567 | + |
568 | +#subheader .block-search { |
569 | + float: right; |
570 | +} |
571 | + |
572 | +/* launchpad login */ |
573 | +#subheader #openid-launchpad-login-form input { |
574 | + border: none; |
575 | + height: 20px; |
576 | + padding-left: 22px; |
577 | + cursor: pointer; |
578 | +} |
579 | + |
580 | +/** |
581 | + * 4. Content |
582 | + */ |
583 | + |
584 | +#content { |
585 | + line-height: 1.4em; |
586 | +} |
587 | + |
588 | +#content .container { |
589 | + margin: -9px auto 0; |
590 | + padding: 20px 0; |
591 | +} |
592 | + |
593 | +#page-content { |
594 | + display: inline-block; |
595 | + width: 100%; |
596 | +} |
597 | + |
598 | +#content .primary { |
599 | + margin: 5px 0 0 0; |
600 | +} |
601 | + |
602 | +#content .primary a { |
603 | + padding-top: 2px; |
604 | + border-radius: 6px 6px 0px 0px; |
605 | + -moz-border-radius: 6px 6px 0px 0px; |
606 | + -webkit-border-radius: 6px 8px 0px 0px; |
607 | +} |
608 | + |
609 | +#content .block, .messages, .status { |
610 | + padding: 10px; |
611 | + margin-bottom: 10px; |
612 | +} |
613 | + |
614 | +#content .block h2 { |
615 | + font-size: 18px; |
616 | + margin: 0 0 8px; |
617 | + font-weight: normal; |
618 | +} |
619 | + |
620 | +#content .block a { |
621 | + font-size: 13px; |
622 | + text-decoration: none; |
623 | +} |
624 | + |
625 | +h1 { |
626 | + font-size: 34px; |
627 | + font-weight: normal; |
628 | + line-height: 36px; |
629 | + margin: 6px 0 0 0; |
630 | +} |
631 | + |
632 | +#center { |
633 | + overflow: hidden; |
634 | +} |
635 | + |
636 | +#center h2 a { |
637 | + font-size: 28px; |
638 | + font-weight: normal; |
639 | + line-height: 34px; |
640 | +} |
641 | + |
642 | +#center h2 { |
643 | + margin: 4px 0 0 0; |
644 | +} |
645 | + |
646 | +.submitted { |
647 | + font-size: 11px; |
648 | + margin: 0 0 0 5px; |
649 | +} |
650 | + |
651 | +.node { |
652 | + padding: 4px 2px 8px 2px; |
653 | +} |
654 | + |
655 | +.comment h3 { |
656 | + margin: 0 15px 0 0; |
657 | + float: left; |
658 | +} |
659 | + |
660 | +.comment h3 a { |
661 | + text-decoration: none; |
662 | +} |
663 | + |
664 | +.comment { |
665 | + padding: 3px 8px 5px 8px; |
666 | +} |
667 | + |
668 | +.new { |
669 | + float: right; |
670 | +} |
671 | + |
672 | +.node .links a, .comment .links a { |
673 | + font-size: 11px; |
674 | +} |
675 | + |
676 | +.forum-topic-navigation { |
677 | + height: 1.5em; |
678 | +} |
679 | + |
680 | +input, select { |
681 | + vertical-align: middle; |
682 | +} |
683 | + |
684 | +.messages, .status { |
685 | + font-size: 14px; |
686 | + margin: 0 10px !important; |
687 | +} |
688 | + |
689 | +/** |
690 | + * 5. Sidebar |
691 | + */ |
692 | + |
693 | +.sidebar .block { |
694 | + border-radius: 3px; |
695 | + -moz-border-radius: 3px; |
696 | + -webkit-border-radius: 3px; |
697 | +} |
698 | + |
699 | +.sidebar-right { |
700 | + padding: 0 10px; |
701 | +} |
702 | + |
703 | +.sidebar-left { |
704 | + padding: 0 10px; |
705 | +} |
706 | + |
707 | +.sidebars { |
708 | + margin: 0 200px 0 200px; |
709 | + padding: 0 10px; |
710 | +} |
711 | + |
712 | +.sidebar { |
713 | + width: 200px; |
714 | +} |
715 | + |
716 | +.sidebar .block { |
717 | + width: 170px !important; |
718 | +} |
719 | + |
720 | +#sidebar-right { |
721 | + float: right; |
722 | + padding: 10px; |
723 | +} |
724 | + |
725 | +#sidebar-left { |
726 | + float: left; |
727 | + padding: 10px; |
728 | +} |
729 | + |
730 | +.sidebar .menu { |
731 | + padding: 0 0 0 15px !important; |
732 | +} |
733 | + |
734 | +.sidebar .block ul { |
735 | + padding: 0; |
736 | +} |
737 | + |
738 | +.sidebar .menu li { |
739 | + padding: 0; |
740 | + margin: 0; |
741 | + line-height: 1.2em; |
742 | +} |
743 | + |
744 | +.sidebar .menu a { |
745 | + margin: 0 0 0 -4px; |
746 | +} |
747 | + |
748 | +.sidebar #user-login-form ul, .sidebar #user-login-form li { |
749 | + padding: 0; margin: 0; |
750 | + list-style-type:none; |
751 | +} |
752 | + |
753 | +/** |
754 | + * 6. Footer |
755 | + */ |
756 | + |
757 | +#footer { |
758 | + font-size: 11px; |
759 | + width: 100%; |
760 | + display: table; |
761 | + margin: -9px auto 0; |
762 | +} |
763 | + |
764 | +#footer .block { |
765 | + float: left; |
766 | + margin: 5px 10px; |
767 | + padding: 10px; |
768 | + width: 120px; |
769 | + |
770 | +} |
771 | + |
772 | +#footer .block a { |
773 | + display: block; |
774 | + text-decoration: none; |
775 | +} |
776 | + |
777 | +/** |
778 | + * 7. Nice Menus |
779 | + */ |
780 | + |
781 | +/* Reset Nice Menu CSS */ |
782 | + |
783 | +ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down, |
784 | +ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent, |
785 | +ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover, |
786 | +ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a { |
787 | + border: 0; |
788 | + padding:0; |
789 | + margin: 0; |
790 | +} |
791 | + |
792 | +ul.nice-menu, ul.nice-menu ul { |
793 | + position: absolute; |
794 | +} |
795 | + |
796 | +#header ul.nice-menu li ul { |
797 | + margin-top: 44.8px; |
798 | + margin-left: 0px; |
799 | +} |
800 | + |
801 | +#header ul.nice-menu li ul li { |
802 | + height: 20px; |
803 | + min-width: 100%; |
804 | + width: 100%; |
805 | + white-space: nowrap; |
806 | +} |
807 | + |
808 | +#header ul.nice-menu li ul li a { |
809 | + height: 20px; |
810 | + line-height: 20px; |
811 | + width: 100%; |
812 | + padding: 0 0 0 10px; |
813 | +} |
814 | + |
815 | +/** |
816 | + * 8. Advanced Forums |
817 | + */ |
818 | + |
819 | |
820 | === added file 'styles/classic-brown-rtl.css' |
821 | --- styles/classic-brown-rtl.css 1970-01-01 00:00:00 +0000 |
822 | +++ styles/classic-brown-rtl.css 2010-11-30 21:26:38 +0000 |
823 | @@ -0,0 +1,77 @@ |
824 | +/* $Id$ */ |
825 | + |
826 | +/** |
827 | + * Index: |
828 | + * 1. Body |
829 | + * 2. Header |
830 | + * 3. Subheader |
831 | + * 4. Content |
832 | + * 5. Sidebar |
833 | + * 6. Footer |
834 | + * 7. Nice Menus |
835 | + * 8. Advanced Forum |
836 | + */ |
837 | + |
838 | + |
839 | +/** |
840 | + * 1. Body |
841 | + */ |
842 | + |
843 | + |
844 | +/** |
845 | + * 2. Header |
846 | + */ |
847 | + |
848 | + |
849 | +#header li { |
850 | + border-right: 1px solid #2F1C0F; |
851 | +} |
852 | + |
853 | +#header li.last { |
854 | + border-left: 1px solid #2F1C0F; |
855 | +} |
856 | + |
857 | +/** |
858 | + * 3. Subheader |
859 | + */ |
860 | + |
861 | +/* launchpad login */ |
862 | +#subheader #openid-launchpad-login-form input { |
863 | + border-left: 1px solid #CCCCCC; |
864 | + border-right: 1px solid #CCCCCC; |
865 | +} |
866 | + |
867 | +/** |
868 | + * 4. Content |
869 | + */ |
870 | + |
871 | +.comment { |
872 | + border-right: 1px dotted #CCCCCC; |
873 | +} |
874 | + |
875 | +/** |
876 | + * 5. Sidebar |
877 | + */ |
878 | + |
879 | +/** |
880 | + * 6. Footer |
881 | + */ |
882 | + |
883 | +/** |
884 | + * 7. Nice Menus |
885 | + */ |
886 | + |
887 | +/* Reset Nice Menu CSS */ |
888 | + |
889 | +ul.nice-menu, ul.nice-menu ul { |
890 | + border-left: 1px solid #2F1C0F; |
891 | +} |
892 | + |
893 | +#header ul.nice-menu li ul { |
894 | + border-left: 1px solid #2F1C0F; |
895 | +} |
896 | + |
897 | +/** |
898 | + * 8. Advanced Forums |
899 | + */ |
900 | + |
901 | |
902 | === added file 'styles/classic-brown.css' |
903 | --- styles/classic-brown.css 1970-01-01 00:00:00 +0000 |
904 | +++ styles/classic-brown.css 2010-11-30 21:26:38 +0000 |
905 | @@ -0,0 +1,245 @@ |
906 | +/* $Id$ */ |
907 | + |
908 | +/** |
909 | + * Index: |
910 | + * 1. Body |
911 | + * 2. Header |
912 | + * 3. Subheader |
913 | + * 4. Content |
914 | + * 5. Sidebar |
915 | + * 6. Footer |
916 | + * 7. Nice Menus |
917 | + * 8. Advanced Forum |
918 | + */ |
919 | + |
920 | + |
921 | +/** |
922 | + * 1. Body |
923 | + */ |
924 | + |
925 | +* { |
926 | + color: #000000; |
927 | +} |
928 | + |
929 | +body { |
930 | + color: #333333; |
931 | + background: #D3CAAA; |
932 | +} |
933 | + |
934 | +.container { |
935 | + background: #FFFFFF; |
936 | +} |
937 | + |
938 | +/** |
939 | + * 2. Header |
940 | + */ |
941 | + |
942 | +#header { |
943 | + background: url("../images/header.png") repeat-x scroll 0 0 #796646; |
944 | +} |
945 | + |
946 | +#header li { |
947 | + border-left: 1px solid #2F1C0F; |
948 | +} |
949 | + |
950 | +#header li.last { |
951 | + border-right: 1px solid #2F1C0F; |
952 | +} |
953 | + |
954 | +#header li a { |
955 | + color: #FFFFFF; |
956 | + text-shadow: 1px 1px 1px #333333; |
957 | +} |
958 | + |
959 | +#header li a.active, #header li a:hover { |
960 | + background: url("../images/mainnav.png") repeat scroll 0 0 transparent; |
961 | +} |
962 | + |
963 | +#header #search { |
964 | + border: 2px solid #4F3B14; |
965 | + background: #FFFFFF; |
966 | + box-shadow: inset #DFDFDF 2px 2px 2px; |
967 | + -moz-box-shadow: inset #DFDFDF 2px 2px 2px; |
968 | + -webkit-box-shadow: inset #DFDFDF 2px 2px 2px; |
969 | +} |
970 | + |
971 | +#header #search * { |
972 | + color: #925B39; |
973 | + background: transparent; |
974 | +} |
975 | + |
976 | +/** |
977 | + * 3. Subheader |
978 | + */ |
979 | + |
980 | +#subheader { |
981 | + background: url("../images/dotted.png") repeat scroll 0 0 #B1A585; |
982 | +} |
983 | + |
984 | +#subheader .container { |
985 | +} |
986 | + |
987 | +#subheader .container-inside { |
988 | + background-color: #EEEEEE; |
989 | + box-shadow: #DFDFDF 0 1px 1px; |
990 | + -moz-box-shadow: #DFDFDF 0 1px 1px; |
991 | + -webkit-box-shadow: #DFDFDF 0 1px 1px; |
992 | +} |
993 | + |
994 | +#subheader .links a:focus, #subheader .links a:hover, |
995 | +#subheader .links a:active, #subheader .links li.active a { |
996 | + background-color: #EFEFEF; |
997 | + color: #4F3B14; |
998 | +} |
999 | + |
1000 | +#subheader .form-submit { |
1001 | + background-color: #F0F0F0; |
1002 | + border: 1px solid #CCCCCC; |
1003 | +} |
1004 | + |
1005 | +#subheader .form-submit:hover { |
1006 | + background-color:#f7f7f7; |
1007 | + border: 1px solid #4F3B14; |
1008 | +} |
1009 | + |
1010 | +#subheader .form-text { |
1011 | + background-color: #F0F0F0; |
1012 | + border: 1px solid #CCCCCC; |
1013 | +} |
1014 | + |
1015 | +#subheader .form-text:focus { |
1016 | + background-color: #EEEEEE; |
1017 | + border: 1px solid #4F3B14; |
1018 | +} |
1019 | + |
1020 | +#subheader .block-search { |
1021 | + float: right; |
1022 | +} |
1023 | + |
1024 | +/* launchpad login */ |
1025 | +#subheader #openid-launchpad-login-form input { |
1026 | + border-right: 1px solid #CCCCCC; |
1027 | + border-left: 1px solid #CCCCCC; |
1028 | + background: url(../images/launchpad-logo.png) 4px 2px no-repeat; |
1029 | +} |
1030 | + |
1031 | +/** |
1032 | + * 4. Content |
1033 | + */ |
1034 | + |
1035 | +#content { |
1036 | + background: url("../images/dotted.png") repeat scroll 0 0 #B1A585; |
1037 | +} |
1038 | + |
1039 | +#content .block h2 { |
1040 | + color: #3D273A; |
1041 | + border-bottom: dotted 1px #999999; |
1042 | +} |
1043 | + |
1044 | +#content .block a { |
1045 | + color: #4F3B14; |
1046 | +} |
1047 | + |
1048 | +h1 { |
1049 | + color: #2F1C0F; |
1050 | +} |
1051 | + |
1052 | +#center h2 a { |
1053 | + color: #2F1C0F; |
1054 | +} |
1055 | + |
1056 | +.submitted { |
1057 | + color: #777777; |
1058 | +} |
1059 | + |
1060 | +.comment h3 a { |
1061 | + color: #3D273A; |
1062 | +} |
1063 | + |
1064 | +.comment { |
1065 | + border-left: 1px dotted #CCCCCC; |
1066 | + border-bottom: 1px dotted #CCCCCC; |
1067 | +} |
1068 | + |
1069 | +.new { |
1070 | + color: #555555; |
1071 | +} |
1072 | + |
1073 | +.node .links a, .comment .links a { |
1074 | + color: #555555; |
1075 | +} |
1076 | + |
1077 | +.messages, .status { |
1078 | + background: #EEEEEE; |
1079 | + color: #444444; |
1080 | +} |
1081 | + |
1082 | +/** |
1083 | + * 5. Sidebar |
1084 | + */ |
1085 | + |
1086 | +.sidebar .block { |
1087 | + background: #EEEEEE; |
1088 | + box-shadow: #DFDFDF 0 2px 2px; |
1089 | + -moz-box-shadow: #DFDFDF 0 2px 2px; |
1090 | + -webkit-box-shadow: #DFDFDF 0 2px 2px; |
1091 | +} |
1092 | + |
1093 | +/** |
1094 | + * 6. Footer |
1095 | + */ |
1096 | + |
1097 | +#footer { |
1098 | + background: url("../images/footer.png") repeat-x scroll 0 0 #D3CAAA; |
1099 | +} |
1100 | + |
1101 | +#footer .block h2 { |
1102 | + color: #C31B1B; |
1103 | + font-size: 11px; |
1104 | + font-weight: normal; |
1105 | + margin: 0 0 9px; |
1106 | +} |
1107 | + |
1108 | +#footer .block a { |
1109 | + border-bottom: dotted 1px #999999; |
1110 | +} |
1111 | + |
1112 | +/** |
1113 | + * 7. Nice Menus |
1114 | + */ |
1115 | + |
1116 | +/* Reset Nice Menu CSS */ |
1117 | + |
1118 | +ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down, |
1119 | +ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent, |
1120 | +ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover, |
1121 | +ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a { |
1122 | + background-color: transparent; |
1123 | + background-image: none; |
1124 | +} |
1125 | + |
1126 | +ul.nice-menu, ul.nice-menu ul { |
1127 | + border-right: 1px solid #2F1C0F; |
1128 | +} |
1129 | + |
1130 | +#header ul.nice-menu li ul { |
1131 | + border-right: 1px solid #2F1C0F; |
1132 | +} |
1133 | + |
1134 | +#header ul.nice-menu li ul li { |
1135 | + background-color: #2F1C0F; |
1136 | +} |
1137 | + |
1138 | +#header ul.nice-menu li ul li a { |
1139 | + background: none; |
1140 | + background-color: #796646; |
1141 | +} |
1142 | + |
1143 | +#header ul.nice-menu li ul li a:hover { |
1144 | + background-image: url("../images/mainnav.png"); |
1145 | +} |
1146 | + |
1147 | +/** |
1148 | + * 8. Advanced Forums |
1149 | + */ |
1150 | + |
1151 | |
1152 | === added file 'styles/kimis-pink-rtl.css' |
1153 | --- styles/kimis-pink-rtl.css 1970-01-01 00:00:00 +0000 |
1154 | +++ styles/kimis-pink-rtl.css 2010-11-30 21:26:38 +0000 |
1155 | @@ -0,0 +1,77 @@ |
1156 | +/* $Id$ */ |
1157 | + |
1158 | +/** |
1159 | + * Index: |
1160 | + * 1. Body |
1161 | + * 2. Header |
1162 | + * 3. Subheader |
1163 | + * 4. Content |
1164 | + * 5. Sidebar |
1165 | + * 6. Footer |
1166 | + * 7. Nice Menus |
1167 | + * 8. Advanced Forum |
1168 | + */ |
1169 | + |
1170 | + |
1171 | +/** |
1172 | + * 1. Body |
1173 | + */ |
1174 | + |
1175 | + |
1176 | +/** |
1177 | + * 2. Header |
1178 | + */ |
1179 | + |
1180 | + |
1181 | +#header li { |
1182 | + border-right: 1px solid #FC27B3; |
1183 | +} |
1184 | + |
1185 | +#header li.last { |
1186 | + border-left: 1px solid #FC27B3; |
1187 | +} |
1188 | + |
1189 | +/** |
1190 | + * 3. Subheader |
1191 | + */ |
1192 | + |
1193 | +/* launchpad login */ |
1194 | +#subheader #openid-launchpad-login-form input { |
1195 | + border-left: 1px solid #CCCCCC; |
1196 | + border-right: 1px solid #CCCCCC; |
1197 | +} |
1198 | + |
1199 | +/** |
1200 | + * 4. Content |
1201 | + */ |
1202 | + |
1203 | +.comment { |
1204 | + border-right: 1px dotted #CCCCCC; |
1205 | +} |
1206 | + |
1207 | +/** |
1208 | + * 5. Sidebar |
1209 | + */ |
1210 | + |
1211 | +/** |
1212 | + * 6. Footer |
1213 | + */ |
1214 | + |
1215 | +/** |
1216 | + * 7. Nice Menus |
1217 | + */ |
1218 | + |
1219 | +/* Reset Nice Menu CSS */ |
1220 | + |
1221 | +ul.nice-menu, ul.nice-menu ul { |
1222 | + border-left: 1px solid #FF1866; |
1223 | +} |
1224 | + |
1225 | +#header ul.nice-menu li ul { |
1226 | + border-left: 1px solid #FF1866; |
1227 | +} |
1228 | + |
1229 | +/** |
1230 | + * 8. Advanced Forums |
1231 | + */ |
1232 | + |
1233 | |
1234 | === added file 'styles/kimis-pink.css' |
1235 | --- styles/kimis-pink.css 1970-01-01 00:00:00 +0000 |
1236 | +++ styles/kimis-pink.css 2010-11-30 21:26:38 +0000 |
1237 | @@ -0,0 +1,245 @@ |
1238 | +/* $Id$ */ |
1239 | + |
1240 | +/** |
1241 | + * Index: |
1242 | + * 1. Body |
1243 | + * 2. Header |
1244 | + * 3. Subheader |
1245 | + * 4. Content |
1246 | + * 5. Sidebar |
1247 | + * 6. Footer |
1248 | + * 7. Nice Menus |
1249 | + * 8. Advanced Forum |
1250 | + */ |
1251 | + |
1252 | + |
1253 | +/** |
1254 | + * 1. Body |
1255 | + */ |
1256 | + |
1257 | +* { |
1258 | + color: #4B4A4C; |
1259 | +} |
1260 | + |
1261 | +body { |
1262 | + color: #333333; |
1263 | + background: #FBEADC; |
1264 | +} |
1265 | + |
1266 | +.container { |
1267 | + background: #FFFFFF; |
1268 | +} |
1269 | + |
1270 | +/** |
1271 | + * 2. Header |
1272 | + */ |
1273 | + |
1274 | +#header { |
1275 | + background: url("../images/header.png") repeat-x scroll 0 0 #CF307A; |
1276 | +} |
1277 | + |
1278 | +#header li { |
1279 | + border-left: 1px solid #FF1866; |
1280 | +} |
1281 | + |
1282 | +#header li.last { |
1283 | + border-right: 1px solid #FF1866; |
1284 | +} |
1285 | + |
1286 | +#header li a { |
1287 | + color: #FFFFFF; |
1288 | + text-shadow: 1px 1px 1px #333333; |
1289 | +} |
1290 | + |
1291 | +#header li a.active, #header li a:hover { |
1292 | + background: url("../images/mainnav.png") repeat scroll 0 0 transparent; |
1293 | +} |
1294 | + |
1295 | +#header #search { |
1296 | + border: 2px solid #FF0041; |
1297 | + background: #FFFFFF; |
1298 | + box-shadow: inset #DFDFDF 2px 2px 2px; |
1299 | + -moz-box-shadow: inset #DFDFDF 2px 2px 2px; |
1300 | + -webkit-box-shadow: inset #DFDFDF 2px 2px 2px; |
1301 | +} |
1302 | + |
1303 | +#header #search * { |
1304 | + color: #FF2F49; |
1305 | + background: transparent; |
1306 | +} |
1307 | + |
1308 | +/** |
1309 | + * 3. Subheader |
1310 | + */ |
1311 | + |
1312 | +#subheader { |
1313 | + background: url("../images/dotted.png") repeat scroll 0 0 #FBEADC; |
1314 | +} |
1315 | + |
1316 | +#subheader .container { |
1317 | +} |
1318 | + |
1319 | +#subheader .container-inside { |
1320 | + background-color: #F7F7F7; |
1321 | + box-shadow: #DFDFDF 0 1px 1px; |
1322 | + -moz-box-shadow: #DFDFDF 0 1px 1px; |
1323 | + -webkit-box-shadow: #DFDFDF 0 1px 1px; |
1324 | +} |
1325 | + |
1326 | +#subheader .links a:focus, #subheader .links a:hover, |
1327 | +#subheader .links a:active, #subheader .links li.active a { |
1328 | + background-color: #EFEFEF; |
1329 | + color: #FF696D; |
1330 | +} |
1331 | + |
1332 | +#subheader .form-submit { |
1333 | + background-color: #F0F0F0; |
1334 | + border: 1px solid #CCCCCC; |
1335 | +} |
1336 | + |
1337 | +#subheader .form-submit:hover { |
1338 | + background-color:#f7f7f7; |
1339 | + border: 1px solid #FF696D; |
1340 | +} |
1341 | + |
1342 | +#subheader .form-text { |
1343 | + background-color: #F0F0F0; |
1344 | + border: 1px solid #CCCCCC; |
1345 | +} |
1346 | + |
1347 | +#subheader .form-text:focus { |
1348 | + background-color: #F7F7F7; |
1349 | + border: 1px solid #FF696D; |
1350 | +} |
1351 | + |
1352 | +#subheader .block-search { |
1353 | + float: right; |
1354 | +} |
1355 | + |
1356 | +/* launchpad login */ |
1357 | +#subheader #openid-launchpad-login-form input { |
1358 | + border-right: 1px solid #CCCCCC; |
1359 | + border-left: 1px solid #CCCCCC; |
1360 | + background: url(../images/launchpad-logo.png) 4px 2px no-repeat; |
1361 | +} |
1362 | + |
1363 | +/** |
1364 | + * 4. Content |
1365 | + */ |
1366 | + |
1367 | +#content { |
1368 | + background: url("../images/dotted.png") repeat scroll 0 0 #FBEADC; |
1369 | +} |
1370 | + |
1371 | +#content .block h2 { |
1372 | + color: #3D273A; |
1373 | + border-bottom: dotted 1px #999999; |
1374 | +} |
1375 | + |
1376 | +#content .block a { |
1377 | + color: #111111; |
1378 | +} |
1379 | + |
1380 | +h1 { |
1381 | + color: #FF1866; |
1382 | +} |
1383 | + |
1384 | +#center h2 a { |
1385 | + color: #FF1866; |
1386 | +} |
1387 | + |
1388 | +.submitted { |
1389 | + color: #777777; |
1390 | +} |
1391 | + |
1392 | +.comment h3 a { |
1393 | + color: #3D273A; |
1394 | +} |
1395 | + |
1396 | +.comment { |
1397 | + border-left: 1px dotted #CCCCCC; |
1398 | + border-bottom: 1px dotted #CCCCCC; |
1399 | +} |
1400 | + |
1401 | +.new { |
1402 | + color: #555555; |
1403 | +} |
1404 | + |
1405 | +.node .links a, .comment .links a { |
1406 | + color: #555555; |
1407 | +} |
1408 | + |
1409 | +.messages, .status { |
1410 | + background: #F8F8F8; |
1411 | + color: #444444; |
1412 | +} |
1413 | + |
1414 | +/** |
1415 | + * 5. Sidebar |
1416 | + */ |
1417 | + |
1418 | +.sidebar .block { |
1419 | + background: #F8F8F8; |
1420 | + box-shadow: #DFDFDF 0 2px 2px; |
1421 | + -moz-box-shadow: #DFDFDF 0 2px 2px; |
1422 | + -webkit-box-shadow: #DFDFDF 0 2px 2px; |
1423 | +} |
1424 | + |
1425 | +/** |
1426 | + * 6. Footer |
1427 | + */ |
1428 | + |
1429 | +#footer { |
1430 | + background: url("../images/footer.png") repeat-x scroll 0 0 #FFE1EF; |
1431 | +} |
1432 | + |
1433 | +#footer .block h2 { |
1434 | + font-size: 11px; |
1435 | + font-weight: normal; |
1436 | + margin: 0 0 9px; |
1437 | + color: #6B002E; |
1438 | +} |
1439 | + |
1440 | +#footer .block a { |
1441 | + border-bottom: dotted 1px #999999; |
1442 | +} |
1443 | + |
1444 | +/** |
1445 | + * 7. Nice Menus |
1446 | + */ |
1447 | + |
1448 | +/* Reset Nice Menu CSS */ |
1449 | + |
1450 | +ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down, |
1451 | +ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent, |
1452 | +ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover, |
1453 | +ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a { |
1454 | + background-color: transparent; |
1455 | + background-image: none; |
1456 | +} |
1457 | + |
1458 | +ul.nice-menu, ul.nice-menu ul { |
1459 | + border-right: 1px solid #FF1866 |
1460 | +} |
1461 | + |
1462 | +#header ul.nice-menu li ul { |
1463 | + border-right: 1px solid #FF1866 |
1464 | +} |
1465 | + |
1466 | +#header ul.nice-menu li ul li { |
1467 | + background-color: #FF1866; |
1468 | +} |
1469 | + |
1470 | +#header ul.nice-menu li ul li a { |
1471 | + background: none; |
1472 | + background-color: #CE307B; |
1473 | +} |
1474 | + |
1475 | +#header ul.nice-menu li ul li a:hover { |
1476 | + background-image: url("../images/mainnav.png"); |
1477 | +} |
1478 | + |
1479 | +/** |
1480 | + * 8. Advanced Forums |
1481 | + */ |
1482 | + |
1483 | |
1484 | === added file 'styles/majan-blue-rtl.css' |
1485 | --- styles/majan-blue-rtl.css 1970-01-01 00:00:00 +0000 |
1486 | +++ styles/majan-blue-rtl.css 2010-11-30 21:26:38 +0000 |
1487 | @@ -0,0 +1,77 @@ |
1488 | +/* $Id$ */ |
1489 | + |
1490 | +/** |
1491 | + * Index: |
1492 | + * 1. Body |
1493 | + * 2. Header |
1494 | + * 3. Subheader |
1495 | + * 4. Content |
1496 | + * 5. Sidebar |
1497 | + * 6. Footer |
1498 | + * 7. Nice Menus |
1499 | + * 8. Advanced Forum |
1500 | + */ |
1501 | + |
1502 | + |
1503 | +/** |
1504 | + * 1. Body |
1505 | + */ |
1506 | + |
1507 | + |
1508 | +/** |
1509 | + * 2. Header |
1510 | + */ |
1511 | + |
1512 | + |
1513 | +#header li { |
1514 | + border-right: 1px solid #2F1C0F; |
1515 | +} |
1516 | + |
1517 | +#header li.last { |
1518 | + border-left: 1px solid #2F1C0F; |
1519 | +} |
1520 | + |
1521 | +/** |
1522 | + * 3. Subheader |
1523 | + */ |
1524 | + |
1525 | +/* launchpad login */ |
1526 | +#subheader #openid-launchpad-login-form input { |
1527 | + border-left: 1px solid #CCCCCC; |
1528 | + border-right: 1px solid #CCCCCC; |
1529 | +} |
1530 | + |
1531 | +/** |
1532 | + * 4. Content |
1533 | + */ |
1534 | + |
1535 | +.comment { |
1536 | + border-right: 1px dotted #CCCCCC; |
1537 | +} |
1538 | + |
1539 | +/** |
1540 | + * 5. Sidebar |
1541 | + */ |
1542 | + |
1543 | +/** |
1544 | + * 6. Footer |
1545 | + */ |
1546 | + |
1547 | +/** |
1548 | + * 7. Nice Menus |
1549 | + */ |
1550 | + |
1551 | +/* Reset Nice Menu CSS */ |
1552 | + |
1553 | +ul.nice-menu, ul.nice-menu ul { |
1554 | + border-left: 1px solid #2F1C0F; |
1555 | +} |
1556 | + |
1557 | +#header ul.nice-menu li ul { |
1558 | + border-left: 1px solid #2F1C0F; |
1559 | +} |
1560 | + |
1561 | +/** |
1562 | + * 8. Advanced Forums |
1563 | + */ |
1564 | + |
1565 | |
1566 | === added file 'styles/majan-blue.css' |
1567 | --- styles/majan-blue.css 1970-01-01 00:00:00 +0000 |
1568 | +++ styles/majan-blue.css 2010-11-30 21:26:38 +0000 |
1569 | @@ -0,0 +1,245 @@ |
1570 | +/* $Id$ */ |
1571 | + |
1572 | +/** |
1573 | + * Index: |
1574 | + * 1. Body |
1575 | + * 2. Header |
1576 | + * 3. Subheader |
1577 | + * 4. Content |
1578 | + * 5. Sidebar |
1579 | + * 6. Footer |
1580 | + * 7. Nice Menus |
1581 | + * 8. Advanced Forum |
1582 | + */ |
1583 | + |
1584 | + |
1585 | +/** |
1586 | + * 1. Body |
1587 | + */ |
1588 | + |
1589 | +* { |
1590 | + color: #000000; |
1591 | +} |
1592 | + |
1593 | +body { |
1594 | + color: #333333; |
1595 | + background: #FFFFFF; |
1596 | +} |
1597 | + |
1598 | +.container { |
1599 | + background: #FFFFFF; |
1600 | +} |
1601 | + |
1602 | +/** |
1603 | + * 2. Header |
1604 | + */ |
1605 | + |
1606 | +#header { |
1607 | + background: url("../images/header.png") repeat-x scroll 0 0 #796646; |
1608 | +} |
1609 | + |
1610 | +#header li { |
1611 | + border-left: 1px solid #2F1C0F; |
1612 | +} |
1613 | + |
1614 | +#header li.last { |
1615 | + border-right: 1px solid #2F1C0F; |
1616 | +} |
1617 | + |
1618 | +#header li a { |
1619 | + color: #FFFFFF; |
1620 | + text-shadow: 1px 1px 1px #333333; |
1621 | +} |
1622 | + |
1623 | +#header li a.active, #header li a:hover { |
1624 | + background: url("../images/mainnav.png") repeat scroll 0 0 transparent; |
1625 | +} |
1626 | + |
1627 | +#header #search { |
1628 | + border: 2px solid #4F3B14; |
1629 | + background: #FFFFFF; |
1630 | + box-shadow: inset #DFDFDF 2px 2px 2px; |
1631 | + -moz-box-shadow: inset #DFDFDF 2px 2px 2px; |
1632 | + -webkit-box-shadow: inset #DFDFDF 2px 2px 2px; |
1633 | +} |
1634 | + |
1635 | +#header #search * { |
1636 | + color: #925B39; |
1637 | + background: transparent; |
1638 | +} |
1639 | + |
1640 | +/** |
1641 | + * 3. Subheader |
1642 | + */ |
1643 | + |
1644 | +#subheader { |
1645 | + background: url("../images/dotted.png") repeat scroll 0 0 #B1A585; |
1646 | +} |
1647 | + |
1648 | +#subheader .container { |
1649 | +} |
1650 | + |
1651 | +#subheader .container-inside { |
1652 | + background-color: #EEEEEE; |
1653 | + box-shadow: #DFDFDF 0 1px 1px; |
1654 | + -moz-box-shadow: #DFDFDF 0 1px 1px; |
1655 | + -webkit-box-shadow: #DFDFDF 0 1px 1px; |
1656 | +} |
1657 | + |
1658 | +#subheader .links a:focus, #subheader .links a:hover, |
1659 | +#subheader .links a:active, #subheader .links li.active a { |
1660 | + background-color: #EFEFEF; |
1661 | + color: #4F3B14; |
1662 | +} |
1663 | + |
1664 | +#subheader .form-submit { |
1665 | + background-color: #F0F0F0; |
1666 | + border: 1px solid #CCCCCC; |
1667 | +} |
1668 | + |
1669 | +#subheader .form-submit:hover { |
1670 | + background-color:#f7f7f7; |
1671 | + border: 1px solid #4F3B14; |
1672 | +} |
1673 | + |
1674 | +#subheader .form-text { |
1675 | + background-color: #F0F0F0; |
1676 | + border: 1px solid #CCCCCC; |
1677 | +} |
1678 | + |
1679 | +#subheader .form-text:focus { |
1680 | + background-color: #EEEEEE; |
1681 | + border: 1px solid #4F3B14; |
1682 | +} |
1683 | + |
1684 | +#subheader .block-search { |
1685 | + float: right; |
1686 | +} |
1687 | + |
1688 | +/* launchpad login */ |
1689 | +#subheader #openid-launchpad-login-form input { |
1690 | + border-right: 1px solid #CCCCCC; |
1691 | + border-left: 1px solid #CCCCCC; |
1692 | + background: url(../images/launchpad-logo.png) 4px 2px no-repeat; |
1693 | +} |
1694 | + |
1695 | +/** |
1696 | + * 4. Content |
1697 | + */ |
1698 | + |
1699 | +#content { |
1700 | + background: url("../images/dotted.png") repeat scroll 0 0 #B1A585; |
1701 | +} |
1702 | + |
1703 | +#content .block h2 { |
1704 | + color: #3D273A; |
1705 | + border-bottom: dotted 1px #999999; |
1706 | +} |
1707 | + |
1708 | +#content .block a { |
1709 | + color: #4F3B14; |
1710 | +} |
1711 | + |
1712 | +h1 { |
1713 | + color: #2F1C0F; |
1714 | +} |
1715 | + |
1716 | +#center h2 a { |
1717 | + color: #2F1C0F; |
1718 | +} |
1719 | + |
1720 | +.submitted { |
1721 | + color: #777777; |
1722 | +} |
1723 | + |
1724 | +.comment h3 a { |
1725 | + color: #3D273A; |
1726 | +} |
1727 | + |
1728 | +.comment { |
1729 | + border-left: 1px dotted #CCCCCC; |
1730 | + border-bottom: 1px dotted #CCCCCC; |
1731 | +} |
1732 | + |
1733 | +.new { |
1734 | + color: #555555; |
1735 | +} |
1736 | + |
1737 | +.node .links a, .comment .links a { |
1738 | + color: #555555; |
1739 | +} |
1740 | + |
1741 | +.messages, .status { |
1742 | + background: #EEEEEE; |
1743 | + color: #444444; |
1744 | +} |
1745 | + |
1746 | +/** |
1747 | + * 5. Sidebar |
1748 | + */ |
1749 | + |
1750 | +.sidebar .block { |
1751 | + background: #EEEEEE; |
1752 | + box-shadow: #DFDFDF 0 2px 2px; |
1753 | + -moz-box-shadow: #DFDFDF 0 2px 2px; |
1754 | + -webkit-box-shadow: #DFDFDF 0 2px 2px; |
1755 | +} |
1756 | + |
1757 | +/** |
1758 | + * 6. Footer |
1759 | + */ |
1760 | + |
1761 | +#footer { |
1762 | + background: url("../images/footer.png") repeat-x scroll 0 0 #D3CAAA; |
1763 | +} |
1764 | + |
1765 | +#footer .block h2 { |
1766 | + color: #C31B1B; |
1767 | + font-size: 11px; |
1768 | + font-weight: normal; |
1769 | + margin: 0 0 9px; |
1770 | +} |
1771 | + |
1772 | +#footer .block a { |
1773 | + border-bottom: dotted 1px #999999; |
1774 | +} |
1775 | + |
1776 | +/** |
1777 | + * 7. Nice Menus |
1778 | + */ |
1779 | + |
1780 | +/* Reset Nice Menu CSS */ |
1781 | + |
1782 | +ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down, |
1783 | +ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent, |
1784 | +ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover, |
1785 | +ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a { |
1786 | + background-color: transparent; |
1787 | + background-image: none; |
1788 | +} |
1789 | + |
1790 | +ul.nice-menu, ul.nice-menu ul { |
1791 | + border-right: 1px solid #2F1C0F; |
1792 | +} |
1793 | + |
1794 | +#header ul.nice-menu li ul { |
1795 | + border-right: 1px solid #2F1C0F; |
1796 | +} |
1797 | + |
1798 | +#header ul.nice-menu li ul li { |
1799 | + background-color: #2F1C0F; |
1800 | +} |
1801 | + |
1802 | +#header ul.nice-menu li ul li a { |
1803 | + background: none; |
1804 | + background-color: #796646; |
1805 | +} |
1806 | + |
1807 | +#header ul.nice-menu li ul li a:hover { |
1808 | + background-image: url("../images/mainnav.png"); |
1809 | +} |
1810 | + |
1811 | +/** |
1812 | + * 8. Advanced Forums |
1813 | + */ |
1814 | + |
1815 | |
1816 | === added file 'styles/ubuntu-2010-rtl.css' |
1817 | --- styles/ubuntu-2010-rtl.css 1970-01-01 00:00:00 +0000 |
1818 | +++ styles/ubuntu-2010-rtl.css 2010-11-30 21:26:38 +0000 |
1819 | @@ -0,0 +1,77 @@ |
1820 | +/* $Id$ */ |
1821 | + |
1822 | +/** |
1823 | + * Index: |
1824 | + * 1. Body |
1825 | + * 2. Header |
1826 | + * 3. Subheader |
1827 | + * 4. Content |
1828 | + * 5. Sidebar |
1829 | + * 6. Footer |
1830 | + * 7. Nice Menus |
1831 | + * 8. Advanced Forum |
1832 | + */ |
1833 | + |
1834 | + |
1835 | +/** |
1836 | + * 1. Body |
1837 | + */ |
1838 | + |
1839 | + |
1840 | +/** |
1841 | + * 2. Header |
1842 | + */ |
1843 | + |
1844 | + |
1845 | +#header li { |
1846 | + border-right: 1px solid #F07B55; |
1847 | +} |
1848 | + |
1849 | +#header li.last { |
1850 | + border-left: 1px solid #F07B55; |
1851 | +} |
1852 | + |
1853 | +/** |
1854 | + * 3. Subheader |
1855 | + */ |
1856 | + |
1857 | +/* launchpad login */ |
1858 | +#subheader #openid-launchpad-login-form input { |
1859 | + border-left: 1px solid #CCCCCC; |
1860 | + border-right: 1px solid #CCCCCC; |
1861 | +} |
1862 | + |
1863 | +/** |
1864 | + * 4. Content |
1865 | + */ |
1866 | + |
1867 | +.comment { |
1868 | + border-right: 1px dotted #CCCCCC; |
1869 | +} |
1870 | + |
1871 | +/** |
1872 | + * 5. Sidebar |
1873 | + */ |
1874 | + |
1875 | +/** |
1876 | + * 6. Footer |
1877 | + */ |
1878 | + |
1879 | +/** |
1880 | + * 7. Nice Menus |
1881 | + */ |
1882 | + |
1883 | +/* Reset Nice Menu CSS */ |
1884 | + |
1885 | +ul.nice-menu, ul.nice-menu ul { |
1886 | + border-left: 1px solid #F07B55; |
1887 | +} |
1888 | + |
1889 | +#header ul.nice-menu li ul { |
1890 | + border-left: 1px solid #F07B55; |
1891 | +} |
1892 | + |
1893 | +/** |
1894 | + * 8. Advanced Forums |
1895 | + */ |
1896 | + |
1897 | |
1898 | === added file 'styles/ubuntu-2010.css' |
1899 | --- styles/ubuntu-2010.css 1970-01-01 00:00:00 +0000 |
1900 | +++ styles/ubuntu-2010.css 2010-11-30 21:26:38 +0000 |
1901 | @@ -0,0 +1,242 @@ |
1902 | +/* $Id$ */ |
1903 | + |
1904 | +/** |
1905 | + * Index: |
1906 | + * 1. Body |
1907 | + * 2. Header |
1908 | + * 3. Subheader |
1909 | + * 4. Content |
1910 | + * 5. Sidebar |
1911 | + * 6. Footer |
1912 | + * 7. Nice Menus |
1913 | + * 8. Advanced Forum |
1914 | + */ |
1915 | + |
1916 | + |
1917 | +/** |
1918 | + * 1. Body |
1919 | + */ |
1920 | + |
1921 | +* { |
1922 | + color: #000000; |
1923 | +} |
1924 | + |
1925 | +body { |
1926 | + color: #333333; |
1927 | + background: #FFFFFF; |
1928 | +} |
1929 | + |
1930 | +.container { |
1931 | + background: #FFFFFF; |
1932 | +} |
1933 | + |
1934 | +/** |
1935 | + * 2. Header |
1936 | + */ |
1937 | + |
1938 | +#header { |
1939 | + background: url("../images/header.png") repeat-x scroll 0 0 #EF5A29; |
1940 | +} |
1941 | + |
1942 | +#header li { |
1943 | + border-left: 1px solid #F07B55; |
1944 | +} |
1945 | + |
1946 | +#header li.last { |
1947 | + border-right: 1px solid #F07B55; |
1948 | +} |
1949 | + |
1950 | +#header li a { |
1951 | + color: #FFFFFF; |
1952 | + text-shadow: 1px 1px 1px #333333; |
1953 | +} |
1954 | + |
1955 | +#header li a.active, #header li a:hover { |
1956 | + background: url("../images/mainnav.png") repeat scroll 0 0 transparent; |
1957 | +} |
1958 | + |
1959 | +#header #search { |
1960 | + border: 2px solid #B73F00; |
1961 | + background: #FFFFFF; |
1962 | + box-shadow: inset #DFDFDF 2px 2px 2px; |
1963 | + -moz-box-shadow: inset #DFDFDF 2px 2px 2px; |
1964 | + -webkit-box-shadow: inset #DFDFDF 2px 2px 2px; |
1965 | +} |
1966 | + |
1967 | +#header #search * { |
1968 | + color: #E24E00; |
1969 | + background: transparent; |
1970 | +} |
1971 | + |
1972 | +/** |
1973 | + * 3. Subheader |
1974 | + */ |
1975 | + |
1976 | +#subheader { |
1977 | + background: url("../images/dotted.png") repeat scroll 0 0 #FFFFFF; |
1978 | +} |
1979 | + |
1980 | +#subheader .container { |
1981 | +} |
1982 | + |
1983 | +#subheader .container-inside { |
1984 | + background-color: #F7F7F7; |
1985 | + box-shadow: #DFDFDF 0 1px 1px; |
1986 | + -moz-box-shadow: #DFDFDF 0 1px 1px; |
1987 | + -webkit-box-shadow: #DFDFDF 0 1px 1px; |
1988 | +} |
1989 | + |
1990 | +#subheader .links a:focus, #subheader .links a:hover, |
1991 | +#subheader .links a:active, #subheader .links li.active a { |
1992 | + background-color: #EFEFEF; |
1993 | + color: #DD4814; |
1994 | +} |
1995 | + |
1996 | +#subheader .form-submit { |
1997 | + background-color: #F0F0F0; |
1998 | + border: 1px solid #CCCCCC; |
1999 | +} |
2000 | + |
2001 | +#subheader .form-submit:hover { |
2002 | + background-color:#f7f7f7; |
2003 | + border: 1px solid #DD4814; |
2004 | +} |
2005 | + |
2006 | +#subheader .form-text { |
2007 | + background-color: #F0F0F0; |
2008 | + border: 1px solid #CCCCCC; |
2009 | +} |
2010 | + |
2011 | +#subheader .form-text:focus { |
2012 | + background-color: #F7F7F7; |
2013 | + border: 1px solid #DD4814; |
2014 | +} |
2015 | + |
2016 | +#subheader .block-search { |
2017 | + float: right; |
2018 | +} |
2019 | + |
2020 | +/* launchpad login */ |
2021 | +#subheader #openid-launchpad-login-form input { |
2022 | + border-right: 1px solid #CCCCCC; |
2023 | + border-left: 1px solid #CCCCCC; |
2024 | + background: url(../images/launchpad-logo.png) 4px 2px no-repeat; |
2025 | +} |
2026 | + |
2027 | +/** |
2028 | + * 4. Content |
2029 | + */ |
2030 | + |
2031 | +#content { |
2032 | + background: url("../images/dotted.png") repeat scroll 0 0 #FFFFFF; |
2033 | +} |
2034 | + |
2035 | +#content .block h2 { |
2036 | + color: #3D273A; |
2037 | + border-bottom: dotted 1px #999999; |
2038 | +} |
2039 | + |
2040 | +#content .block a { |
2041 | + color: #111111; |
2042 | +} |
2043 | + |
2044 | +h1 { |
2045 | + color: #E24D00; |
2046 | +} |
2047 | + |
2048 | +#center h2 a { |
2049 | + color: #E24D00; |
2050 | +} |
2051 | + |
2052 | +.submitted { |
2053 | + color: #777777; |
2054 | +} |
2055 | + |
2056 | +.comment h3 a { |
2057 | + color: #3D273A; |
2058 | +} |
2059 | + |
2060 | +.comment { |
2061 | + border-left: 1px dotted #CCCCCC; |
2062 | + border-bottom: 1px dotted #CCCCCC; |
2063 | +} |
2064 | + |
2065 | +.new { |
2066 | + color: #555555; |
2067 | +} |
2068 | + |
2069 | +.node .links a, .comment .links a { |
2070 | + color: #555555; |
2071 | +} |
2072 | + |
2073 | +.messages, .status { |
2074 | + background: #F8F8F8; |
2075 | + color: #444444; |
2076 | +} |
2077 | + |
2078 | +/** |
2079 | + * 5. Sidebar |
2080 | + */ |
2081 | + |
2082 | +.sidebar .block { |
2083 | + background: #F8F8F8; |
2084 | + box-shadow: #DFDFDF 0 2px 2px; |
2085 | + -moz-box-shadow: #DFDFDF 0 2px 2px; |
2086 | + -webkit-box-shadow: #DFDFDF 0 2px 2px; |
2087 | +} |
2088 | + |
2089 | +/** |
2090 | + * 6. Footer |
2091 | + */ |
2092 | + |
2093 | +#footer { |
2094 | + background: url("../images/footer.png") repeat-x scroll 0 0 #EEECEA; |
2095 | +} |
2096 | + |
2097 | +#footer .block h2 { |
2098 | + color: #8C3158; |
2099 | +} |
2100 | + |
2101 | +#footer .block a { |
2102 | + border-bottom: dotted 1px #999999; |
2103 | +} |
2104 | + |
2105 | +/** |
2106 | + * 7. Nice Menus |
2107 | + */ |
2108 | + |
2109 | +/* Reset Nice Menu CSS */ |
2110 | + |
2111 | +ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down, |
2112 | +ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent, |
2113 | +ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover, |
2114 | +ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a { |
2115 | + background-color: transparent; |
2116 | + background-image: none; |
2117 | +} |
2118 | + |
2119 | +ul.nice-menu, ul.nice-menu ul { |
2120 | + border-right: 1px solid #F07B55 |
2121 | +} |
2122 | + |
2123 | +#header ul.nice-menu li ul { |
2124 | + border-right: 1px solid #F07B55 |
2125 | +} |
2126 | + |
2127 | +#header ul.nice-menu li ul li { |
2128 | + background-color: #E45813; |
2129 | +} |
2130 | + |
2131 | +#header ul.nice-menu li ul li a { |
2132 | + background: none; |
2133 | + background-color: #EF5A29; |
2134 | +} |
2135 | + |
2136 | +#header ul.nice-menu li ul li a:hover { |
2137 | + background-image: url("../images/mainnav.png"); |
2138 | +} |
2139 | + |
2140 | +/** |
2141 | + * 8. Advanced Forums |
2142 | + */ |
2143 | + |
2144 | |
2145 | === added file 'template.php' |
2146 | --- template.php 1970-01-01 00:00:00 +0000 |
2147 | +++ template.php 2010-11-30 21:26:38 +0000 |
2148 | @@ -0,0 +1,204 @@ |
2149 | +<?php |
2150 | +// $Id$ |
2151 | + |
2152 | +/** |
2153 | + * @file |
2154 | + * Core functions for the operations of the theme |
2155 | + */ |
2156 | + |
2157 | +/** |
2158 | + * hook_preprocess_search_theme_form() |
2159 | + * Override display of search form. |
2160 | + */ |
2161 | +function udtheme_preprocess_search_theme_form(&$vars, $hook) { |
2162 | + $vars['form']['search_theme_form']['#title'] = ''; |
2163 | + $vars['form']['search_theme_form']['#value'] = t('Search...'); |
2164 | + $vars['form']['submit']['#value'] = t('Go'); |
2165 | + unset($vars['form']['search_theme_form']['#printed']); |
2166 | + $vars['search']['search_theme_form'] = drupal_render($vars['form']['search_theme_form']); |
2167 | + unset($vars['form']['submit']['#printed']); |
2168 | + $vars['search']['submit'] = drupal_render($vars['form']['submit']); |
2169 | + $vars['search_form'] = implode($vars['search']); |
2170 | +} |
2171 | + |
2172 | +/** |
2173 | + * hook_preprocess_search_block_form() |
2174 | + * Override display of search block. |
2175 | + */ |
2176 | +function udtheme_preprocess_search_block_form(&$vars, $hook) { |
2177 | + $vars['form']['search_block_form']['#title'] = ''; |
2178 | + $vars['form']['search_block_form']['#value'] = t('Search...'); |
2179 | + $vars['form']['submit']['#value'] = t('Go'); |
2180 | + unset($vars['form']['search_block_form']['#printed']); |
2181 | + $vars['search']['search_block_form'] = drupal_render($vars['form']['search_block_form']); |
2182 | + unset($vars['form']['submit']['#printed']); |
2183 | + $vars['search']['submit'] = drupal_render($vars['form']['submit']); |
2184 | + $vars['search_form'] = implode($vars['search']); |
2185 | +} |
2186 | + |
2187 | +/** |
2188 | + * hook_preprocess_page |
2189 | + * Generate / override exsisting variables |
2190 | + */ |
2191 | +function udtheme_preprocess_page(&$vars) { |
2192 | + $vars['menu'] = udtheme_whichmenu($vars['main_menu']); |
2193 | + $vars['submenu'] = udtheme_secondary_menu($vars['secondary_menu']); |
2194 | + $vars['logo'] = udtheme_buildlogo($vars); |
2195 | + $vars['min_width'] = theme_get_setting('page_minwidth'); |
2196 | + $vars['pg_width'] = pagewidth(); |
2197 | +} |
2198 | + |
2199 | +/** |
2200 | + * Override or insert variables into the html template. |
2201 | + */ |
2202 | +function udtheme_preprocess_html(&$vars) { |
2203 | + $trademark_css = 'http://edge.launchpad.net/ubuntu-drupal-theme/trademark/6.7.0/+download/trademark-rtl.css'; |
2204 | + |
2205 | + if (!theme_get_setting('udtheme_trademark')) { |
2206 | + drupal_add_css( |
2207 | + path_to_theme() . '/styles/' . theme_get_setting('udtheme_style') . '.css', |
2208 | + array( |
2209 | + 'group' => CSS_THEME, |
2210 | + 'preprocess' => FALSE, |
2211 | + ) |
2212 | + ); |
2213 | + } |
2214 | + else { |
2215 | + drupal_add_css( |
2216 | + NULL, |
2217 | + array( |
2218 | + 'group' => CSS_THEME, |
2219 | + 'preprocess' => FALSE, |
2220 | + 'external' => $trademark_css, |
2221 | + ) |
2222 | + ); |
2223 | + } |
2224 | +} |
2225 | + |
2226 | +/** |
2227 | + * Automatically use the nice_menu module if available |
2228 | + * If not available, no drop downs will be displayed |
2229 | + */ |
2230 | +function udtheme_whichmenu($main_menu) { |
2231 | + if (module_exists('nice_menus')) { |
2232 | + // Nice Menu |
2233 | + $menu = theme('nice_menus_main_menu', $main_menu); |
2234 | + if (!isset($menu)) { |
2235 | + // This is deprecated in the latest nice_menus module. |
2236 | + $menu = theme('nice_menu_main_menu', $main_menu); |
2237 | + } |
2238 | + } |
2239 | + else { |
2240 | + // Standard Menu |
2241 | + $menu = theme('links', array('links' => $main_menu)); |
2242 | + } |
2243 | + |
2244 | + if (isset($menu)) { |
2245 | + return $menu; |
2246 | + } |
2247 | +} |
2248 | + |
2249 | +/** |
2250 | + * Generate a logo if the variable exists |
2251 | + */ |
2252 | +function udtheme_buildlogo($vars) { |
2253 | + if ($vars['logo']) { |
2254 | + $logo = '<div id="logo">' . |
2255 | + ' <a href="' . check_url($vars['front_page']) . '" title="' . $vars['site_name'] . '">' . |
2256 | + ' <img src="' . check_url($vars['logo']) . '" alt="' . $vars['site_name'] . '" />' . |
2257 | + ' </a>' . |
2258 | + '</div>'; |
2259 | + } |
2260 | + if (isset($logo)) { |
2261 | + return $logo; |
2262 | + } |
2263 | +} |
2264 | + |
2265 | +/** |
2266 | + * Theme setting to either show or hide extra help |
2267 | + */ |
2268 | +function udtheme_help($help = NULL) { |
2269 | + return theme_get_setting('display_help') ? $help : NULL; |
2270 | +} |
2271 | + |
2272 | +/** |
2273 | + * Code to handle things needing a static width |
2274 | + */ |
2275 | +function pagewidth() { |
2276 | + $type = theme_get_setting('width_type') == 1 ? '%' : 'px'; |
2277 | + return theme_get_setting('wrapper_width') . $type; |
2278 | +} |
2279 | + |
2280 | +/** |
2281 | + * Generate the default footer text. |
2282 | + * This big ugly thing keeps us from needing to set the default in udtheme.info. |
2283 | + */ |
2284 | +function udtheme_footer_text() { |
2285 | + // The default in udtheme.info is 'unset' |
2286 | + if (theme_get_setting('ubuntu_footer_text') == 'unset') { |
2287 | + return t('<div class="block"><h2>@legal</h2> !copy </div>' |
2288 | + . '<div class="block"><h2>@more</h2>!getubuntu !brainstorm !forums !spread </div>', |
2289 | + array( |
2290 | + '@legal' => t('Legal Disclaimer'), |
2291 | + '!copy' => t('© 2010 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.'), |
2292 | + '@more' => t('More Ubuntu'), |
2293 | + '!getubuntu' => l(t('Get Ubuntu'), 'http://ubuntu.com/getubuntu/download/'), |
2294 | + '!brainstorm' => l(t('Ubuntu Brainstorm'), 'http://brainstorm.ubuntu.com/'), |
2295 | + '!forums' => l(t('Ubuntu Forums'), 'http://ubuntuforums.org/'), |
2296 | + '!spread' => l(t('Spread Ubuntu'), 'http://spreadubuntu.neomenlo.org/'), |
2297 | + ) |
2298 | + ); |
2299 | + } |
2300 | + else { |
2301 | + return theme_get_setting('ubuntu_footer_text'); |
2302 | + } |
2303 | +} |
2304 | + |
2305 | +/** |
2306 | + * Renders the secondary links in a nice pretty way. |
2307 | + */ |
2308 | +function udtheme_secondary_menu($secondary_menu) { |
2309 | + if (isset($secondary_menu)) { |
2310 | + return theme( |
2311 | + 'links__system_secondary_menu', |
2312 | + array( |
2313 | + 'links' => $secondary_menu, |
2314 | + 'attributes' => array( |
2315 | + 'id' => 'secondary-menu', |
2316 | + 'class' => array( |
2317 | + 'links', |
2318 | + 'inline', |
2319 | + 'clearfix', |
2320 | + ) |
2321 | + ), |
2322 | + 'heading' => NULL |
2323 | + ) |
2324 | + ); |
2325 | + } |
2326 | + else { |
2327 | + return NULL; |
2328 | + } |
2329 | +} |
2330 | + |
2331 | +/** |
2332 | + * Sets the body-tag class attribute. |
2333 | + * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed. |
2334 | + */ |
2335 | +function udtheme_body_class($left = '', $right = '') { |
2336 | + if ($left && $right) { |
2337 | + $class = 'sidebars'; |
2338 | + } |
2339 | + elseif ($left && !$right) { |
2340 | + $class = 'sidebar-left'; |
2341 | + } |
2342 | + elseif (!$left && $right) { |
2343 | + $class = 'sidebar-right'; |
2344 | + } |
2345 | + else { |
2346 | + $class = 'sidebar-none'; |
2347 | + } |
2348 | + |
2349 | + if (isset($class)) { |
2350 | + return ' class="' . $class . '"'; |
2351 | + } |
2352 | +} |
2353 | |
2354 | === renamed file 'template.php' => 'template.php.moved' |
2355 | === added file 'theme-settings.php' |
2356 | --- theme-settings.php 1970-01-01 00:00:00 +0000 |
2357 | +++ theme-settings.php 2010-11-30 21:26:38 +0000 |
2358 | @@ -0,0 +1,105 @@ |
2359 | +<?php |
2360 | +// $Id$ |
2361 | + |
2362 | +/** |
2363 | + * @file |
2364 | + * Theme setting callbacks for the garland theme. |
2365 | + */ |
2366 | + |
2367 | +/** |
2368 | + * Implements hook_form_FORM_ID_alter(). |
2369 | + * |
2370 | + * @param $form |
2371 | + * The form. |
2372 | + * @param $form_state |
2373 | + * The form state. |
2374 | + */ |
2375 | +function udtheme_form_system_theme_settings_alter(&$form, &$form_state) { |
2376 | + require_once 'template.php'; |
2377 | + $ubuntu_footer_text = udtheme_footer_text(); |
2378 | + |
2379 | + $form['page'] = array( |
2380 | + '#type' => 'fieldset', |
2381 | + '#title' => t('Page Options'), |
2382 | + '#collapsible' => FALSE, |
2383 | + '#tree' => FALSE, |
2384 | + '#weight' => -2 |
2385 | + ); |
2386 | + $form['page']['wrapper_width'] = array( |
2387 | + '#type' => 'textfield', |
2388 | + '#title' => t('Page Width (default=980px)'), |
2389 | + '#default_value' => theme_get_setting('wrapper_width'), |
2390 | + ); |
2391 | + $form['page']['width_type'] = array( |
2392 | + '#type' => 'radios', |
2393 | + '#title' => t('Width Type'), |
2394 | + '#options' => array( |
2395 | + '0' => t('px'), |
2396 | + '1' => t('%'), |
2397 | + ), |
2398 | + '#description' => t('Type of width to be used.'), |
2399 | + '#default_value' => theme_get_setting('width_type'), |
2400 | + ); |
2401 | + $form['page']['page_minwidth'] = array( |
2402 | + '#type' => 'textfield', |
2403 | + '#title' => t('Page Minimum Width'), |
2404 | + '#description' => t('Minimum width of the page. This should be 20px larger than the page width.'), |
2405 | + '#default_value' => theme_get_setting('page_minwidth'), |
2406 | + ); |
2407 | + $form['page']['display_help'] = array( |
2408 | + '#type' => 'radios', |
2409 | + '#title' => t('Display Help'), |
2410 | + '#options' => array( |
2411 | + '1' => t('Yes'), |
2412 | + '0' => t('No'), |
2413 | + ), |
2414 | + '#description' => t('Display help above the content or not.'), |
2415 | + '#default_value' => theme_get_setting('display_help'), |
2416 | + ); |
2417 | + $form['page']['ubuntu_footer'] = array( |
2418 | + '#type' => 'radios', |
2419 | + '#title' => t('Ubuntu Community Footer'), |
2420 | + '#options' => array( |
2421 | + '1' => t('Display'), |
2422 | + '0' => t('Hide'), |
2423 | + ), |
2424 | + '#description' => t('Display the Ubuntu Community Footer, which includes blocks for the legal disclaimer and other Ubuntu community websites.'), |
2425 | + '#default_value' => theme_get_setting('ubuntu_footer'), |
2426 | + ); |
2427 | + $form['page']['ubuntu_footer_text'] = array( |
2428 | + '#type' => 'textarea', |
2429 | + '#title' => t('Ubuntu Community Footer (Text)'), |
2430 | + '#description' => t('If the footer is enabled, this text will appear in it. The default is displayed here.'), |
2431 | + '#default_value' => $ubuntu_footer_text, |
2432 | + ); |
2433 | + |
2434 | + $form['style'] = array( |
2435 | + '#type' => 'fieldset', |
2436 | + '#title' => t('Style Options'), |
2437 | + '#collapsible' => FALSE, |
2438 | + '#tree' => FALSE, |
2439 | + '#weight' => 2, |
2440 | + ); |
2441 | + $form['style']['udtheme_style'] = array( |
2442 | + '#type' => 'radios', |
2443 | + '#title' => t('Ubuntu Drupal Style'), |
2444 | + '#options' => array( |
2445 | + 'classic-brown' => t('Classic Brown'), |
2446 | + 'ubuntu-2010' => t('Official Ubuntu'), |
2447 | + 'kimis-pink' => t('Kimi\'s Pink'), |
2448 | + 'majan-blue' => t('Majan\'s Blue'), |
2449 | + ), |
2450 | + '#description' => t('Select which color pallet to apply to the theme. Under the trademark policy (http://bit.ly/Hk4DA) only Ubuntu related projects may use the "Official Ubuntu" style. The rest is open to anyone.'), |
2451 | + '#default_value' => theme_get_setting('udtheme_style'), |
2452 | + ); |
2453 | + $form['style']['udtheme_trademark'] = array( |
2454 | + '#type' => 'radios', |
2455 | + '#title' => t('Ubuntu Community Styles'), |
2456 | + '#options' => array( |
2457 | + '0' => t('Disabled'), |
2458 | + '1' => t('Enabled'), |
2459 | + ), |
2460 | + '#description' => t('This will override the above style sheet. It is for use by Ubuntu related projects only. It uses external images which are trademarked and requires CSS aggregation. (http://bit.ly/Hk4DA)'), |
2461 | + '#default_value' => theme_get_setting('udtheme_trademark'), |
2462 | + ); |
2463 | +} |
2464 | |
2465 | === renamed file 'theme-settings.php' => 'theme-settings.php.moved' |
2466 | === added file 'udtheme.info' |
2467 | --- udtheme.info 1970-01-01 00:00:00 +0000 |
2468 | +++ udtheme.info 2010-11-30 21:26:38 +0000 |
2469 | @@ -0,0 +1,30 @@ |
2470 | +; $Id$ |
2471 | +name = Ubuntu Drupal Theme |
2472 | +description = Ubuntu-Drupal is a theme for Ubuntu LoCo web sites. Based on the new branding introduced for Ubuntu in 2010. |
2473 | +core = 7.x |
2474 | +version = 7.7.0 |
2475 | +engine = phptemplate |
2476 | + |
2477 | +settings[wrapper_width] = 980 |
2478 | +settings[width_type] = 0 |
2479 | +settings[page_minwidth] = 1000px |
2480 | +settings[display_help] = 0 |
2481 | +settings[ubuntu_footer] = 1 |
2482 | +settings[ubuntu_footer_text] = unset |
2483 | +settings[udtheme_style] = classic-brown |
2484 | +settings[udtheme_trademark] = 0 |
2485 | + |
2486 | +stylesheets[all][] = styles/base.css |
2487 | + |
2488 | +regions[top_header] = Top Header |
2489 | +regions[search] = Search Box |
2490 | +regions[subheader] = Second Header |
2491 | +regions[above_content] = Above Content and Sidebars |
2492 | +regions[top_content] = Above Content and Between Sidebars |
2493 | +regions[left] = Left Sidebar |
2494 | +regions[right] = Right Sidebar |
2495 | +regions[content] = Below Content |
2496 | +regions[footer] = Footer |
2497 | + |
2498 | +features[] = main_menu |
2499 | +features[] = secondary_menu |
2500 | |
2501 | === renamed file 'udtheme.info' => 'udtheme.info.moved' |
This looks like you pushed the wrong branch. Look at the diff...