Merge lp:~fougner/ubuntu-packaging-guide/retheming into lp:ubuntu-packaging-guide
- retheming
- Merge into trunk
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~fougner/ubuntu-packaging-guide/retheming | ||||
Merge into: | lp:ubuntu-packaging-guide | ||||
Diff against target: |
2314 lines (+2229/-2) (has conflicts) 10 files modified
BORROWED-CODE (+7/-0) conf.py (+2/-2) debian/copyright (+41/-0) index.rst (+4/-0) themes/ubuntu/layout.html (+223/-0) themes/ubuntu/searchbox.html (+24/-0) themes/ubuntu/static/default.css_t (+62/-0) themes/ubuntu/static/light-django-theme.css (+1265/-0) themes/ubuntu/static/newstyle.css (+592/-0) themes/ubuntu/theme.conf (+9/-0) Text conflict in index.rst |
||||
To merge this branch: | bzr merge lp:~fougner/ubuntu-packaging-guide/retheming | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Iain Lane | Pending | ||
Review via email: mp+68821@code.launchpad.net |
This proposal supersedes a proposal from 2011-07-11.
This proposal has been superseded by a proposal from 2011-07-22.
Commit message
Description of the change
more Ubuntu-ish Sphinx theme!
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal | # |
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal | # |
Thanks a lot Alexander! Fantastic work!
Alexander Fougner (fougner) wrote : Posted in a previous version of this proposal | # |
> Thanks a lot Alexander! Fantastic work!
You're welcome! Just give me a ping if there's more web stuff to do :)
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal | # |
I feel what we still need to do is:
- adding copyright/
- remove the website links for now, as they're not really relevant to an HTML offline guide,
and replace them with a <!-- website links --> HTML comment, which can be replace with actual
HTML (for website links) for the more official location by a script
If you can think of anything else, please comment. :)
Iain Lane (laney) wrote : Posted in a previous version of this proposal | # |
(I re-merged your branch with trunk before looking)
Cheers for this! Looks very nice :-)
Comments:
- I see "¶" at the end of headings that probably shouldn't be there.
- "Index" in the main orange bar seems to go nowhere and the other index link leads to a page with only one entry. Do we plan on fleshing this out?
- Looking at http://
- What's the login link for?
- Is it possible to indent the code blocks a bit and/or give them a slightly shaded background?
- Code blocks should probably have a fixed width font. For example, indentation matters when writing debian/changelog entries, and this should be clear on the page. See debian-dir-overview for examples of this.
Cheers!
Iain
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal | # |
I'm very happy with the changes that Alexander got in. Do we want to merge this, go ahead with the current approach and file bugs for the rest of the issues or do we want to fix all of this before merging?
Stefano Rivera (stefanor) wrote : Posted in a previous version of this proposal | # |
I'm happy with either approach. If Alexander is prepared to do a few rounds of review, we can try and get this all in shape now, but I think it's pretty much mergeable as is.
Issues I see:
* Double copyright footer.
* What's the plan for the top bar? I assume it'll be static links to other related resources?
* The knowledge base articles have an odd link to the knowledge base section, in the second bar.
* The knowledge base page's nested lists don't look great.
* Licencing:
- We are adding some BSD licensed code that refers to a non-existent LICENCE file.
+ Add such a file, add this to debian/copyright too.
- Adding a new CC-BY-SA copyright holder.
+ Add the copyright holder to debian/copyright.
- I guess our articles should get decent copyright attribution headers at some point, but that's out of the scope for this merge.
* Searching doesn't work, but it didn't seem to work before, either.
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal | # |
Maybe we should remove all the Javascript bits for now and remove the search bits and file a bug for it, so we can follow up on that later on (and hopefully avoid duplicating jquery bits).
- 53. By Alexander Fougner
-
remove duplicate copyright text, some styling
Daniel Holbach (dholbach) wrote : | # |
Can we
- remove all the javascript files for now? are they needed? (if not, we don't have to add them in the license/copyright overviews, etc.)
- remove all links to search including the search.html page?
Apart from that I'm very happy with this.
Great work!
- 54. By Alexander Fougner
-
removed all unchanged templates, inherits from basic theme instead
- 55. By Alexander Fougner
-
merged dholbach's js removals and fixes
Daniel Holbach (dholbach) wrote : | # |
Approve. Great work!
Stefano Rivera was basically with this as well, Adnane Belmadiaf gave his OK regarding CSS/theme stuff as well. This should be a good basis for the theming.
Unmerged revisions
Preview Diff
1 | === added file 'BORROWED-CODE' |
2 | --- BORROWED-CODE 1970-01-01 00:00:00 +0000 |
3 | +++ BORROWED-CODE 2011-07-22 14:59:30 +0000 |
4 | @@ -0,0 +1,7 @@ |
5 | +themes/ubuntu/static/newstyle.css |
6 | +themes/ubuntu/static/images/* |
7 | + From http://loco.ubuntu.com/media/css/newstyle.css |
8 | + http://loco.ubuntu.com/media/images |
9 | + |
10 | +themes/ubuntu/static/light-django-theme.css |
11 | + From lp:ubuntu-community-webthemes/light-django-theme |
12 | |
13 | === modified file 'conf.py' |
14 | --- conf.py 2010-11-19 12:07:36 +0000 |
15 | +++ conf.py 2011-07-22 14:59:30 +0000 |
16 | @@ -101,7 +101,7 @@ |
17 | |
18 | # The theme to use for HTML and HTML Help pages. See the documentation for |
19 | # a list of builtin themes. |
20 | -html_theme = 'default' |
21 | +html_theme = 'ubuntu' |
22 | |
23 | # Theme options are theme-specific and customize the look and feel of a theme |
24 | # further. For a list of options available for each theme, see the |
25 | @@ -109,7 +109,7 @@ |
26 | #html_theme_options = {} |
27 | |
28 | # Add any paths that contain custom themes here, relative to this directory. |
29 | -#html_theme_path = [] |
30 | +html_theme_path = ['themes'] |
31 | |
32 | # The name for this set of Sphinx documents. If None, it defaults to |
33 | # "<project> v<release> documentation". |
34 | |
35 | === modified file 'debian/copyright' |
36 | --- debian/copyright 2011-04-19 08:27:41 +0000 |
37 | +++ debian/copyright 2011-07-22 14:59:30 +0000 |
38 | @@ -341,3 +341,44 @@ |
39 | this trademark restriction does not form part of the License. |
40 | . |
41 | Creative Commons may be contacted at http://creativecommons.org/. |
42 | + |
43 | +Files: themes/ubuntu/static/newstyle.css |
44 | + themes/ubuntu/static/images/* |
45 | +Copyright: 2009-2011 LoCo Directory Hackers <loco-directory-dev@lists.ubuntu.com> |
46 | +License: AGPL-3 |
47 | + This program is free software: you can redistribute it and/or modify |
48 | + it under the terms of the GNU Affero General Public License as published by |
49 | + the Free Software Foundation, either version 3 of the License, or |
50 | + (at your option) any later version. |
51 | + . |
52 | + This program is distributed in the hope that it will be useful, |
53 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
54 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
55 | + GNU Affero General Public License for more details. |
56 | + . |
57 | + You should have received a copy of the GNU Affero General Public License |
58 | + along with this program. If not, see <http://www.gnu.org/licenses/>. |
59 | + |
60 | +Files: themes/ubuntu/static/light-django-theme.css |
61 | +Copyright: Ubuntu Community Web Themes Developers (https://launchpad.net/~ubuntu-community-webthemes) |
62 | +License: GPL-2+ |
63 | + This program is free software; you can redistribute it |
64 | + and/or modify it under the terms of the GNU General Public |
65 | + License as published by the Free Software Foundation; either |
66 | + version 2 of the License, or (at your option) any later |
67 | + version. |
68 | + . |
69 | + This program is distributed in the hope that it will be |
70 | + useful, but WITHOUT ANY WARRANTY; without even the implied |
71 | + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
72 | + PURPOSE. See the GNU General Public License for more |
73 | + details. |
74 | + . |
75 | + You should have received a copy of the GNU General Public |
76 | + License along with this package; if not, write to the Free |
77 | + Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
78 | + Boston, MA 02110-1301 USA |
79 | + . |
80 | + On Debian systems, the full text of the GNU General Public |
81 | + License version 2 can be found in the file |
82 | + `/usr/share/common-licenses/GPL-2'. |
83 | |
84 | === modified file 'index.rst' |
85 | --- index.rst 2011-07-19 13:13:58 +0000 |
86 | +++ index.rst 2011-07-22 14:59:30 +0000 |
87 | @@ -45,4 +45,8 @@ |
88 | ================== |
89 | |
90 | * :ref:`genindex` |
91 | +<<<<<<< TREE |
92 | * :ref:`search` |
93 | +======= |
94 | +* :ref:`modindex` |
95 | +>>>>>>> MERGE-SOURCE |
96 | |
97 | === added directory 'themes' |
98 | === added directory 'themes/ubuntu' |
99 | === added file 'themes/ubuntu/layout.html' |
100 | --- themes/ubuntu/layout.html 1970-01-01 00:00:00 +0000 |
101 | +++ themes/ubuntu/layout.html 2011-07-22 14:59:30 +0000 |
102 | @@ -0,0 +1,223 @@ |
103 | +{# |
104 | + ubuntu/layout.html |
105 | + ~~~~~~~~~~~~~~~~~ |
106 | + |
107 | + Ubuntu layout template for Sphinx themes. |
108 | + |
109 | + :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. |
110 | + :license: BSD, see LICENSE for details. |
111 | +#} |
112 | +{%- block doctype -%} |
113 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
114 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
115 | +{%- endblock %} |
116 | +{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} |
117 | +{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} |
118 | +{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and |
119 | + (sidebars != []) %} |
120 | +{%- set url_root = pathto('', 1) %} |
121 | +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} |
122 | + |
123 | + |
124 | +{%- macro relbar() %} |
125 | + <aside id="page-related"> |
126 | + <div class="container" id="sub-nav-container" > |
127 | + <nav id="sub-nav"> |
128 | + {%- for rellink in rellinks %} |
129 | + <a class="sub-nav-item" {% if loop.first %}style="margin-right: 10px"{% endif %} |
130 | + href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}" |
131 | + {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a> |
132 | + {%- endfor %} |
133 | + {%- block rootrellink %} |
134 | + <a class="sub-nav-item" href="{{ pathto(master_doc) }}">{{ shorttitle|e }} {{ reldelim1 }}</a> |
135 | + {%- endblock %} |
136 | + {%- for parent in parents %} |
137 | + <a class="sub-nav-item" href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }} {{ reldelim1 }}</a> |
138 | + {%- endfor %} |
139 | + {%- block relbaritems %} {% endblock %} |
140 | + </nav> |
141 | + </div> |
142 | +</aside> |
143 | +{%- endmacro %} |
144 | + |
145 | +{%- macro sidebar() %} |
146 | + {%- if render_sidebar %} |
147 | + <div class="sphinxsidebar"> |
148 | + <div class="sphinxsidebarwrapper"> |
149 | + {%- block sidebarlogo %} |
150 | + {%- if logo %} |
151 | + <p class="logo"><a href="{{ pathto(master_doc) }}"> |
152 | + <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/> |
153 | + </a></p> |
154 | + {%- endif %} |
155 | + {%- endblock %} |
156 | + {%- if sidebars != None %} |
157 | + {#- new style sidebar: explicitly include/exclude templates #} |
158 | + {%- for sidebartemplate in sidebars %} |
159 | + {%- include sidebartemplate %} |
160 | + {%- endfor %} |
161 | + {%- else %} |
162 | + {#- old style sidebars: using blocks -- should be deprecated #} |
163 | + {%- block sidebartoc %} |
164 | + {%- include "localtoc.html" %} |
165 | + {%- endblock %} |
166 | + {%- block sidebarrel %} |
167 | + {%- include "relations.html" %} |
168 | + {%- endblock %} |
169 | + {%- block sidebarsourcelink %} |
170 | + {%- include "sourcelink.html" %} |
171 | + {%- endblock %} |
172 | + {%- if customsidebar %} |
173 | + {%- include customsidebar %} |
174 | + {%- endif %} |
175 | + {%- block sidebarsearch %} |
176 | + {%- include "searchbox.html" %} |
177 | + {%- endblock %} |
178 | + {%- endif %} |
179 | + </div> |
180 | + </div> |
181 | + {%- endif %} |
182 | +{%- endmacro %} |
183 | + |
184 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
185 | + <head> |
186 | + <meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" /> |
187 | + {{ metatags }} |
188 | + {%- if not embedded and docstitle %} |
189 | + {%- set titlesuffix = " — "|safe + docstitle|e %} |
190 | + {%- else %} |
191 | + {%- set titlesuffix = "" %} |
192 | + {%- endif %} |
193 | + {%- block htmltitle %} |
194 | + <title>{{ title|striptags|e }}{{ titlesuffix }}</title> |
195 | + {%- endblock %} |
196 | + <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> |
197 | + <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> |
198 | + {%- for cssfile in css_files %} |
199 | + <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> |
200 | + {%- endfor %} |
201 | + {%- if not embedded %} |
202 | + <script type="text/javascript"> |
203 | + var DOCUMENTATION_OPTIONS = { |
204 | + URL_ROOT: '{{ url_root }}', |
205 | + VERSION: '{{ release|e }}', |
206 | + COLLAPSE_INDEX: false, |
207 | + FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}', |
208 | + HAS_SOURCE: {{ has_source|lower }} |
209 | + }; |
210 | + </script> |
211 | + {# %- for scriptfile in script_files %} |
212 | + <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> |
213 | + {%- endfor % #} |
214 | + {%- if use_opensearch %} |
215 | + <link rel="search" type="application/opensearchdescription+xml" |
216 | + title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" |
217 | + href="{{ pathto('_static/opensearch.xml', 1) }}"/> |
218 | + {%- endif %} |
219 | + {%- if favicon %} |
220 | + <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/> |
221 | + {%- endif %} |
222 | + {%- endif %} |
223 | +{%- block linktags %} |
224 | + {%- if hasdoc('about') %} |
225 | + <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" /> |
226 | + {%- endif %} |
227 | + {%- if hasdoc('genindex') %} |
228 | + <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" /> |
229 | + {%- endif %} |
230 | + {%- if hasdoc('search') %} |
231 | + <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" /> |
232 | + {%- endif %} |
233 | + {%- if hasdoc('copyright') %} |
234 | + <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" /> |
235 | + {%- endif %} |
236 | + <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" /> |
237 | + {%- if parents %} |
238 | + <link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" /> |
239 | + {%- endif %} |
240 | + {%- if next %} |
241 | + <link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" /> |
242 | + {%- endif %} |
243 | + {%- if prev %} |
244 | + <link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" /> |
245 | + {%- endif %} |
246 | +{%- endblock %} |
247 | +{%- block extrahead %} {% endblock %} |
248 | + </head> |
249 | + <body id="home"> |
250 | + |
251 | +<!-- |
252 | +<aside id="top-nav"> |
253 | + <div class="container"> |
254 | + |
255 | + <section id="top-login"> |
256 | + <a class="top-login-item" href="/openid/login?next=/events/" title="Login">Login</a> |
257 | + </section> |
258 | + <nav id="top-related"> |
259 | + <a class="top-nav-item" href="http://www.ubuntu.com">Ubuntu.com</a> |
260 | + <a class="top-nav-item" href="http://www.ubuntu.com/community">Community</a> |
261 | + <a class="top-nav-item" href="http://www.ubuntu.com/support">Support</a> |
262 | + <a class="top-nav-item" href="http://www.ubuntu.com/partners">Partners</a> |
263 | + </nav> |
264 | + </div> |
265 | +</aside> |
266 | +--> |
267 | + |
268 | +<header id="page-header"> |
269 | + <div class="container" > |
270 | + <nav id="main-nav"> |
271 | + <a class="main-nav-item " title="Index" href="index.html">Index</a> |
272 | + </nav> |
273 | + </div> |
274 | +</header> |
275 | + |
276 | +{%- block header %}{% endblock %} |
277 | + |
278 | +{%- block relbar1 %}{{ relbar() }}{% endblock %} |
279 | + |
280 | +{%- block content %} |
281 | + {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %} |
282 | + |
283 | + <section id="main-section"> |
284 | + {%- block document %} |
285 | + <div class="container" > |
286 | + {%- if render_sidebar %} |
287 | + <section id="content"> |
288 | + {%- endif %} |
289 | + <div class="body"> |
290 | + {%- block sidebar2 %}{{ sidebar() }}{% endblock %} |
291 | + {% block body %} {% endblock %} |
292 | + <div class="divide"></div> |
293 | + |
294 | + </div> |
295 | + {%- if render_sidebar %} |
296 | + </section> |
297 | + {%- endif %} |
298 | + </div> |
299 | + {%- endblock %} |
300 | + </section> |
301 | +{%- endblock %} |
302 | + |
303 | +{%- block footer %} |
304 | + <footer id="page-footer"> |
305 | + <div class="container"> |
306 | + <div class="copyright"> |
307 | + {%- if show_copyright %} |
308 | + {%- if hasdoc('copyright') %} |
309 | + {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} |
310 | + {%- else %} |
311 | + {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} |
312 | + {%- endif %} |
313 | + {%- endif %} |
314 | + {%- if last_updated %} |
315 | + {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} |
316 | + {%- endif %} |
317 | + {%- if show_sphinx %} |
318 | + {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} |
319 | + {%- endif %} |
320 | + </div> |
321 | + </div> |
322 | + </footer> |
323 | +{%- endblock %} |
324 | + </body> |
325 | +</html> |
326 | |
327 | === added file 'themes/ubuntu/searchbox.html' |
328 | --- themes/ubuntu/searchbox.html 1970-01-01 00:00:00 +0000 |
329 | +++ themes/ubuntu/searchbox.html 2011-07-22 14:59:30 +0000 |
330 | @@ -0,0 +1,24 @@ |
331 | +{# |
332 | + basic/searchbox.html |
333 | + ~~~~~~~~~~~~~~~~~~~~ |
334 | + |
335 | + Sphinx sidebar template: quick search box. |
336 | + |
337 | + :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. |
338 | + :license: BSD, see LICENSE for details. |
339 | +#} |
340 | +{%- if pagename != "search" %} |
341 | +<div id="searchbox" style="display: none"> |
342 | + <h4>{{ _('Quick search') }}</h4> |
343 | + <form class="search" action="{{ pathto('search') }}" method="get"> |
344 | + <input type="text" name="q" size="18" /> |
345 | + <input type="submit" value="{{ _('Go') }}" /> |
346 | + <input type="hidden" name="check_keywords" value="yes" /> |
347 | + <input type="hidden" name="area" value="default" /> |
348 | + </form> |
349 | + <p class="searchtip" style="font-size: 90%"> |
350 | + {{ _('Enter search terms or a module, class or function name.') }} |
351 | + </p> |
352 | +</div> |
353 | +<!--<script type="text/javascript">$('#searchbox').show(0);</script>--> |
354 | +{%- endif %} |
355 | |
356 | === added directory 'themes/ubuntu/static' |
357 | === added file 'themes/ubuntu/static/default.css_t' |
358 | --- themes/ubuntu/static/default.css_t 1970-01-01 00:00:00 +0000 |
359 | +++ themes/ubuntu/static/default.css_t 2011-07-22 14:59:30 +0000 |
360 | @@ -0,0 +1,62 @@ |
361 | +/* |
362 | +* License: GPLv2 |
363 | +* Author : Alexander Fougner <fougner89 at gmail dot com> |
364 | +* Source : http://loco.ubuntu.com/media/css/newstyle.css |
365 | +* https://code.launchpad.net/~ubuntu-website-community/ubuntu-website/light-django-theme |
366 | +*/ |
367 | + |
368 | +@import url("light-django-theme.css"); |
369 | +@import url("newstyle.css"); |
370 | + |
371 | +body { |
372 | + background: url("images/dotted.png") repeat scroll 0 0 #FFFFFF; |
373 | +} |
374 | + |
375 | +#page-header { |
376 | + background: url("images/header.png") repeat-x scroll 0 0 #DD4814; |
377 | +} |
378 | + |
379 | +div.sphinxsidebar { |
380 | + float:right; |
381 | + background: #f5f5f5; |
382 | + border: 1px solid #ddd; |
383 | + padding: 15px; |
384 | + margin: 10px; |
385 | + width: 230px; |
386 | +background: #F7F7F7; |
387 | +border-radius: 8px; |
388 | +} |
389 | + |
390 | +div.sphinxsidebar ul { |
391 | + margin-left: 10px; |
392 | +} |
393 | + |
394 | +pre { |
395 | + font-family: monospace; |
396 | + border: 1px solid #ddd; |
397 | + background: #f5f5f5; |
398 | + margin: 5px; |
399 | + padding: 5px; |
400 | +} |
401 | + |
402 | +a.headerlink { |
403 | + visibility: hidden; |
404 | +} |
405 | + |
406 | +h1:hover > a.headerlink, |
407 | +h2:hover > a.headerlink, |
408 | +h3:hover > a.headerlink, |
409 | +h4:hover > a.headerlink, |
410 | +h5:hover > a.headerlink, |
411 | +h6:hover > a.headerlink, |
412 | +dt:hover > a.headerlink { |
413 | +visibility: visible; |
414 | +} |
415 | + |
416 | +form.search_form input, #searchbox { |
417 | +height: auto; |
418 | +} |
419 | + |
420 | +#page-footer .container div.copyright { |
421 | +padding: 10px; |
422 | +} |
423 | |
424 | === added directory 'themes/ubuntu/static/images' |
425 | === added file 'themes/ubuntu/static/images/dotted.png' |
426 | Binary files themes/ubuntu/static/images/dotted.png 1970-01-01 00:00:00 +0000 and themes/ubuntu/static/images/dotted.png 2011-07-22 14:59:30 +0000 differ |
427 | === added file 'themes/ubuntu/static/images/favicon.ico' |
428 | Binary files themes/ubuntu/static/images/favicon.ico 1970-01-01 00:00:00 +0000 and themes/ubuntu/static/images/favicon.ico 2011-07-22 14:59:30 +0000 differ |
429 | === added file 'themes/ubuntu/static/images/footer.png' |
430 | Binary files themes/ubuntu/static/images/footer.png 1970-01-01 00:00:00 +0000 and themes/ubuntu/static/images/footer.png 2011-07-22 14:59:30 +0000 differ |
431 | === added file 'themes/ubuntu/static/images/header.png' |
432 | Binary files themes/ubuntu/static/images/header.png 1970-01-01 00:00:00 +0000 and themes/ubuntu/static/images/header.png 2011-07-22 14:59:30 +0000 differ |
433 | === added file 'themes/ubuntu/static/images/search.png' |
434 | Binary files themes/ubuntu/static/images/search.png 1970-01-01 00:00:00 +0000 and themes/ubuntu/static/images/search.png 2011-07-22 14:59:30 +0000 differ |
435 | === added file 'themes/ubuntu/static/light-django-theme.css' |
436 | --- themes/ubuntu/static/light-django-theme.css 1970-01-01 00:00:00 +0000 |
437 | +++ themes/ubuntu/static/light-django-theme.css 2011-07-22 14:59:30 +0000 |
438 | @@ -0,0 +1,1265 @@ |
439 | +/*- LICENSE |
440 | +-------------------------------------------------------------------------------------------------------- */ |
441 | +/* |
442 | + Author: Matteo Lissandrini - kuzeko http://www.kuzeko.com |
443 | + |
444 | +// Licensed under the Creative Commons Attribution-Share Alike 3.0 License - http://creativecommons.org/licenses/by-sa/3.0/ |
445 | +// - Free for use in both personal and commercial projects |
446 | +// - Attribution requires leaving author name, author link, and the license info intact. |
447 | +*/ |
448 | + |
449 | +/*- reset |
450 | +-------------------------------------------------------------------------------------------------------- */ |
451 | + |
452 | +/* |
453 | +Reset derived and adapted from |
454 | +html5doctor.com Reset Stylesheet |
455 | +v1.4.1 |
456 | +2010-03-01 |
457 | +Author: Richard Clark - http://richclarkdesign.com |
458 | +*/ |
459 | + |
460 | +html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video { |
461 | + background: transparent; |
462 | + border: 0; |
463 | + font-family: inherit; |
464 | + font-weight: inherit; |
465 | + font-style: inherit; |
466 | + font-size: 100%; |
467 | + margin: 0; |
468 | + outline: 0; |
469 | + padding: 0; |
470 | + vertical-align: baseline; |
471 | +} |
472 | + |
473 | +blockquote:before, blockquote:after, q:before, q:after { |
474 | + content: '' |
475 | +} |
476 | + |
477 | +nav ul { |
478 | + list-style: none |
479 | +} |
480 | + |
481 | +td li, li li { |
482 | + font-size: 13px; |
483 | + line-height: 1.4; |
484 | +} |
485 | + |
486 | +:focus /* remember to define focus styles! */ { |
487 | + outline: 0 |
488 | +} |
489 | + |
490 | +body { |
491 | + line-height: 1 |
492 | +} |
493 | + |
494 | +article, aside, details, dialog, figure, footer, header, hgroup, nav, section { |
495 | + display: block |
496 | +} |
497 | + |
498 | +ol, ul { |
499 | + list-style-position: inside |
500 | +} |
501 | + |
502 | +blockquote, q { |
503 | + quotes: none |
504 | +} |
505 | + |
506 | +a { |
507 | + cursor: pointer; |
508 | + margin: 0; |
509 | + padding: 0; |
510 | + border: 0; |
511 | + font-size: 100%; |
512 | + color: #DD4814; |
513 | + vertical-align: baseline; |
514 | + background: transparent; |
515 | + text-decoration: none; |
516 | +} |
517 | + |
518 | +ins { |
519 | + background-color: #ff9; |
520 | + color: #000; |
521 | + text-decoration: none; |
522 | +} |
523 | + |
524 | +mark { |
525 | + background-color: #ff9; |
526 | + color: #000; |
527 | + font-style: italic; |
528 | + font-weight: bold; |
529 | +} |
530 | + |
531 | +del { |
532 | + text-decoration: line-through |
533 | +} |
534 | + |
535 | +abbr[title], dfn[title] { |
536 | + border-bottom: 1px dotted #000; |
537 | + cursor: help; |
538 | +} |
539 | + |
540 | +table { |
541 | + border-collapse: collapse; |
542 | + border-spacing: 0; |
543 | +} |
544 | + |
545 | +hr { |
546 | + display: block; |
547 | + height: 1px; |
548 | + border: 0; |
549 | + border-top: 1px solid #cccccc; |
550 | + margin: 1em 0; |
551 | + padding: 0; |
552 | +} |
553 | + |
554 | +input, select { |
555 | + vertical-align: middle |
556 | +} |
557 | + |
558 | +textarea { |
559 | + overflow: auto |
560 | +} |
561 | + |
562 | +/* ----------------------------------------------------------------------------------------------------- */ |
563 | + |
564 | +/*- Typography |
565 | +-------------------------------------------------------------------------------------------------------- */ |
566 | + |
567 | +body { |
568 | + font-family: 'Ubuntubeta','Ubuntu','Bitstream Vera Sans','DejaVu Sans', Tahoma, sans-serif; |
569 | + font-size: 100%; |
570 | + line-height: 1.5em; |
571 | +} |
572 | + |
573 | +h1, h2, h3 { |
574 | + color: #333333; |
575 | + font-weight: normal; |
576 | + margin: 0px; |
577 | +} |
578 | + |
579 | +h1 { |
580 | + font-size: 36px; |
581 | + line-height: 40px; |
582 | + margin-top: 0px; |
583 | + margin-bottom: 0px; |
584 | +} |
585 | + |
586 | +h2 { |
587 | + font-size: 24px; |
588 | + line-height: 28px; |
589 | + font-weight: normal; |
590 | + margin-top: 16px; |
591 | + margin-bottom: 8px; |
592 | +} |
593 | + |
594 | +h3 { |
595 | + font-size: 16px; |
596 | + line-height: 20px; |
597 | + font-weight: normal; |
598 | + margin-top: 16px; |
599 | + margin-bottom: 8px; |
600 | +} |
601 | + |
602 | +p { |
603 | + font-size: 13px; |
604 | + line-height: 1.4; |
605 | +} |
606 | + |
607 | +dt { |
608 | + font-size: 0.75em; |
609 | + font-weight: bold; |
610 | + /* 16x0.75 =12 */ |
611 | +} |
612 | + |
613 | +li { |
614 | + font-size: 13px; |
615 | + line-height: 1.4; |
616 | +} |
617 | + |
618 | +strong { |
619 | + font-weight: bold |
620 | +} |
621 | + |
622 | +em { |
623 | + font-style: italic |
624 | +} |
625 | + |
626 | +table.basic { |
627 | + font-size:0.75em; |
628 | + line-height:1.3333em; /* 16x0.75 =12 */ |
629 | +} |
630 | +table.basic thead th, table.basic thead a { |
631 | + font-weight:bold; |
632 | +} |
633 | + |
634 | +table.basic thead a , table.basic tfoot a { |
635 | + text-decoration:underline; |
636 | +} |
637 | + |
638 | +#top-logo { |
639 | + font-size: 0.875em; |
640 | + /* 16x0.75 =12 */ |
641 | +} |
642 | + |
643 | +#top-nav { |
644 | + font-size:0.625em; |
645 | + /* 16x0.625=10 */ |
646 | +} |
647 | + |
648 | +#main-nav { |
649 | + font-size: 0.875em; |
650 | + /* 16x0.875=14 */ |
651 | +} |
652 | + |
653 | +#sub-nav { |
654 | + font-size: 0.75em; |
655 | + /* 16x0.75 =12 */ |
656 | +} |
657 | + |
658 | +/* Form typography */ |
659 | +form .smalltext { |
660 | + font-size:0.625em; |
661 | + line-height: 1.4em; |
662 | +} |
663 | + |
664 | +legend span.supporting, label, form .error { |
665 | + font-size: 0.75em; |
666 | + line-height: 1.2em; |
667 | +} |
668 | + |
669 | +legend { |
670 | + font-size: 1em; |
671 | + line-height: 1em; |
672 | +} |
673 | + |
674 | +input[type="text"], input[type="password"], select { |
675 | + font-size: 0.75em; |
676 | +} |
677 | + |
678 | +input[type="submit"] { |
679 | + font-size: 1em; |
680 | + line-height: 1.25em; |
681 | +} |
682 | +/* END Form typography */ |
683 | + |
684 | +.showcase-text { |
685 | + font-size: 0.875em; |
686 | + /* 16x0.875=14 */ |
687 | +} |
688 | + |
689 | +.footer-item { |
690 | + font-size: 0.75em; |
691 | + /* 16x0.625=12 */ |
692 | +} |
693 | + |
694 | +/*- Layout |
695 | +-------------------------------------------------------------------------------------------------------- */ |
696 | + |
697 | +.container { |
698 | + clear: both; |
699 | + margin: 0 auto; |
700 | + padding: 0; |
701 | + position: relative; |
702 | + width: 980px; |
703 | +} |
704 | + |
705 | +#top-nav { |
706 | + margin:0 auto; |
707 | + line-height: 2em; |
708 | + height: 20px; |
709 | +} |
710 | + |
711 | +.top-nav-item { |
712 | + display:inline-block; |
713 | + margin-right: 14px; |
714 | + line-height:2em; |
715 | +} |
716 | + |
717 | +#top-login { |
718 | + display:inline-block; |
719 | + margin-left:15px; |
720 | +} |
721 | + |
722 | +.top-login-item { |
723 | + display:inline-block; |
724 | + padding:0 8px; |
725 | + line-height:2em; |
726 | +} |
727 | + |
728 | +#top-related { |
729 | + float:right; |
730 | + margin-right:2px; |
731 | +} |
732 | + |
733 | +#main-nav { |
734 | + float: left; |
735 | + width: 770px; |
736 | +} |
737 | + |
738 | +.main-nav-item { |
739 | + margin: 5px 10px; |
740 | + padding: 10px; |
741 | +} |
742 | + |
743 | +.main-nav-item, .main-nav-item:visited { |
744 | + border-right: 1px solid #EF7149; |
745 | + border-bottom: 0; |
746 | + border-top: 0; |
747 | + color: #fff; |
748 | + display: block; |
749 | + float: left; |
750 | + height: 70px; |
751 | + line-height: 70px; |
752 | + margin: 0px; |
753 | + padding: 0 15px; |
754 | + text-shadow: 1px 1px 1px #333; |
755 | +} |
756 | + |
757 | +.main-nav-item.current, .main-nav-item:hover, .main-nav-item:active, .main-nav-item:focus { |
758 | + background: url(../images/mainnav.png) 0 0 repeat |
759 | +} |
760 | + |
761 | +#top-logo { |
762 | + float: right; |
763 | + margin: 5px 10px 5px 0px; |
764 | + padding: 10px 10px 0px 0px; |
765 | + width: 180px; |
766 | +} |
767 | + |
768 | +#page-related { |
769 | + background-image: none; |
770 | + margin: 0 auto; |
771 | + padding: 0 10px 10px; |
772 | + position: relative; |
773 | + width: 960px; |
774 | +} |
775 | + |
776 | +#sub-nav-container { |
777 | + height: 40px; |
778 | + margin: 0 10px; |
779 | + width: 940px; |
780 | +} |
781 | + |
782 | + #sub-nav-container /* progressive */ { |
783 | + -webkit-border-bottom-left-radius: 8px; |
784 | + -webkit-border-bottom-right-radius: 8px; |
785 | + -moz-border-radius-bottomleft: 8px; |
786 | + -moz-border-radius-bottomright: 8px; |
787 | + -webkit-box-shadow: 0px 1px 1px #ccc; |
788 | + -moz-box-shadow: 0 1px 1px #DFDFDF; |
789 | + } |
790 | + |
791 | +#sub-nav { |
792 | + float: left; |
793 | + padding: 0px 10px; |
794 | +} |
795 | + |
796 | +.sub-nav-item { |
797 | + margin: 5px 10px; |
798 | + padding-right: 10px; |
799 | +} |
800 | + |
801 | +.sub-nav-item, .sub-nav-item:visited { |
802 | + color: #333; |
803 | + display: block; |
804 | + float: left; |
805 | + line-height: 40px; |
806 | + margin: 0px; |
807 | + padding: 0 15px; |
808 | +} |
809 | + |
810 | +.sub-nav-item.current, .sub-nav-item:hover, .sub-nav-item:active, .sub-nav-item:focus { |
811 | + background-color: #efefef; |
812 | + color: #DD4814; |
813 | +} |
814 | + |
815 | +#pop-up-container { |
816 | + float: left; |
817 | + padding: 10px; |
818 | +} |
819 | + |
820 | +#pop-up-text { |
821 | + float: left |
822 | +} |
823 | + |
824 | +#login-container { |
825 | + float: left; |
826 | + width: 620px; |
827 | +} |
828 | + |
829 | +table.basic { |
830 | + width:542px; |
831 | + text-align:left; |
832 | + padding:0 8px; |
833 | + margin:20px auto; |
834 | +} |
835 | + |
836 | +table.basic.wide { |
837 | + width:100%; |
838 | +} |
839 | + |
840 | +table.basic td, table.basic th { |
841 | + padding:4px 8px; |
842 | +} |
843 | + |
844 | +#searchbox-container { |
845 | + float: right; |
846 | + margin: 0px 10px 5px 0px; |
847 | + padding: 0 0 0 10px; |
848 | + width: auto; |
849 | +} |
850 | + |
851 | +/* Form Layout */ |
852 | +form { |
853 | + width: 542px; |
854 | + margin: 0 auto; |
855 | +} |
856 | + |
857 | +form ul.errorlist { |
858 | + display: inline-block; |
859 | + line-height: 1em; |
860 | + vertical-align: top; |
861 | +} |
862 | + |
863 | +form .error { |
864 | + width: 184px; /* 224 - 30 */ |
865 | + height: 20px; |
866 | + display: inline-block; |
867 | + padding-left: 30px; |
868 | + line-height: 1em; |
869 | + vertical-align: top; |
870 | + padding-top: 4px; |
871 | +} |
872 | + |
873 | +form .help { |
874 | + position: absolute; |
875 | + z-index: 10; |
876 | + right: 16px; |
877 | + width: 20px; |
878 | +} |
879 | + |
880 | +label { |
881 | + display: block; |
882 | + margin-bottom: 4px; |
883 | +} |
884 | + |
885 | +label.inline { |
886 | + display: inline-block; |
887 | + vertical-align: middle; |
888 | +} |
889 | + |
890 | +legend { |
891 | + width: 100%; |
892 | + position: relative; |
893 | + padding: 8px; |
894 | + margin: 0 -8px; |
895 | +} |
896 | + |
897 | +legend span.supporting { |
898 | + position: absolute; |
899 | + right: 8px; |
900 | +} |
901 | + |
902 | +fieldset { |
903 | + position: relative; |
904 | + margin-bottom: 16px; |
905 | + padding: 8px; |
906 | +} |
907 | + |
908 | +input[type="text"], input[type="password"], select, textarea { |
909 | + width: 286px; |
910 | + height: 20px; |
911 | + margin-right: 16px; |
912 | + margin-bottom: 8px; |
913 | +} |
914 | + |
915 | +textarea, select[multiple="multiple"] { |
916 | + min-width: 286px; |
917 | + max-width: 286px; |
918 | + min-height: 20px; |
919 | + height: 100px; |
920 | +} |
921 | + |
922 | +input[type="checkbox"], input[type="radio"] { |
923 | + margin-top: 0px; |
924 | + margin-bottom: 8px; |
925 | +} |
926 | + |
927 | +input[type="text"]:focus, input[type="password"]:focus { |
928 | + width: 284px; |
929 | + height: 18px; |
930 | +} |
931 | + |
932 | +input[type="text"].small, input[type="password"].small, select.small { |
933 | + width: 134px; |
934 | +} |
935 | + |
936 | +input[type="text"].small:focus, input[type="password"].small:focus, select.small:focus { |
937 | + width: 132px; |
938 | +} |
939 | + |
940 | +input[type="submit"] { |
941 | + padding: 10px 8px; |
942 | +} |
943 | +/* END Form Layout */ |
944 | + |
945 | +.showcase-item { |
946 | + float: left; |
947 | + margin: 5px 10px; |
948 | + padding: 10px; |
949 | + width: 280px; |
950 | +} |
951 | + |
952 | +.showcase-heading { |
953 | + margin: 5px 0px 10px; |
954 | + width: 280px; |
955 | +} |
956 | + |
957 | +.showcase-subheading { |
958 | + margin: 5px 0px 10px; |
959 | + width: 280px; |
960 | +} |
961 | + |
962 | +.showcase-text { |
963 | + margin: 5px 0px 10px; |
964 | + width: 280px; |
965 | +} |
966 | + |
967 | +.showcase-figure { |
968 | + float: left; |
969 | + margin: 5px 10px; |
970 | + padding: 10px; |
971 | + position: relative; |
972 | + width: 600px; |
973 | +} |
974 | + |
975 | +.showcase-img { |
976 | + display: block; |
977 | + margin: 0px; |
978 | + padding: 0px; |
979 | + position: relative; |
980 | + width: 600px; |
981 | +} |
982 | + |
983 | +.showcase-caption { |
984 | + position: absolute; |
985 | + bottom: 0px; |
986 | + left: 0px; |
987 | + margin: 0px 10px 10px; |
988 | + padding: 10px; |
989 | + width: 580px; |
990 | +} |
991 | + |
992 | +#showcase-nav { |
993 | + clear: both; |
994 | + margin: 5px 10px; |
995 | + padding: 0px 10px; |
996 | + width: 920px; |
997 | +} |
998 | + |
999 | + #showcase-nav /* progressive */ { |
1000 | + -webkit-border-radius: 8px; |
1001 | + -moz-border-radius: 8px; |
1002 | + -moz-box-shadow: 0px 1px 1px #dfdfdf; |
1003 | + -webkit-box-shadow: 0px 1px 1px #ccc; |
1004 | + } |
1005 | + |
1006 | +.showcase-nav-item { |
1007 | + padding-right: 10px |
1008 | +} |
1009 | + |
1010 | +.showcase-nav-item, .showcase-nav-item:visited { |
1011 | + color: #333; |
1012 | + display: block; |
1013 | + float: left; |
1014 | + line-height: 40px; |
1015 | + margin: 0 1px; |
1016 | + padding: 0 15px; |
1017 | +} |
1018 | + |
1019 | +.showcase-nav-item:hover, .showcase-nav-item:active, .showcase-nav-item:focus { |
1020 | + border: 1px solid #ddd; |
1021 | + border-top: 0px solid; |
1022 | + border-bottom: 0px solid; |
1023 | + background-color: #efefef; |
1024 | + color: #DD4814; |
1025 | + margin: 0; |
1026 | +} |
1027 | + |
1028 | +.main-content { |
1029 | + clear: both; |
1030 | + float: left; |
1031 | + margin: 5px 10px; |
1032 | + padding: 10px; |
1033 | + width: 920px; |
1034 | +} |
1035 | + |
1036 | +.minor-content { |
1037 | + float: left; |
1038 | + margin: 5px 10px; |
1039 | + padding: 10px; |
1040 | + width: 440px; |
1041 | +} |
1042 | + |
1043 | +.side-content { |
1044 | + float: left; |
1045 | + margin: 5px 10px; |
1046 | + padding: 10px; |
1047 | + width: 280px; |
1048 | +} |
1049 | + |
1050 | +.sub-content { |
1051 | + float: left; |
1052 | + margin: 5px 10px; |
1053 | + padding: 10px; |
1054 | + width: 120px; |
1055 | +} |
1056 | + |
1057 | +p { |
1058 | + padding: 5px 0px 10px |
1059 | +} |
1060 | + |
1061 | +.divide { |
1062 | + border: 0px solid; |
1063 | + clear: both; |
1064 | + font-size: 0px; |
1065 | + height: 1px; |
1066 | + margin: -1px 0px 0px; |
1067 | +} |
1068 | + |
1069 | +.divide-showcase { |
1070 | + border: 0px solid; |
1071 | + clear: both; |
1072 | + font-size: 0px; |
1073 | + height: 1px; |
1074 | + margin: -1px 0px 25px; |
1075 | +} |
1076 | + |
1077 | +#blog-posts { |
1078 | + float: left; |
1079 | + margin: 5px 10px; |
1080 | + padding: 10px; |
1081 | + width: 600px; |
1082 | +} |
1083 | + |
1084 | +.blog-post { |
1085 | + clear: both; |
1086 | + margin-bottom: 10px; |
1087 | + padding-bottom: 10px; |
1088 | +} |
1089 | + |
1090 | +.post-figure { |
1091 | + float: right; |
1092 | + margin: 10px 0px 10px 10px; |
1093 | + padding: 0px; |
1094 | + position: relative; |
1095 | + width: 260px; |
1096 | +} |
1097 | + |
1098 | +.post-img { |
1099 | + display: block; |
1100 | + margin: 0px; |
1101 | + padding: 0px; |
1102 | + position: relative; |
1103 | + width: 260px; |
1104 | +} |
1105 | + |
1106 | +.post-img-caption { |
1107 | + position: absolute; |
1108 | + bottom: 0px; |
1109 | + left: 0px; |
1110 | + padding: 10px; |
1111 | + width: 240px; |
1112 | +} |
1113 | + |
1114 | +.comments-count { |
1115 | + clear: both; |
1116 | + display: block; |
1117 | + font-style: italic; |
1118 | + color: #999; |
1119 | + text-align: right; |
1120 | +} |
1121 | + |
1122 | +#blog-aside { |
1123 | + float: left; |
1124 | + margin: 5px 10px; |
1125 | + padding: 0px; |
1126 | + width: 300px; |
1127 | +} |
1128 | + |
1129 | +.widgets-aside { |
1130 | + float: left; |
1131 | + margin: 5px 0px 15px; |
1132 | + padding: 10px; |
1133 | + width: 280px; |
1134 | +} |
1135 | + |
1136 | + .widgets-aside /* progressive */ { |
1137 | + -webkit-border-radius: 8px; |
1138 | + -moz-border-radius: 8px; |
1139 | + -moz-box-shadow: 0px 1px 1px #dfdfdf; |
1140 | + -webkit-box-shadow: 0px 1px 1px #ccc; |
1141 | + } |
1142 | + |
1143 | +.pagination { |
1144 | + clear: both; |
1145 | + text-align: center; |
1146 | +} |
1147 | + |
1148 | +.footer-content { |
1149 | + float: left; |
1150 | + margin: 5px 10px; |
1151 | + padding: 10px; |
1152 | + width: 120px; |
1153 | +} |
1154 | + |
1155 | + .footer-content dd { |
1156 | + margin-bottom: 15px |
1157 | + } |
1158 | + |
1159 | +.foot-note { |
1160 | + clear: both; |
1161 | + margin: 15px 10px 0px; |
1162 | + padding: 10px; |
1163 | + width: 920px; |
1164 | +} |
1165 | + |
1166 | +.plugin { |
1167 | + margin: 0 -10px; |
1168 | + padding: 0px; |
1169 | + width: 980px; |
1170 | +} |
1171 | + |
1172 | +/*- Decoration |
1173 | +-------------------------------------------------------------------------------------------------------- */ |
1174 | + |
1175 | +body { |
1176 | + background: url("../images/dotted.png") repeat scroll 0 0 #FFFFFF; |
1177 | + color: #333333; |
1178 | +} |
1179 | + |
1180 | +#top-nav { |
1181 | + background-color:#ffffff; |
1182 | +} |
1183 | + |
1184 | +.top-nav-item, .top-nav-item:visited { |
1185 | + color:#333333; |
1186 | +} |
1187 | + |
1188 | +.top-nav-item:hover { |
1189 | + text-decoration: underline; |
1190 | +} |
1191 | + |
1192 | +.top-login-item { |
1193 | + color:#dd4814; |
1194 | +} |
1195 | + |
1196 | +.top-login-item:hover { |
1197 | + text-decoration: underline; |
1198 | +} |
1199 | + |
1200 | +#page-header { |
1201 | + background: url("../images/header.png") repeat-x scroll 0 0 #DD4814; |
1202 | + height: 70px; |
1203 | +} |
1204 | + |
1205 | + #page-header .container { |
1206 | + background: url("../images/header.png") repeat-x scroll 0 0 #DD4814 |
1207 | + } |
1208 | + |
1209 | +#top-logo { |
1210 | + color: #fff; |
1211 | + line-height: 1.5em; |
1212 | + text-align: right; |
1213 | +} |
1214 | + |
1215 | +#the-logo { |
1216 | + background: url("http://www.ubuntu.com/sites/default/themes/ubuntu10/logo.png"); |
1217 | + width: 118px; |
1218 | + height: 27px; |
1219 | + display: block; |
1220 | + clear: both; |
1221 | + float: right |
1222 | +} |
1223 | + |
1224 | +#loco { |
1225 | + clear: both; |
1226 | + display: block; |
1227 | + float: right; |
1228 | + color: #fff; |
1229 | +} |
1230 | + |
1231 | +#main-nav { |
1232 | + border-left: 1px solid #EF7149; |
1233 | + z-index: 10; |
1234 | +} |
1235 | + |
1236 | +#page-related { |
1237 | + background-color: #FFFFFF |
1238 | +} |
1239 | + |
1240 | +#sub-nav-container { |
1241 | + background-color: #F7F7F7; |
1242 | + border-bottom-left-radius: 8px; |
1243 | + border-bottom-right-radius: 8px; |
1244 | +} |
1245 | + |
1246 | +#pop-up-text { |
1247 | + font-weight: bold; |
1248 | + line-height: 20px; |
1249 | + padding: 0px 5px; |
1250 | +} |
1251 | + |
1252 | +.login-label { |
1253 | + height: 16px; |
1254 | + margin: 7px 0px 7px 9px; |
1255 | + padding: 3px; |
1256 | +} |
1257 | + |
1258 | +#username, #password { |
1259 | + background-color: #f0f0f0; |
1260 | + border: 1px solid #CCCCCC; |
1261 | + height: 16px; |
1262 | + margin: 7px 0px 7px 9px; |
1263 | + padding: 3px; |
1264 | + width: 110px; |
1265 | +} |
1266 | + |
1267 | +#login { |
1268 | + background-color: #f0f0f0; |
1269 | + border: 1px solid #CCCCCC; |
1270 | + height: 24px; |
1271 | + margin: 7px 9px 7px 7px; |
1272 | + padding: 2px; |
1273 | +} |
1274 | + |
1275 | +#login:hover { |
1276 | + background-color: #f7f7f7; |
1277 | + border: 1px solid #DD4814; |
1278 | +} |
1279 | + |
1280 | +#join:hover, #join:active, #join:focus { |
1281 | + color: #DD4814; |
1282 | + text-shadow: 1px 1px 2px #999; |
1283 | +} |
1284 | + |
1285 | +#join, #join:visited { |
1286 | + color: #333 |
1287 | +} |
1288 | + |
1289 | +/* Form decoration */ |
1290 | +form ul { |
1291 | + list-style-type: none; |
1292 | +} |
1293 | + |
1294 | +form .error { |
1295 | + background-image: url('../images/error.png'); |
1296 | + background-repeat: no-repeat; |
1297 | +} |
1298 | + |
1299 | +form .help { |
1300 | + background-image: url('../images/help.png'); |
1301 | + background-repeat: no-repeat; |
1302 | +} |
1303 | + |
1304 | +form .smalltext { |
1305 | + color: #333333; |
1306 | +} |
1307 | + |
1308 | +label { |
1309 | + color: #333333; |
1310 | +} |
1311 | + |
1312 | +label.required:after { |
1313 | + color: #DD4814; |
1314 | + content: " *"; |
1315 | +} |
1316 | + |
1317 | +legend { |
1318 | + background-color: #aea79f; |
1319 | + color: #ffffff; |
1320 | +} |
1321 | + |
1322 | +legend span.supporting { |
1323 | + color: #ffffff; |
1324 | +} |
1325 | + |
1326 | +legend span.supporting:before { |
1327 | + color: #DD4814; |
1328 | + content: "* "; |
1329 | +} |
1330 | + |
1331 | +fieldset { |
1332 | + background-color: #dfdcd9; |
1333 | +} |
1334 | + |
1335 | +input[type="text"], input[type="password"], select, textarea { |
1336 | + color: #333333; |
1337 | + border: 1px solid #ccc1c1; |
1338 | + background-color: white; |
1339 | +} |
1340 | + |
1341 | +input[type="submit"][disabled="disabled"], input[type="submit"][disabled="disabled"]:hover { |
1342 | + background-color:#AEA79F; |
1343 | + text-shadow: none; |
1344 | +} |
1345 | + |
1346 | +input[type="text"]:focus, input[type="password"]:focus { |
1347 | + border: 2px solid #dd4814; |
1348 | + color: #333333; |
1349 | +} |
1350 | + |
1351 | +select:focus { |
1352 | + border: 2px solid #dd4814; |
1353 | + color: #333333; |
1354 | +} |
1355 | + |
1356 | +input[type="text"].error, input[type="password"].error, select.error { |
1357 | + border: 2px solid #dd4814; |
1358 | + color: #dd4814; |
1359 | +} |
1360 | + |
1361 | +input[type="submit"] { |
1362 | + border-radius: 4px; |
1363 | + background: #dd4814 url('../images/gradient.png') repeat-x; |
1364 | + color: #ffffff; |
1365 | + border: none; |
1366 | + text-shadow: black 0px 1px 2px; |
1367 | +} |
1368 | + |
1369 | +input[type="submit"]:hover { |
1370 | + background-color: #b83a0f; |
1371 | +} |
1372 | + |
1373 | +input[type="submit"]:active { |
1374 | + background-color: #962d0c; |
1375 | +} |
1376 | +/* END Form decoration */ |
1377 | + |
1378 | + |
1379 | +FORM.search_form INPUT, #searchbox { |
1380 | + background-color: #f0f0f0; |
1381 | + border: 1px solid #CCCCCC; |
1382 | + height: 16px; |
1383 | + margin: 7px 0px 7px 9px; |
1384 | + padding: 3px; |
1385 | + width: 180px; |
1386 | +} |
1387 | + |
1388 | +FORM.search_form INPUT, #searchbox:focus { |
1389 | + background-color: #f7f7f7; |
1390 | + border: 1px solid #DD4814; |
1391 | +} |
1392 | + |
1393 | +#go-search { |
1394 | + background-color: #f0f0f0; |
1395 | + border: 1px solid #CCCCCC; |
1396 | + height: 24px; |
1397 | + margin: 7px 9px 7px 0px; |
1398 | + padding: 2px; |
1399 | +} |
1400 | + |
1401 | +#go-search:hover { |
1402 | + background-color: #f7f7f7; |
1403 | + border: 1px solid #DD4814; |
1404 | +} |
1405 | + |
1406 | +#more-search:hover, #more-search:active, #more-search:focus { |
1407 | + background-color: #f7f7f7; |
1408 | + border: 1px solid #DD4814; |
1409 | + color: #DD4814; |
1410 | + text-shadow: 1px 1px 2px #999; |
1411 | +} |
1412 | + |
1413 | +#more-search, #more-search:visited { |
1414 | + background-color: #f0f0f0; |
1415 | + border: 1px solid #CCCCCC; |
1416 | + color: #333; |
1417 | + height: 16px; |
1418 | + margin: 7px 7px 7px 0px; |
1419 | + padding: 1px 3px; |
1420 | +} |
1421 | + |
1422 | +table.basic thead { |
1423 | + background-color:#aea79f; |
1424 | +} |
1425 | + |
1426 | +table.basic tfoot, table.basic tr.subsection { |
1427 | + background-color:#dfdcd9; |
1428 | +} |
1429 | + |
1430 | +table.basic tbody tr { |
1431 | + border-bottom:1px dotted #cccccc; |
1432 | +} |
1433 | + |
1434 | +table.basic thead th { |
1435 | + color:#ffffff; |
1436 | +} |
1437 | + |
1438 | +table.basic tfoot td, table.basic tbody td { |
1439 | + color:#333333; |
1440 | +} |
1441 | + |
1442 | +table.basic thead a { |
1443 | + color:#ffffff; |
1444 | +} |
1445 | + |
1446 | +table.basic tfoot a { |
1447 | + color:#333333; |
1448 | +} |
1449 | + |
1450 | +table.basic tbody a { |
1451 | + color:#dd4814; |
1452 | +} |
1453 | + |
1454 | +.showcase-caption { |
1455 | + background-color: #000; |
1456 | + background-color: rgba(0,0,0,0.4); |
1457 | + color: #fff; |
1458 | +} |
1459 | + |
1460 | +#showcase-nav { |
1461 | + background-color: #f7f7f7; |
1462 | + border-radius: 8px; |
1463 | + box-shadow: 0px 1px 1px #dfdfdf; |
1464 | + height: 40px; |
1465 | +} |
1466 | + |
1467 | +#main-section .container { |
1468 | + background-color: #fff; |
1469 | + background-image: none; |
1470 | + padding: 0px 10px 10px; |
1471 | + position: relative; |
1472 | + width: 960px; |
1473 | +} |
1474 | + |
1475 | +.alone, .leading, .aggregator { |
1476 | + background-color: #f7f7f7; |
1477 | + border-radius: 8px; |
1478 | + box-shadow: 0px 1px 1px #dfdfdf; |
1479 | + float: left; |
1480 | +} |
1481 | + |
1482 | + .alone, .leading, .aggregator /* progressive */ { |
1483 | + -webkit-border-radius: 8px; |
1484 | + -moz-border-radius: 8px; |
1485 | + -moz-box-shadow: 0px 1px 1px #dfdfdf; |
1486 | + -webkit-box-shadow: 0px 1px 1px #ccc; |
1487 | + } |
1488 | + |
1489 | + .aggregator .first { |
1490 | + margin-left: 0px |
1491 | + } |
1492 | + |
1493 | + .aggregator .last { |
1494 | + margin-right: 0px |
1495 | + } |
1496 | + |
1497 | +.aggregator { |
1498 | + margin: 5px 10px |
1499 | +} |
1500 | + |
1501 | +.post-header { |
1502 | + border-bottom: 1px dotted #333333; |
1503 | + margin-bottom: 10px; |
1504 | + padding-bottom: 5px; |
1505 | +} |
1506 | + |
1507 | +.post-meta { |
1508 | + color: #999; |
1509 | + font-size: 0.85em; |
1510 | + font-style: italic; |
1511 | +} |
1512 | + |
1513 | +.post-title-link:hover, .post-title-link:active, .post-title-link:focus { |
1514 | + color: #DD4814; |
1515 | + text-shadow: 1px 1px 2px #999; |
1516 | +} |
1517 | + |
1518 | +.post-title-link, .post-title-link:visited { |
1519 | + color: #333 |
1520 | +} |
1521 | + |
1522 | +.post-img-caption { |
1523 | + background-color: #000; |
1524 | + background-color: rgba(0,0,0,0.4); |
1525 | + color: #fff; |
1526 | +} |
1527 | + |
1528 | +.pagination { |
1529 | + border-top: 1px solid #333; |
1530 | + color: #fff; |
1531 | + margin-top: 15px; |
1532 | + padding-top: 15px; |
1533 | +} |
1534 | + |
1535 | +.pagination-item { |
1536 | + border-bottom: 1px solid #333; |
1537 | + color: #333; |
1538 | + margin-right: 5px; |
1539 | + padding: 2px 6px; |
1540 | +} |
1541 | + |
1542 | +.pagination-item:hover { |
1543 | + border-bottom: 1px solid #DD4814; |
1544 | + background-color: #f7f7f7; |
1545 | + color: #DD4814; |
1546 | +} |
1547 | + |
1548 | +.pagination-item.current { |
1549 | + background-color: #f7f7f7; |
1550 | + border-bottom: 1px solid #333; |
1551 | + color: #333; |
1552 | + font-weight: bold; |
1553 | +} |
1554 | + |
1555 | +.widgets-aside { |
1556 | + background-color: #f7f7f7; |
1557 | + border-radius: 8px; |
1558 | + box-shadow: 0px 1px 1px #dfdfdf; |
1559 | +} |
1560 | + |
1561 | +.widget-links { |
1562 | + list-style: none |
1563 | +} |
1564 | + |
1565 | +.a-item { |
1566 | + display: block; |
1567 | + margin-top: 3px; |
1568 | +} |
1569 | + |
1570 | +.side-link:hover, .side-link:active, .side-link:focus { |
1571 | + background-color: #fff; |
1572 | + border-right: 3px solid #DD4814; |
1573 | + color: #DD4814; |
1574 | + text-decoration: none; |
1575 | +} |
1576 | + |
1577 | +.side-link, .side-link:visited { |
1578 | + color: #333333; |
1579 | + display: block; |
1580 | + padding-right: 3px; |
1581 | +} |
1582 | + |
1583 | +#login-widget { |
1584 | + text-align: center |
1585 | +} |
1586 | + |
1587 | +#page-footer { |
1588 | + background: url("../images/footer.png") repeat-x scroll 0 0 #EEECEA |
1589 | +} |
1590 | + |
1591 | + #page-footer .container { |
1592 | + background: url("../images/footer.png") repeat-x scroll 0 0 #EEECEA; |
1593 | + padding: 0px 10px; |
1594 | + width: 960px; |
1595 | + } |
1596 | + |
1597 | + #page-footer .container div.copyright { |
1598 | + font-size: 10px; |
1599 | + line-height: 14px; |
1600 | + color: #aea79f; |
1601 | + } |
1602 | + |
1603 | +.footer-links { |
1604 | + list-style: none |
1605 | +} |
1606 | + |
1607 | +.footer-item { |
1608 | + border-bottom: 1px dotted #333; |
1609 | + display: block; |
1610 | + margin-top: 3px; |
1611 | +} |
1612 | + |
1613 | +.foot-note { |
1614 | + color: #999; |
1615 | + font-style: italic; |
1616 | +} |
1617 | + |
1618 | +.footer-link:hover, .footer-link:active, .footer-link:focus { |
1619 | + color: #DD4814; |
1620 | + text-decoration: underline; |
1621 | +} |
1622 | + |
1623 | +.footer-link, .footer-link:visited { |
1624 | + color: #333333 |
1625 | +} |
1626 | + |
1627 | +.footer-link-main:hover, .footer-link-main:active, .footer-link-main:focus { |
1628 | + color: #DD4814; |
1629 | + text-decoration: underline; |
1630 | +} |
1631 | + |
1632 | +.footer-link-main, .footer-link-main:visited { |
1633 | + |
1634 | +} |
1635 | + |
1636 | +/*- Forum Decoration [Demo] |
1637 | +-------------------------------------------------------------------------------------------------------- */ |
1638 | + |
1639 | +.forum-title { |
1640 | + background-color: #efefef; |
1641 | + margin: 10px 0px; |
1642 | + padding: 20px; |
1643 | +} |
1644 | + |
1645 | +.forum-item { |
1646 | + border-top: 1px dotted #999 |
1647 | +} |
1648 | + |
1649 | +.cat-title, .sub-sections { |
1650 | + font-size: 0.75em; |
1651 | + /* 16x0.75 =12 */ |
1652 | +} |
1653 | + |
1654 | +.latest, .post-count { |
1655 | + font-size: 0.75em; |
1656 | + /* 16x0.75 =12 */ line-height: 1.2em; |
1657 | +} |
1658 | + |
1659 | +.cat-title, .post-count, .latest { |
1660 | + padding: 10px; |
1661 | + vertical-align: middle; |
1662 | +} |
1663 | + |
1664 | +.forum-title-link:hover, .forum-title-link:active, .forum-title-link:focus { |
1665 | + color: #DD4814; |
1666 | + text-shadow: 1px 1px 2px #999; |
1667 | +} |
1668 | + |
1669 | +.forum-title-link, .forum-title-link:visited { |
1670 | + color: #333 |
1671 | +} |
1672 | + |
1673 | +.status { |
1674 | + background-color: #efefef; |
1675 | + padding: 10px 5px; |
1676 | + vertical-align: middle; |
1677 | + width: 30px; |
1678 | +} |
1679 | + |
1680 | +.latest { |
1681 | + width: 180px |
1682 | +} |
1683 | + |
1684 | +.post-count { |
1685 | + width: 120px |
1686 | +} |
1687 | + |
1688 | +.sub-sections { |
1689 | + background-color: #efefef; |
1690 | + padding: 5px 10px 10px; |
1691 | +} |
1692 | + |
1693 | +.post-count { |
1694 | + background-color: #efefef |
1695 | +} |
1696 | + |
1697 | +.count { |
1698 | + display: block; |
1699 | + font-style: italic; |
1700 | +} |
1701 | + |
1702 | +/* KuZeKo web@kuzeko.com |
1703 | +-------------------------------------------------------------------------------------------------------- */ |
1704 | |
1705 | === added file 'themes/ubuntu/static/newstyle.css' |
1706 | --- themes/ubuntu/static/newstyle.css 1970-01-01 00:00:00 +0000 |
1707 | +++ themes/ubuntu/static/newstyle.css 2011-07-22 14:59:30 +0000 |
1708 | @@ -0,0 +1,592 @@ |
1709 | +/* |
1710 | + * newstyle.css |
1711 | + * |
1712 | + * Base style for the LoCo Directory. This is an implementation |
1713 | + * of the ( at the time of this writing ) new Ubuntu branding. |
1714 | + * |
1715 | + * Author: Michael Hall ( mhall119 ) |
1716 | + * Author: Paul Tagliamonte ( paultag ) |
1717 | + */ |
1718 | + |
1719 | +h1.centered { |
1720 | + text-align: center; |
1721 | +} |
1722 | + |
1723 | +a { |
1724 | + color: #DD4814; |
1725 | +} |
1726 | + |
1727 | +a:visited { |
1728 | + color: #b12a10; |
1729 | +} |
1730 | + |
1731 | +th.form-item-label { |
1732 | + vertical-align: top; |
1733 | +} |
1734 | + |
1735 | +td.no-wrap { |
1736 | + white-space: nowrap; |
1737 | +} |
1738 | + |
1739 | +/* |
1740 | +label { |
1741 | + font-weight: bold; |
1742 | + white-space: nowrap; |
1743 | +} |
1744 | +*/ |
1745 | + |
1746 | +.minor-content.venue-map { |
1747 | + min-height: 350px; |
1748 | + margin-top: 60px; |
1749 | +} |
1750 | + |
1751 | +#main-content { |
1752 | + margin-right: 20px; |
1753 | +} |
1754 | + |
1755 | +li.col_left { |
1756 | + float: left; |
1757 | + width: 45%; |
1758 | + clear: left; |
1759 | +} |
1760 | + |
1761 | +li.col_right { |
1762 | + float: right; |
1763 | + width: 45%; |
1764 | + clear: right; |
1765 | +} |
1766 | + |
1767 | +li.approved { |
1768 | + list-style-image: url(../img/approved.png); /* Colorful Ubuntu Logo */ |
1769 | +} |
1770 | + |
1771 | +li.unapproved { |
1772 | + list-style-image: url(../img/unapproved.png); /* Grey Ubuntu Logo */ |
1773 | +} |
1774 | + |
1775 | +ol.agenda-list, .agenda-list ol, .agenda-list li { |
1776 | + padding: 2px 10px !important; |
1777 | +} |
1778 | + |
1779 | +.relative { |
1780 | + position: relative; |
1781 | +} |
1782 | + |
1783 | +br.clear { |
1784 | + clear: left; |
1785 | +} |
1786 | + |
1787 | +#main-content .object-detail { |
1788 | + -moz-border-radius: 15px; |
1789 | + -webkit-border-radius: 15px; |
1790 | + |
1791 | + border: 2px solid #ccc; |
1792 | + border-bottom: 4px solid #bbb; |
1793 | + border-right: 4px solid #bbb; |
1794 | + border-top: 2px solid #ddd; |
1795 | + min-height: 500px; |
1796 | + text-align: left; |
1797 | +} |
1798 | + |
1799 | +#main-content .object-detail #options-left ul { |
1800 | + position: relative; |
1801 | + left: -60px; |
1802 | +} |
1803 | + |
1804 | +#main-content .object-detail #options-right ul { |
1805 | + position: relative; |
1806 | +} |
1807 | + |
1808 | +#main-content .object-detail #options-left li { |
1809 | + float: left; |
1810 | + margin-left: 5px; |
1811 | + display: inline; |
1812 | +} |
1813 | + |
1814 | +#main-content .object-detail #options-right li { |
1815 | + float: right; |
1816 | + margin-right: 5px; |
1817 | + text-align: right; |
1818 | + display: inline; |
1819 | +} |
1820 | + |
1821 | +#main-content .object-detail .option { |
1822 | + width: 32px; |
1823 | + height: 32px; |
1824 | + display: block; |
1825 | + text-decoration: none; |
1826 | +} |
1827 | + |
1828 | +#main-content .object-detail a.goback { |
1829 | + background: transparent url('../img/goback.png') no-repeat scroll top right; |
1830 | +} |
1831 | + |
1832 | +#main-content .object-detail a.edit { |
1833 | + background: transparent url('../img/edit.png') no-repeat scroll top right; |
1834 | +} |
1835 | + |
1836 | +#main-content .object-detail a.delete { |
1837 | + background: transparent url('../img/delete.png') no-repeat scroll top right; |
1838 | +} |
1839 | + |
1840 | +#main-content .object-detail a.add-team-event { |
1841 | + background: transparent url('../img/new_event.png') no-repeat scroll top right; |
1842 | +} |
1843 | + |
1844 | +#main-content .object-detail a.add-comment { |
1845 | + background: transparent url('../img/comment.png') no-repeat scroll top right; |
1846 | +} |
1847 | + |
1848 | +.resource { |
1849 | + width: 32px; |
1850 | + height: 32px; |
1851 | + padding: 2px; |
1852 | + margin-top: 4px; |
1853 | + margin-bottom: 3px; |
1854 | + float: left; |
1855 | + border: 1px white solid; |
1856 | +} |
1857 | + |
1858 | +#main-content .resource:hover { |
1859 | + border: 1px #eee solid; |
1860 | +} |
1861 | + |
1862 | +#page-footer .container div.copyright { |
1863 | + font-size: 0.75em; |
1864 | + line-height: 1.5em; |
1865 | +} |
1866 | + |
1867 | +#page-footer .container div.loggedin { |
1868 | + font-size: 0.75em; |
1869 | + line-height: 1.5em; |
1870 | + float: left; |
1871 | + width: 400px; |
1872 | + margin-bottom: 10px; |
1873 | + margin-top: 5px; |
1874 | +} |
1875 | + |
1876 | +#page-footer .container div.lang_switcher { |
1877 | + font-size: 0.75em; |
1878 | + line-height: 1.5em; |
1879 | + float: right; |
1880 | + margin-bottom: 10px; |
1881 | + margin-top: 5px; |
1882 | + margin-right: 14px; |
1883 | +} |
1884 | + |
1885 | +.team-event-nav { |
1886 | + border-bottom: 1px gray solid; |
1887 | + list-style: none; |
1888 | + padding: 1px 0px 1px 5px; |
1889 | + margin: 5px 0px 5px 0px; |
1890 | +} |
1891 | + |
1892 | +.team-event-nav li { |
1893 | + list-style: none; |
1894 | + margin: -1px 2px 0px 3px; |
1895 | + padding: 0px; |
1896 | + display: inline; |
1897 | +} |
1898 | + |
1899 | +.message .content-shim { |
1900 | + margin: 0px; /* buffer the bulb in */ |
1901 | + padding: 5px; /* un-suck the text */ |
1902 | + background-repeat: no-repeat; |
1903 | + background-image: url(../img/infobox-icon.png); |
1904 | + padding-left: 30px; /* infobox icon is 22x22 */ |
1905 | +} |
1906 | + |
1907 | +.message { |
1908 | + width: 70%; |
1909 | + margin-left: auto; |
1910 | + margin-right: auto; |
1911 | + background-color: #FFFFB6; |
1912 | + border-radius: 0px; |
1913 | + box-shadow: 0px 1px 1px #FFE4B6; |
1914 | +} |
1915 | + |
1916 | +.message { /* noncss 3. XXX: remove me in 20 years. */ |
1917 | + -webkit-border-radius: 8px; |
1918 | + -moz-border-radius: 8px; |
1919 | + -moz-box-shadow: 0px 0px 1px #FFE4B6; |
1920 | + -webkit-box-shadow: 0px 0px 1px #FFE4B6; |
1921 | +} |
1922 | + |
1923 | +/* UI Errors ( To yell at the user when they don't fill out a form ) */ |
1924 | + |
1925 | +/* |
1926 | +ul.errorlist { |
1927 | + margin: 0px; |
1928 | + padding: 0px; |
1929 | +} |
1930 | + |
1931 | +.errorlist li { |
1932 | + color: red; |
1933 | + font-weight: bold; |
1934 | + display: block; |
1935 | + font-size: 1.1em; |
1936 | + margin: 0px 0px 3px; |
1937 | + padding: 4px 5px; |
1938 | +} |
1939 | +*/ |
1940 | + |
1941 | + |
1942 | +/* Flickr Feed for Global Event */ |
1943 | + |
1944 | +.thumbs { |
1945 | + margin: 0px; |
1946 | + padding: 0px; |
1947 | + overflow: hidden; |
1948 | +} |
1949 | + |
1950 | +.thumbs li { |
1951 | + list-style: none; |
1952 | + float: left; |
1953 | + margin: 5px; |
1954 | + padding: 3px; |
1955 | + background: #eee; |
1956 | + -moz-box-shadow: 0px 0px 4px #444; |
1957 | + -webkit-box-shadow: 0px 0px 2px #000; |
1958 | +} |
1959 | + |
1960 | +.thumbs li a { } |
1961 | +.thumbs li img { display: block; } |
1962 | +.thumbs li a img { border: none;} |
1963 | + |
1964 | +aside#top-nav { |
1965 | + width: 980px; |
1966 | +} |
1967 | + |
1968 | +header#page-header { |
1969 | + width: 960px; |
1970 | + margin: 0px auto; |
1971 | + padding: 0px 10px; |
1972 | + position: relative; |
1973 | +} |
1974 | + |
1975 | +footer#page-footer { |
1976 | + width: 960px; |
1977 | + margin: 0px auto; |
1978 | + padding: 0px 10px; |
1979 | + position: relative; |
1980 | +} |
1981 | + |
1982 | +#page-footer div.container { width: 940px; } |
1983 | + |
1984 | + |
1985 | + |
1986 | +/*#venue-list ul,*/ |
1987 | +.venue-list{ |
1988 | + overflow:auto; |
1989 | +} |
1990 | + |
1991 | + |
1992 | +.venue-list h3 { |
1993 | + color: #333; |
1994 | + padding: 10px 0px 10px 10px; |
1995 | + background: white url(/ubuntu-website/media/images/dotted.png) repeat scroll 0px 0px; |
1996 | + margin-bottom: 0; |
1997 | +} |
1998 | + |
1999 | +.venue-list ul { |
2000 | + display: block; |
2001 | + float: left; |
2002 | + list-style-image: none; |
2003 | + list-style-type: none; |
2004 | + padding: 4px 0px 5px 5px; |
2005 | + text-indent: 0px; |
2006 | + width: 915px; |
2007 | + background-color:#F7F7F7; |
2008 | +} |
2009 | + |
2010 | +.venue-list ul li { |
2011 | + list-style-image: none; |
2012 | + list-style-type: none; |
2013 | + text-indent: 0px; |
2014 | + width: 200px; |
2015 | + margin-right: 22px; |
2016 | + margin-bottom: 5px; |
2017 | + padding-left: 5px; |
2018 | + float: left; |
2019 | + font-size:12px; |
2020 | +} |
2021 | + |
2022 | +.venue-list ul li h3{ |
2023 | + padding: 0px; |
2024 | + background:#f7f6f5; |
2025 | + margin: 0px; |
2026 | + color: #333; |
2027 | + padding: 4px 0px; |
2028 | +} |
2029 | + |
2030 | + |
2031 | +.venue-list ul li p{ |
2032 | + font-size: 12px; |
2033 | + line-height: 16px; |
2034 | + margin: 0px; |
2035 | + padding: 0px; |
2036 | +} |
2037 | + |
2038 | +.venue-list ul li p a{ |
2039 | + border-bottom: 1px dotted #333; |
2040 | + clear: both; |
2041 | + display: block; |
2042 | + float: none; |
2043 | + padding: 5px 0px 3px; |
2044 | +} |
2045 | + |
2046 | +#site_search_form { |
2047 | + width: auto; |
2048 | +} |
2049 | +#site_search_form input#id_q { |
2050 | + background-color: #F0F0F0; |
2051 | + border: 1px solid #CCCCCC; |
2052 | + height: 16px; |
2053 | + margin: 7px 0 7px 9px; |
2054 | + padding: 3px; |
2055 | + width: 180px; |
2056 | +} |
2057 | + |
2058 | +form[name="lang-switcher"] { |
2059 | + width: auto; |
2060 | +} |
2061 | + |
2062 | +select[name="lang"] { |
2063 | + background: auto; |
2064 | + border: auto; |
2065 | + width: auto; |
2066 | + height: auto; |
2067 | + font-size: 1em; |
2068 | + margin: 0; |
2069 | +} |
2070 | + |
2071 | +/* TODO: date_begin and date_end should have class .small */ |
2072 | +#id_date_begin_0, #id_date_begin_1, #id_date_end_0, #id_date_end_1 { |
2073 | + width: 134px; |
2074 | +} |
2075 | +#id_date_begin_0:focus, #id_date_begin_1:focus, #id_date_end_0:focus, #id_date_end_1:focus { |
2076 | + width: 132px; |
2077 | +} |
2078 | +/* |
2079 | +.form { |
2080 | + width: 500px; |
2081 | + float:left; |
2082 | +} |
2083 | + |
2084 | +.form div{ |
2085 | + padding-top:2px; |
2086 | + padding-bottom:2px; |
2087 | +} |
2088 | + |
2089 | +.form div span.help{ |
2090 | + font-size:20px; |
2091 | + color: #DD4814; |
2092 | + cursor:pointer; |
2093 | + vertical-align: top; |
2094 | + display:inline; |
2095 | + |
2096 | +} |
2097 | + |
2098 | +.form input[type="text"], .form textarea, .form select { |
2099 | + padding: 5px; |
2100 | + width: 200px; |
2101 | + margin: 0px 0px 5px 0px; |
2102 | + border: 1px solid #ccc; |
2103 | +} |
2104 | + |
2105 | +.form input[type="text"] { |
2106 | + margin-right: 10px; |
2107 | +} |
2108 | + |
2109 | +.form input[type="checkbox"] { |
2110 | + width: 200px; |
2111 | + height:35px; |
2112 | + margin: 0px 0px 5px 0px; |
2113 | +} |
2114 | + |
2115 | +.form div div.field { |
2116 | + float: left; |
2117 | + padding-top: 5px; |
2118 | +} |
2119 | + |
2120 | +.form div.approved, .form div.approved_date, .form div.expires_date { |
2121 | + height:30px; |
2122 | +} |
2123 | + |
2124 | +.form span.extra { |
2125 | + float: left; |
2126 | + padding-top: 5px; |
2127 | + font-size:0.8em; |
2128 | +} |
2129 | + |
2130 | +.form div div.field label{ |
2131 | + float: left; |
2132 | + padding-right: 10px; |
2133 | + width: 170px; |
2134 | + font-size: 0.8em; |
2135 | + text-align: right; |
2136 | + font-weight:normal; |
2137 | +} |
2138 | + |
2139 | +.form div span.required { |
2140 | + font-size:20px; |
2141 | + color: red; |
2142 | + margin-left:5px; |
2143 | + vertical-align: top; |
2144 | + display:inline; |
2145 | +} |
2146 | + |
2147 | +.form textarea { |
2148 | + height: 90px; |
2149 | + width: 270px; |
2150 | +} |
2151 | + |
2152 | + |
2153 | +.form select:focus, .form textarea:focus, .form input:focus { |
2154 | + border: 1px solid #900; |
2155 | +} |
2156 | + |
2157 | +.form input.submit-button { |
2158 | + padding-left: 20px; |
2159 | + padding-right: 20px; |
2160 | + float: right; |
2161 | + margin-right: 50px; |
2162 | +} |
2163 | + |
2164 | +.form ul.errorlist { |
2165 | + margin: 0px; |
2166 | + padding: 0px; |
2167 | +} |
2168 | + |
2169 | +.form .errorlist li { |
2170 | + color: red; |
2171 | + font-weight: bold; |
2172 | + display: block; |
2173 | + font-size: 0.8em; |
2174 | + margin: 0px 130px 3px; |
2175 | + padding: 4px 5px; |
2176 | +} |
2177 | +*/ |
2178 | + |
2179 | +.attendee-cell { |
2180 | + padding-top:10px; |
2181 | +} |
2182 | + |
2183 | +.attendee-mugshot { |
2184 | + vertical-align: middle; |
2185 | +} |
2186 | + |
2187 | +.agenda-list { |
2188 | + list-style-type: decimal; |
2189 | +} |
2190 | + |
2191 | +.agenda-list .agenda-list { |
2192 | + margin-left: 20px; |
2193 | + list-style-type: lower-alpha; |
2194 | +} |
2195 | + |
2196 | +.agenda-list .agenda-list .agenda-list { |
2197 | + list-style-type: lower-roman; |
2198 | +} |
2199 | + |
2200 | +.agenda-list .agenda-list .agenda-list .agenda-list { |
2201 | + list-style-type: circle; |
2202 | +} |
2203 | + |
2204 | +.agenda-title { |
2205 | + font-weight: bold; |
2206 | +} |
2207 | + |
2208 | +.agenda-description { |
2209 | + margin-left: 30px; |
2210 | + font-size: 0.9em; |
2211 | +} |
2212 | + |
2213 | +#webchat { |
2214 | + display: none; |
2215 | + width: 900px; |
2216 | + margin: 0 auto; |
2217 | +} |
2218 | + |
2219 | +#ircchat { |
2220 | + display: block; |
2221 | + width: 900px; |
2222 | + margin: 0 auto; |
2223 | +} |
2224 | + |
2225 | +#locobranding { |
2226 | + width: 96px; |
2227 | + height: 96px; |
2228 | + position: absolute; |
2229 | + right: 10px; |
2230 | +} |
2231 | + |
2232 | +/* My Teams style */ |
2233 | +h2.dynamic-width { |
2234 | + display: inline-block; |
2235 | + margin-bottom: 0; |
2236 | +} |
2237 | + |
2238 | +.resources { |
2239 | + font-size: 0.75em; |
2240 | + float: right; |
2241 | + margin-top: 21px; |
2242 | +} |
2243 | + |
2244 | +.resources a { |
2245 | + margin-left: 8px; |
2246 | +} |
2247 | + |
2248 | +.photo a { |
2249 | + display: inline-block; |
2250 | + padding: 7px; |
2251 | +} |
2252 | + |
2253 | +.photo img { |
2254 | + width: 75px; |
2255 | +} |
2256 | + |
2257 | +.main-content-split { |
2258 | + width:450px; |
2259 | + margin-top: 15px; |
2260 | +} |
2261 | + |
2262 | +.main-content-split.left { |
2263 | + float: left; |
2264 | +} |
2265 | + |
2266 | +.main-content-split.right { |
2267 | + float: right; |
2268 | +} |
2269 | + |
2270 | +.main-content-split.left .title { |
2271 | + font-size: 0.875em; |
2272 | +} |
2273 | + |
2274 | +.main-content-split.left .new { |
2275 | + float: right; |
2276 | + font-size: 0.75em; |
2277 | +} |
2278 | + |
2279 | +.event-summary { |
2280 | + margin-top:15px; |
2281 | +} |
2282 | + |
2283 | +hr.no-top { |
2284 | + margin: 0 0; |
2285 | +} |
2286 | + |
2287 | +img.bottom { |
2288 | + vertical-align: bottom; |
2289 | +} |
2290 | + |
2291 | +ul.indent { |
2292 | + list-style: none; |
2293 | + background-color: #F7F7F7; |
2294 | + padding: 2px 2px 2px 15px; |
2295 | +} |
2296 | + |
2297 | +ul.indent li { |
2298 | + line-height:1.2em; |
2299 | + margin: 0.5em 0; |
2300 | +} |
2301 | |
2302 | === added file 'themes/ubuntu/theme.conf' |
2303 | --- themes/ubuntu/theme.conf 1970-01-01 00:00:00 +0000 |
2304 | +++ themes/ubuntu/theme.conf 2011-07-22 14:59:30 +0000 |
2305 | @@ -0,0 +1,9 @@ |
2306 | +[theme] |
2307 | +inherit = basic |
2308 | +stylesheet = default.css |
2309 | +pygments_style = none |
2310 | + |
2311 | +[options] |
2312 | +rightsidebar = false |
2313 | +stickysidebar = false |
2314 | +externalrefs = false |
The diff is not as bad as it looks. I'm quite happy with the changes (for a first start with the retheming). I would like to get somebody else's opinion though.
- daniel@miyazaki:~$ wget -q http:// loco.ubuntu. com/media/ css/newstyle. css miyazaki: ~$ diff -u newstyle.css bzr/ubuntu- packaging- guide.retheming /themes/ ubuntu/ static/ newstyle. css miyazaki: ~$
daniel@
daniel@
- Actual theme changes: http:// paste.ubuntu. com/642710/ (compared to standard sphinx theme)
- Changes in the CSS: miyazaki: ~$ bzr branch lp:ubuntu-website/light-django-theme
daniel@
Branched 31 revision(s).
daniel@ miyazaki: ~$ diff -u light-django- theme/media/ css/default. css bzr/ubuntu- packaging- guide.retheming /themes/ ubuntu/ static/ light-django- theme.css theme/media/ css/default. css 2011-07-12 17:29:45.334779000 +0200 packaging- guide.retheming /themes/ ubuntu/ static/ light-django- theme.css 2011-07-12 17:26:58.420591381 +0200
--- light-django-
+++ bzr/ubuntu-
@@ -876,11 +876,11 @@
}
#page-footer { /images/ footer. png") repeat-x scroll 0 0 #EEECEA
- background: url("..
+ background: url("footer.png") repeat-x scroll 0 0 #EEECEA
}
#page-footer .container { /images/ footer. png") repeat-x scroll 0 0 #EEECEA; miyazaki: ~$
- background: url("..
+ background: url("footer.png") repeat-x scroll 0 0 #EEECEA;
padding: 0px 10px;
width: 960px;
}
daniel@