Merge lp:~mh0/ubuntu-drupal-theme/7.x into lp:ubuntu-drupal-theme

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
Reviewer Review Type Date Requested Status
Michael Lustfield (community) Needs Fixing
Review via email: mp+42290@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

This looks like you pushed the wrong branch. Look at the diff...

review: Needs Fixing
lp:~mh0/ubuntu-drupal-theme/7.x updated
9. By Micheal Harker <michealh@michealh-laptop>

Fixed header using margin: -9px auto 0;

10. By Micheal Harker <michealh@michealh-laptop>

Fixed issues

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
=== added file 'README'
--- README 1970-01-01 00:00:00 +0000
+++ README 2010-11-30 21:26:38 +0000
@@ -0,0 +1,125 @@
1=====================
2= Authors / History =
3=====================
4
5This theme came together because of the contributions of many people. You may
6find them in #ubuntu-drupal on irc.freenode.net. It was initially started by
7David Giard (swe3tdate) and later picked up by Michael Lustfield (MTecknology).
8It has since had many patches and contributions from many individuals. At its
9beginning, it was disliked by Canonical because it offered an exact clone of
10the Ubuntu website. Unknown to the authors, this also violated trademarks.
11Following the success of the project, Canonical began driving a community based
12theme that differed from the primary website but offered an unmistakable look
13and feel for community based projects. Because of the trademark policies, this
14theme does not adhere to the base theme provided but instead looks to only
15provide an easy means to include the base for community driven projects.
16
17IRC Nick Name Role
18MTecknology Michael Lustfield Primary Developer and Lead
19Ddorda Dor Danker RTL Theming
20Mongolito404 Pierre Buyle Research and Support
21swe3tdave David Giard Previous Project Lead
22ilo Inake Lopez Previous Research
23lajjr Leo Jackson Previous Developer
24
25===================
26= Drop Down Menus =
27===================
28
29To enable drop down menus, simpley enable the nice_menus module. The theme will
30check for its existance and use it. It also checks for the deprecated version
31of the theme function if the newer version isn't available.
32
33Currently the theme will not work flawlessly with nice_menus. The 'last' class
34is not being applied which prevents the right sidebar from showing. This issue
35has been addressed in the development version of the module. When version 2 of
36the nice_menus module is released this issue will be resolved and compatibility
37will be removed. Until then, you can use the development version of the module
38and these issues will not apply to you.
39
40==========
41= Styles =
42==========
43
44The ability to easily modify the look of the theme exists. To do this:
45Navigate to: /admin/build/themes/settings/udtheme
46Choose the Color Set you wish to use
47Click "Save Configuration"
48
49=====================
50= GPL Compatibility =
51=====================
52
53Out of the box, this theme is to be 100% GPLv2 and GPLv3 compatible. This also
54means that no trademark policies may be violated. This is a particular concern
55for anyone using an Ubuntu driven theme. As stated in the above section, the
56pieces of the theme that violate trademark policy have been "popped" off to
57avoid conflicts with both GPL licenses and trademark policies.
58
59===============================
60= Including Restricted Pieces =
61===============================
62
63If you are building a website for an Ubuntu related project, then it is
64acceptable to include the parts that were popped off to maintain compatibility
65with other sections. This is only acceptable if your project is directly related
66to Ubuntu or one of its dirivatives.
67
68<note type="side">
69 The general rule of thumb is:
70 If you're directly affiliated with Ubuntu, you can mimic the site very closely
71 This theme will not do that
72 If you're site is related to the community, you can use the community styles
73 This theme enables this ability
74 If you're neither of the above, you need to maintain distinction
75 This theme does so by default
76</note>
77
78To include these popped off sections:
79Navigate to: /admin/build/themes/settings/udtheme
80Choose the Color Set "Official Ubuntu - see http://bit.ly/Hk4DA"
81Find "Theme-specific settings" -> "Ubuntu Affiliated"
82Select "Yes"
83Click "Save Configuration"
84
85Congratulations - your theme should now mimic the official Ubuntu light-base-theme.
86
87If you are not sure if you qualify for using these tweaks, please visit
88http://bit.ly/Hk4DA for details of acceptable use.
89
90==========
91= Issues =
92==========
93
94If you have an issue with the theme, please seek support.
95Questions: https://answers.launchpad.net/ubuntu-drupal-theme
96Bugs: https://bugs.launchpad.net/ubuntu-drupal-theme
97IRC: #ubuntu-drupal on Freenode
98Thank you for downloading the Ubuntu-Drupal theme.
99We've modified it to match the new Ubuntu branding introduced in 2010.
100
101Here are a few configuration options that are unique to this theme, or recommended.
102
103===================
104= Launchpad Login =
105===================
106
107Launchpad login is a convenient way for uses to log in using their existing Launchpad accounts:
108https://launchpad.net/drupal-launchpad
109https://code.launchpad.net/~canonical-isd-hackers/drupal-launchpad/6.x-trunk
110
111Once installed, this this theme has a special appearance for it when used in the
112subheader region, so go to admin > blocks and move "Launchpad Login Button" in
113the "Second Header" region.
114
115==========
116= Search =
117==========
118
119If you choose to have search functionality on your site, it is highly reccomended
120that you enable it by going to admin > themes > configure > ubuntu drupal theme
121then checkmarking the "Search box" in "Toggle display".
122
123Simply moving the search block to a region will not make this block nicely themed.
124
125This way the search box is specially themed in the header.
0126
=== renamed file 'README' => 'README.moved'
=== added file 'favicon.ico'
1Binary files favicon.ico 1970-01-01 00:00:00 +0000 and favicon.ico 2010-11-30 21:26:38 +0000 differ127Binary files favicon.ico 1970-01-01 00:00:00 +0000 and favicon.ico 2010-11-30 21:26:38 +0000 differ
=== renamed file 'favicon.ico' => 'favicon.ico.moved'
=== added directory 'images'
=== renamed directory 'images' => 'images.moved'
=== added file 'images/dotted.png'
2Binary files images/dotted.png 1970-01-01 00:00:00 +0000 and images/dotted.png 2010-11-30 21:26:38 +0000 differ128Binary files images/dotted.png 1970-01-01 00:00:00 +0000 and images/dotted.png 2010-11-30 21:26:38 +0000 differ
=== added file 'images/footer.png'
3Binary files images/footer.png 1970-01-01 00:00:00 +0000 and images/footer.png 2010-11-30 21:26:38 +0000 differ129Binary files images/footer.png 1970-01-01 00:00:00 +0000 and images/footer.png 2010-11-30 21:26:38 +0000 differ
=== added file 'images/header.png'
4Binary files images/header.png 1970-01-01 00:00:00 +0000 and images/header.png 2010-11-30 21:26:38 +0000 differ130Binary files images/header.png 1970-01-01 00:00:00 +0000 and images/header.png 2010-11-30 21:26:38 +0000 differ
=== added file 'images/launchpad-logo.png'
5Binary files images/launchpad-logo.png 1970-01-01 00:00:00 +0000 and images/launchpad-logo.png 2010-11-30 21:26:38 +0000 differ131Binary 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
=== added file 'images/mainnav.png'
6Binary files images/mainnav.png 1970-01-01 00:00:00 +0000 and images/mainnav.png 2010-11-30 21:26:38 +0000 differ132Binary files images/mainnav.png 1970-01-01 00:00:00 +0000 and images/mainnav.png 2010-11-30 21:26:38 +0000 differ
=== added file 'logo.png'
7Binary files logo.png 1970-01-01 00:00:00 +0000 and logo.png 2010-11-30 21:26:38 +0000 differ133Binary files logo.png 1970-01-01 00:00:00 +0000 and logo.png 2010-11-30 21:26:38 +0000 differ
=== renamed file 'logo.png' => 'logo.png.moved'
=== added file 'page.tpl.php'
--- page.tpl.php 1970-01-01 00:00:00 +0000
+++ page.tpl.php 2010-11-30 21:26:38 +0000
@@ -0,0 +1,73 @@
1<?php
2// $Id$
3
4/**
5 * @file
6 * Core layout for every page
7 */
8
9?>
10
11<!-- Header -->
12<div id="header">
13 <div class="container" style="width:<?php print $pg_width; ?>;">
14 <?php print $menu; ?>
15 <?php print $logo; ?>
16 <?php print render($page['top_header']); ?>
17 <?php if ($page['search']) { ?>
18 <div class="block block-theme">
19 <?php print render($page['search']); ?>
20 </div>
21 <?php } ?>
22 </div>
23</div>
24
25<!-- Sub Header -->
26<?php if ($secondary_menu or $subheader) { ?>
27 <div id="subheader">
28 <div class="container" style="width: <?php print $pg_width; ?>;">
29 <div class="container-inside">
30 <?php print $submenu; ?>
31 <?php print render($page['subheader']); ?>
32 </div>
33 </div>
34 </div>
35<?php } ?>
36
37<!-- Content -->
38<div id="content">
39 <div class="container" style="width: <?php print $pg_width; ?>;">
40 <?php print render($page['above_content']); ?>
41 <?php if ($show_messages) print $messages; ?>
42
43 <?php print (theme_get_setting('display_help')) ? render($page['help']) : NULL; ?>
44 <?php if ($page['left']) { ?>
45 <div id="sidebar-left" class="sidebar">
46 <?php print render($page['left']); ?>
47 </div>
48 <?php } ?>
49 <?php if ($page['right']) { ?>
50 <div id="sidebar-right" class="sidebar">
51 <?php print render($page['right']); ?>
52 </div>
53 <?php } ?>
54 <div id="center" <?php print udtheme_body_class($page['left'], $page['right']); ?>>
55 <?php print render($page['top_content']); ?>
56 <h1><?php print $title ?></h1>
57 <?php if ($tabs) print render($tabs); ?>
58 <?php print render($page['content']); ?>
59 </div>
60 </div>
61</div>
62
63<!-- Footer -->
64<?php if (theme_get_setting('ubuntu_footer')) { ?>
65 <div id="footer">
66 <div class="container" style="width: <?php print pagewidth(); ?>;">
67 <?php print udtheme_footer_text(); ?>
68 <?php print render($page['footer']); ?>
69 </div>
70 </div>
71<?php } else {
72 print render($page['footer']);
73} ?>
074
=== renamed file 'page.tpl.php' => 'page.tpl.php.moved'
=== added file 'screenshot.png'
1Binary files screenshot.png 1970-01-01 00:00:00 +0000 and screenshot.png 2010-11-30 21:26:38 +0000 differ75Binary files screenshot.png 1970-01-01 00:00:00 +0000 and screenshot.png 2010-11-30 21:26:38 +0000 differ
=== renamed file 'screenshot.png' => 'screenshot.png.moved'
=== added directory 'styles'
=== renamed directory 'styles' => 'styles.moved'
=== added file 'styles/base-rtl.css'
--- styles/base-rtl.css 1970-01-01 00:00:00 +0000
+++ styles/base-rtl.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,150 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forums
13 */
14
15
16/**
17 * 1. Body
18 */
19
20
21/**
22 * 2. Header
23 */
24
25
26#header li {
27 float: right;
28 border-left: auto;
29}
30
31#header li.last {
32 border-right: auto;
33}
34
35#header li a {
36 float: right;
37}
38
39#header .block {
40 float: left;
41}
42
43#header #search .form-submit {
44 float: left;
45 padding: 5px 1px 0 3px;
46}
47
48#logo {
49 float: left;
50}
51
52/**
53 * 3. Subheader
54 */
55
56#subheader .block {
57 float: right;
58}
59
60#subheader .links {
61 float: right;
62}
63
64#subheader .form-submit {
65 margin: 7px 0 7px 9px;
66}
67
68#subheader .form-text {
69 margin: 7px 0 7px 9px;
70}
71
72#subheader .block-search {
73 float: left;
74}
75
76/* launchpad login */
77#subheader #openid-launchpad-login-form input {
78 padding-right: 22px;
79 padding-left: auto;
80}
81
82/**
83 * 4. Content
84 */
85
86#content .primary {
87 margin: 5px 0 0 0;
88}
89
90.submitted {
91 margin: 0 5px 0 0;
92}
93
94.comment h3 {
95 margin: 0 0 0 15px;
96 float: right;
97}
98
99.comment {
100 bottom-left: auto;
101}
102
103.new {
104 float: left;
105}
106
107/**
108 * 5. Sidebar
109 */
110
111.sidebar .menu {
112 padding: 0 15px 0 0 !important;
113}
114
115.sidebar .menu a {
116 margin: 0 -4px 0 0;;
117}
118
119
120/**
121 * 6. Footer
122 */
123
124#footer .block {
125 float: right;
126}
127
128
129/**
130 * 7. Nice Menus
131 */
132
133/* Reset Nice Menu CSS */
134
135ul.nice-menu, ul.nice-menu ul {
136 border-right: auto;
137}
138
139#header ul.nice-menu li ul {
140 margin-right: 0px;
141}
142
143#header ul.nice-menu li ul li a {
144 padding: 0 10px 0 0;
145}
146
147/**
148 * 8. Advanced Forums
149 */
150
0151
=== added file 'styles/base.css'
--- styles/base.css 1970-01-01 00:00:00 +0000
+++ styles/base.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,426 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forums
13 */
14
15
16/**
17 * 1. Body
18 */
19
20* {
21 font-family: Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;
22}
23
24body {
25 font-size: 12px;
26 line-height: 20px;
27 margin: 0;
28 padding: 0;
29}
30
31.container {
32 margin: 0 auto;
33 padding: 0;
34}
35
36/**
37 * 2. Header
38 */
39
40#header {
41 height: 70px;
42 margin: -9px auto 0;
43 padding: 0 5px;
44 position: relative;
45 font-size: 14px;
46
47}
48
49#header ul {
50 margin: 0;
51 padding: 0;
52}
53
54#header li {
55 float: left;
56 display: block;
57 padding: 0;
58 margin: 0;
59}
60
61#header li a {
62 border-bottom: 0 none;
63 border-top: 0 none;
64 display: block;
65 float: left;
66 height: 70px;
67 line-height: 70px;
68 margin: 0;
69 padding: 0 15px;
70 text-decoration: none;
71}
72
73#header .block {
74 float: right;
75 margin: 20px 5px 0;
76}
77
78#header #search {
79 border-radius: 5px;
80 -moz-border-radius: 5px;
81 -webkit-border-radius: 5px;
82 width: 150px;
83}
84
85#header #search * {
86 margin: 0;
87 padding: 0;
88 font-size: 10px !important;
89 font-weight: bold;
90 border: none;
91}
92
93#header #search .form-text {
94 padding: 2px 3px;
95}
96
97#header #search .form-submit {
98 cursor: pointer;
99 float: right;
100 padding: 5px 3px 0 1px;
101}
102
103#logo {
104 float: right;
105 margin: 11px 5px 0;
106}
107
108/**
109 * 3. Subheader
110 */
111
112#subheader {
113 height: 40px;
114}
115
116#subheader .container {
117 position: relative;
118 margin: -9px auto 0;
119 padding: 0 0 10px;
120}
121
122#subheader .container-inside {
123 width: 96%;
124 margin: 0 auto;
125 height: 39px;
126 position: relative;
127 border-radius: 0px 0px 8px 8px;
128 -moz-border-radius: 0px 0px 8px 8px;
129 -webkit-border-radius: 0px 0px 8px 8px;
130}
131
132#subheader .block {
133 float: left;
134 display: block;
135}
136
137#subheader .links {
138 float: left;
139 display: block;
140 padding: 0 10px;
141 margin: 0;
142}
143
144#subheader .links li {
145 padding: 0;
146}
147
148#subheader .links a {
149 float: left;
150 padding: 0 15px;
151 margin: 0;
152 line-height: 40px;
153 text-decoration: none;
154}
155
156#subheader h2 {
157 display: none;
158}
159
160#subheader .form-submit {
161 height: 24px;
162 margin: 7px 9px 7px 0;
163 padding: 2px;
164}
165
166#subheader .form-text {
167 height: 16px;
168 margin: 7px 9px 7px 0;
169 padding: 3px;
170 width: 180px;
171}
172
173#subheader .form-text:focus {
174}
175
176#subheader .block-search {
177 float: right;
178}
179
180/* launchpad login */
181#subheader #openid-launchpad-login-form input {
182 border: none;
183 height: 20px;
184 padding-left: 22px;
185 cursor: pointer;
186}
187
188/**
189 * 4. Content
190 */
191
192#content {
193 line-height: 1.4em;
194}
195
196#content .container {
197 margin: -9px auto 0;
198 padding: 20px 0;
199}
200
201#page-content {
202 display: inline-block;
203 width: 100%;
204}
205
206#content .primary {
207 margin: 5px 0 0 0;
208}
209
210#content .primary a {
211 padding-top: 2px;
212 border-radius: 6px 6px 0px 0px;
213 -moz-border-radius: 6px 6px 0px 0px;
214 -webkit-border-radius: 6px 8px 0px 0px;
215}
216
217#content .block, .messages, .status {
218 padding: 10px;
219 margin-bottom: 10px;
220}
221
222#content .block h2 {
223 font-size: 18px;
224 margin: 0 0 8px;
225 font-weight: normal;
226}
227
228#content .block a {
229 font-size: 13px;
230 text-decoration: none;
231}
232
233h1 {
234 font-size: 34px;
235 font-weight: normal;
236 line-height: 36px;
237 margin: 6px 0 0 0;
238}
239
240#center {
241 overflow: hidden;
242}
243
244#center h2 a {
245 font-size: 28px;
246 font-weight: normal;
247 line-height: 34px;
248}
249
250#center h2 {
251 margin: 4px 0 0 0;
252}
253
254.submitted {
255 font-size: 11px;
256 margin: 0 0 0 5px;
257}
258
259.node {
260 padding: 4px 2px 8px 2px;
261}
262
263.comment h3 {
264 margin: 0 15px 0 0;
265 float: left;
266}
267
268.comment h3 a {
269 text-decoration: none;
270}
271
272.comment {
273 padding: 3px 8px 5px 8px;
274}
275
276.new {
277 float: right;
278}
279
280.node .links a, .comment .links a {
281 font-size: 11px;
282}
283
284.forum-topic-navigation {
285 height: 1.5em;
286}
287
288input, select {
289 vertical-align: middle;
290}
291
292.messages, .status {
293 font-size: 14px;
294 margin: 0 10px !important;
295}
296
297/**
298 * 5. Sidebar
299 */
300
301.sidebar .block {
302 border-radius: 3px;
303 -moz-border-radius: 3px;
304 -webkit-border-radius: 3px;
305}
306
307.sidebar-right {
308 padding: 0 10px;
309}
310
311.sidebar-left {
312 padding: 0 10px;
313}
314
315.sidebars {
316 margin: 0 200px 0 200px;
317 padding: 0 10px;
318}
319
320.sidebar {
321 width: 200px;
322}
323
324.sidebar .block {
325 width: 170px !important;
326}
327
328#sidebar-right {
329 float: right;
330 padding: 10px;
331}
332
333#sidebar-left {
334 float: left;
335 padding: 10px;
336}
337
338.sidebar .menu {
339 padding: 0 0 0 15px !important;
340}
341
342.sidebar .block ul {
343 padding: 0;
344}
345
346.sidebar .menu li {
347 padding: 0;
348 margin: 0;
349 line-height: 1.2em;
350}
351
352.sidebar .menu a {
353 margin: 0 0 0 -4px;
354}
355
356.sidebar #user-login-form ul, .sidebar #user-login-form li {
357 padding: 0; margin: 0;
358 list-style-type:none;
359}
360
361/**
362 * 6. Footer
363 */
364
365#footer {
366 font-size: 11px;
367 width: 100%;
368 display: table;
369 margin: -9px auto 0;
370}
371
372#footer .block {
373 float: left;
374 margin: 5px 10px;
375 padding: 10px;
376 width: 120px;
377
378}
379
380#footer .block a {
381 display: block;
382 text-decoration: none;
383}
384
385/**
386 * 7. Nice Menus
387 */
388
389/* Reset Nice Menu CSS */
390
391ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down,
392ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent,
393ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover,
394ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a {
395 border: 0;
396 padding:0;
397 margin: 0;
398}
399
400ul.nice-menu, ul.nice-menu ul {
401 position: absolute;
402}
403
404#header ul.nice-menu li ul {
405 margin-top: 44.8px;
406 margin-left: 0px;
407}
408
409#header ul.nice-menu li ul li {
410 height: 20px;
411 min-width: 100%;
412 width: 100%;
413 white-space: nowrap;
414}
415
416#header ul.nice-menu li ul li a {
417 height: 20px;
418 line-height: 20px;
419 width: 100%;
420 padding: 0 0 0 10px;
421}
422
423/**
424 * 8. Advanced Forums
425 */
426
0427
=== added file 'styles/classic-brown-rtl.css'
--- styles/classic-brown-rtl.css 1970-01-01 00:00:00 +0000
+++ styles/classic-brown-rtl.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,77 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20
21/**
22 * 2. Header
23 */
24
25
26#header li {
27 border-right: 1px solid #2F1C0F;
28}
29
30#header li.last {
31 border-left: 1px solid #2F1C0F;
32}
33
34/**
35 * 3. Subheader
36 */
37
38/* launchpad login */
39#subheader #openid-launchpad-login-form input {
40 border-left: 1px solid #CCCCCC;
41 border-right: 1px solid #CCCCCC;
42}
43
44/**
45 * 4. Content
46 */
47
48.comment {
49 border-right: 1px dotted #CCCCCC;
50}
51
52/**
53 * 5. Sidebar
54 */
55
56/**
57 * 6. Footer
58 */
59
60/**
61 * 7. Nice Menus
62 */
63
64/* Reset Nice Menu CSS */
65
66ul.nice-menu, ul.nice-menu ul {
67 border-left: 1px solid #2F1C0F;
68}
69
70#header ul.nice-menu li ul {
71 border-left: 1px solid #2F1C0F;
72}
73
74/**
75 * 8. Advanced Forums
76 */
77
078
=== added file 'styles/classic-brown.css'
--- styles/classic-brown.css 1970-01-01 00:00:00 +0000
+++ styles/classic-brown.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,245 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20* {
21 color: #000000;
22}
23
24body {
25 color: #333333;
26 background: #D3CAAA;
27}
28
29.container {
30 background: #FFFFFF;
31}
32
33/**
34 * 2. Header
35 */
36
37#header {
38 background: url("../images/header.png") repeat-x scroll 0 0 #796646;
39}
40
41#header li {
42 border-left: 1px solid #2F1C0F;
43}
44
45#header li.last {
46 border-right: 1px solid #2F1C0F;
47}
48
49#header li a {
50 color: #FFFFFF;
51 text-shadow: 1px 1px 1px #333333;
52}
53
54#header li a.active, #header li a:hover {
55 background: url("../images/mainnav.png") repeat scroll 0 0 transparent;
56}
57
58#header #search {
59 border: 2px solid #4F3B14;
60 background: #FFFFFF;
61 box-shadow: inset #DFDFDF 2px 2px 2px;
62 -moz-box-shadow: inset #DFDFDF 2px 2px 2px;
63 -webkit-box-shadow: inset #DFDFDF 2px 2px 2px;
64}
65
66#header #search * {
67 color: #925B39;
68 background: transparent;
69}
70
71/**
72 * 3. Subheader
73 */
74
75#subheader {
76 background: url("../images/dotted.png") repeat scroll 0 0 #B1A585;
77}
78
79#subheader .container {
80}
81
82#subheader .container-inside {
83 background-color: #EEEEEE;
84 box-shadow: #DFDFDF 0 1px 1px;
85 -moz-box-shadow: #DFDFDF 0 1px 1px;
86 -webkit-box-shadow: #DFDFDF 0 1px 1px;
87}
88
89#subheader .links a:focus, #subheader .links a:hover,
90#subheader .links a:active, #subheader .links li.active a {
91 background-color: #EFEFEF;
92 color: #4F3B14;
93}
94
95#subheader .form-submit {
96 background-color: #F0F0F0;
97 border: 1px solid #CCCCCC;
98}
99
100#subheader .form-submit:hover {
101 background-color:#f7f7f7;
102 border: 1px solid #4F3B14;
103}
104
105#subheader .form-text {
106 background-color: #F0F0F0;
107 border: 1px solid #CCCCCC;
108}
109
110#subheader .form-text:focus {
111 background-color: #EEEEEE;
112 border: 1px solid #4F3B14;
113}
114
115#subheader .block-search {
116 float: right;
117}
118
119/* launchpad login */
120#subheader #openid-launchpad-login-form input {
121 border-right: 1px solid #CCCCCC;
122 border-left: 1px solid #CCCCCC;
123 background: url(../images/launchpad-logo.png) 4px 2px no-repeat;
124}
125
126/**
127 * 4. Content
128 */
129
130#content {
131 background: url("../images/dotted.png") repeat scroll 0 0 #B1A585;
132}
133
134#content .block h2 {
135 color: #3D273A;
136 border-bottom: dotted 1px #999999;
137}
138
139#content .block a {
140 color: #4F3B14;
141}
142
143h1 {
144 color: #2F1C0F;
145}
146
147#center h2 a {
148 color: #2F1C0F;
149}
150
151.submitted {
152 color: #777777;
153}
154
155.comment h3 a {
156 color: #3D273A;
157}
158
159.comment {
160 border-left: 1px dotted #CCCCCC;
161 border-bottom: 1px dotted #CCCCCC;
162}
163
164.new {
165 color: #555555;
166}
167
168.node .links a, .comment .links a {
169 color: #555555;
170}
171
172.messages, .status {
173 background: #EEEEEE;
174 color: #444444;
175}
176
177/**
178 * 5. Sidebar
179 */
180
181.sidebar .block {
182 background: #EEEEEE;
183 box-shadow: #DFDFDF 0 2px 2px;
184 -moz-box-shadow: #DFDFDF 0 2px 2px;
185 -webkit-box-shadow: #DFDFDF 0 2px 2px;
186}
187
188/**
189 * 6. Footer
190 */
191
192#footer {
193 background: url("../images/footer.png") repeat-x scroll 0 0 #D3CAAA;
194}
195
196#footer .block h2 {
197 color: #C31B1B;
198 font-size: 11px;
199 font-weight: normal;
200 margin: 0 0 9px;
201}
202
203#footer .block a {
204 border-bottom: dotted 1px #999999;
205}
206
207/**
208 * 7. Nice Menus
209 */
210
211/* Reset Nice Menu CSS */
212
213ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down,
214ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent,
215ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover,
216ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a {
217 background-color: transparent;
218 background-image: none;
219}
220
221ul.nice-menu, ul.nice-menu ul {
222 border-right: 1px solid #2F1C0F;
223}
224
225#header ul.nice-menu li ul {
226 border-right: 1px solid #2F1C0F;
227}
228
229#header ul.nice-menu li ul li {
230 background-color: #2F1C0F;
231}
232
233#header ul.nice-menu li ul li a {
234 background: none;
235 background-color: #796646;
236}
237
238#header ul.nice-menu li ul li a:hover {
239 background-image: url("../images/mainnav.png");
240}
241
242/**
243 * 8. Advanced Forums
244 */
245
0246
=== added file 'styles/kimis-pink-rtl.css'
--- styles/kimis-pink-rtl.css 1970-01-01 00:00:00 +0000
+++ styles/kimis-pink-rtl.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,77 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20
21/**
22 * 2. Header
23 */
24
25
26#header li {
27 border-right: 1px solid #FC27B3;
28}
29
30#header li.last {
31 border-left: 1px solid #FC27B3;
32}
33
34/**
35 * 3. Subheader
36 */
37
38/* launchpad login */
39#subheader #openid-launchpad-login-form input {
40 border-left: 1px solid #CCCCCC;
41 border-right: 1px solid #CCCCCC;
42}
43
44/**
45 * 4. Content
46 */
47
48.comment {
49 border-right: 1px dotted #CCCCCC;
50}
51
52/**
53 * 5. Sidebar
54 */
55
56/**
57 * 6. Footer
58 */
59
60/**
61 * 7. Nice Menus
62 */
63
64/* Reset Nice Menu CSS */
65
66ul.nice-menu, ul.nice-menu ul {
67 border-left: 1px solid #FF1866;
68}
69
70#header ul.nice-menu li ul {
71 border-left: 1px solid #FF1866;
72}
73
74/**
75 * 8. Advanced Forums
76 */
77
078
=== added file 'styles/kimis-pink.css'
--- styles/kimis-pink.css 1970-01-01 00:00:00 +0000
+++ styles/kimis-pink.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,245 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20* {
21 color: #4B4A4C;
22}
23
24body {
25 color: #333333;
26 background: #FBEADC;
27}
28
29.container {
30 background: #FFFFFF;
31}
32
33/**
34 * 2. Header
35 */
36
37#header {
38 background: url("../images/header.png") repeat-x scroll 0 0 #CF307A;
39}
40
41#header li {
42 border-left: 1px solid #FF1866;
43}
44
45#header li.last {
46 border-right: 1px solid #FF1866;
47}
48
49#header li a {
50 color: #FFFFFF;
51 text-shadow: 1px 1px 1px #333333;
52}
53
54#header li a.active, #header li a:hover {
55 background: url("../images/mainnav.png") repeat scroll 0 0 transparent;
56}
57
58#header #search {
59 border: 2px solid #FF0041;
60 background: #FFFFFF;
61 box-shadow: inset #DFDFDF 2px 2px 2px;
62 -moz-box-shadow: inset #DFDFDF 2px 2px 2px;
63 -webkit-box-shadow: inset #DFDFDF 2px 2px 2px;
64}
65
66#header #search * {
67 color: #FF2F49;
68 background: transparent;
69}
70
71/**
72 * 3. Subheader
73 */
74
75#subheader {
76 background: url("../images/dotted.png") repeat scroll 0 0 #FBEADC;
77}
78
79#subheader .container {
80}
81
82#subheader .container-inside {
83 background-color: #F7F7F7;
84 box-shadow: #DFDFDF 0 1px 1px;
85 -moz-box-shadow: #DFDFDF 0 1px 1px;
86 -webkit-box-shadow: #DFDFDF 0 1px 1px;
87}
88
89#subheader .links a:focus, #subheader .links a:hover,
90#subheader .links a:active, #subheader .links li.active a {
91 background-color: #EFEFEF;
92 color: #FF696D;
93}
94
95#subheader .form-submit {
96 background-color: #F0F0F0;
97 border: 1px solid #CCCCCC;
98}
99
100#subheader .form-submit:hover {
101 background-color:#f7f7f7;
102 border: 1px solid #FF696D;
103}
104
105#subheader .form-text {
106 background-color: #F0F0F0;
107 border: 1px solid #CCCCCC;
108}
109
110#subheader .form-text:focus {
111 background-color: #F7F7F7;
112 border: 1px solid #FF696D;
113}
114
115#subheader .block-search {
116 float: right;
117}
118
119/* launchpad login */
120#subheader #openid-launchpad-login-form input {
121 border-right: 1px solid #CCCCCC;
122 border-left: 1px solid #CCCCCC;
123 background: url(../images/launchpad-logo.png) 4px 2px no-repeat;
124}
125
126/**
127 * 4. Content
128 */
129
130#content {
131 background: url("../images/dotted.png") repeat scroll 0 0 #FBEADC;
132}
133
134#content .block h2 {
135 color: #3D273A;
136 border-bottom: dotted 1px #999999;
137}
138
139#content .block a {
140 color: #111111;
141}
142
143h1 {
144 color: #FF1866;
145}
146
147#center h2 a {
148 color: #FF1866;
149}
150
151.submitted {
152 color: #777777;
153}
154
155.comment h3 a {
156 color: #3D273A;
157}
158
159.comment {
160 border-left: 1px dotted #CCCCCC;
161 border-bottom: 1px dotted #CCCCCC;
162}
163
164.new {
165 color: #555555;
166}
167
168.node .links a, .comment .links a {
169 color: #555555;
170}
171
172.messages, .status {
173 background: #F8F8F8;
174 color: #444444;
175}
176
177/**
178 * 5. Sidebar
179 */
180
181.sidebar .block {
182 background: #F8F8F8;
183 box-shadow: #DFDFDF 0 2px 2px;
184 -moz-box-shadow: #DFDFDF 0 2px 2px;
185 -webkit-box-shadow: #DFDFDF 0 2px 2px;
186}
187
188/**
189 * 6. Footer
190 */
191
192#footer {
193 background: url("../images/footer.png") repeat-x scroll 0 0 #FFE1EF;
194}
195
196#footer .block h2 {
197 font-size: 11px;
198 font-weight: normal;
199 margin: 0 0 9px;
200 color: #6B002E;
201}
202
203#footer .block a {
204 border-bottom: dotted 1px #999999;
205}
206
207/**
208 * 7. Nice Menus
209 */
210
211/* Reset Nice Menu CSS */
212
213ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down,
214ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent,
215ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover,
216ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a {
217 background-color: transparent;
218 background-image: none;
219}
220
221ul.nice-menu, ul.nice-menu ul {
222 border-right: 1px solid #FF1866
223}
224
225#header ul.nice-menu li ul {
226 border-right: 1px solid #FF1866
227}
228
229#header ul.nice-menu li ul li {
230 background-color: #FF1866;
231}
232
233#header ul.nice-menu li ul li a {
234 background: none;
235 background-color: #CE307B;
236}
237
238#header ul.nice-menu li ul li a:hover {
239 background-image: url("../images/mainnav.png");
240}
241
242/**
243 * 8. Advanced Forums
244 */
245
0246
=== added file 'styles/majan-blue-rtl.css'
--- styles/majan-blue-rtl.css 1970-01-01 00:00:00 +0000
+++ styles/majan-blue-rtl.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,77 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20
21/**
22 * 2. Header
23 */
24
25
26#header li {
27 border-right: 1px solid #2F1C0F;
28}
29
30#header li.last {
31 border-left: 1px solid #2F1C0F;
32}
33
34/**
35 * 3. Subheader
36 */
37
38/* launchpad login */
39#subheader #openid-launchpad-login-form input {
40 border-left: 1px solid #CCCCCC;
41 border-right: 1px solid #CCCCCC;
42}
43
44/**
45 * 4. Content
46 */
47
48.comment {
49 border-right: 1px dotted #CCCCCC;
50}
51
52/**
53 * 5. Sidebar
54 */
55
56/**
57 * 6. Footer
58 */
59
60/**
61 * 7. Nice Menus
62 */
63
64/* Reset Nice Menu CSS */
65
66ul.nice-menu, ul.nice-menu ul {
67 border-left: 1px solid #2F1C0F;
68}
69
70#header ul.nice-menu li ul {
71 border-left: 1px solid #2F1C0F;
72}
73
74/**
75 * 8. Advanced Forums
76 */
77
078
=== added file 'styles/majan-blue.css'
--- styles/majan-blue.css 1970-01-01 00:00:00 +0000
+++ styles/majan-blue.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,245 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20* {
21 color: #000000;
22}
23
24body {
25 color: #333333;
26 background: #FFFFFF;
27}
28
29.container {
30 background: #FFFFFF;
31}
32
33/**
34 * 2. Header
35 */
36
37#header {
38 background: url("../images/header.png") repeat-x scroll 0 0 #796646;
39}
40
41#header li {
42 border-left: 1px solid #2F1C0F;
43}
44
45#header li.last {
46 border-right: 1px solid #2F1C0F;
47}
48
49#header li a {
50 color: #FFFFFF;
51 text-shadow: 1px 1px 1px #333333;
52}
53
54#header li a.active, #header li a:hover {
55 background: url("../images/mainnav.png") repeat scroll 0 0 transparent;
56}
57
58#header #search {
59 border: 2px solid #4F3B14;
60 background: #FFFFFF;
61 box-shadow: inset #DFDFDF 2px 2px 2px;
62 -moz-box-shadow: inset #DFDFDF 2px 2px 2px;
63 -webkit-box-shadow: inset #DFDFDF 2px 2px 2px;
64}
65
66#header #search * {
67 color: #925B39;
68 background: transparent;
69}
70
71/**
72 * 3. Subheader
73 */
74
75#subheader {
76 background: url("../images/dotted.png") repeat scroll 0 0 #B1A585;
77}
78
79#subheader .container {
80}
81
82#subheader .container-inside {
83 background-color: #EEEEEE;
84 box-shadow: #DFDFDF 0 1px 1px;
85 -moz-box-shadow: #DFDFDF 0 1px 1px;
86 -webkit-box-shadow: #DFDFDF 0 1px 1px;
87}
88
89#subheader .links a:focus, #subheader .links a:hover,
90#subheader .links a:active, #subheader .links li.active a {
91 background-color: #EFEFEF;
92 color: #4F3B14;
93}
94
95#subheader .form-submit {
96 background-color: #F0F0F0;
97 border: 1px solid #CCCCCC;
98}
99
100#subheader .form-submit:hover {
101 background-color:#f7f7f7;
102 border: 1px solid #4F3B14;
103}
104
105#subheader .form-text {
106 background-color: #F0F0F0;
107 border: 1px solid #CCCCCC;
108}
109
110#subheader .form-text:focus {
111 background-color: #EEEEEE;
112 border: 1px solid #4F3B14;
113}
114
115#subheader .block-search {
116 float: right;
117}
118
119/* launchpad login */
120#subheader #openid-launchpad-login-form input {
121 border-right: 1px solid #CCCCCC;
122 border-left: 1px solid #CCCCCC;
123 background: url(../images/launchpad-logo.png) 4px 2px no-repeat;
124}
125
126/**
127 * 4. Content
128 */
129
130#content {
131 background: url("../images/dotted.png") repeat scroll 0 0 #B1A585;
132}
133
134#content .block h2 {
135 color: #3D273A;
136 border-bottom: dotted 1px #999999;
137}
138
139#content .block a {
140 color: #4F3B14;
141}
142
143h1 {
144 color: #2F1C0F;
145}
146
147#center h2 a {
148 color: #2F1C0F;
149}
150
151.submitted {
152 color: #777777;
153}
154
155.comment h3 a {
156 color: #3D273A;
157}
158
159.comment {
160 border-left: 1px dotted #CCCCCC;
161 border-bottom: 1px dotted #CCCCCC;
162}
163
164.new {
165 color: #555555;
166}
167
168.node .links a, .comment .links a {
169 color: #555555;
170}
171
172.messages, .status {
173 background: #EEEEEE;
174 color: #444444;
175}
176
177/**
178 * 5. Sidebar
179 */
180
181.sidebar .block {
182 background: #EEEEEE;
183 box-shadow: #DFDFDF 0 2px 2px;
184 -moz-box-shadow: #DFDFDF 0 2px 2px;
185 -webkit-box-shadow: #DFDFDF 0 2px 2px;
186}
187
188/**
189 * 6. Footer
190 */
191
192#footer {
193 background: url("../images/footer.png") repeat-x scroll 0 0 #D3CAAA;
194}
195
196#footer .block h2 {
197 color: #C31B1B;
198 font-size: 11px;
199 font-weight: normal;
200 margin: 0 0 9px;
201}
202
203#footer .block a {
204 border-bottom: dotted 1px #999999;
205}
206
207/**
208 * 7. Nice Menus
209 */
210
211/* Reset Nice Menu CSS */
212
213ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down,
214ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent,
215ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover,
216ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a {
217 background-color: transparent;
218 background-image: none;
219}
220
221ul.nice-menu, ul.nice-menu ul {
222 border-right: 1px solid #2F1C0F;
223}
224
225#header ul.nice-menu li ul {
226 border-right: 1px solid #2F1C0F;
227}
228
229#header ul.nice-menu li ul li {
230 background-color: #2F1C0F;
231}
232
233#header ul.nice-menu li ul li a {
234 background: none;
235 background-color: #796646;
236}
237
238#header ul.nice-menu li ul li a:hover {
239 background-image: url("../images/mainnav.png");
240}
241
242/**
243 * 8. Advanced Forums
244 */
245
0246
=== added file 'styles/ubuntu-2010-rtl.css'
--- styles/ubuntu-2010-rtl.css 1970-01-01 00:00:00 +0000
+++ styles/ubuntu-2010-rtl.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,77 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20
21/**
22 * 2. Header
23 */
24
25
26#header li {
27 border-right: 1px solid #F07B55;
28}
29
30#header li.last {
31 border-left: 1px solid #F07B55;
32}
33
34/**
35 * 3. Subheader
36 */
37
38/* launchpad login */
39#subheader #openid-launchpad-login-form input {
40 border-left: 1px solid #CCCCCC;
41 border-right: 1px solid #CCCCCC;
42}
43
44/**
45 * 4. Content
46 */
47
48.comment {
49 border-right: 1px dotted #CCCCCC;
50}
51
52/**
53 * 5. Sidebar
54 */
55
56/**
57 * 6. Footer
58 */
59
60/**
61 * 7. Nice Menus
62 */
63
64/* Reset Nice Menu CSS */
65
66ul.nice-menu, ul.nice-menu ul {
67 border-left: 1px solid #F07B55;
68}
69
70#header ul.nice-menu li ul {
71 border-left: 1px solid #F07B55;
72}
73
74/**
75 * 8. Advanced Forums
76 */
77
078
=== added file 'styles/ubuntu-2010.css'
--- styles/ubuntu-2010.css 1970-01-01 00:00:00 +0000
+++ styles/ubuntu-2010.css 2010-11-30 21:26:38 +0000
@@ -0,0 +1,242 @@
1/* $Id$ */
2
3/**
4 * Index:
5 * 1. Body
6 * 2. Header
7 * 3. Subheader
8 * 4. Content
9 * 5. Sidebar
10 * 6. Footer
11 * 7. Nice Menus
12 * 8. Advanced Forum
13 */
14
15
16/**
17 * 1. Body
18 */
19
20* {
21 color: #000000;
22}
23
24body {
25 color: #333333;
26 background: #FFFFFF;
27}
28
29.container {
30 background: #FFFFFF;
31}
32
33/**
34 * 2. Header
35 */
36
37#header {
38 background: url("../images/header.png") repeat-x scroll 0 0 #EF5A29;
39}
40
41#header li {
42 border-left: 1px solid #F07B55;
43}
44
45#header li.last {
46 border-right: 1px solid #F07B55;
47}
48
49#header li a {
50 color: #FFFFFF;
51 text-shadow: 1px 1px 1px #333333;
52}
53
54#header li a.active, #header li a:hover {
55 background: url("../images/mainnav.png") repeat scroll 0 0 transparent;
56}
57
58#header #search {
59 border: 2px solid #B73F00;
60 background: #FFFFFF;
61 box-shadow: inset #DFDFDF 2px 2px 2px;
62 -moz-box-shadow: inset #DFDFDF 2px 2px 2px;
63 -webkit-box-shadow: inset #DFDFDF 2px 2px 2px;
64}
65
66#header #search * {
67 color: #E24E00;
68 background: transparent;
69}
70
71/**
72 * 3. Subheader
73 */
74
75#subheader {
76 background: url("../images/dotted.png") repeat scroll 0 0 #FFFFFF;
77}
78
79#subheader .container {
80}
81
82#subheader .container-inside {
83 background-color: #F7F7F7;
84 box-shadow: #DFDFDF 0 1px 1px;
85 -moz-box-shadow: #DFDFDF 0 1px 1px;
86 -webkit-box-shadow: #DFDFDF 0 1px 1px;
87}
88
89#subheader .links a:focus, #subheader .links a:hover,
90#subheader .links a:active, #subheader .links li.active a {
91 background-color: #EFEFEF;
92 color: #DD4814;
93}
94
95#subheader .form-submit {
96 background-color: #F0F0F0;
97 border: 1px solid #CCCCCC;
98}
99
100#subheader .form-submit:hover {
101 background-color:#f7f7f7;
102 border: 1px solid #DD4814;
103}
104
105#subheader .form-text {
106 background-color: #F0F0F0;
107 border: 1px solid #CCCCCC;
108}
109
110#subheader .form-text:focus {
111 background-color: #F7F7F7;
112 border: 1px solid #DD4814;
113}
114
115#subheader .block-search {
116 float: right;
117}
118
119/* launchpad login */
120#subheader #openid-launchpad-login-form input {
121 border-right: 1px solid #CCCCCC;
122 border-left: 1px solid #CCCCCC;
123 background: url(../images/launchpad-logo.png) 4px 2px no-repeat;
124}
125
126/**
127 * 4. Content
128 */
129
130#content {
131 background: url("../images/dotted.png") repeat scroll 0 0 #FFFFFF;
132}
133
134#content .block h2 {
135 color: #3D273A;
136 border-bottom: dotted 1px #999999;
137}
138
139#content .block a {
140 color: #111111;
141}
142
143h1 {
144 color: #E24D00;
145}
146
147#center h2 a {
148 color: #E24D00;
149}
150
151.submitted {
152 color: #777777;
153}
154
155.comment h3 a {
156 color: #3D273A;
157}
158
159.comment {
160 border-left: 1px dotted #CCCCCC;
161 border-bottom: 1px dotted #CCCCCC;
162}
163
164.new {
165 color: #555555;
166}
167
168.node .links a, .comment .links a {
169 color: #555555;
170}
171
172.messages, .status {
173 background: #F8F8F8;
174 color: #444444;
175}
176
177/**
178 * 5. Sidebar
179 */
180
181.sidebar .block {
182 background: #F8F8F8;
183 box-shadow: #DFDFDF 0 2px 2px;
184 -moz-box-shadow: #DFDFDF 0 2px 2px;
185 -webkit-box-shadow: #DFDFDF 0 2px 2px;
186}
187
188/**
189 * 6. Footer
190 */
191
192#footer {
193 background: url("../images/footer.png") repeat-x scroll 0 0 #EEECEA;
194}
195
196#footer .block h2 {
197 color: #8C3158;
198}
199
200#footer .block a {
201 border-bottom: dotted 1px #999999;
202}
203
204/**
205 * 7. Nice Menus
206 */
207
208/* Reset Nice Menu CSS */
209
210ul.nice-menu, ul.nice-menu a, ul.nice-menu ul, ul.nice-menu li, ul.nice-menu-down,
211ul.nice-menu-down ul, ul.nice-menu-down li, ul.nice-menu li.menuparent,
212ul.nice-menu li.menuparent a, ul.nice-menu li.menuparent a:hover,
213ul.nice-menu li.menuparent:hover, ul.nice-menu li.menuparent:hover a {
214 background-color: transparent;
215 background-image: none;
216}
217
218ul.nice-menu, ul.nice-menu ul {
219 border-right: 1px solid #F07B55
220}
221
222#header ul.nice-menu li ul {
223 border-right: 1px solid #F07B55
224}
225
226#header ul.nice-menu li ul li {
227 background-color: #E45813;
228}
229
230#header ul.nice-menu li ul li a {
231 background: none;
232 background-color: #EF5A29;
233}
234
235#header ul.nice-menu li ul li a:hover {
236 background-image: url("../images/mainnav.png");
237}
238
239/**
240 * 8. Advanced Forums
241 */
242
0243
=== added file 'template.php'
--- template.php 1970-01-01 00:00:00 +0000
+++ template.php 2010-11-30 21:26:38 +0000
@@ -0,0 +1,204 @@
1<?php
2// $Id$
3
4/**
5 * @file
6 * Core functions for the operations of the theme
7 */
8
9/**
10 * hook_preprocess_search_theme_form()
11 * Override display of search form.
12 */
13function udtheme_preprocess_search_theme_form(&$vars, $hook) {
14 $vars['form']['search_theme_form']['#title'] = '';
15 $vars['form']['search_theme_form']['#value'] = t('Search...');
16 $vars['form']['submit']['#value'] = t('Go');
17 unset($vars['form']['search_theme_form']['#printed']);
18 $vars['search']['search_theme_form'] = drupal_render($vars['form']['search_theme_form']);
19 unset($vars['form']['submit']['#printed']);
20 $vars['search']['submit'] = drupal_render($vars['form']['submit']);
21 $vars['search_form'] = implode($vars['search']);
22}
23
24/**
25 * hook_preprocess_search_block_form()
26 * Override display of search block.
27 */
28function udtheme_preprocess_search_block_form(&$vars, $hook) {
29 $vars['form']['search_block_form']['#title'] = '';
30 $vars['form']['search_block_form']['#value'] = t('Search...');
31 $vars['form']['submit']['#value'] = t('Go');
32 unset($vars['form']['search_block_form']['#printed']);
33 $vars['search']['search_block_form'] = drupal_render($vars['form']['search_block_form']);
34 unset($vars['form']['submit']['#printed']);
35 $vars['search']['submit'] = drupal_render($vars['form']['submit']);
36 $vars['search_form'] = implode($vars['search']);
37}
38
39/**
40 * hook_preprocess_page
41 * Generate / override exsisting variables
42 */
43function udtheme_preprocess_page(&$vars) {
44 $vars['menu'] = udtheme_whichmenu($vars['main_menu']);
45 $vars['submenu'] = udtheme_secondary_menu($vars['secondary_menu']);
46 $vars['logo'] = udtheme_buildlogo($vars);
47 $vars['min_width'] = theme_get_setting('page_minwidth');
48 $vars['pg_width'] = pagewidth();
49}
50
51/**
52 * Override or insert variables into the html template.
53 */
54function udtheme_preprocess_html(&$vars) {
55 $trademark_css = 'http://edge.launchpad.net/ubuntu-drupal-theme/trademark/6.7.0/+download/trademark-rtl.css';
56
57 if (!theme_get_setting('udtheme_trademark')) {
58 drupal_add_css(
59 path_to_theme() . '/styles/' . theme_get_setting('udtheme_style') . '.css',
60 array(
61 'group' => CSS_THEME,
62 'preprocess' => FALSE,
63 )
64 );
65 }
66 else {
67 drupal_add_css(
68 NULL,
69 array(
70 'group' => CSS_THEME,
71 'preprocess' => FALSE,
72 'external' => $trademark_css,
73 )
74 );
75 }
76}
77
78/**
79 * Automatically use the nice_menu module if available
80 * If not available, no drop downs will be displayed
81 */
82function udtheme_whichmenu($main_menu) {
83 if (module_exists('nice_menus')) {
84 // Nice Menu
85 $menu = theme('nice_menus_main_menu', $main_menu);
86 if (!isset($menu)) {
87 // This is deprecated in the latest nice_menus module.
88 $menu = theme('nice_menu_main_menu', $main_menu);
89 }
90 }
91 else {
92 // Standard Menu
93 $menu = theme('links', array('links' => $main_menu));
94 }
95
96 if (isset($menu)) {
97 return $menu;
98 }
99}
100
101/**
102 * Generate a logo if the variable exists
103 */
104function udtheme_buildlogo($vars) {
105 if ($vars['logo']) {
106 $logo = '<div id="logo">' .
107 ' <a href="' . check_url($vars['front_page']) . '" title="' . $vars['site_name'] . '">' .
108 ' <img src="' . check_url($vars['logo']) . '" alt="' . $vars['site_name'] . '" />' .
109 ' </a>' .
110 '</div>';
111 }
112 if (isset($logo)) {
113 return $logo;
114 }
115}
116
117/**
118 * Theme setting to either show or hide extra help
119 */
120function udtheme_help($help = NULL) {
121 return theme_get_setting('display_help') ? $help : NULL;
122}
123
124/**
125 * Code to handle things needing a static width
126 */
127function pagewidth() {
128 $type = theme_get_setting('width_type') == 1 ? '%' : 'px';
129 return theme_get_setting('wrapper_width') . $type;
130}
131
132/**
133 * Generate the default footer text.
134 * This big ugly thing keeps us from needing to set the default in udtheme.info.
135 */
136function udtheme_footer_text() {
137 // The default in udtheme.info is 'unset'
138 if (theme_get_setting('ubuntu_footer_text') == 'unset') {
139 return t('<div class="block"><h2>@legal</h2> !copy </div>'
140 . '<div class="block"><h2>@more</h2>!getubuntu !brainstorm !forums !spread </div>',
141 array(
142 '@legal' => t('Legal Disclaimer'),
143 '!copy' => t('&copy; 2010 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.'),
144 '@more' => t('More Ubuntu'),
145 '!getubuntu' => l(t('Get Ubuntu'), 'http://ubuntu.com/getubuntu/download/'),
146 '!brainstorm' => l(t('Ubuntu Brainstorm'), 'http://brainstorm.ubuntu.com/'),
147 '!forums' => l(t('Ubuntu Forums'), 'http://ubuntuforums.org/'),
148 '!spread' => l(t('Spread Ubuntu'), 'http://spreadubuntu.neomenlo.org/'),
149 )
150 );
151 }
152 else {
153 return theme_get_setting('ubuntu_footer_text');
154 }
155}
156
157/**
158 * Renders the secondary links in a nice pretty way.
159 */
160function udtheme_secondary_menu($secondary_menu) {
161 if (isset($secondary_menu)) {
162 return theme(
163 'links__system_secondary_menu',
164 array(
165 'links' => $secondary_menu,
166 'attributes' => array(
167 'id' => 'secondary-menu',
168 'class' => array(
169 'links',
170 'inline',
171 'clearfix',
172 )
173 ),
174 'heading' => NULL
175 )
176 );
177 }
178 else {
179 return NULL;
180 }
181}
182
183/**
184 * Sets the body-tag class attribute.
185 * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
186 */
187function udtheme_body_class($left = '', $right = '') {
188 if ($left && $right) {
189 $class = 'sidebars';
190 }
191 elseif ($left && !$right) {
192 $class = 'sidebar-left';
193 }
194 elseif (!$left && $right) {
195 $class = 'sidebar-right';
196 }
197 else {
198 $class = 'sidebar-none';
199 }
200
201 if (isset($class)) {
202 return ' class="' . $class . '"';
203 }
204}
0205
=== renamed file 'template.php' => 'template.php.moved'
=== added file 'theme-settings.php'
--- theme-settings.php 1970-01-01 00:00:00 +0000
+++ theme-settings.php 2010-11-30 21:26:38 +0000
@@ -0,0 +1,105 @@
1<?php
2// $Id$
3
4/**
5 * @file
6 * Theme setting callbacks for the garland theme.
7 */
8
9/**
10 * Implements hook_form_FORM_ID_alter().
11 *
12 * @param $form
13 * The form.
14 * @param $form_state
15 * The form state.
16 */
17function udtheme_form_system_theme_settings_alter(&$form, &$form_state) {
18 require_once 'template.php';
19 $ubuntu_footer_text = udtheme_footer_text();
20
21 $form['page'] = array(
22 '#type' => 'fieldset',
23 '#title' => t('Page Options'),
24 '#collapsible' => FALSE,
25 '#tree' => FALSE,
26 '#weight' => -2
27 );
28 $form['page']['wrapper_width'] = array(
29 '#type' => 'textfield',
30 '#title' => t('Page Width (default=980px)'),
31 '#default_value' => theme_get_setting('wrapper_width'),
32 );
33 $form['page']['width_type'] = array(
34 '#type' => 'radios',
35 '#title' => t('Width Type'),
36 '#options' => array(
37 '0' => t('px'),
38 '1' => t('%'),
39 ),
40 '#description' => t('Type of width to be used.'),
41 '#default_value' => theme_get_setting('width_type'),
42 );
43 $form['page']['page_minwidth'] = array(
44 '#type' => 'textfield',
45 '#title' => t('Page Minimum Width'),
46 '#description' => t('Minimum width of the page. This should be 20px larger than the page width.'),
47 '#default_value' => theme_get_setting('page_minwidth'),
48 );
49 $form['page']['display_help'] = array(
50 '#type' => 'radios',
51 '#title' => t('Display Help'),
52 '#options' => array(
53 '1' => t('Yes'),
54 '0' => t('No'),
55 ),
56 '#description' => t('Display help above the content or not.'),
57 '#default_value' => theme_get_setting('display_help'),
58 );
59 $form['page']['ubuntu_footer'] = array(
60 '#type' => 'radios',
61 '#title' => t('Ubuntu Community Footer'),
62 '#options' => array(
63 '1' => t('Display'),
64 '0' => t('Hide'),
65 ),
66 '#description' => t('Display the Ubuntu Community Footer, which includes blocks for the legal disclaimer and other Ubuntu community websites.'),
67 '#default_value' => theme_get_setting('ubuntu_footer'),
68 );
69 $form['page']['ubuntu_footer_text'] = array(
70 '#type' => 'textarea',
71 '#title' => t('Ubuntu Community Footer (Text)'),
72 '#description' => t('If the footer is enabled, this text will appear in it. The default is displayed here.'),
73 '#default_value' => $ubuntu_footer_text,
74 );
75
76 $form['style'] = array(
77 '#type' => 'fieldset',
78 '#title' => t('Style Options'),
79 '#collapsible' => FALSE,
80 '#tree' => FALSE,
81 '#weight' => 2,
82 );
83 $form['style']['udtheme_style'] = array(
84 '#type' => 'radios',
85 '#title' => t('Ubuntu Drupal Style'),
86 '#options' => array(
87 'classic-brown' => t('Classic Brown'),
88 'ubuntu-2010' => t('Official Ubuntu'),
89 'kimis-pink' => t('Kimi\'s Pink'),
90 'majan-blue' => t('Majan\'s Blue'),
91 ),
92 '#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.'),
93 '#default_value' => theme_get_setting('udtheme_style'),
94 );
95 $form['style']['udtheme_trademark'] = array(
96 '#type' => 'radios',
97 '#title' => t('Ubuntu Community Styles'),
98 '#options' => array(
99 '0' => t('Disabled'),
100 '1' => t('Enabled'),
101 ),
102 '#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)'),
103 '#default_value' => theme_get_setting('udtheme_trademark'),
104 );
105}
0106
=== renamed file 'theme-settings.php' => 'theme-settings.php.moved'
=== added file 'udtheme.info'
--- udtheme.info 1970-01-01 00:00:00 +0000
+++ udtheme.info 2010-11-30 21:26:38 +0000
@@ -0,0 +1,30 @@
1; $Id$
2name = Ubuntu Drupal Theme
3description = Ubuntu-Drupal is a theme for Ubuntu LoCo web sites. Based on the new branding introduced for Ubuntu in 2010.
4core = 7.x
5version = 7.7.0
6engine = phptemplate
7
8settings[wrapper_width] = 980
9settings[width_type] = 0
10settings[page_minwidth] = 1000px
11settings[display_help] = 0
12settings[ubuntu_footer] = 1
13settings[ubuntu_footer_text] = unset
14settings[udtheme_style] = classic-brown
15settings[udtheme_trademark] = 0
16
17stylesheets[all][] = styles/base.css
18
19regions[top_header] = Top Header
20regions[search] = Search Box
21regions[subheader] = Second Header
22regions[above_content] = Above Content and Sidebars
23regions[top_content] = Above Content and Between Sidebars
24regions[left] = Left Sidebar
25regions[right] = Right Sidebar
26regions[content] = Below Content
27regions[footer] = Footer
28
29features[] = main_menu
30features[] = secondary_menu
031
=== renamed file 'udtheme.info' => 'udtheme.info.moved'

Subscribers

People subscribed via source and target branches