Merge lp:~sinzui/launchpad/obsolete-styles into lp:launchpad
- obsolete-styles
- Merge into devel
Proposed by
Curtis Hovey
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~sinzui/launchpad/obsolete-styles | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
1188 lines (+7/-947) 4 files modified
lib/canonical/launchpad/icing/style-3-0.css (+6/-197) lib/canonical/launchpad/icing/style.css (+1/-733) lib/lp/bugs/templates/buglisting-embedded-advanced-search.pt (+0/-1) lib/lp/bugs/templates/person-packagebugs-search.pt (+0/-16) |
||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/obsolete-styles | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Henning Eggers (community) | code | Approve | |
Review via email: mp+15337@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Curtis Hovey (sinzui) wrote : | # |
Revision history for this message
Henning Eggers (henninge) wrote : | # |
Code deletions are always a great thing to review. Zap that obsolete stuff! ;-)
The code changes look good and thinking about it, python-style indentions in css-files are cool, too. ;)
All I could do was a check that this branch doesn't break anything big time on the pages by comparing the look of the pages on edge and dev. Thanks for normalizing some things, too.
review:
Approve
(code)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'lib/canonical/launchpad/icing/style-3-0.css' |
2 | --- lib/canonical/launchpad/icing/style-3-0.css 2009-11-23 15:16:51 +0000 |
3 | +++ lib/canonical/launchpad/icing/style-3-0.css 2009-11-27 23:35:24 +0000 |
4 | @@ -1,200 +1,3 @@ |
5 | -/* |
6 | - |
7 | -Reset 1.0 and 2.0 portlets and asides. |
8 | -Remove this section when the old templates and these declarations are gone. |
9 | - |
10 | -*/ |
11 | -#maincontent { |
12 | - clear: both; |
13 | - float: left; |
14 | - width: 100%; |
15 | - margin-right: -25%; |
16 | - } |
17 | -#maincontent ol, #maincontent ul { |
18 | - padding-left: auto; |
19 | - } |
20 | -.portlet, .aside { |
21 | - clear: none; |
22 | - float: none; |
23 | - margin: 0; |
24 | - } |
25 | -#portlets .portlet, div.aside { |
26 | - background-color: inherit !important; |
27 | - border: none; |
28 | - margin: 0; |
29 | - color: inherit !important; |
30 | - padding: 0; |
31 | - width: auto; |
32 | - overflow: auto; |
33 | - -moz-border-radius: 0; |
34 | - -o-border-radius: 0; |
35 | - -webkit-border-radius: 0; |
36 | - -khtml-border-radius: 0; |
37 | - font-size: inherit !important; |
38 | - } |
39 | -#portlets .portlet h2, div.aside h2 { |
40 | - border-bottom: none; |
41 | - color: inherit !important; |
42 | - font-weight: bold; |
43 | - margin: 0; |
44 | - padding: 0; |
45 | - } |
46 | -body.tab-overview #mainarea #portlets .portlet.active h2 a, |
47 | -body.tab-overview #mainarea div#portlets div.portlet.active a { |
48 | - background-color: inherit !important; |
49 | - } |
50 | -body.tab-overview #mainarea #portlets .portlet.active h2 a:hover, |
51 | -body.tab-overview #mainarea div#portlets div.portlet.active a:hover { |
52 | - background-color: inherit !important; |
53 | - } |
54 | -body.tab-overview #mainarea #portlets .portlet.active div, |
55 | -body.tab-overview #mainarea #portlets .portlet.active ul, |
56 | -body.tab-overview #mainarea #portlets .portlet.active ul li a, |
57 | -body.tab-overview #mainarea #portlets .portlet.active ul li a:hover, |
58 | -body.tab-overview #mainarea div#portlets div.portlet.active ul, |
59 | -body.tab-overview #mainarea div#portlets div.portlet.active ul li a, |
60 | -body.tab-overview #mainarea div#portlets div.portlet.active ul li a:hover { |
61 | - background-color: inherit !important; |
62 | - } |
63 | -body.tab-overview #mainarea #portlets .portlet.active div { |
64 | - border-left: none; |
65 | - border-right: none; |
66 | - } |
67 | -body.tab-branches #mainarea #portlets .portlet.active h2 a, |
68 | -body.tab-branches #mainarea div#portlets div.portlet.active a { |
69 | - background-color: inherit !important; |
70 | - } |
71 | -body.tab-branches #mainarea #portlets .portlet.active h2 a:hover, |
72 | -body.tab-branches #mainarea div#portlets div.portlet.active a:hover { |
73 | - background-color: inherit !important; |
74 | - } |
75 | -body.tab-branches #mainarea #portlets .portlet.active div, |
76 | -body.tab-branches #mainarea #portlets .portlet.active ul, |
77 | -body.tab-branches #mainarea #portlets .portlet.active ul li a, |
78 | -body.tab-branches #mainarea #portlets .portlet.active ul li a:hover, |
79 | -body.tab-branches #mainarea div#portlets div.portlet.active ul, |
80 | -body.tab-branches #mainarea div#portlets div.portlet.active ul li a, |
81 | -body.tab-branches #mainarea div#portlets div.portlet.active ul li a:hover { |
82 | - background-color: inherit !important; |
83 | - } |
84 | -body.tab-branches #mainarea #portlets .portlet.active div { |
85 | - border-left: none; |
86 | - border-right: none; |
87 | - } |
88 | -body.tab-bugs #mainarea #portlets .portlet.active h2 a, |
89 | -body.tab-bugs #mainarea div#portlets div.portlet.active a { |
90 | - background-color: inherit !important; |
91 | - } |
92 | -body.tab-bugs #mainarea #portlets .portlet.active h2 a:hover, |
93 | -body.tab-bugs #mainarea div#portlets div.portlet.active a:hover { |
94 | - background-color: inherit !important; |
95 | - } |
96 | -body.tab-bugs #mainarea #portlets .portlet.active div, |
97 | -body.tab-bugs #mainarea #portlets .portlet.active ul, |
98 | -body.tab-bugs #mainarea #portlets .portlet.active ul li a, |
99 | -body.tab-bugs #mainarea #portlets .portlet.active ul li a:hover, |
100 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul, |
101 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul li a, |
102 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul li a:hover { |
103 | - background-color: inherit !important; |
104 | - } |
105 | -body.tab-bugs #mainarea #portlets .portlet.active div { |
106 | - border-left: none; |
107 | - border-right: none; |
108 | - } |
109 | -body.tab-specifications #mainarea #portlets .portlet.active h2 a, |
110 | -body.tab-specifications #mainarea div#portlets div.portlet.active a { |
111 | - background-color: inherit !important; |
112 | - } |
113 | -body.tab-specifications #mainarea #portlets .portlet.active h2 a:hover, |
114 | -body.tab-specifications #mainarea div#portlets div.portlet.active a:hover { |
115 | - background-color: inherit !important; |
116 | - } |
117 | -body.tab-specifications #mainarea #portlets .portlet.active div, |
118 | -body.tab-specifications #mainarea #portlets .portlet.active ul, |
119 | -body.tab-specifications #mainarea #portlets .portlet.active ul li a, |
120 | -body.tab-specifications #mainarea #portlets .portlet.active ul li a:hover, |
121 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul, |
122 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul li a, |
123 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul li a:hover { |
124 | - background-color: inherit !important; |
125 | - } |
126 | -body.tab-translations #mainarea #portlets .portlet.active h2 a, |
127 | -body.tab-translations #mainarea div#portlets div.portlet.active a { |
128 | - background-color: inherit !important; |
129 | - } |
130 | -body.tab-translations #mainarea #portlets .portlet.active h2 a:hover, |
131 | -body.tab-translations #mainarea div#portlets div.portlet.active a:hover { |
132 | - background-color: inherit !important; |
133 | - } |
134 | -body.tab-translations #mainarea #portlets .portlet.active div, |
135 | -body.tab-translations #mainarea #portlets .portlet.active ul, |
136 | -body.tab-translations #mainarea #portlets .portlet.active ul li a, |
137 | -body.tab-translations #mainarea #portlets .portlet.active ul li a:hover, |
138 | -body.tab-translations #mainarea div#portlets div.portlet.active ul, |
139 | -body.tab-translations #mainarea div#portlets div.portlet.active ul li a, |
140 | -body.tab-translations #mainarea div#portlets div.portlet.active ul li a:hover { |
141 | - background-color: inherit !important; |
142 | - } |
143 | -body.tab-translations #mainarea #portlets .portlet.active div { |
144 | - border-left: none; |
145 | - border-right: none; |
146 | - } |
147 | -body.tab-answers #mainarea #portlets .portlet.active h2 a, |
148 | -body.tab-answers #mainarea div#portlets div.portlet.active a { |
149 | - background-color: inherit !important; |
150 | - } |
151 | -body.tab-answers #mainarea #portlets .portlet.active h2 a:hover, |
152 | -body.tab-answers #mainarea div#portlets div.portlet.active a:hover { |
153 | - background-color: inherit !important; |
154 | - } |
155 | -body.tab-answers #mainarea #portlets .portlet.active div, |
156 | -body.tab-answers #mainarea #portlets .portlet.active ul, |
157 | -body.tab-answers #mainarea #portlets .portlet.active ul li a, |
158 | -body.tab-answers #mainarea #portlets .portlet.active ul li a:hover, |
159 | -body.tab-answers #mainarea div#portlets div.portlet.active ul, |
160 | -body.tab-answers #mainarea div#portlets div.portlet.active ul li a, |
161 | -body.tab-answers #mainarea div#portlets div.portlet.active ul li a:hover { |
162 | - background-color: inherit !important; |
163 | - } |
164 | -body.tab-answers #mainarea #portlets .portlet.active div { |
165 | - border-left: none; |
166 | - border-right: none; |
167 | - } |
168 | -div.left div.portlet, div.right div.portlet { |
169 | - border: none; |
170 | - margin-top: 0; |
171 | - padding-top: 0; |
172 | - } |
173 | -div.left div.portlet { |
174 | - border-width: 0; |
175 | - padding: 0; |
176 | - } |
177 | -div.right div.portlet { |
178 | - border-width:0; |
179 | - padding: 0; |
180 | - } |
181 | -div.columns div.right div.portlet { |
182 | - border: none; |
183 | - padding: 0; |
184 | - } |
185 | -span.nolink { |
186 | - font-weight: bold; |
187 | - } |
188 | -#colophon { |
189 | - float: none; |
190 | - } |
191 | -#globalsearch { |
192 | - float: none; |
193 | - display: auto; |
194 | - font-weight: inherit; |
195 | - margin-right: auto; |
196 | -} |
197 | - |
198 | -#globalsearch input { |
199 | - font-size: inherit; |
200 | -} |
201 | - |
202 | /* Page layout */ |
203 | .yui-d0 { |
204 | margin: 10px 20px; |
205 | @@ -233,6 +36,9 @@ |
206 | .footer .lp-branding { |
207 | float: left; |
208 | } |
209 | +.footer form { |
210 | + display: inline; |
211 | + } |
212 | .portlet-border { |
213 | border-top: 1px solid #EBEBEB; |
214 | padding: 1em 0; |
215 | @@ -405,6 +211,9 @@ |
216 | font-size: 123.1%; /* Same as a h2 */ |
217 | text-align:right; |
218 | } |
219 | +span.nolink { |
220 | + font-weight: bold; |
221 | + } |
222 | span.see-all { |
223 | float: right; |
224 | } |
225 | |
226 | === modified file 'lib/canonical/launchpad/icing/style.css' |
227 | --- lib/canonical/launchpad/icing/style.css 2009-11-22 19:05:39 +0000 |
228 | +++ lib/canonical/launchpad/icing/style.css 2009-11-27 23:35:24 +0000 |
229 | @@ -64,15 +64,11 @@ |
230 | * html .clearfix {height: 1%;} |
231 | .clearfix {display: block;} |
232 | /* End hiding from MSIE for Mac */ |
233 | -.visualClear {display: block; clear: both;} /* XXX Remove this */ |
234 | a {outline: none;} |
235 | abbr[title], acronym[title] {border-bottom: 1px dotted black; cursor: help;} |
236 | -address {font-style: inherit;} |
237 | * html body {word-wrap: break-word;} /* stops floats dropping in IE 5.5/6 */ |
238 | -div.aside {display: block;} |
239 | caption {caption-side: bottom; text-align: left;} |
240 | dt dfn {font-style: normal; font-weight: bold;} |
241 | -dd {margin-bottom: 1em;} |
242 | input {visibility:inherit;} |
243 | input[type=radio] {margin-left: 1em;} |
244 | kbd { |
245 | @@ -99,38 +95,20 @@ |
246 | border-width: 0 0 1px 0; |
247 | display: block; |
248 | } |
249 | -div.section {display: block; margin-bottom: 1em;} |
250 | -table {border-collapse: collapse;} |
251 | textarea {display: block;} |
252 | -thead {vertical-align: bottom;} |
253 | th, td {vertical-align: baseline;} |
254 | -th {text-align: right;} |
255 | -thead th, tr.thead th {text-align: center;} |
256 | -/* make <wbr> work with Opera */ |
257 | -/* XXX: 20061026 jamesh Disabled since BjornT reported display problems */ |
258 | -/* wbr:after {content: "\00200B"} */ |
259 | |
260 | /* Opera doesn't use the general tr above for the radio button table */ |
261 | table.radio-button-widget tr td {vertical-align: top;} |
262 | |
263 | -/* For readability, paragraphs and other potentially-long text blocks should |
264 | -have a maximum width: */ |
265 | -label, p {max-width: 60em;} |
266 | - |
267 | /* == Overall presentation == */ |
268 | /* These styles apply to pages regardless of layout or application. */ |
269 | |
270 | /* === Fonts and colors === */ |
271 | |
272 | -/* Launchpad uses a white background with small, mostly black, text: */ |
273 | -html { |
274 | - background: #fff; |
275 | - color: #000; |
276 | - font-size: 83.33%; |
277 | - font-family: bitstream vera sans, dejavu sans, verdana, sans-serif;} |
278 | /* Monospace text uses the reciprocal of this percentage, so that it |
279 | exactly obeys your preferred monospace font size: */ |
280 | -code, pre, samp, tt, #bug-description, .bug-comment, .bug-activity { |
281 | +.bug-comment, .bug-activity { |
282 | font: 120% monospace; |
283 | } |
284 | |
285 | @@ -164,23 +142,6 @@ |
286 | h1, h2, h3, h4, h5, h6 { |
287 | background: none; |
288 | clear: left; |
289 | - padding: 0; |
290 | - margin: 0 0 0.5em; |
291 | - /* Content headings are highlighted using a different color (the color is |
292 | - overriden per-application in subsequent rules) instead of bold text. */ |
293 | - font-weight: normal; |
294 | -} |
295 | -h1 {font-size: 2em;} |
296 | -h2 {font-size: 1.2em;} |
297 | -h3, h4, h5, h6 {font-size: 1em;} |
298 | -/* H1 is only used at the top the maincontent, maybe below a short description |
299 | - of the displayed object. It must have zero margin-top. */ |
300 | -h2, h3, h4, h5, h6 { margin-top: 1em; } |
301 | -/* Browsers indent lists inconsistently, so we override them completely: */ |
302 | -ul { |
303 | - margin-left: 0; |
304 | - padding-left: 0; |
305 | - list-style-type: none; |
306 | } |
307 | |
308 | .exception {color: #cc0000;} |
309 | @@ -191,10 +152,6 @@ |
310 | |
311 | .duplicate-details p { padding: 0em; margin-top: 0em; margin-bottom: 0.2em; } |
312 | |
313 | -/* Blank space at the top of the page makes the location bar more noticable. |
314 | -Ideally page margins would scale non-linearly, but absolute is next best: */ |
315 | -body {margin: 0; padding: 10px 20px;} |
316 | - |
317 | /* Using colored text as you wish. */ |
318 | .green {color: green;} |
319 | .red {color: red;} |
320 | @@ -264,21 +221,8 @@ |
321 | |
322 | /* === Forms === */ |
323 | |
324 | -form {border: 0; margin: 0; padding: 0;} |
325 | form table label {font-weight: bold;} |
326 | fieldset {border-width: 2px 0 0; margin: 1em 0; padding: 1em 0 0;} |
327 | -input[type="text"], input[type="search"], input[type="password"], textarea { |
328 | - font-family: bitstream vera sans, dejavu sans, verdana, sans-serif; |
329 | - margin: 0; |
330 | -} |
331 | -input[type="text"], input[type="search"], input[type="submit"], |
332 | -input[type="reset"], textarea { |
333 | - font-size: 1em; /* Forces a readable font size in Safari */ |
334 | -} |
335 | -form button, form input[type="button"], form input[type="file"], form input[type="password"], |
336 | -form input[type="submit"], form input[type="text"], form select, form textarea { |
337 | - margin-right: 0.5em; |
338 | -} |
339 | button{padding:0;} |
340 | input.urlTextType {width: 40em;} |
341 | .fieldRequired, .fieldOptional {color: #999;} |
342 | @@ -299,16 +243,7 @@ |
343 | table.form th, table.form td {padding-bottom: 1em;} |
344 | table.form td td {padding-bottom: 0;} |
345 | |
346 | -/* XXX: this is just to make tables look more consistent when used in a |
347 | - * summary pagelet; the concrete use case is in |
348 | - * person-pagelet-details.pt. We should move to use tables everywhere |
349 | - * and then kill this class I guess. -- kiko, 2007-12-05 */ |
350 | -table.slimpadding td, table.slimpadding th { padding: 0; padding-right: 3px } |
351 | - |
352 | /* === Tables === */ |
353 | -/* All table cells have horizontal padding between their contents: */ |
354 | -th, td {padding: 0 0.5em 0 0;} /* http://launchpad.dev/ubuntu "Officers" */ |
355 | - |
356 | table.latest th, table.latest td {padding-bottom: 2em;} |
357 | |
358 | th.icon, td.icon {vertical-align: top; white-space: nowrap; width: 1px;} |
359 | @@ -588,155 +523,6 @@ |
360 | font-weight: bold; |
361 | } |
362 | |
363 | -/* === Location application tabs === */ |
364 | -/* NOTE: This whole section (everything for #lp-apps) can be removed once |
365 | - * pages have updated to the 3.0 templates */ |
366 | -/* In most pages, the location bar includes six centered application tabs: */ |
367 | -#lp-apps { |
368 | - position: relative; |
369 | - width: 98%; /* leaves a minimum explanatory margin at the left and right */ |
370 | - max-width: 72em; /* prevents each tab from being more than 12em wide */ |
371 | - padding: 0; |
372 | - margin: 0 auto; /* centers the tabs */ |
373 | -} |
374 | -/* The tabs have text separators for the benefit of those without CSS: */ |
375 | -#lp-apps small {display: none;} |
376 | -/* The tabs are equal size, not too wide, and attached to the center bar: */ |
377 | -#lp-apps span { |
378 | - position: relative; |
379 | - float: left; |
380 | - width: 16.16%; /* = (100% / 6) - 0.5% left over */ |
381 | - margin: 0 0.25%; /* = the leftover 0.5%, half each on the left and right */ |
382 | - padding: 0; |
383 | - text-align: center; |
384 | - color: #333; |
385 | - line-height: 1.5em; |
386 | - white-space: nowrap; /* keeps multi-word tab labels on a single line */ |
387 | -} |
388 | -#lp-apps span a, #lp-apps span strong { |
389 | - display: block; |
390 | - color: #333; |
391 | - text-decoration: none; |
392 | - margin: 0; |
393 | - overflow: hidden; |
394 | - padding: 0 0 5px; |
395 | -} |
396 | -/* The active tab is darker, and looks contiguous with the spine above: */ |
397 | -#lp-apps .active {border-top: 1px solid #ddd; font-weight: bold; top: -1px;} |
398 | -#lp-apps .overview { |
399 | - background: url(navigation-tabs-sw-overview) bottom right no-repeat; |
400 | -} |
401 | -#lp-apps .overview a, #lp-apps .overview strong { |
402 | - background: url(navigation-tabs-se-overview) bottom left no-repeat; |
403 | -} |
404 | -#lp-apps .overview a:hover { |
405 | - color: #8fb635; |
406 | -} |
407 | -#lp-apps .overview.active { |
408 | - background: url(navigation-tabs-sw-overview-active) bottom right no-repeat; |
409 | -} |
410 | -#lp-apps .overview.active strong, #lp-apps .overview.active a { |
411 | - background: url(navigation-tabs-se-overview-active) bottom left no-repeat; |
412 | -} |
413 | -#lp-apps .branches { |
414 | - background: url(navigation-tabs-sw-code) bottom right no-repeat; |
415 | -} |
416 | -#lp-apps .branches a, #lp-apps .branches strong { |
417 | - background: url(navigation-tabs-se-code) bottom left no-repeat; |
418 | -} |
419 | -#lp-apps .branches a:hover { |
420 | - color: #d18c3b; |
421 | -} |
422 | -#lp-apps .branches.active { |
423 | - background: url(navigation-tabs-sw-code-active) bottom right no-repeat; |
424 | - border-top: 1px solid #ddd; |
425 | -} |
426 | -#lp-apps .branches.active strong, #lp-apps .branches.active a { |
427 | - background: url(navigation-tabs-se-code-active) bottom left no-repeat; |
428 | -} |
429 | -#lp-apps .bugs { |
430 | - background: url(navigation-tabs-sw-bugs) bottom right no-repeat; |
431 | -} |
432 | -#lp-apps .bugs a, #lp-apps .bugs strong { |
433 | - background: url(navigation-tabs-se-bugs) bottom left no-repeat; |
434 | -} |
435 | -#lp-apps .bugs a:hover { |
436 | - color: #a02c35; |
437 | -} |
438 | -#lp-apps .bugs.active { |
439 | - background: url(navigation-tabs-sw-bugs-active) bottom right no-repeat; |
440 | -} |
441 | -#lp-apps .bugs.active strong, #lp-apps .bugs.active a { |
442 | - background: url(navigation-tabs-se-bugs-active) bottom left no-repeat; |
443 | -} |
444 | -#lp-apps .specifications { |
445 | - background: url(navigation-tabs-sw-blueprints) bottom right no-repeat; |
446 | -} |
447 | -#lp-apps .specifications a, #lp-apps .specifications strong { |
448 | - background: url(navigation-tabs-se-blueprints) bottom left no-repeat; |
449 | -} |
450 | -#lp-apps .specifications a:hover { |
451 | - color: #3895bd; |
452 | -} |
453 | -#lp-apps .specifications.active { |
454 | - background: url(navigation-tabs-sw-blueprints-active) bottom right no-repeat; |
455 | -} |
456 | -#lp-apps .specifications.active strong, #lp-apps .specifications.active a { |
457 | - background: url(navigation-tabs-se-blueprints-active) bottom left no-repeat; |
458 | -} |
459 | -#lp-apps .translations { |
460 | - background: url(navigation-tabs-sw-translations) bottom right no-repeat; |
461 | -} |
462 | -#lp-apps .translations a, #lp-apps .translations strong { |
463 | - background: url(navigation-tabs-se-translations) bottom left no-repeat; |
464 | -} |
465 | -#lp-apps .translations a:hover { |
466 | - color: #bb3a84; |
467 | -} |
468 | -#lp-apps .translations.active { |
469 | - background: url(navigation-tabs-sw-translations-active) bottom right no-repeat; |
470 | -} |
471 | -#lp-apps .translations.active strong, #lp-apps .translations.active a { |
472 | - background: url(navigation-tabs-se-translations-active) bottom left no-repeat; |
473 | -} |
474 | -#lp-apps .answers { |
475 | - background: url(navigation-tabs-sw-answers) bottom right no-repeat; |
476 | -} |
477 | -#lp-apps .answers a, #lp-apps .answers strong { |
478 | - background: url(navigation-tabs-se-answers) bottom left no-repeat; |
479 | -} |
480 | -#lp-apps .answers a:hover { |
481 | - color: #3941bf; |
482 | -} |
483 | -#lp-apps .answers.active { |
484 | - background: url(navigation-tabs-sw-answers-active) bottom right no-repeat; |
485 | -} |
486 | -#lp-apps .answers.active strong, #lp-apps .answers.active a { |
487 | - background: url(navigation-tabs-se-answers-active) bottom left no-repeat; |
488 | -} |
489 | -/* After all has been said and done, we still want disabled ones to look disabled */ |
490 | -#lp-apps .disabled-tab { |
491 | - background: url(navigation-tabs-sw-disabled) bottom right no-repeat; |
492 | -} |
493 | -#lp-apps .disabled-tab strong { |
494 | - background: url(navigation-tabs-se-disabled) bottom left no-repeat; |
495 | - display: block; |
496 | - font-weight: normal; |
497 | - color: #a7a7a7; |
498 | -} |
499 | -#view-navigation-tabs .navigation.menu > :first-child { |
500 | - background: url(navigation-nw-w-normal.png) top left no-repeat; |
501 | -} |
502 | -.navigation.menu > strong:first-child { |
503 | - background-image: url(navigation-nw-w-selected.png); |
504 | -} |
505 | -/* The bottom right corner is placed over top of the bottom border: */ |
506 | -.navigation.menu > :first-child::before { |
507 | - content: ''; |
508 | - background: url(navigation-sw-normal.png) no-repeat bottom left; |
509 | - padding: 0.25em 2px; |
510 | - vertical-align: -1px; |
511 | -} |
512 | |
513 | /* === Help pane === */ |
514 | /* |
515 | @@ -785,284 +571,6 @@ |
516 | |
517 | span.help {font-weight: normal;} |
518 | |
519 | -/* === ID and timestamp === */ |
520 | -/* The first text in many pages is the object's timestamp and identifier. |
521 | -These may be <div>s or <p>s, but should have the same spacing regardless: */ |
522 | -.object {margin: 0 0 0.5em; padding: 0;} |
523 | -/* The timestamp is the date last modified or (more usually) registered: */ |
524 | -.object.timestamp {float: right;} |
525 | -/* An identifier is a unique label, such as a bug number or branch ID: */ |
526 | -.object.identifier {float: left;} |
527 | - |
528 | -/* === Navigation menus === */ |
529 | -/* A "navigation menu" categorizes the information about an object. */ |
530 | -/* For example, a distribution has "Details / Announcements / Mentoring..." */ |
531 | -/* Navigation menus appear as a segmented pill overlaid on a groove: */ |
532 | -/* First row of options */ |
533 | -#context-navigation-tabs .navigation.menu { |
534 | - margin: 0.5em 0 1em; |
535 | - text-align: center; |
536 | -} |
537 | -/* Segments have slight padding, and are normally light grey: */ |
538 | -#context-navigation-tabs .navigation.menu * { |
539 | - background: #808080 url(navigation-n.png) top left repeat-x; |
540 | - padding: 0.25em 0; |
541 | - color: #fff; |
542 | -} |
543 | -/* But the selected element is slightly darker: */ |
544 | -#context-navigation-tabs .navigation.menu strong * {background-color: #353434;} |
545 | -/* All segments have a border, and padding around their text: */ |
546 | -#context-navigation-tabs .navigation.menu * * { |
547 | - border-right: 1px solid #ccc; |
548 | - border-bottom: 1px solid #353434; |
549 | - padding: 0.25em 0.5em; |
550 | -} |
551 | -/* For text browsers, there's a " / " separator, hidden from CSS browsers: */ |
552 | -#context-navigation-tabs .navigation.menu small {display: none;} |
553 | -/* All text in the navigation menu is near-black, even the links: */ |
554 | -#context-navigation-tabs .navigation.menu, .navigation.menu a {color: #333;} |
555 | -#context-navigation-tabs .navigation.menu a:hover {text-decoration: none;} |
556 | -/* The first segment has a rounded cap, matching its color: */ |
557 | -#context-navigation-tabs .navigation.menu > :first-child { |
558 | - background: url(navigation-parent-nw-w-normal.png) top left no-repeat; |
559 | -} |
560 | -#context-navigation-tabs .navigation.menu > strong:first-child { |
561 | - background-image: url(navigation-nw-w-selected.png); |
562 | -} |
563 | -/* The bottom right corner is placed over top of the bottom border: */ |
564 | -#context-navigation-tabs .navigation.menu > :first-child::before { |
565 | - content: ''; |
566 | - background: url(navigation-parent-sw-normal.png) no-repeat bottom left; |
567 | - padding: 0.25em 2px; |
568 | - vertical-align: -1px; |
569 | -} |
570 | -#context-navigation-tabs .navigation.menu > strong:first-child::before { |
571 | - background-image: url(navigation-sw-selected.png); |
572 | -} |
573 | -/* The last segment has a rounded cap, matching its color: */ |
574 | -#context-navigation-tabs .navigation.menu > :last-child { |
575 | - background: url(navigation-parent-ne-e-normal.png) top right no-repeat; |
576 | -} |
577 | -#context-navigation-tabs .navigation.menu > strong:last-child { |
578 | - background-image: url(navigation-ne-e-selected.png); |
579 | -} |
580 | -#context-navigation-tabs .navigation.menu > :last-child * {border-right: none;} |
581 | -/* The bottom right corner is placed over top of the bottom border: */ |
582 | -#context-navigation-tabs .navigation.menu > :last-child::after { |
583 | - content: ''; |
584 | - background: url(navigation-parent-se-normal.png) no-repeat bottom left; |
585 | - padding: 0.25em 2px; |
586 | - vertical-align: -1px; |
587 | -} |
588 | -#context-navigation-tabs .navigation.menu > strong:last-child::after { |
589 | - background-image: url(navigation-se-selected.png); |
590 | -} |
591 | -/* Second row of options */ |
592 | -#view-navigation-tabs .navigation.menu { |
593 | - margin: 0.5em 0 1em; |
594 | - text-align: center; |
595 | -} |
596 | -/* Segments have slight padding, and are normally light grey: */ |
597 | -#view-navigation-tabs .navigation.menu * { |
598 | - background: #4c4c4c url(navigation-n.png) top left repeat-x; |
599 | - padding: 0.25em 0; |
600 | - color: #fff; |
601 | -} |
602 | -/* But the selected element is slightly darker: */ |
603 | -#view-navigation-tabs .navigation.menu strong * {background-color: #000;} |
604 | -/* All segments have a border, and padding around their text: */ |
605 | -#view-navigation-tabs .navigation.menu * * { |
606 | - border-right: 1px solid #ccc; |
607 | - border-bottom: 1px solid #0d0d0d; |
608 | - padding: 0.25em 0.5em; |
609 | -} |
610 | -/* For text browsers, there's a " / " separator, hidden from CSS browsers: */ |
611 | -#view-navigation-tabs .navigation.menu small {display: none;} |
612 | -/* All text in the navigation menu is near-black, even the links: */ |
613 | -#view-navigation-tabs .navigation.menu, .navigation.menu a {color: #333;} |
614 | -#view-navigation-tabs .navigation.menu a:hover {text-decoration: none;} |
615 | -/* The first segment has a rounded cap, matching its color: */ |
616 | -#view-navigation-tabs .navigation.menu > :first-child { |
617 | - background: url(navigation-nw-w-normal.png) top left no-repeat; |
618 | -} |
619 | -#view-navigation-tabs .navigation.menu > strong:first-child { |
620 | - background-image: url(navigation-nw-w-selected.png); |
621 | -} |
622 | -/* The bottom right corner is placed over top of the bottom border: */ |
623 | -#view-navigation-tabs .navigation.menu > :first-child::before { |
624 | - content: ''; |
625 | - background: url(navigation-sw-normal.png) no-repeat bottom left; |
626 | - padding: 0.25em 2px; |
627 | - vertical-align: -1px; |
628 | -} |
629 | -#view-navigation-tabs .navigation.menu > strong:first-child::before { |
630 | - background-image: url(navigation-sw-selected.png); |
631 | -} |
632 | -/* The last segment has a rounded cap, matching its color: */ |
633 | -#view-navigation-tabs .navigation.menu > :last-child { |
634 | - background: url(navigation-ne-e-normal.png) top right no-repeat; |
635 | -} |
636 | -#view-navigation-tabs .navigation.menu > strong:last-child { |
637 | - background-image: url(navigation-ne-e-selected.png); |
638 | -} |
639 | -#view-navigation-tabs .navigation.menu > :last-child * {border-right: none;} |
640 | -/* The bottom right corner is placed over top of the bottom border: */ |
641 | -#view-navigation-tabs .navigation.menu > :last-child::after { |
642 | - content: ''; |
643 | - background: url(navigation-se-normal.png) no-repeat bottom left; |
644 | - padding: 0.25em 2px; |
645 | - vertical-align: -1px; |
646 | -} |
647 | -#view-navigation-tabs .navigation.menu > strong:last-child::after { |
648 | - background-image: url(navigation-se-selected.png); |
649 | -} |
650 | - |
651 | - |
652 | -#globalsearch { |
653 | - float: right; |
654 | - display: inline; |
655 | - font-weight: normal; |
656 | - margin-right: 1em; |
657 | -} |
658 | - |
659 | -#globalsearch input { |
660 | - font-size: small; |
661 | -} |
662 | - |
663 | -/* The last element on every page is a standard footer. */ |
664 | -#globalfooter { |
665 | - clear: both; |
666 | - border: solid #c1c9d6; |
667 | - border-width: 1px 0 0 0; |
668 | - margin: 0.5em 0; |
669 | - padding: 0.5em 0; |
670 | -} |
671 | -/* XXX 20080617 mpt: That 20px will be obsolete in 2.0 (bug 240657). */ |
672 | -/* It has a top border if the page doesn't already have a rounded border. */ |
673 | -body.freeform #globalfooter { |
674 | - border-top: 1px solid #cbcbcb; /* matches color of mainarea_* images */ |
675 | - padding-top: 0.5em; |
676 | -} |
677 | -#colophon {float: left;} |
678 | -#applications-footer {float: right;} |
679 | -#lp-arcana {float: right;} |
680 | - |
681 | -/* === Specific page layouts === */ |
682 | - |
683 | -/*- App home pages and pillar indexes both have a heading and app buttons. -*/ |
684 | -table#applications {margin: 1em 0 -0.5em;} |
685 | -table#applications th, table#applications td {vertical-align: bottom;} |
686 | -table#applications th {padding-left: 60px; text-align: left;} |
687 | -table#applications th h1 {margin: 0; padding: 0;} |
688 | -table#applications td {text-align: right;} |
689 | -body.tab-branches #applications, |
690 | -body.tab-bugs #applications, |
691 | -body.tab-specifications #applications, |
692 | -body.tab-answers #applications, |
693 | -body.tab-translations #applications { |
694 | - background-position: left bottom !important; |
695 | -} |
696 | -/* But the pillar indexes have no watermark, so no heading indenting. */ |
697 | -body.pillarindex table#applications th {padding-left: 0;} |
698 | - |
699 | -.clear { |
700 | - clear: both; |
701 | - height: 0px; |
702 | - overflow: hidden; |
703 | -} |
704 | - |
705 | -/* Either that application/pillar heading, or a structural heading, |
706 | -partly (but not visibly) overlaps the rounded border of the main area. */ |
707 | -#structuralobject, #applications { |
708 | - position: relative; |
709 | - z-index: 1; |
710 | -} |
711 | - |
712 | -/* Display the pillar image above mainarea, so the image does not appear |
713 | - cropped in wide windows on browsers that do not support transparent |
714 | - background. */ |
715 | -#structuralobjectheading img { |
716 | - z-index: 2; |
717 | -} |
718 | - |
719 | -#structuralobjectheading { |
720 | - background: none; |
721 | - color: black; |
722 | - float: left; |
723 | - margin: 10px 20px 0; /* XXX 20080617 mpt: remove 20px in 2.0 (bug 240657). */ |
724 | - */ |
725 | - width: 70%; |
726 | -} |
727 | -/* Structural headings contain an icon, maybe an intro, and a main heading. |
728 | - |
729 | - The icon size (when present) is 64x64, and is floated left. The left |
730 | - margins (3px on the icon, 70px on .intro and .main) provides 3px of |
731 | - horizontal spacing on each side of the icon. */ |
732 | -#structuralobjectheading img { |
733 | - float: left; |
734 | - margin: 0; |
735 | - margin-right: 3px; |
736 | - /* Large negative margin-bottom, so the presence or absence of the image |
737 | - will not affect the positioning of the #mainarea. */ |
738 | - margin-bottom: -32px; |
739 | -} |
740 | -#structuralobjectheading .intro { |
741 | - margin: 2px 0 0 70px; |
742 | - font-size: 12px; |
743 | -} |
744 | -#structuralobjectheading .main { |
745 | - /* No bottom spacing here. If this does not wrap around, the spacing with |
746 | - "#mainarea" is provided by the margin-botom of "#globalsearch". If this |
747 | - does wrap around, we do not want spacing in addition to the font's |
748 | - descent. */ |
749 | - font-weight: bold; |
750 | - margin: 1px 0 0 70px; |
751 | - font-size: 24px; |
752 | -} |
753 | - |
754 | -/* mainarea and three other divs supply the bottom (mainarea), top (x), |
755 | -top left (y), and top right (z) of the rounded border. */ |
756 | -#mainarea {clear: both; position: relative;} |
757 | - |
758 | -/* Inside those is a container for the main content, and the portlets if any. */ |
759 | -#container {margin: 0 0 40px;} |
760 | -* html #container {margin-top: 0; position: static;} /* fixes in IE6 */ |
761 | - |
762 | -/* A two-column layout with portlets is achieved using floats: */ |
763 | -#maincontent, #maincontentsub, #portlets {float: left;} |
764 | -/* ("maincontentsub" is used for a two-column section in bugtask-index.pt.) */ |
765 | -/* The main column should take the full width available, minus 200px for the |
766 | -portlets. We achieve this using a negative right margin: */ |
767 | -#maincontent, #maincontentsub {width: 100%; margin-right: -200px;} |
768 | -/* And the portlets use exactly this 200px: */ |
769 | -#portlets {width: 200px; margin: 0;} |
770 | -/* Inside, the main column itself keeps 20px clear of the 200px column: */ |
771 | -#nonportlets {margin-right: 220px;} |
772 | -/* Non-portlets can also be constrained to an easily readable width. */ |
773 | -#nonportlets.readable {max-width: 40em;} |
774 | -/* One-column pages can construct portlets using <div class="aside">: */ |
775 | -div.aside {clear: right; float: right; margin-left: 20px; width: 200px;} |
776 | - |
777 | -/* -- Pillar indexes -- */ |
778 | - |
779 | -/* Distributions, projects, and people have two-column main pages. */ |
780 | -/* The main heading and most of the information is in the second column: */ |
781 | -.pillar { |
782 | - margin-left: 212px; |
783 | - zoom: 1; /* sets hasLayout in IE, ensuring correct mugshot/heading layout */ |
784 | -} |
785 | -.pillar h1 {clear: none;} |
786 | -/* But the mugshot and the subheadings are in the first column: */ |
787 | -.pillar h2, .pillar .mugshot { |
788 | - clear: left; |
789 | - float: left; |
790 | - margin-left: -212px; |
791 | - text-align: right; |
792 | - width: 192px; |
793 | -} |
794 | -/* There is a margin between each section and the previous one: */ |
795 | -.pillar div.portlet, .pillar div.section {clear: both; margin-bottom: 2em;} |
796 | -.pillar div.portlet h2, .pillar div.section h2 {margin-top: 0;} |
797 | |
798 | /* === Official Bug Tag Management === */ |
799 | |
800 | @@ -1160,54 +668,6 @@ |
801 | |
802 | .tags-hide { display: none; } |
803 | |
804 | -/* === Portlets === */ |
805 | -/* IE6 and lower ignore the left padding, so we add extra positioning. */ |
806 | -* html #portlets {left: 20px;} |
807 | -/* Portlets look the same whether as class="portlet" or class="aside": */ |
808 | -#portlets .portlet, div.aside { |
809 | - background-color: #fafafa; |
810 | - border:1px solid #d6d6d6; |
811 | - margin: 0 0 0.5em 0; |
812 | - color: #717171; |
813 | - padding: 8px; |
814 | - width: 182px; /* = 200px column - 2*1px vertical border - 2*8px padding */ |
815 | - overflow: hidden; |
816 | - -moz-border-radius: 5px; |
817 | - -o-border-radius: 5px; |
818 | - -webkit-border-radius: 5px; |
819 | -} |
820 | -/* In the Actions menu, part of the horizontal padding is used for |
821 | -highlighting menu items, so padding is handled by the contents instead: */ |
822 | -#portlets #actions { |
823 | - padding: 4px 0; width: 198px; /* 200px column - 2*1px vertical border */ |
824 | -} |
825 | -#portlets .portlet, div.aside, #portlets .portlet h2, div.aside h2 { |
826 | - font-size: 12px; |
827 | -} |
828 | -#portlets .portlet h2, div.aside h2 { |
829 | - border-bottom: 1px solid #ccc; |
830 | - color: inherit !important; |
831 | - font-weight: bold; |
832 | - margin: 0 0 1em; |
833 | - padding: 0 0 1px; |
834 | -} |
835 | -#actions ul { |
836 | - list-style-type: none; |
837 | - margin: 0; |
838 | - padding: 0 4px; |
839 | - width: 191px; /* 200px column - 1px right border - 2*4px padding */ |
840 | -} |
841 | -#actions li { |
842 | - margin: 0; /* neutralizes UA list item indenting */ |
843 | - padding: 1px 0; /* works around a bug that makes items taller in WinIE */ |
844 | -} |
845 | -#actions a, #actions strong { |
846 | - background: url(action.png) 4px center no-repeat; |
847 | - display: block; /* makes the clickable area equal to the highlighted area */ |
848 | - padding: 2px 2px 2px 14px; /* 14px on the left makes room for the bullet */ |
849 | -} |
850 | -#actions a:hover {background-color: #fff; text-decoration: underline;} |
851 | - |
852 | /* === Public/private status === */ |
853 | /* The first portlet on many pages discloses whether the object is private: */ |
854 | #privacy.private { |
855 | @@ -1221,18 +681,6 @@ |
856 | width: auto !important; |
857 | border: 0 !important; |
858 | } |
859 | -#structural-children { |
860 | - clear: both; |
861 | - font-size: 0.75em; |
862 | - margin-top: 2em; |
863 | - padding: 2em 0 0; |
864 | - border-top: 1px dotted #cbcbcb; /* matches color of mainarea_* images */ |
865 | -} |
866 | -#applicationchooser { |
867 | - clear: both; |
868 | - position: relative; /* needed to make z-index work */ |
869 | - z-index: 10; /* ensures tabs appear above structural object heading */ |
870 | -} |
871 | |
872 | /* Some pages end with links to related items. */ |
873 | /* Examples: branch page, bug page. */ |
874 | @@ -1264,9 +712,6 @@ |
875 | |
876 | /* --- Various custom list formats --- */ |
877 | |
878 | -#maincontent ol, #maincontent ul { |
879 | - padding-left: 0; |
880 | -} |
881 | ul.architecture, li.architecture {list-style-image: url(/@@/architecture);} |
882 | ul.build-success, li.build-success {list-style-image: url(/@@/build-success);} |
883 | ul.bug.remote, li.bug.remote {list-style-image: url(/@@/bug-remote);} |
884 | @@ -1307,8 +752,6 @@ |
885 | |
886 | /* == Application-specific styles == */ |
887 | |
888 | -#application-footer strong {font-weight: normal;} |
889 | - |
890 | .description {font-size: 1.125em;} |
891 | /* person/project/bug descriptions, bug comments */ |
892 | .report h2 {font-size: 1.4em;} |
893 | @@ -1359,34 +802,6 @@ |
894 | |
895 | /* --- Overview --- */ |
896 | |
897 | -body.tab-overview #mainarea #portlets .portlet.active h2 a, |
898 | -body.tab-overview #mainarea div#portlets div.portlet.active a { |
899 | - background-color: #F0CB00; |
900 | -} |
901 | -body.tab-overview #mainarea #portlets .portlet.active h2 a:hover, |
902 | -body.tab-overview #mainarea div#portlets div.portlet.active a:hover { |
903 | - background-color: #FFE40F; |
904 | -} |
905 | -body.tab-overview #mainarea #portlets .portlet.active div, |
906 | -body.tab-overview #mainarea #portlets .portlet.active ul, |
907 | -body.tab-overview #mainarea #portlets .portlet.active ul li a, |
908 | -body.tab-overview #mainarea #portlets .portlet.active ul li a:hover, |
909 | -body.tab-overview #mainarea div#portlets div.portlet.active ul, |
910 | -body.tab-overview #mainarea div#portlets div.portlet.active ul li a, |
911 | -body.tab-overview #mainarea div#portlets div.portlet.active ul li a:hover { |
912 | - background-color: #FEFCF0; |
913 | -} |
914 | -body.tab-overview #mainarea #portlets .portlet.active div { |
915 | - border-left: 4px solid #FEFCF0; |
916 | - border-right: 4px solid #FEFCF0; |
917 | -} |
918 | -body.tab-overview #actions, body.tab-overview .results { |
919 | - background: #e6eed3; |
920 | -} |
921 | -body.tab-overview #actions h2, body.tab-overview #actions h2:hover { |
922 | - background-color: #83ad23; |
923 | -} |
924 | - |
925 | .tab-overview #application-footer strong { |
926 | background: none; |
927 | color: #83ad23; |
928 | @@ -1413,10 +828,6 @@ |
929 | visibility: visible; |
930 | } |
931 | |
932 | -/* The top-most Person portlet, Contact Details, is allowed to float up and |
933 | -beside the mugshot. */ |
934 | -#contact-details {clear: none;} |
935 | - |
936 | .product.series, .series {margin-bottom: 1em;} |
937 | #packages h1, #projects h1 {margin-top: 1.2em;} |
938 | |
939 | @@ -1670,28 +1081,6 @@ |
940 | |
941 | /* --- Code --- */ |
942 | |
943 | -body.tab-branches #applications {background: url(app-code-wm.gif) no-repeat;} |
944 | -body.tab-branches #mainarea #portlets .portlet.active h2 a, |
945 | -body.tab-branches #mainarea div#portlets div.portlet.active a { |
946 | - background-color: #CE4227; |
947 | -} |
948 | -body.tab-branches #mainarea #portlets .portlet.active h2 a:hover, |
949 | -body.tab-branches #mainarea div#portlets div.portlet.active a:hover { |
950 | - background-color: #E2563B; |
951 | -} |
952 | -body.tab-branches #mainarea #portlets .portlet.active div, |
953 | -body.tab-branches #mainarea #portlets .portlet.active ul, |
954 | -body.tab-branches #mainarea #portlets .portlet.active ul li a, |
955 | -body.tab-branches #mainarea #portlets .portlet.active ul li a:hover, |
956 | -body.tab-branches #mainarea div#portlets div.portlet.active ul, |
957 | -body.tab-branches #mainarea div#portlets div.portlet.active ul li a, |
958 | -body.tab-branches #mainarea div#portlets div.portlet.active ul li a:hover { |
959 | - background-color: #FCF4F2; |
960 | -} |
961 | -body.tab-branches #mainarea #portlets .portlet.active div { |
962 | - border-left: 4px solid #FCF4F2; |
963 | - border-right: 4px solid #FCF4F2; |
964 | -} |
965 | body.tab-branches #actions, body.tab-branches .results {background-color: #ffc;} |
966 | body.tab-branches #actions h2, body.tab-branches #actions h2:hover { |
967 | background-color: #d18b39; |
968 | @@ -1812,28 +1201,6 @@ |
969 | |
970 | /* === Bugs === */ |
971 | /* The Launchpad Bugs application uses a maroon color: */ |
972 | -body.tab-bugs #applications {background: url(app-bugs-wm.gif) no-repeat;} |
973 | -body.tab-bugs #mainarea #portlets .portlet.active h2 a, |
974 | -body.tab-bugs #mainarea div#portlets div.portlet.active a { |
975 | - background-color: #F0CB00; |
976 | -} |
977 | -body.tab-bugs #mainarea #portlets .portlet.active h2 a:hover, |
978 | -body.tab-bugs #mainarea div#portlets div.portlet.active a:hover { |
979 | - background-color: #FFE40F; |
980 | -} |
981 | -body.tab-bugs #mainarea #portlets .portlet.active div, |
982 | -body.tab-bugs #mainarea #portlets .portlet.active ul, |
983 | -body.tab-bugs #mainarea #portlets .portlet.active ul li a, |
984 | -body.tab-bugs #mainarea #portlets .portlet.active ul li a:hover, |
985 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul, |
986 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul li a, |
987 | -body.tab-bugs #mainarea div#portlets div.portlet.active ul li a:hover { |
988 | - background-color: #FEFCF0; |
989 | -} |
990 | -body.tab-bugs #mainarea #portlets .portlet.active div { |
991 | - border-left: 4px solid #FEFCF0; |
992 | - border-right: 4px solid #FEFCF0; |
993 | -} |
994 | body.tab-bugs #actions, body.tab-bugs .results {background-color: #fee;} |
995 | body.tab-bugs #actions h2, body.tab-bugs #actions h2:hover { |
996 | background-color: #9f2b33; |
997 | @@ -1880,26 +1247,6 @@ |
998 | |
999 | /* --- Blueprints --- */ |
1000 | |
1001 | -body.tab-specifications #applications { |
1002 | - background: url(app-blueprints-wm.gif) no-repeat; |
1003 | -} |
1004 | -body.tab-specifications #mainarea #portlets .portlet.active h2 a, |
1005 | -body.tab-specifications #mainarea div#portlets div.portlet.active a { |
1006 | - background-color: #F0CB00; |
1007 | -} |
1008 | -body.tab-specifications #mainarea #portlets .portlet.active h2 a:hover, |
1009 | -body.tab-specifications #mainarea div#portlets div.portlet.active a:hover { |
1010 | - background-color: #FFE40F; |
1011 | -} |
1012 | -body.tab-specifications #mainarea #portlets .portlet.active div, |
1013 | -body.tab-specifications #mainarea #portlets .portlet.active ul, |
1014 | -body.tab-specifications #mainarea #portlets .portlet.active ul li a, |
1015 | -body.tab-specifications #mainarea #portlets .portlet.active ul li a:hover, |
1016 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul, |
1017 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul li a, |
1018 | -body.tab-specifications #mainarea div#portlets div.portlet.active ul li a:hover { |
1019 | - background-color: #FEFCF0; |
1020 | -} |
1021 | body.tab-specifications #actions, body.tab-specifications .results { |
1022 | background-color: #eff; |
1023 | } |
1024 | @@ -1942,30 +1289,6 @@ |
1025 | |
1026 | /* === Translations === */ |
1027 | |
1028 | -body.tab-translations #applications { |
1029 | - background: url(app-translations-wm.gif) no-repeat; |
1030 | -} |
1031 | -body.tab-translations #mainarea #portlets .portlet.active h2 a, |
1032 | -body.tab-translations #mainarea div#portlets div.portlet.active a { |
1033 | - background-color: #3594bb; |
1034 | -} |
1035 | -body.tab-translations #mainarea #portlets .portlet.active h2 a:hover, |
1036 | -body.tab-translations #mainarea div#portlets div.portlet.active a:hover { |
1037 | - background-color: #29B0DC; |
1038 | -} |
1039 | -body.tab-translations #mainarea #portlets .portlet.active div, |
1040 | -body.tab-translations #mainarea #portlets .portlet.active ul, |
1041 | -body.tab-translations #mainarea #portlets .portlet.active ul li a, |
1042 | -body.tab-translations #mainarea #portlets .portlet.active ul li a:hover, |
1043 | -body.tab-translations #mainarea div#portlets div.portlet.active ul, |
1044 | -body.tab-translations #mainarea div#portlets div.portlet.active ul li a, |
1045 | -body.tab-translations #mainarea div#portlets div.portlet.active ul li a:hover { |
1046 | - background-color: #F1F9FC; |
1047 | -} |
1048 | -body.tab-translations #mainarea #portlets .portlet.active div { |
1049 | - border-left: 4px solid #f1f9fc; |
1050 | - border-right: 4px solid #f1f9fc; |
1051 | -} |
1052 | body.tab-translations #actions, body.tab-translations .results { |
1053 | background-color: #f1d7e6; |
1054 | } |
1055 | @@ -1990,28 +1313,6 @@ |
1056 | |
1057 | /* === Answers === */ |
1058 | |
1059 | -body.tab-answers #applications {background: url(app-answers-wm.gif) no-repeat;} |
1060 | -body.tab-answers #mainarea #portlets .portlet.active h2 a, |
1061 | -body.tab-answers #mainarea div#portlets div.portlet.active a { |
1062 | - background-color: #3840be; |
1063 | -} |
1064 | -body.tab-answers #mainarea #portlets .portlet.active h2 a:hover, |
1065 | -body.tab-answers #mainarea div#portlets div.portlet.active a:hover { |
1066 | - background-color: #5350E0; |
1067 | -} |
1068 | -body.tab-answers #mainarea #portlets .portlet.active div, |
1069 | -body.tab-answers #mainarea #portlets .portlet.active ul, |
1070 | -body.tab-answers #mainarea #portlets .portlet.active ul li a, |
1071 | -body.tab-answers #mainarea #portlets .portlet.active ul li a:hover, |
1072 | -body.tab-answers #mainarea div#portlets div.portlet.active ul, |
1073 | -body.tab-answers #mainarea div#portlets div.portlet.active ul li a, |
1074 | -body.tab-answers #mainarea div#portlets div.portlet.active ul li a:hover { |
1075 | - background-color: #F4F4FC; |
1076 | -} |
1077 | -body.tab-answers #mainarea #portlets .portlet.active div { |
1078 | - border-left: 4px solid #F4F4FC; |
1079 | - border-right: 4px solid #F4F4FC; |
1080 | -} |
1081 | body.tab-answers #actions, body.tab-answers .results {background-color: #eef;} |
1082 | body.tab-answers #actions h2, body.tab-answers #actions h2:hover { |
1083 | background-color: #3840be; |
1084 | @@ -2064,15 +1365,6 @@ |
1085 | |
1086 | /* -- Front pages -- */ |
1087 | |
1088 | -#applications {clear: both; width: 100%;} |
1089 | -div#applications {padding: 1em 0; text-align: center;} |
1090 | -#applications span { |
1091 | - display: inline-block; |
1092 | - float: right; |
1093 | -} |
1094 | -#applications a img { |
1095 | - margin: 0 auto; |
1096 | -} |
1097 | .central { |
1098 | clear: left; /* Bugs FP */ |
1099 | font-size: 1.125em; |
1100 | @@ -2118,25 +1410,9 @@ |
1101 | img.mugshot {display: block;} |
1102 | /* End hiding from MSIE for Mac */ |
1103 | |
1104 | -div.columns {clear: both;} |
1105 | div.left, div.right {width: 50%;} |
1106 | div.left {clear: both; float: left;} |
1107 | div.right {clear: right; float: right;} |
1108 | -div.left div.portlet, div.right div.portlet { |
1109 | - border: dotted #cbcbcb; /* matches color of mainarea_* images */ |
1110 | - border-width: 1px 0 0 0; |
1111 | - margin-top: 0; |
1112 | - padding-top: 0.5em; |
1113 | -} |
1114 | -div.left div.portlet { |
1115 | - border-width: 1px 0 0 0; |
1116 | - padding: 0 0.5em 0.5em 0; |
1117 | -} |
1118 | -div.right div.portlet { /* is this necessary? */ |
1119 | - border-width: 1px 0 0 1px; |
1120 | - padding: 0 0 0.5em 0.5em; |
1121 | -} |
1122 | -div.columns div.right div.portlet {border: none; padding: 0;} /* BlueprintsFP */ |
1123 | |
1124 | div.three.column.middle {margin-right: 1%;} |
1125 | div.three.column.left, div.three.column.middle, div.three.column.right { |
1126 | @@ -2151,16 +1427,8 @@ |
1127 | ul.buttons {margin: 0.5em 0 0.5em 0 !important; padding: 0 !important;} |
1128 | /*- without !important, gets overridden by the '#maincontent ol' etc rule -*/ |
1129 | ul.buttons li {display: inline; margin: 0 0 0 0;} |
1130 | -body.applicationhome ul.buttons {float: right; margin: 0 0 0 1em !important;} |
1131 | -body.applicationhome ul.buttons li {display: block; margin-right: 0;} |
1132 | ul.cross-reference {font-size: 1.25em;} |
1133 | |
1134 | -/* |
1135 | -li { |
1136 | - margin-bottom: 0.75em; |
1137 | -} |
1138 | -*/ |
1139 | - |
1140 | #project-cloud-preview a { |
1141 | padding-left: 0.5em; |
1142 | padding-right: 0.5em, |
1143 | |
1144 | === modified file 'lib/lp/bugs/templates/buglisting-embedded-advanced-search.pt' |
1145 | --- lib/lp/bugs/templates/buglisting-embedded-advanced-search.pt 2009-09-23 13:11:52 +0000 |
1146 | +++ lib/lp/bugs/templates/buglisting-embedded-advanced-search.pt 2009-11-27 23:35:24 +0000 |
1147 | @@ -27,7 +27,6 @@ |
1148 | <metal:advanced_form |
1149 | use-macro="context/@@+bugtask-macros-tableview/advanced_search_form" /> |
1150 | </tal:show_advanced> |
1151 | - <div class="visualClear"> </div> |
1152 | </div> |
1153 | </body> |
1154 | </html> |
1155 | |
1156 | === modified file 'lib/lp/bugs/templates/person-packagebugs-search.pt' |
1157 | --- lib/lp/bugs/templates/person-packagebugs-search.pt 2009-09-09 13:00:41 +0000 |
1158 | +++ lib/lp/bugs/templates/person-packagebugs-search.pt 2009-11-27 23:35:24 +0000 |
1159 | @@ -34,20 +34,6 @@ |
1160 | </style> |
1161 | </div> |
1162 | |
1163 | - <metal:heading fill-slot="pageheading"> |
1164 | - <h1 tal:define="name context/fmt:displayname" |
1165 | - tal:content="string:${name}'s bug reports by package"> |
1166 | - Foo Bar's bug reports by package |
1167 | - </h1> |
1168 | - </metal:heading> |
1169 | - |
1170 | - <metal:leftportlets fill-slot="portlets_one"> |
1171 | - <tal:do_not_show_portlets_advanced_form |
1172 | - condition="not: view/shouldShowAdvancedForm"> |
1173 | - <div tal:content="structure context/@@+portlet-otherpackages" /> |
1174 | - </tal:do_not_show_portlets_advanced_form> |
1175 | - </metal:leftportlets> |
1176 | - |
1177 | <metal:side fill-slot="side"> |
1178 | <tal:menu replace="structure context/@@+global-actions" /> |
1179 | </metal:side> |
1180 | @@ -78,8 +64,6 @@ |
1181 | <metal:advanced_form |
1182 | use-macro="context/@@+bugtask-macros-tableview/advanced_search_form" /> |
1183 | </tal:show_advanced> |
1184 | - <div class="visualClear"> </div> |
1185 | - |
1186 | </div> |
1187 | </body> |
1188 | </html> |
This is my branch to remove obsolete CSS styles.
lp:~sinzui/launchpad/obsolete-styles /bugs.launchpad .net/bugs/ obsolete- styles implementation: beuno
Diff size: 1189 (1082 deletes)
Launchpad bug: https:/
Test command: none
Pre-
Target release: 3.1.12
= remove obsolete CSS styles =
After all templates are converted to 3.0, the 1.0 and 2.0 styles can be
removed:
== Rules ==
* Remove the reset rules from style-3.0.css
* Remove the styles for non-existent ids and classes
== QA ==
View edge paying careful attention to the side bar to verify the reset
rules in style-3.0 were were *not* providing style.
== Lint ==
Linting changed files: /launchpad/ icing/style- 3-0.css /launchpad/ icing/style. css bugs/templates/ buglisting- embedded- advanced- search. pt bugs/templates/ person- packagebugs- search. pt
lib/canonical
lib/canonical
lib/lp/
lib/lp/
Removed two obsolete slots that were note being used per lint.
== Test ==
None.
== Implementation ==
* lib/canonical/ launchpad/ icing/style- 3-0.css launchpad/ icing/style. css bugs/templates/ buglisting- embedded- advanced- search. pt bugs/templates/ person- packagebugs- search. pt
* Removed reset styles.
* Added to rules that were providing style from the reset or base rules.
* lib/canonical/
* Removed unused styles.
* Updated one rule that was still partially in effect.
* lib/lp/
* Removed beta style.
* Removed obsolete slots
* lib/lp/
* Removed beta style.