Merge lp:~sinzui/launchpad/css-rip-0 into lp:launchpad
- css-rip-0
- Merge into devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~sinzui/launchpad/css-rip-0 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
3372 lines (+1482/-1213) 2 files modified
lib/canonical/launchpad/icing/style-3-0.css.in (+1481/-934) lib/canonical/launchpad/icing/style.css (+1/-279) |
||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/css-rip-0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | code | Approve | |
Review via email: mp+24011@code.launchpad.net |
Commit message
Description of the change
This is my branch to move common styles to the 3.0 CSS.
Don't panic. only 357 lines moved to the new file. The file is reorgainised.
Read style-3-0.css.in after the merge. I think you will agree that it is
much easier to read.
lp:~sinzui/launchpad/css-rip-0
Diff size: 3366, (moved 357 lines, reformatted everything)
Test command: submitted to http://
Pre-
Target release: 10.04
Move universal styles to the 3.0 CSS
-------
Move the basic and common class selectors to the 3.0 CSS. and organise the
file so that it is intelligible.
Rules
-----
* Move universal selectors to the 3.0 CSS
* Use consistent formatting for CSS and comment.
* Reoragnise the CSS into sections that will group similar selectors.
This allows us to see similar selector. It encourages fixing the
current rules instead of writing new ones. This also makes it easy
to find similar and duplicate rules.
* Remove unused CSS:
.offscreen
* Run the updates through http://
to identify duplicate rules.
Combined:
Removed duplicate CSS
Used numeric grey because CSS warns that the term is not universal.
* Note we have two rules for curved borders that are defined in many
places We should try to define these rules once to minimise validator
complaints and ensure we really only have two rules.
QA
--
Watch Edge and for issues.
Lint
----
http://
Linting changed files:
lib/canonical
lib/canonical
Test
----
I ran the changes through http://
helped me to find duplicate rules.
Preview Diff
1 | === modified file 'lib/canonical/launchpad/icing/style-3-0.css.in' | |||
2 | --- lib/canonical/launchpad/icing/style-3-0.css.in 2010-04-20 07:03:41 +0000 | |||
3 | +++ lib/canonical/launchpad/icing/style-3-0.css.in 2010-04-24 14:37:26 +0000 | |||
4 | @@ -1,4 +1,56 @@ | |||
6 | 1 | /* Page layout */ | 1 | /* A brief introduction to this stylesheet |
7 | 2 | or how not to kill kittens. | ||
8 | 3 | |||
9 | 4 | 1. This is a global style sheet. Add styles that can be used by all | ||
10 | 5 | launchpad. Rules for just an application or a page do not belong | ||
11 | 6 | in this file. | ||
12 | 7 | 2. Do not use IDs because they discourage reuse. | ||
13 | 8 | 3. This style sheet depends on YUI-Font; | ||
14 | 9 | Only use these font percentages. | ||
15 | 10 | Pixels Percent | ||
16 | 11 | 10 77 | ||
17 | 12 | 11 85 | ||
18 | 13 | 12 93 | ||
19 | 14 | 13 100 | ||
20 | 15 | 14 108 | ||
21 | 16 | 15 116 | ||
22 | 17 | 16 123.1 | ||
23 | 18 | 17 131 | ||
24 | 19 | 18 138.5 | ||
25 | 20 | 19 146.5 | ||
26 | 21 | 20 153.9 | ||
27 | 22 | 21 161.6 | ||
28 | 23 | 22 167 | ||
29 | 24 | 23 174 | ||
30 | 25 | 24 182 | ||
31 | 26 | 25 189 | ||
32 | 27 | 26 197 | ||
33 | 28 | 4. Use these colors when defing using application colors. | ||
34 | 29 | * Launchpad-Gold: #F8C300 | ||
35 | 30 | * Answers: #3840BE | ||
36 | 31 | * Blueprints: #3594BB | ||
37 | 32 | * Bugs: #9F2B33 | ||
38 | 33 | * Code: #D18B39 | ||
39 | 34 | * Translations: #BB3A84 | ||
40 | 35 | * Registry: default (i.e. black) | ||
41 | 36 | 5. Add rules to the appropriate section. | ||
42 | 37 | * Page layout | ||
43 | 38 | * Block | ||
44 | 39 | * Inline | ||
45 | 40 | * Block-lists | ||
46 | 41 | * Block-tables | ||
47 | 42 | * Forms | ||
48 | 43 | * Common presentations. | ||
49 | 44 | * Header, footer, side, help | ||
50 | 45 | * Colors | ||
51 | 46 | * Sprites | ||
52 | 47 | * Application or page specifc styles that do not belong in this file. | ||
53 | 48 | */ | ||
54 | 49 | |||
55 | 50 | /* ========================= | ||
56 | 51 | Universal presentation | ||
57 | 52 | Page layout | ||
58 | 53 | */ | ||
59 | 2 | .yui-d0 { | 54 | .yui-d0 { |
60 | 3 | margin: 10px 20px; | 55 | margin: 10px 20px; |
61 | 4 | } | 56 | } |
62 | @@ -33,8 +85,7 @@ | |||
63 | 33 | } | 85 | } |
64 | 34 | .footer .sitemessage { | 86 | .footer .sitemessage { |
65 | 35 | text-align: right; | 87 | text-align: right; |
68 | 36 | } | 88 | } |
67 | 37 | |||
69 | 38 | .footer .colophon { | 89 | .footer .colophon { |
70 | 39 | margin: 3em 3em 1em 3em; | 90 | margin: 3em 3em 1em 3em; |
71 | 40 | text-align: center; | 91 | text-align: center; |
72 | @@ -62,84 +113,35 @@ | |||
73 | 62 | z-index: 10; | 113 | z-index: 10; |
74 | 63 | width: 131%; | 114 | width: 131%; |
75 | 64 | } | 115 | } |
76 | 65 | /* The content is already full width; the content should remain full width. */ | ||
77 | 66 | .full-page-width .full-page-width { | 116 | .full-page-width .full-page-width { |
78 | 117 | /* The content is already full width. */ | ||
79 | 67 | width: 100%; | 118 | width: 100%; |
80 | 68 | } | 119 | } |
81 | 69 | .warning.message { | 120 | .warning.message { |
82 | 70 | margin-top: 17px; | 121 | margin-top: 17px; |
83 | 71 | } | 122 | } |
147 | 72 | /* | 123 | |
148 | 73 | 124 | ||
149 | 74 | Use percentages when setting font-size. | 125 | /* ========================= |
150 | 75 | 126 | Universal presentation | |
151 | 76 | Pixels Percent | 127 | Block elements. |
152 | 77 | 10 77 | 128 | */ |
90 | 78 | 11 85 | ||
91 | 79 | 12 93 | ||
92 | 80 | 13 100 | ||
93 | 81 | 14 108 | ||
94 | 82 | 15 116 | ||
95 | 83 | 16 123.1 | ||
96 | 84 | 17 131 | ||
97 | 85 | 18 138.5 | ||
98 | 86 | 19 146.5 | ||
99 | 87 | 20 153.9 | ||
100 | 88 | 21 161.6 | ||
101 | 89 | 22 167 | ||
102 | 90 | 23 174 | ||
103 | 91 | 24 182 | ||
104 | 92 | 25 189 | ||
105 | 93 | 26 197 | ||
106 | 94 | |||
107 | 95 | */ | ||
108 | 96 | |||
109 | 97 | /* | ||
110 | 98 | |||
111 | 99 | Use the following 'application' colors for table column headings, | ||
112 | 100 | app stats etc. | ||
113 | 101 | |||
114 | 102 | Launchpad-Gold: #F8C300 | ||
115 | 103 | Answers: #3840BE | ||
116 | 104 | Blueprints: #3594BB | ||
117 | 105 | Bugs: #9F2B33 | ||
118 | 106 | Code: #D18B39 | ||
119 | 107 | Registry: default (i.e. black) | ||
120 | 108 | Translations: #BB3A84 | ||
121 | 109 | |||
122 | 110 | */ | ||
123 | 111 | |||
124 | 112 | strong.answers-stat { | ||
125 | 113 | color: #3840BE; | ||
126 | 114 | } | ||
127 | 115 | strong.blueprints-stat { | ||
128 | 116 | color: #3594BB; | ||
129 | 117 | } | ||
130 | 118 | strong.bugs-stat { | ||
131 | 119 | color: #9F2B33; | ||
132 | 120 | } | ||
133 | 121 | strong.code-stat { | ||
134 | 122 | color: #D18B39; | ||
135 | 123 | } | ||
136 | 124 | strong.registry-stat { | ||
137 | 125 | } | ||
138 | 126 | strong.translations-stat { | ||
139 | 127 | color: #BB3A84; | ||
140 | 128 | } | ||
141 | 129 | .launchpad-gold { | ||
142 | 130 | color: #F8C300; | ||
143 | 131 | } | ||
144 | 132 | |||
145 | 133 | |||
146 | 134 | /* Default text presentation */ | ||
153 | 135 | html, body { | 129 | html, body { |
155 | 136 | font-family: bitstream vera sans, dejavu sans, verdana, sans-serif; | 130 | font-family: "dejavu sans", "bitstream vera sans", verdana, sans-serif; |
156 | 137 | font-size: 93%; | 131 | font-size: 93%; |
157 | 138 | } | 132 | } |
158 | 139 | body.private { | 133 | body.private { |
159 | 140 | /* It must be obvious to the user that the context is private */ | 134 | /* It must be obvious to the user that the context is private */ |
160 | 141 | background: url("/@@/private-y-bg") top left repeat-y; | 135 | background: url("/@@/private-y-bg") top left repeat-y; |
161 | 142 | } | 136 | } |
162 | 137 | * html body { | ||
163 | 138 | /* stops floats dropping in IE 5.5/6 */ | ||
164 | 139 | word-wrap: break-word; | ||
165 | 140 | } | ||
166 | 141 | h1, h2, h3, h4, h5, h6 { | ||
167 | 142 | background: none; | ||
168 | 143 | clear: left; | ||
169 | 144 | } | ||
170 | 143 | h1 { | 145 | h1 { |
171 | 144 | clear: none; | 146 | clear: none; |
172 | 145 | padding-top: 6px; /* An offset from the logo. */ | 147 | padding-top: 6px; /* An offset from the logo. */ |
173 | @@ -158,64 +160,795 @@ | |||
174 | 158 | width: auto; | 160 | width: auto; |
175 | 159 | margin-bottom: 0.8em; | 161 | margin-bottom: 0.8em; |
176 | 160 | } | 162 | } |
179 | 161 | p, li, dt, dd, blockquote, .narrow { | 163 | p, li, dt, dd, blockquote, .narrow, .narrow-listing { |
180 | 162 | max-width: 45em; /* Wrap the text before the eye gets lost. */ | 164 | /* Wrap the text before the eye gets lost. */ |
181 | 165 | max-width: 45em; | ||
182 | 163 | } | 166 | } |
183 | 164 | pre, code, samp, tt, .console { | 167 | pre, code, samp, tt, .console { |
186 | 165 | font-size: 116%; | 168 | font-size: 116%; |
187 | 166 | margin-bottom: 0.8em; | 169 | margin-bottom: 0.8em; |
188 | 170 | } | ||
189 | 171 | pre.wrap { | ||
190 | 172 | /* From nice_pre in tales.py */ | ||
191 | 173 | white-space: -moz-pre-wrap; | ||
192 | 174 | white-space: -o-pre-wrap; | ||
193 | 175 | white-space: pre-wrap; | ||
194 | 176 | word-wrap: break-word; | ||
195 | 177 | } | ||
196 | 178 | div.left, div.right { | ||
197 | 179 | width: 50%; | ||
198 | 180 | } | ||
199 | 181 | div.left, .cves{ | ||
200 | 182 | clear: both; | ||
201 | 183 | float: left; | ||
202 | 184 | } | ||
203 | 185 | div.right { | ||
204 | 186 | clear: right; | ||
205 | 187 | float: right; | ||
206 | 188 | } | ||
207 | 189 | div.three.column.middle { | ||
208 | 190 | margin-right: 1%; | ||
209 | 191 | } | ||
210 | 192 | div.three.column.left, div.three.column.middle, div.three.column.right { | ||
211 | 193 | clear: none; | ||
212 | 194 | float: left; | ||
213 | 195 | width: 33%; | ||
214 | 196 | } | ||
215 | 197 | div.three.column.left, div.three.column.right { | ||
216 | 198 | margin: 0; | ||
217 | 199 | } | ||
218 | 200 | hr { | ||
219 | 201 | display: none; | ||
220 | 202 | } | ||
221 | 203 | |||
222 | 204 | |||
223 | 205 | /* ========================= | ||
224 | 206 | Universal presentation | ||
225 | 207 | Inline elements. | ||
226 | 208 | */ | ||
227 | 209 | a { | ||
228 | 210 | outline: none; | ||
229 | 211 | } | ||
230 | 212 | :link, :visited { | ||
231 | 213 | /* Links are blue, brighter when clicked, and greyer once visited. */ | ||
232 | 214 | color: #03a; | ||
233 | 215 | text-decoration: none; | ||
234 | 216 | } | ||
235 | 217 | :link:hover, :visited:hover { | ||
236 | 218 | text-decoration: underline; | ||
237 | 219 | } | ||
238 | 220 | :link:active, :visited:active { | ||
239 | 221 | color: #36c; | ||
240 | 222 | } | ||
241 | 223 | a[onclick], .collapsible legend a, a.js-action, | ||
242 | 224 | a[onclick]:active, .collapsible legend a:active, a.js-action, | ||
243 | 225 | a.js-action:active { | ||
244 | 226 | /* Links that don't open separate pages are green. */ | ||
245 | 227 | color: #093; | ||
246 | 228 | } | ||
247 | 229 | a.help { | ||
248 | 230 | border-bottom: 1px dotted #03a; | ||
249 | 231 | cursor: help; | ||
250 | 232 | } | ||
251 | 233 | a.help:hover, a.help:hover { | ||
252 | 234 | text-decoration: none; | ||
253 | 235 | } | ||
254 | 236 | img, a img { | ||
255 | 237 | /* No border on images that are links. */ | ||
256 | 238 | border: none; | ||
257 | 239 | } | ||
258 | 240 | abbr[title], acronym[title] { | ||
259 | 241 | border-bottom: 1px dotted black; cursor: help; | ||
260 | 242 | } | ||
261 | 243 | em { | ||
262 | 244 | font-style: italic; | ||
263 | 245 | } | ||
264 | 246 | strong { | ||
265 | 247 | font-weight: bold; | ||
266 | 248 | } | ||
267 | 249 | strong em { | ||
268 | 250 | font-style: normal; | ||
269 | 251 | color: #353535; | ||
270 | 252 | } | ||
271 | 253 | .title { | ||
272 | 254 | font-weight: bold; | ||
273 | 255 | } | ||
274 | 256 | kbd { | ||
275 | 257 | background-color: #ddd; | ||
276 | 258 | border: 1px solid; | ||
277 | 259 | border-color: white gray gray white; | ||
278 | 260 | color: black; | ||
279 | 261 | margin: 1px; | ||
280 | 262 | min-width: 1em; | ||
281 | 263 | outline: 1px #666; | ||
282 | 264 | } | ||
283 | 265 | |||
284 | 266 | /* ========================= | ||
285 | 267 | Universal presentation | ||
286 | 268 | Block-list elements. | ||
287 | 269 | */ | ||
288 | 270 | dt { | ||
289 | 271 | margin-bottom: .3em; | ||
290 | 272 | margin-top: 0.5em; | ||
291 | 273 | font-weight: bold; | ||
292 | 274 | } | ||
293 | 275 | dt dfn { | ||
294 | 276 | font-weight: bold; | ||
295 | 277 | } | ||
296 | 278 | dd { | ||
297 | 279 | margin-bottom: .8em; | ||
298 | 280 | } | ||
299 | 281 | dl.faq dt { | ||
300 | 282 | font-weight: bold; | ||
301 | 283 | } | ||
302 | 284 | dl.faq dd { | ||
303 | 285 | margin: 1em 0 2em 4em; | ||
304 | 286 | } | ||
305 | 287 | .contributors dt strong { | ||
306 | 288 | padding-left: 1em; | ||
307 | 167 | } | 289 | } |
308 | 168 | ol { | 290 | ol { |
310 | 169 | margin-left: 1.8em; | 291 | margin-left: 1.8em; |
311 | 170 | } | 292 | } |
312 | 171 | ol li { | 293 | ol li { |
315 | 172 | list-style: decimal outside; | 294 | list-style: decimal outside; |
316 | 173 | } | 295 | } |
317 | 174 | li { | 296 | li { |
318 | 175 | padding-bottom: .3em; | 297 | padding-bottom: .3em; |
319 | 176 | } | 298 | } |
327 | 177 | dt { | 299 | ul.news, li.news { |
328 | 178 | margin-bottom: .3em; | 300 | list-style-type: none; |
329 | 179 | margin-top: 0.5em; | 301 | margin-bottom: 1em; |
330 | 180 | } | 302 | } |
331 | 181 | dd { | 303 | ul.architecture, li.architecture { |
332 | 182 | margin-bottom: .8em; | 304 | list-style-image: url(/@@/architecture); |
333 | 183 | } | 305 | } |
334 | 306 | ul.build-success, li.build-success { | ||
335 | 307 | list-style-image: url(/@@/build-success); | ||
336 | 308 | } | ||
337 | 309 | ul.bug.remote, li.bug.remote { | ||
338 | 310 | list-style-image: url(/@@/bug-remote); | ||
339 | 311 | } | ||
340 | 312 | ul.language, li.language { | ||
341 | 313 | list-style-image: url(/@@/language); | ||
342 | 314 | /* Disable .language sprite. */ | ||
343 | 315 | background: inherit; | ||
344 | 316 | } | ||
345 | 317 | ul.mail, li.mail { | ||
346 | 318 | list-style-image: url(/@@/mail); | ||
347 | 319 | } | ||
348 | 320 | ul.meeting, li.meeting { | ||
349 | 321 | list-style-image: url(/@@/meeting); | ||
350 | 322 | } | ||
351 | 323 | ul.rss, li.rss { | ||
352 | 324 | list-style-image: url(/@@/rss); | ||
353 | 325 | } | ||
354 | 326 | ul.translation, li.translation { | ||
355 | 327 | list-style-image: url(/@@/translation); | ||
356 | 328 | } | ||
357 | 329 | ul.webref, li.webref { | ||
358 | 330 | list-style-image: url(/@@/link); | ||
359 | 331 | } | ||
360 | 332 | ul.iconed { | ||
361 | 333 | list-style-type: none; | ||
362 | 334 | padding-left: 0 !important; | ||
363 | 335 | margin: 0 !important; | ||
364 | 336 | } | ||
365 | 337 | ul.buttons { | ||
366 | 338 | /* without !important, gets overridden by the '#maincontent ol' rule */ | ||
367 | 339 | margin: 0.5em 0 0.5em 0 !important; | ||
368 | 340 | padding: 0 !important; | ||
369 | 341 | } | ||
370 | 342 | ul.buttons li { | ||
371 | 343 | display: inline; margin: 0 0 0 0; | ||
372 | 344 | } | ||
373 | 345 | ul.cross-reference { | ||
374 | 346 | font-size: 123.1%; | ||
375 | 347 | } | ||
376 | 348 | .bulleted { | ||
377 | 349 | margin-bottom: 0.5em; | ||
378 | 350 | } | ||
379 | 351 | .bulleted li { | ||
380 | 352 | margin: 0 0 0 2em; | ||
381 | 353 | list-style-type: disc; | ||
382 | 354 | } | ||
383 | 355 | .horizontal { | ||
384 | 356 | margin: 1em 0 0 0; | ||
385 | 357 | } | ||
386 | 358 | .horizontal li { | ||
387 | 359 | display: inline; | ||
388 | 360 | padding: 0 1.5em 0 0; | ||
389 | 361 | } | ||
390 | 362 | .subordinate { | ||
391 | 363 | margin-left: 2em; | ||
392 | 364 | } | ||
393 | 365 | ol.subordinate { | ||
394 | 366 | margin-left: 4em; | ||
395 | 367 | } | ||
396 | 368 | .two-column-list dl { | ||
397 | 369 | width: 48%; | ||
398 | 370 | float: left; | ||
399 | 371 | display: inline; | ||
400 | 372 | margin: 0 0.25em 0.75em 0; | ||
401 | 373 | } | ||
402 | 374 | .three-column-list dl { | ||
403 | 375 | width: 31%; | ||
404 | 376 | float: left; | ||
405 | 377 | display: inline; | ||
406 | 378 | margin: 0 0.25em 0.75em 0; | ||
407 | 379 | } | ||
408 | 380 | .two-column-list li { | ||
409 | 381 | width: 48%; | ||
410 | 382 | float: left; | ||
411 | 383 | display: inline; | ||
412 | 384 | margin: 0 0.25em 0 0; | ||
413 | 385 | } | ||
414 | 386 | .three-column-list li { | ||
415 | 387 | width: 31%; | ||
416 | 388 | float: left; | ||
417 | 389 | display: inline; | ||
418 | 390 | margin: 0 0.25em 0 0; | ||
419 | 391 | } | ||
420 | 392 | .two-column-list:after, | ||
421 | 393 | .three-column-list:after { | ||
422 | 394 | content: "."; | ||
423 | 395 | display: block; | ||
424 | 396 | height: 0; | ||
425 | 397 | clear: both; | ||
426 | 398 | visibility: hidden; | ||
427 | 399 | } | ||
428 | 400 | .two-column-list dl.unseen, | ||
429 | 401 | .two-column-list li.unseen, | ||
430 | 402 | .three-column-list dl.unseen, | ||
431 | 403 | .three-column-list li.unseen { | ||
432 | 404 | /* Keep the abilty to hide list entries. */ | ||
433 | 405 | display: none; | ||
434 | 406 | } | ||
435 | 407 | .portlet dd { | ||
436 | 408 | margin-bottom: 0.5em; | ||
437 | 409 | font-size: 85%; | ||
438 | 410 | color: #484848; | ||
439 | 411 | } | ||
440 | 412 | .portlet dl strong { | ||
441 | 413 | color: #000; | ||
442 | 414 | font-weight: normal; | ||
443 | 415 | } | ||
444 | 416 | .related { | ||
445 | 417 | /* Lists that link to related content. */ | ||
446 | 418 | margin-top: 4em; | ||
447 | 419 | border-top: 1px solid #cbcbcb; /* matches color of mainarea_* images */ | ||
448 | 420 | padding-top: 1em; | ||
449 | 421 | } | ||
450 | 422 | .related ul { | ||
451 | 423 | list-style: none; | ||
452 | 424 | margin-left: 0 !important; | ||
453 | 425 | padding-left: 0 !important; | ||
454 | 426 | text-indent: 0.5em; | ||
455 | 427 | } | ||
456 | 428 | .related ul.sourcepackage-links li.sourcepackage-not-dev-focus:before { | ||
457 | 429 | content: ""; | ||
458 | 430 | display: inline-block; | ||
459 | 431 | width: 1.5em; | ||
460 | 432 | } | ||
461 | 433 | .related ul.sourcepackage-links li.sourcepackage-dev-focus:before { | ||
462 | 434 | content: "⇒ "; | ||
463 | 435 | display: inline-block; | ||
464 | 436 | width: 1.5em; | ||
465 | 437 | } | ||
466 | 438 | .related ul li:before { | ||
467 | 439 | content: "\00BB \0020"; | ||
468 | 440 | } | ||
469 | 441 | .gridflow { | ||
470 | 442 | /* A list that positions the items in a grid (like a table). */ | ||
471 | 443 | margin: 0.0em; | ||
472 | 444 | padding: 0.0em; | ||
473 | 445 | } | ||
474 | 446 | .gridflow ul { | ||
475 | 447 | margin: 0.5em 0.0em 0.5em 0.0em; | ||
476 | 448 | padding: 0.5em 0.0em 0.0em 0.0em; | ||
477 | 449 | } | ||
478 | 450 | .gridflow li { | ||
479 | 451 | display: inline; | ||
480 | 452 | margin: 0.0em; | ||
481 | 453 | padding: 0.2em; | ||
482 | 454 | } | ||
483 | 455 | .gridflow li span { | ||
484 | 456 | display: table-cell; | ||
485 | 457 | display: inline-table; | ||
486 | 458 | display: inline-block; | ||
487 | 459 | width: 192px; | ||
488 | 460 | text-align: center; | ||
489 | 461 | vertical-align: middle; | ||
490 | 462 | padding: 1em 1em 1em 0; | ||
491 | 463 | } | ||
492 | 464 | |||
493 | 465 | |||
494 | 466 | /* ========================= | ||
495 | 467 | Universal presentation | ||
496 | 468 | Block-table elements. | ||
497 | 469 | */ | ||
498 | 470 | caption { | ||
499 | 471 | caption-side: bottom; | ||
500 | 472 | text-align: left; | ||
501 | 473 | } | ||
502 | 184 | th { | 474 | th { |
503 | 185 | text-align: right; | 475 | text-align: right; |
504 | 186 | } | 476 | } |
505 | 477 | th, td { | ||
506 | 478 | vertical-align: baseline; | ||
507 | 479 | } | ||
508 | 187 | thead th, tr.thead th { | 480 | thead th, tr.thead th { |
509 | 188 | text-align: center; | 481 | text-align: center; |
510 | 189 | vertical-align: bottom; | 482 | vertical-align: bottom; |
511 | 190 | } | 483 | } |
513 | 191 | 484 | th.icon, td.icon { | |
514 | 485 | vertical-align: top; | ||
515 | 486 | white-space: nowrap; | ||
516 | 487 | width: 1px; | ||
517 | 488 | } | ||
518 | 489 | th.icon.left, td.icon.left { | ||
519 | 490 | padding-right: 0; | ||
520 | 491 | } | ||
521 | 492 | th.icon.right, td.icon.right { | ||
522 | 493 | padding-left: 0; | ||
523 | 494 | } | ||
524 | 495 | th.nowrap, td.nowrap { | ||
525 | 496 | white-space: nowrap; | ||
526 | 497 | } | ||
527 | 498 | tfoot th, table.contributions th { | ||
528 | 499 | text-align: left; | ||
529 | 500 | } | ||
530 | 501 | tr.white { | ||
531 | 502 | background-color: #fff; | ||
532 | 503 | } | ||
533 | 504 | tr.shaded { | ||
534 | 505 | background-color: #f6f6f6; | ||
535 | 506 | } | ||
536 | 507 | table .amount { | ||
537 | 508 | text-align: right; | ||
538 | 509 | } | ||
539 | 510 | table.contributions th { | ||
540 | 511 | font-weight: normal; | ||
541 | 512 | } | ||
542 | 513 | table.contributions td { | ||
543 | 514 | vertical-align: middle; | ||
544 | 515 | width: 16px; | ||
545 | 516 | text-align: left; | ||
546 | 517 | } | ||
547 | 518 | table.latest th, table.latest td { | ||
548 | 519 | padding-bottom: 2em; | ||
549 | 520 | } | ||
550 | 521 | table.duplicate.listing * { | ||
551 | 522 | color: #999; | ||
552 | 523 | } | ||
553 | 524 | .table-actions:nth-child(2) { | ||
554 | 525 | /* text-align only works here because the <li> also has the | ||
555 | 526 | style display:inline. | ||
556 | 527 | */ | ||
557 | 528 | text-align: right; | ||
558 | 529 | } | ||
559 | 530 | .table-actions { | ||
560 | 531 | margin: 1em 0 0 0; | ||
561 | 532 | } | ||
562 | 533 | .table-actions li { | ||
563 | 534 | display: inline; | ||
564 | 535 | padding: 0 1.5em 0 0; | ||
565 | 536 | } | ||
566 | 537 | table.compressed { | ||
567 | 538 | width: auto; | ||
568 | 539 | } | ||
569 | 540 | table.compressed td { | ||
570 | 541 | padding: 0.25em 0.5em; | ||
571 | 542 | } | ||
572 | 543 | table.cozy-listing { | ||
573 | 544 | width: 20em; | ||
574 | 545 | background-color: #fff; | ||
575 | 546 | border: 1px solid #d2d2d2; | ||
576 | 547 | border-bottom: 1px solid #d2d2d2; | ||
577 | 548 | } | ||
578 | 549 | table.cozy-listing td { | ||
579 | 550 | border: 1px #d2d2d2; | ||
580 | 551 | border-style: dotted none none none; | ||
581 | 552 | } | ||
582 | 553 | table.sortable a.sortheader { | ||
583 | 554 | color:#666666; | ||
584 | 555 | font-weight: bold; | ||
585 | 556 | text-decoration: none; | ||
586 | 557 | display: block; | ||
587 | 558 | } | ||
588 | 559 | table.sortable img.sortarrow { | ||
589 | 560 | padding-left: 2px; | ||
590 | 561 | } | ||
591 | 562 | th.ascending { | ||
592 | 563 | background-image: url(/@@/arrowDown); | ||
593 | 564 | background-position: center right; | ||
594 | 565 | background-repeat: no-repeat; | ||
595 | 566 | } | ||
596 | 567 | th.descending { | ||
597 | 568 | background-image: url(/@@/arrowUp); | ||
598 | 569 | background-position: center right; | ||
599 | 570 | background-repeat: no-repeat; | ||
600 | 571 | } | ||
601 | 572 | .sortkey, .revsortkey { | ||
602 | 573 | /* Used to indicate a value to be used to sort cells in a row */ | ||
603 | 574 | display: none; | ||
604 | 575 | } | ||
605 | 576 | table.listing { | ||
606 | 577 | margin: 0; width: 100%; font-size: 93%; | ||
607 | 578 | } | ||
608 | 579 | table.listing, table.listing tbody, table.listing td.end-of-section { | ||
609 | 580 | border-bottom: 1px solid #d2d2d2; | ||
610 | 581 | } | ||
611 | 582 | table.listing th { | ||
612 | 583 | font-weight: bold; | ||
613 | 584 | } | ||
614 | 585 | table.listing thead, table.listing thead th, table.listing tfoot tr, | ||
615 | 586 | table.listing tr.thead th { | ||
616 | 587 | border: 1px solid #d2d2d2; | ||
617 | 588 | background-color: #fff; | ||
618 | 589 | } | ||
619 | 590 | table.listing tr.category { | ||
620 | 591 | border-bottom: 1px solid #d2d2d2; | ||
621 | 592 | } | ||
622 | 593 | table.listing tr.category th, table.listing tr.category td { | ||
623 | 594 | padding-top: 1em; | ||
624 | 595 | } | ||
625 | 596 | table.listing thead td, | ||
626 | 597 | table.listing table tbody, table.listing table thead, | ||
627 | 598 | table.listing table thead th, table.listing tfoot tr, | ||
628 | 599 | table.listing table tfoot td, table.listing table td { | ||
629 | 600 | border: none; | ||
630 | 601 | } | ||
631 | 602 | table.listing tfoot td { | ||
632 | 603 | border: 1px solid #d2d2d2; | ||
633 | 604 | } | ||
634 | 605 | table.listing tr.note { | ||
635 | 606 | font-size: 77%; | ||
636 | 607 | } | ||
637 | 608 | table.listing th, table.listing td { | ||
638 | 609 | padding: 0.25em; | ||
639 | 610 | } | ||
640 | 611 | table.listing table th, table.listing table td { | ||
641 | 612 | /* We don't want extra padding on nested tables, like batch navigation. */ | ||
642 | 613 | padding: 0; | ||
643 | 614 | } | ||
644 | 615 | table.listing thead th, table.listing tr.thead th { | ||
645 | 616 | font-size: 108%; white-space: nowrap; | ||
646 | 617 | } | ||
647 | 618 | table.listing td { | ||
648 | 619 | border: 1px #d2d2d2; border-style: dotted none none none; | ||
649 | 620 | } | ||
650 | 621 | table.listing tr.note td { | ||
651 | 622 | border-style: none; | ||
652 | 623 | } | ||
653 | 624 | table.listing img { | ||
654 | 625 | vertical-align: middle; | ||
655 | 626 | } | ||
656 | 627 | table.listing tr.secondary th, table.listing tr.secondary td { | ||
657 | 628 | border-top: none; | ||
658 | 629 | } | ||
659 | 630 | table.listing table.simple { | ||
660 | 631 | margin-left: 2em; | ||
661 | 632 | } | ||
662 | 633 | table.listing table.simple td { | ||
663 | 634 | padding: 0.25em; | ||
664 | 635 | } | ||
665 | 636 | table.listing .section-heading { | ||
666 | 637 | font-size: 108%; | ||
667 | 638 | border: none; | ||
668 | 639 | padding-top: 1.5em; | ||
669 | 640 | } | ||
670 | 641 | table.summary th, table.summary td, | ||
671 | 642 | table.listing table.summary th, table.listing table.summary td { | ||
672 | 643 | /* Summary tables present information with subdued headers and a little | ||
673 | 644 | row spacing. */ | ||
674 | 645 | padding: 0 0.5em 0.5em 0; | ||
675 | 646 | } | ||
676 | 647 | table.summary th { | ||
677 | 648 | color: #555; | ||
678 | 649 | font-weight: normal; | ||
679 | 650 | } | ||
680 | 651 | table.summary caption { | ||
681 | 652 | font-style: italic; margin-left: 1em; | ||
682 | 653 | } | ||
683 | 654 | table.summary ul, table.summary ul li { | ||
684 | 655 | list-style-position: inside; | ||
685 | 656 | margin: 0; | ||
686 | 657 | padding: 0; | ||
687 | 658 | } | ||
688 | 659 | .batch-navigation-links .next { | ||
689 | 660 | /* Next links have icons: */ | ||
690 | 661 | background: center right no-repeat; | ||
691 | 662 | padding-right: 14px; | ||
692 | 663 | } | ||
693 | 664 | .batch-navigation-links .next { | ||
694 | 665 | background-image: url(/@@/arrowRight); | ||
695 | 666 | } | ||
696 | 667 | .batch-navigation-links .next.inactive { | ||
697 | 668 | background-image: url(/@@/arrowRight-inactive); | ||
698 | 669 | } | ||
699 | 670 | .batch-navigation-links .inactive { | ||
700 | 671 | color: #999ea7; | ||
701 | 672 | } | ||
702 | 673 | .batch-navigation-links .previous, .batch-navigation-links .next, | ||
703 | 674 | .batch-navigation-links .last { | ||
704 | 675 | /* And all the links have spacing between them: */ | ||
705 | 676 | margin-left: 0.25em; | ||
706 | 677 | } | ||
707 | 678 | .batch-navigation-links .first, .batch-navigation-links .previous, | ||
708 | 679 | .batch-navigation-links .next { | ||
709 | 680 | margin-right: 0.25em; | ||
710 | 681 | } | ||
711 | 682 | |||
712 | 683 | |||
713 | 684 | /* ========================= | ||
714 | 685 | Universal presentation | ||
715 | 686 | Form elements. | ||
716 | 687 | */ | ||
717 | 192 | form { | 688 | form { |
718 | 193 | margin-bottom: 1em; | 689 | margin-bottom: 1em; |
720 | 194 | } | 690 | } |
721 | 195 | form h1 { | 691 | form h1 { |
722 | 196 | margin-bottom: 1em; | 692 | margin-bottom: 1em; |
723 | 197 | } | 693 | } |
724 | 198 | |||
725 | 199 | form table th, form table td { | 694 | form table th, form table td { |
726 | 200 | padding: 2px; | 695 | padding: 2px; |
727 | 201 | } | 696 | } |
728 | 202 | form table tbody th { | 697 | form table tbody th { |
729 | 203 | font-weight: bold; | 698 | font-weight: bold; |
730 | 204 | } | 699 | } |
731 | 700 | form table label { | ||
732 | 701 | font-weight: bold; | ||
733 | 702 | } | ||
734 | 703 | fieldset { | ||
735 | 704 | border-width: 2px 0 0; | ||
736 | 705 | margin: 1em 0; | ||
737 | 706 | padding: 1em 0 0; | ||
738 | 707 | } | ||
739 | 708 | label { | ||
740 | 709 | white-space: nowrap; | ||
741 | 710 | } | ||
742 | 205 | input[type='image'] { | 711 | input[type='image'] { |
743 | 206 | vertical-align: middle; | 712 | vertical-align: middle; |
744 | 207 | } | 713 | } |
756 | 208 | em { | 714 | input { |
757 | 209 | font-style: italic; | 715 | visibility:inherit; |
758 | 210 | } | 716 | } |
759 | 211 | strong { | 717 | input[type=radio] { |
760 | 212 | font-weight: bold; | 718 | margin-left: 1em; |
761 | 213 | } | 719 | } |
762 | 214 | 720 | input.urlTextType { | |
763 | 215 | .unseen {display: none;} | 721 | width: 40em; |
764 | 216 | 722 | } | |
765 | 217 | 723 | textarea { | |
766 | 218 | /* Common presentations */ | 724 | display: block; |
767 | 725 | width: 90%; | ||
768 | 726 | max-width: 60em; | ||
769 | 727 | } | ||
770 | 728 | button { | ||
771 | 729 | padding:0; | ||
772 | 730 | } | ||
773 | 731 | .fieldRequired, .fieldOptional { | ||
774 | 732 | color: #999; | ||
775 | 733 | } | ||
776 | 734 | .formHelp { | ||
777 | 735 | margin: 0.2em 0 0.5em 0.2em; | ||
778 | 736 | color: #777; | ||
779 | 737 | } | ||
780 | 738 | .listbox { | ||
781 | 739 | /* a scrolling list of checkboxes or radio buttons */ | ||
782 | 740 | border: 1px solid #8cacbb; | ||
783 | 741 | display: inline-block; | ||
784 | 742 | max-height: 12em; | ||
785 | 743 | overflow: auto; | ||
786 | 744 | overflow: -moz-scrollbars-vertical; | ||
787 | 745 | } | ||
788 | 746 | .listbox label { | ||
789 | 747 | background-color: #f6f6f6; | ||
790 | 748 | border: solid white; | ||
791 | 749 | border-width: 0 0 1px 0; | ||
792 | 750 | display: block; | ||
793 | 751 | } | ||
794 | 752 | .actions * { | ||
795 | 753 | /* | ||
796 | 754 | Action links are those that begin the process of doing something. | ||
797 | 755 | For example, "Register a branch", "Edit profile", "Link to CVE". | ||
798 | 756 | When presented inline, they are rendered by launchpad-inline-link.pt. | ||
799 | 757 | |||
800 | 758 | Action buttons are those that submit a multi-row form. | ||
801 | 759 | Often an action button will have an "or _Cancel_" link next to it. | ||
802 | 760 | |||
803 | 761 | We want 0.5em horizontal gap between links and buttons in these | ||
804 | 762 | sections. Using margin-left would cause a bad gap to the left of a | ||
805 | 763 | leftmost item. Using margin-right would cause a bad gap to the right of | ||
806 | 764 | a rightmost item. We could fix these problems with :first-child/:last- | ||
807 | 765 | child, but not in IE. So we do something a little tricky. We go ahead | ||
808 | 766 | and give each child of the actions container a right margin: | ||
809 | 767 | */ | ||
810 | 768 | margin-right: 0.5em; | ||
811 | 769 | } | ||
812 | 770 | .actions * * { | ||
813 | 771 | /* because ">" doesn't work in IE6 */ | ||
814 | 772 | margin-right: 0; | ||
815 | 773 | } | ||
816 | 774 | .actions { | ||
817 | 775 | /* Then in addition to the top/bottom margins of the actions container, | ||
818 | 776 | we give it a *negative* right margin, cancelling out that of the last | ||
819 | 777 | child. */ | ||
820 | 778 | margin: 1em -0.5em 1em 0; | ||
821 | 779 | } | ||
822 | 780 | table.radio-button-widget tr td { | ||
823 | 781 | /* Opera doesn't use the general tr above for the radio button table */ | ||
824 | 782 | vertical-align: top; | ||
825 | 783 | } | ||
826 | 784 | table.listing div.field>table { | ||
827 | 785 | /* Hack to add breathing room to bug status forms: */ | ||
828 | 786 | margin-top: 0.5em; | ||
829 | 787 | } | ||
830 | 788 | table.listing div.field>label, | ||
831 | 789 | table.listing div.field>div>label, | ||
832 | 790 | table.listing div.actions { | ||
833 | 791 | display: block; margin-top: 1em; | ||
834 | 792 | } | ||
835 | 793 | table.form, table.extra-options { | ||
836 | 794 | /* Many forms are laid out using tables, with appropriate spacing: */ | ||
837 | 795 | /* http://launchpad.dev/firefox/+edit */ | ||
838 | 796 | margin: 1em 0; | ||
839 | 797 | width: 100%; | ||
840 | 798 | } | ||
841 | 799 | table.form th { | ||
842 | 800 | font-weight: normal; | ||
843 | 801 | } | ||
844 | 802 | table.form th, table.form td, | ||
845 | 803 | table.form table.extra-options td, | ||
846 | 804 | table.form table.extra-options th { | ||
847 | 805 | padding-bottom: 1em; | ||
848 | 806 | } | ||
849 | 807 | table.form td td { | ||
850 | 808 | padding-bottom: 0; | ||
851 | 809 | } | ||
852 | 810 | .long td { | ||
853 | 811 | /* Long forms are composed of multiple tables and visible fieldsets */ | ||
854 | 812 | padding-right: 1em; | ||
855 | 813 | } | ||
856 | 814 | .long fieldset { | ||
857 | 815 | margin-top: 1em; | ||
858 | 816 | } | ||
859 | 817 | .long legend { | ||
860 | 818 | color: #666; | ||
861 | 819 | font-weight: bold; | ||
862 | 820 | font-size: 123.1%; | ||
863 | 821 | } | ||
864 | 822 | fieldset.collapsible { | ||
865 | 823 | /* Collapsible sections | ||
866 | 824 | Some page sections are hidden by default, expanded by clicking a link. | ||
867 | 825 | see launchpad.js:activateCollapsibles() */ | ||
868 | 826 | border: none; | ||
869 | 827 | margin: 0; | ||
870 | 828 | padding: 16px 0 0; /* "Add a comment/attachment" form in bug reports */ | ||
871 | 829 | } | ||
872 | 830 | fieldset .collapsed { | ||
873 | 831 | display: none; | ||
874 | 832 | } | ||
875 | 833 | fieldset .expanded { | ||
876 | 834 | display: block; | ||
877 | 835 | } | ||
878 | 836 | fieldset.collapsible legend { | ||
879 | 837 | font-weight: normal; | ||
880 | 838 | } | ||
881 | 839 | .collapsible legend a, .collapsible legend a:hover { | ||
882 | 840 | text-decoration: none; | ||
883 | 841 | } | ||
884 | 842 | img.collapseIcon { | ||
885 | 843 | text-decoration: none; vertical-align: middle; | ||
886 | 844 | } | ||
887 | 845 | .collapsible legend a span { | ||
888 | 846 | text-decoration: underline; | ||
889 | 847 | } | ||
890 | 848 | .collapsed { | ||
891 | 849 | border: none; margin-bottom: 0; | ||
892 | 850 | } | ||
893 | 851 | h1 .edit { | ||
894 | 852 | font-size: 50%; | ||
895 | 853 | position: relative; | ||
896 | 854 | top: -3px; | ||
897 | 855 | margin-left: 0.5em; | ||
898 | 856 | } | ||
899 | 857 | .yui-ieditor { | ||
900 | 858 | padding-right: 288px; | ||
901 | 859 | } | ||
902 | 860 | .lazr-multiline-edit .yui-ieditor { | ||
903 | 861 | padding-right: 0; | ||
904 | 862 | } | ||
905 | 863 | .lazr-multiline-edit textarea { | ||
906 | 864 | max-width: inherit; | ||
907 | 865 | } | ||
908 | 866 | .lazr-multiline-edit .yui-ieditor-input { | ||
909 | 867 | padding-right: 5px !important; | ||
910 | 868 | } | ||
911 | 869 | .widget-hd.js-action { | ||
912 | 870 | /* The js-action class is also used for non-links, for example, with | ||
913 | 871 | expand/collapse sections. */ | ||
914 | 872 | color: #093; | ||
915 | 873 | cursor:pointer | ||
916 | 874 | } | ||
917 | 875 | .widget-hd.js-action:hover { | ||
918 | 876 | text-decoration: underline; | ||
919 | 877 | } | ||
920 | 878 | .error.message, .warning.message, .informational.message { | ||
921 | 879 | border: solid #666; | ||
922 | 880 | border-width: 1px 2px 2px 1px; | ||
923 | 881 | color: black; | ||
924 | 882 | margin: 0 auto 10px auto; | ||
925 | 883 | padding: 0 10px 10px 20px; | ||
926 | 884 | width: 30em; | ||
927 | 885 | } | ||
928 | 886 | .error.message::before, .warning.message::before, | ||
929 | 887 | .informational.message::before { | ||
930 | 888 | /* The alerts are preceded with an icon overlaying the top left corner: */ | ||
931 | 889 | display: block; margin: -15px 0 -6px -35px; | ||
932 | 890 | } | ||
933 | 891 | .error { | ||
934 | 892 | /* Error messages are pink, with alerts having an error icon: */ | ||
935 | 893 | background: #ffe4e4; | ||
936 | 894 | } | ||
937 | 895 | .error.message::before { | ||
938 | 896 | content: url(/@@/error-large); | ||
939 | 897 | } | ||
940 | 898 | .warning { | ||
941 | 899 | /* Warning messages are orange, with alerts having a warning icon: */ | ||
942 | 900 | background: #fff59c; | ||
943 | 901 | } | ||
944 | 902 | .warning.message::before { | ||
945 | 903 | content: url(/@@/warning-large); | ||
946 | 904 | } | ||
947 | 905 | .informational { | ||
948 | 906 | /* Informational messages are blue-to-grey, alerts have an info icon. */ | ||
949 | 907 | |||
950 | 908 | background: #d4e8ff url(/+icing/blue-fade-to-grey); | ||
951 | 909 | } | ||
952 | 910 | .informational.message::before { | ||
953 | 911 | content: url(/@@/info-large); | ||
954 | 912 | } | ||
955 | 913 | .debugging { | ||
956 | 914 | /* Debugging messages are white on grey, alerts have an info icon. */ | ||
957 | 915 | background: #666; color: white; | ||
958 | 916 | } | ||
959 | 917 | .debugging.message::before { | ||
960 | 918 | content: url(/@@/info-large); | ||
961 | 919 | } | ||
962 | 920 | .error .message { | ||
963 | 921 | /* And inside, the error message itself uses a smaller icon. */ | ||
964 | 922 | background: url(/@@/error) center left no-repeat; | ||
965 | 923 | margin-bottom: 0.25em; | ||
966 | 924 | padding-left: 18px; | ||
967 | 925 | } | ||
968 | 926 | table.form .error { | ||
969 | 927 | /* Form errors override this background color, because the lack of space | ||
970 | 928 | between the edge of fields and the edge of the color would look bad. */ | ||
971 | 929 | background: none; | ||
972 | 930 | } | ||
973 | 931 | .inline-warning { | ||
974 | 932 | /* Warning messages inlined in the page. */ | ||
975 | 933 | color: red; | ||
976 | 934 | font-weight: bold; | ||
977 | 935 | } | ||
978 | 936 | .sml-informational { | ||
979 | 937 | background: #d4e8ff url('/+icing/blue-fade-to-grey'); | ||
980 | 938 | border: solid #666; | ||
981 | 939 | border-width: 1px 2px 2px 1px; | ||
982 | 940 | color: black; | ||
983 | 941 | padding: 5px 5px 5px 5px; | ||
984 | 942 | width:44em; | ||
985 | 943 | } | ||
986 | 944 | .sml-informational::before { | ||
987 | 945 | content: url('/@@/info'); | ||
988 | 946 | } | ||
989 | 947 | |||
990 | 948 | /* ========================= | ||
991 | 949 | Common presentations | ||
992 | 950 | These appear to be 3.0 specific. | ||
993 | 951 | */ | ||
994 | 219 | div.see-all { | 952 | div.see-all { |
995 | 220 | font-size: 123.1%; /* Same as a h2 */ | 953 | font-size: 123.1%; /* Same as a h2 */ |
996 | 221 | text-align:right; | 954 | text-align:right; |
997 | @@ -232,6 +965,16 @@ | |||
998 | 232 | font-size: 72%; | 965 | font-size: 72%; |
999 | 233 | text-decoration: underline; | 966 | text-decoration: underline; |
1000 | 234 | } | 967 | } |
1001 | 968 | .unseen { | ||
1002 | 969 | display: none; | ||
1003 | 970 | } | ||
1004 | 971 | .invisible-link { | ||
1005 | 972 | display:none; | ||
1006 | 973 | } | ||
1007 | 974 | .invisible { | ||
1008 | 975 | left:-9999em; | ||
1009 | 976 | display:block; | ||
1010 | 977 | } | ||
1011 | 235 | .rss-right { | 978 | .rss-right { |
1012 | 236 | background: url(/@@/rss.png) right center no-repeat; | 979 | background: url(/@@/rss.png) right center no-repeat; |
1013 | 237 | } | 980 | } |
1014 | @@ -250,6 +993,15 @@ | |||
1015 | 250 | clear: both; | 993 | clear: both; |
1016 | 251 | font-size: 100%; | 994 | font-size: 100%; |
1017 | 252 | } | 995 | } |
1018 | 996 | .application-summary { | ||
1019 | 997 | font-size: 123.1%; | ||
1020 | 998 | } | ||
1021 | 999 | .search-results { | ||
1022 | 1000 | margin-top: 1em; | ||
1023 | 1001 | } | ||
1024 | 1002 | p.search-results { | ||
1025 | 1003 | font-size: 116%; | ||
1026 | 1004 | } | ||
1027 | 253 | .top-portlet .summary { | 1005 | .top-portlet .summary { |
1028 | 254 | margin: 0 0 1em 0; | 1006 | margin: 0 0 1em 0; |
1029 | 255 | font-size: 138.5%; | 1007 | font-size: 138.5%; |
1030 | @@ -257,179 +1009,147 @@ | |||
1031 | 257 | .main-portlet { | 1009 | .main-portlet { |
1032 | 258 | margin: 1em 0 1em 0; | 1010 | margin: 1em 0 1em 0; |
1033 | 259 | } | 1011 | } |
1034 | 260 | |||
1035 | 261 | /* Common list presentations. */ | ||
1036 | 262 | .bulleted { | ||
1037 | 263 | margin-bottom: 0.5em; | ||
1038 | 264 | } | ||
1039 | 265 | .bulleted li { | ||
1040 | 266 | margin: 0 0 0 2em; | ||
1041 | 267 | list-style-type: disc; | ||
1042 | 268 | } | ||
1043 | 269 | .horizontal { | ||
1044 | 270 | margin: 1em 0 0 0; | ||
1045 | 271 | } | ||
1046 | 272 | .horizontal li { | ||
1047 | 273 | display: inline; | ||
1048 | 274 | padding: 0 1.5em 0 0; | ||
1049 | 275 | } | ||
1050 | 276 | .pre { | 1012 | .pre { |
1051 | 277 | white-space: pre; | 1013 | white-space: pre; |
1052 | 278 | } | 1014 | } |
1105 | 279 | .table-actions:nth-child(2) { | 1015 | .clearfix:after { |
1106 | 280 | /* text-align only works here because the <li> also has the | 1016 | /* use class="clearfix" whenever floats should be enclosed */ |
1055 | 281 | style display:inline. | ||
1056 | 282 | */ | ||
1057 | 283 | text-align: right; | ||
1058 | 284 | } | ||
1059 | 285 | .table-actions { | ||
1060 | 286 | margin: 1em 0 0 0; | ||
1061 | 287 | } | ||
1062 | 288 | .table-actions li { | ||
1063 | 289 | display: inline; | ||
1064 | 290 | padding: 0 1.5em 0 0; | ||
1065 | 291 | } | ||
1066 | 292 | .subordinate { | ||
1067 | 293 | margin-left: 2em; | ||
1068 | 294 | } | ||
1069 | 295 | ol.subordinate { | ||
1070 | 296 | margin-left: 4em; | ||
1071 | 297 | } | ||
1072 | 298 | .two-column-list dl { | ||
1073 | 299 | width: 48%; | ||
1074 | 300 | float: left; | ||
1075 | 301 | display: inline; | ||
1076 | 302 | margin: 0 0.25em 0.75em 0; | ||
1077 | 303 | } | ||
1078 | 304 | .three-column-list dl { | ||
1079 | 305 | width: 31%; | ||
1080 | 306 | float: left; | ||
1081 | 307 | display: inline; | ||
1082 | 308 | margin: 0 0.25em 0.75em 0; | ||
1083 | 309 | } | ||
1084 | 310 | .two-column-list li { | ||
1085 | 311 | width: 48%; | ||
1086 | 312 | float: left; | ||
1087 | 313 | display: inline; | ||
1088 | 314 | margin: 0 0.25em 0 0; | ||
1089 | 315 | } | ||
1090 | 316 | .three-column-list li { | ||
1091 | 317 | width: 31%; | ||
1092 | 318 | float: left; | ||
1093 | 319 | display: inline; | ||
1094 | 320 | margin: 0 0.25em 0 0; | ||
1095 | 321 | } | ||
1096 | 322 | /* Keep the abilty to hide list entries. */ | ||
1097 | 323 | .two-column-list dl.unseen, | ||
1098 | 324 | .two-column-list li.unseen, | ||
1099 | 325 | .three-column-list dl.unseen, | ||
1100 | 326 | .three-column-list li.unseen { | ||
1101 | 327 | display: none; | ||
1102 | 328 | } | ||
1103 | 329 | .two-column-list:after, | ||
1104 | 330 | .three-column-list:after { | ||
1107 | 331 | content: "."; | 1017 | content: "."; |
1108 | 332 | display: block; | 1018 | display: block; |
1109 | 333 | height: 0; | 1019 | height: 0; |
1110 | 334 | clear: both; | 1020 | clear: both; |
1111 | 335 | visibility: hidden; | 1021 | visibility: hidden; |
1142 | 336 | } | 1022 | } |
1143 | 337 | dt { | 1023 | * html .clearfix { |
1144 | 338 | font-weight: bold; | 1024 | /* Work around float bug in MSIE */ |
1145 | 339 | } | 1025 | height: 1%; |
1146 | 340 | .portlet dd { | 1026 | } |
1147 | 341 | margin-bottom: 0.5em; | 1027 | |
1148 | 342 | font-size: 85%; | 1028 | |
1149 | 343 | color: #484848; | 1029 | /* ========================= |
1150 | 344 | } | 1030 | Universal |
1151 | 345 | .portlet dl strong { | 1031 | Header |
1152 | 346 | color: #000; | 1032 | */ |
1153 | 347 | font-weight: normal; | 1033 | .demo { |
1154 | 348 | } | 1034 | background-color: #fee; |
1155 | 349 | .application-summary { | 1035 | } |
1156 | 350 | font-size: 123.1%; | 1036 | #locationbar { |
1157 | 351 | } | 1037 | /* The following style works around the fact that the locationbar, which |
1158 | 352 | .search-results { | 1038 | is only used of the Login/Register links in 3.0 UI, is accessible on |
1159 | 353 | margin-top: 1em; | 1039 | "locationless" pages. It adds extra space at the top of every page in |
1160 | 354 | } | 1040 | Launchpad but that does actually look quite good ... ;-).*/ |
1161 | 355 | p.search-results { | 1041 | height: 1em; |
1162 | 356 | font-size: 116%; | 1042 | } |
1133 | 357 | } | ||
1134 | 358 | |||
1135 | 359 | |||
1136 | 360 | /* Exceptions they may be common. */ | ||
1137 | 361 | .contributors dt strong { | ||
1138 | 362 | padding-left: 1em; | ||
1139 | 363 | } | ||
1140 | 364 | |||
1141 | 365 | /* == Watermark heading styles */ | ||
1163 | 366 | div.watermark-apps-portlet { | 1043 | div.watermark-apps-portlet { |
1164 | 367 | padding-bottom:1em; | 1044 | padding-bottom:1em; |
1166 | 368 | } | 1045 | } |
1167 | 369 | div.watermark-apps-portlet img { | 1046 | div.watermark-apps-portlet img { |
1168 | 370 | float: left; | 1047 | float: left; |
1169 | 371 | margin: 0 1.5em 0 0; | 1048 | margin: 0 1.5em 0 0; |
1171 | 372 | } | 1049 | } |
1172 | 373 | div.watermark-apps-portlet h1, div.watermark-apps-portlet h2 { | 1050 | div.watermark-apps-portlet h1, div.watermark-apps-portlet h2 { |
1173 | 374 | padding-top: 0.1em; | 1051 | padding-top: 0.1em; |
1174 | 375 | margin-bottom: 0.8em; | 1052 | margin-bottom: 0.8em; |
1175 | 376 | color: #000000; | 1053 | color: #000000; |
1176 | 377 | font-weight: bold; | 1054 | font-weight: bold; |
1177 | 378 | clear: none; | 1055 | clear: none; |
1179 | 379 | } | 1056 | } |
1180 | 380 | div.watermark-apps-portlet h1 { | 1057 | div.watermark-apps-portlet h1 { |
1181 | 381 | margin-bottom: 0.2em; | 1058 | margin-bottom: 0.2em; |
1182 | 382 | padding-top: 0; | 1059 | padding-top: 0; |
1187 | 383 | } | 1060 | } |
1188 | 384 | 1061 | div.watermark-apps-portlet span img { | |
1189 | 385 | /* === Application buttons === */ | 1062 | float: none; |
1190 | 386 | /* In most pages, we present a list of six application buttons: */ | 1063 | margin: 0; |
1191 | 1064 | } | ||
1192 | 387 | .watermark-apps-portlet li { | 1065 | .watermark-apps-portlet li { |
1193 | 388 | display:inline; | 1066 | display:inline; |
1194 | 389 | list-style-type: none; | 1067 | list-style-type: none; |
1196 | 390 | } | 1068 | } |
1197 | 391 | .watermark-apps-portlet li a, .watermark-apps-portlet li span { | 1069 | .watermark-apps-portlet li a, .watermark-apps-portlet li span { |
1198 | 392 | padding: 0.3em 0.5em; | 1070 | padding: 0.3em 0.5em; |
1199 | 393 | margin-right: 0.4em; | 1071 | margin-right: 0.4em; |
1204 | 394 | } | 1072 | } |
1205 | 395 | /* The text of the first tab should align with the heading directly | 1073 | .watermark-apps-portlet li:first-child a, |
1206 | 396 | above it */ | 1074 | .watermark-apps-portlet li:first-child span { |
1207 | 397 | .watermark-apps-portlet li:first-child a, .watermark-apps-portlet li:first-child span { | 1075 | /* The text of the first tab should align with the heading directly |
1208 | 1076 | above it */ | ||
1209 | 398 | margin-left: -0.5em; | 1077 | margin-left: -0.5em; |
1211 | 399 | } | 1078 | } |
1212 | 400 | .watermark-apps-portlet li a:link, .watermark-apps-portlet li a:visited { | 1079 | .watermark-apps-portlet li a:link, .watermark-apps-portlet li a:visited { |
1213 | 401 | color: #000; | 1080 | color: #000; |
1214 | 402 | background-color: #fff; | 1081 | background-color: #fff; |
1215 | 403 | text-decoration: none; | 1082 | text-decoration: none; |
1217 | 404 | } | 1083 | } |
1218 | 405 | .watermark-apps-portlet li.active a, .watermark-apps-portlet li.active span { | 1084 | .watermark-apps-portlet li.active a, .watermark-apps-portlet li.active span { |
1219 | 406 | font-weight: bold; | 1085 | font-weight: bold; |
1220 | 407 | color: #fff; | 1086 | color: #fff; |
1221 | 408 | background-color: #747474; | 1087 | background-color: #747474; |
1223 | 409 | } | 1088 | } |
1224 | 410 | .watermark-apps-portlet li a:hover { | 1089 | .watermark-apps-portlet li a:hover { |
1225 | 411 | color: #000; | 1090 | color: #000; |
1226 | 412 | background-color: #f3f3f3; | 1091 | background-color: #f3f3f3; |
1228 | 413 | } | 1092 | } |
1229 | 414 | .watermark-apps-portlet li.disabled-tab { | 1093 | .watermark-apps-portlet li.disabled-tab { |
1230 | 415 | color: #747474; | 1094 | color: #747474; |
1234 | 416 | } | 1095 | } |
1232 | 417 | |||
1233 | 418 | /* Facet menu, a.k.a. application tabs */ | ||
1235 | 419 | .facetmenu { | 1096 | .facetmenu { |
1236 | 1097 | /* Facet menu, a.k.a. application tabs */ | ||
1237 | 420 | width: 100%; | 1098 | width: 100%; |
1238 | 421 | white-space: nowrap; | 1099 | white-space: nowrap; |
1241 | 422 | } | 1100 | } |
1240 | 423 | /* Registering slot */ | ||
1242 | 424 | .registering { | 1101 | .registering { |
1243 | 1102 | /* Registered slot */ | ||
1244 | 425 | float: right; | 1103 | float: right; |
1245 | 426 | font-size: 85%; | 1104 | font-size: 85%; |
1246 | 427 | color: #666; | 1105 | color: #666; |
1247 | 428 | position: relative; | 1106 | position: relative; |
1248 | 429 | top: 2em; | 1107 | top: 2em; |
1252 | 430 | } | 1108 | } |
1253 | 431 | 1109 | .breadcrumbs { | |
1254 | 432 | /* Side content exceptions */ | 1110 | margin-left: 0; |
1255 | 1111 | list-style-type: none; | ||
1256 | 1112 | clear: both; | ||
1257 | 1113 | margin-bottom: 2em; | ||
1258 | 1114 | font-size: 77%; | ||
1259 | 1115 | } | ||
1260 | 1116 | .breadcrumbs li { | ||
1261 | 1117 | display:inline; | ||
1262 | 1118 | padding: 0; | ||
1263 | 1119 | } | ||
1264 | 1120 | .breadcrumbs li a { | ||
1265 | 1121 | color: #494949; | ||
1266 | 1122 | } | ||
1267 | 1123 | .breadcrumbs li:after { | ||
1268 | 1124 | content: "\00BB \0020" | ||
1269 | 1125 | } | ||
1270 | 1126 | .breadcrumbs li:last-child { | ||
1271 | 1127 | /* The following leaves a small margin in chrome/webkit, but using none | ||
1272 | 1128 | doesn't hide the » in webkit either (both work for FF3.5). */ | ||
1273 | 1129 | font-weight: bold; | ||
1274 | 1130 | } | ||
1275 | 1131 | .breadcrumbs li:last-child:after { | ||
1276 | 1132 | content: ''; | ||
1277 | 1133 | } | ||
1278 | 1134 | #logincontrol { | ||
1279 | 1135 | /* Top right of the page is a link to log in or a button to log out: */ | ||
1280 | 1136 | float: right; | ||
1281 | 1137 | } | ||
1282 | 1138 | #logincontrol img { | ||
1283 | 1139 | /* align the image with the text */ | ||
1284 | 1140 | margin-bottom: -2px; | ||
1285 | 1141 | } | ||
1286 | 1142 | #logincontrol input[type='submit'] { | ||
1287 | 1143 | /* The button lacks the right margin that buttons usually have: */ | ||
1288 | 1144 | font-size: 77%; | ||
1289 | 1145 | margin-right: 0; | ||
1290 | 1146 | } | ||
1291 | 1147 | |||
1292 | 1148 | |||
1293 | 1149 | /* ========================= | ||
1294 | 1150 | Universal | ||
1295 | 1151 | Side portlets | ||
1296 | 1152 | */ | ||
1297 | 433 | .side { | 1153 | .side { |
1298 | 434 | padding: 0.5em; | 1154 | padding: 0.5em; |
1299 | 435 | color: #484848; | 1155 | color: #484848; |
1300 | @@ -450,7 +1170,10 @@ | |||
1301 | 450 | color: #484848; | 1170 | color: #484848; |
1302 | 451 | background: #fbfbfb; | 1171 | background: #fbfbfb; |
1303 | 452 | } | 1172 | } |
1305 | 453 | 1173 | #privacy.private { | |
1306 | 1174 | background: url(/@@/private-bg) top left repeat-x; /* 8px high */ | ||
1307 | 1175 | padding-top: 12px; /* = 8px + the usual 4px top padding */ | ||
1308 | 1176 | } | ||
1309 | 454 | .downloads li { | 1177 | .downloads li { |
1310 | 455 | margin: 0; | 1178 | margin: 0; |
1311 | 456 | padding: 2px 0 0; | 1179 | padding: 2px 0 0; |
1312 | @@ -490,15 +1213,12 @@ | |||
1313 | 490 | .downloads .alternate { | 1213 | .downloads .alternate { |
1314 | 491 | padding: 0 0 0 1em; | 1214 | padding: 0 0 0 1em; |
1315 | 492 | } | 1215 | } |
1316 | 493 | |||
1317 | 494 | ul.super-add-action { | 1216 | ul.super-add-action { |
1318 | 495 | margin: 0 auto 1em; | 1217 | margin: 0 auto 1em; |
1321 | 496 | } | 1218 | } |
1320 | 497 | |||
1322 | 498 | ul.super-add-action li { | 1219 | ul.super-add-action li { |
1323 | 499 | padding: 0; | 1220 | padding: 0; |
1326 | 500 | } | 1221 | } |
1325 | 501 | |||
1327 | 502 | ul.super-add-action li a { | 1222 | ul.super-add-action li a { |
1328 | 503 | display: block; | 1223 | display: block; |
1329 | 504 | border: 1px solid black; | 1224 | border: 1px solid black; |
1330 | @@ -514,7 +1234,6 @@ | |||
1331 | 514 | font-weight: bold; | 1234 | font-weight: bold; |
1332 | 515 | text-decoration: underline; | 1235 | text-decoration: underline; |
1333 | 516 | } | 1236 | } |
1334 | 517 | |||
1335 | 518 | .involvement li { | 1237 | .involvement li { |
1336 | 519 | border-top: 1px solid #d0d0d0; | 1238 | border-top: 1px solid #d0d0d0; |
1337 | 520 | padding: 0; | 1239 | padding: 0; |
1338 | @@ -562,7 +1281,6 @@ | |||
1339 | 562 | text-decoration: none; | 1281 | text-decoration: none; |
1340 | 563 | background-color: #eee; | 1282 | background-color: #eee; |
1341 | 564 | } | 1283 | } |
1342 | 565 | |||
1343 | 566 | .announcements li { | 1284 | .announcements li { |
1344 | 567 | margin-bottom: 0.5em; | 1285 | margin-bottom: 0.5em; |
1345 | 568 | } | 1286 | } |
1346 | @@ -581,556 +1299,111 @@ | |||
1347 | 581 | margin-top: -2px; | 1299 | margin-top: -2px; |
1348 | 582 | } | 1300 | } |
1349 | 583 | 1301 | ||
1633 | 584 | /* For the Latest updates portlet | 1302 | |
1634 | 585 | * at https://launchpad.dev/~cprov/+archive/ppa */ | 1303 | /* ========================= |
1635 | 586 | ul.latest-ppa-updates .duration, ul.latest-ppa-updates .build-details { | 1304 | Universal |
1636 | 587 | font-size: 75%; | 1305 | Help pane |
1354 | 588 | } | ||
1355 | 589 | ul.latest-ppa-updates li { | ||
1356 | 590 | padding: 3px; | ||
1357 | 591 | background-repeat: no-repeat; | ||
1358 | 592 | background-position:right center; | ||
1359 | 593 | } | ||
1360 | 594 | table#packages_list tr.superseded { | ||
1361 | 595 | background-color: #eee; | ||
1362 | 596 | } | ||
1363 | 597 | /* The following could be generalised for use to the following selector: | ||
1364 | 598 | * .side .portlet li.nth-child(odd) | ||
1365 | 599 | * if needed. */ | ||
1366 | 600 | ul.latest-ppa-updates li:nth-child(odd) { | ||
1367 | 601 | border-top: 1px solid #dedede; | ||
1368 | 602 | border-bottom: 1px solid #dedede; | ||
1369 | 603 | background-color: #eeeeff; | ||
1370 | 604 | } | ||
1371 | 605 | ul.latest-ppa-updates li.FULLYBUILT { | ||
1372 | 606 | background-image: url('/@@/yes'); | ||
1373 | 607 | } | ||
1374 | 608 | ul.latest-ppa-updates li.FULLYBUILT_PENDING { | ||
1375 | 609 | background-image: url('/@@/build-success-publishing'); | ||
1376 | 610 | } | ||
1377 | 611 | ul.latest-ppa-updates li.NEEDSBUILD { | ||
1378 | 612 | background-image: url('/@@/build-needed'); | ||
1379 | 613 | } | ||
1380 | 614 | ul.latest-ppa-updates li.FAILEDTOBUILD { | ||
1381 | 615 | background-image: url('/@@/build-failed'); | ||
1382 | 616 | } | ||
1383 | 617 | ul.latest-ppa-updates li.BUILDING { | ||
1384 | 618 | background-image: url('/@@/processing'); | ||
1385 | 619 | } | ||
1386 | 620 | /* From nice_pre in tales.py */ | ||
1387 | 621 | pre.wrap { | ||
1388 | 622 | white-space: -moz-pre-wrap; | ||
1389 | 623 | white-space: -o-pre-wrap; | ||
1390 | 624 | white-space: pre-wrap; | ||
1391 | 625 | word-wrap: break-word; | ||
1392 | 626 | } | ||
1393 | 627 | |||
1394 | 628 | /* ==== Listing tables ==== */ | ||
1395 | 629 | |||
1396 | 630 | table.listing th { | ||
1397 | 631 | font-weight: bold; | ||
1398 | 632 | } | ||
1399 | 633 | table.listing {margin: 0; width: 100%; font-size: 93%;} | ||
1400 | 634 | table.listing, table.listing tbody, table.listing td.end-of-section { | ||
1401 | 635 | border-bottom: 1px solid #d2d2d2;} | ||
1402 | 636 | table.listing thead, table.listing thead th, table.listing tfoot tr, | ||
1403 | 637 | table.listing tr.thead th { | ||
1404 | 638 | border: 1px solid #d2d2d2; | ||
1405 | 639 | background-color: #fff; | ||
1406 | 640 | } | ||
1407 | 641 | table.listing tr.category {border-bottom: 1px solid #d2d2d2;} | ||
1408 | 642 | table.listing tr.category th, table.listing tr.category td {padding-top: 1em;} | ||
1409 | 643 | table.listing tfoot td {border: 1px solid #d2d2d2;} | ||
1410 | 644 | table.listing thead td {border: none;} | ||
1411 | 645 | tr.white {background-color: #fff;} | ||
1412 | 646 | tr.shaded {background-color: #f6f6f6;} | ||
1413 | 647 | table.listing tr.note {font-size: 77%;} | ||
1414 | 648 | .amount {text-align: right;} | ||
1415 | 649 | table.listing th, table.listing td {padding: 0.25em;} | ||
1416 | 650 | /* We don't want extra padding on nested tables, such as batch navigation. */ | ||
1417 | 651 | table.listing table th, table.listing table td {padding: 0;} | ||
1418 | 652 | table.listing thead th, table.listing tr.thead th { | ||
1419 | 653 | font-size: 108%; white-space: nowrap;} | ||
1420 | 654 | table.listing td {border: 1px #d2d2d2; border-style: dotted none none none;} | ||
1421 | 655 | table.listing tr.note td {border-style: none;} | ||
1422 | 656 | table.listing img {vertical-align: middle;} | ||
1423 | 657 | table.listing tr.secondary th, table.listing tr.secondary td {border-top: none;} | ||
1424 | 658 | table.listing table tbody, table.listing table thead, | ||
1425 | 659 | table.listing table thead th, table.listing tfoot tr, | ||
1426 | 660 | table.listing table tfoot td, table.listing table td { | ||
1427 | 661 | border: none; | ||
1428 | 662 | } | ||
1429 | 663 | table.listing table.simple {margin-left: 2em;} | ||
1430 | 664 | table.listing table.simple td {padding: 0.25em;} | ||
1431 | 665 | table.listing .section-heading { | ||
1432 | 666 | font-size: 108%; | ||
1433 | 667 | border: none; | ||
1434 | 668 | padding-top: 1.5em; | ||
1435 | 669 | } | ||
1436 | 670 | table.compressed { width: auto } | ||
1437 | 671 | table.compressed td { padding: 0.25em 0.5em } | ||
1438 | 672 | table.narrow-listing { | ||
1439 | 673 | width: 45em; | ||
1440 | 674 | } | ||
1441 | 675 | /* ~person/+karma */ | ||
1442 | 676 | table.cozy-listing { | ||
1443 | 677 | width: 20em; | ||
1444 | 678 | background-color: #fff; | ||
1445 | 679 | border: 1px solid #d2d2d2; | ||
1446 | 680 | border-bottom: 1px solid #d2d2d2; | ||
1447 | 681 | } | ||
1448 | 682 | table.cozy-listing td { | ||
1449 | 683 | border: 1px #d2d2d2; | ||
1450 | 684 | border-style: dotted none none none; | ||
1451 | 685 | } | ||
1452 | 686 | |||
1453 | 687 | |||
1454 | 688 | /* ==== Summary tables ==== */ | ||
1455 | 689 | |||
1456 | 690 | /* Tables presenting summary information have subdued headers and a little | ||
1457 | 691 | row spacing: */ | ||
1458 | 692 | table.summary th, table.summary td, | ||
1459 | 693 | table.listing table.summary th, table.listing table.summary td { | ||
1460 | 694 | padding: 0 0.5em 0.5em 0; | ||
1461 | 695 | } | ||
1462 | 696 | table.summary th {color: #555; font-weight: normal;} | ||
1463 | 697 | table.summary caption {font-style: italic; margin-left: 1em;} | ||
1464 | 698 | table.summary ul, table.summary ul li { | ||
1465 | 699 | list-style-position: inside; | ||
1466 | 700 | margin: 0; | ||
1467 | 701 | padding: 0; | ||
1468 | 702 | } | ||
1469 | 703 | |||
1470 | 704 | /* === Collapsible sections === */ | ||
1471 | 705 | /* Some page sections are hidden by default, expanded by clicking a link. */ | ||
1472 | 706 | /* see launchpad.js:activateCollapsibles() */ | ||
1473 | 707 | fieldset.collapsible { | ||
1474 | 708 | border: none; | ||
1475 | 709 | margin: 0; | ||
1476 | 710 | padding: 16px 0 0; /* "Add a comment/attachment" form in bug reports */ | ||
1477 | 711 | } | ||
1478 | 712 | .collapsible legend a, .collapsible legend a:hover {text-decoration: none;} | ||
1479 | 713 | img.collapseIcon {text-decoration: none; vertical-align: middle;} | ||
1480 | 714 | .collapsible legend a span {text-decoration: underline;} | ||
1481 | 715 | .collapsed {border: none; margin-bottom: 0;} | ||
1482 | 716 | fieldset .collapsed {display: none;} | ||
1483 | 717 | fieldset .expanded {display: block;} | ||
1484 | 718 | fieldset.collapsible legend {font-weight: normal;} | ||
1485 | 719 | |||
1486 | 720 | |||
1487 | 721 | /* --- Sortable tables --- */ | ||
1488 | 722 | |||
1489 | 723 | table.sortable a.sortheader { | ||
1490 | 724 | color:#666666; | ||
1491 | 725 | font-weight: bold; | ||
1492 | 726 | text-decoration: none; | ||
1493 | 727 | display: block; | ||
1494 | 728 | } | ||
1495 | 729 | table.sortable img.sortarrow { | ||
1496 | 730 | padding-left: 2px; | ||
1497 | 731 | } | ||
1498 | 732 | th.ascending { | ||
1499 | 733 | background-image: url(/@@/arrowDown); | ||
1500 | 734 | background-position: center right; | ||
1501 | 735 | background-repeat: no-repeat; | ||
1502 | 736 | } | ||
1503 | 737 | th.descending { | ||
1504 | 738 | background-image: url(/@@/arrowUp); | ||
1505 | 739 | background-position: center right; | ||
1506 | 740 | background-repeat: no-repeat; | ||
1507 | 741 | } | ||
1508 | 742 | |||
1509 | 743 | /* Used to indicate a value to be used to sort cells in a row */ | ||
1510 | 744 | .sortkey, .revsortkey {display: none;} | ||
1511 | 745 | |||
1512 | 746 | /* --- Action links and buttons --- */ | ||
1513 | 747 | |||
1514 | 748 | /* | ||
1515 | 749 | Action links are those that begin the process of doing something. | ||
1516 | 750 | For example, "Register a branch", "Edit profile", "Link to CVE". | ||
1517 | 751 | When presented inline, they are rendered by launchpad-inline-link.pt. | ||
1518 | 752 | |||
1519 | 753 | Action buttons are those that submit a multi-row form. | ||
1520 | 754 | Often an action button will have an "or _Cancel_" link next to it. | ||
1521 | 755 | |||
1522 | 756 | We want 0.5em horizontal gap between links and buttons in these sections. | ||
1523 | 757 | Using margin-left would cause a bad gap to the left of a leftmost item. | ||
1524 | 758 | Using margin-right would cause a bad gap to the right of a rightmost item. | ||
1525 | 759 | We could fix these problems with :first-child/:last-child, but not in IE. | ||
1526 | 760 | So we do something a little tricky. | ||
1527 | 761 | We go ahead and give each child of the actions container a right margin: | ||
1528 | 762 | */ | ||
1529 | 763 | .actions * {margin-right: 0.5em;} | ||
1530 | 764 | .actions * * {margin-right: 0;} /* because ">" doesn't work in IE6 */ | ||
1531 | 765 | /* | ||
1532 | 766 | Then in addition to the top/bottom margins of the actions container, we | ||
1533 | 767 | give it a *negative* right margin, cancelling out that of the last child. | ||
1534 | 768 | */ | ||
1535 | 769 | .actions {margin: 1em -0.5em 1em 0;} | ||
1536 | 770 | /* | ||
1537 | 771 | Examples: | ||
1538 | 772 | http://bugs.launchpad.dev/firefox/+bug/1 (after 'Affects' table) | ||
1539 | 773 | http://bugs.launchpad.dev/firefox/+bug/1/+subscribe (bottom button) | ||
1540 | 774 | */ | ||
1541 | 775 | |||
1542 | 776 | /* --- Batch navigation links --- */ | ||
1543 | 777 | |||
1544 | 778 | /* Next links have icons: */ | ||
1545 | 779 | .batch-navigation-links .next { | ||
1546 | 780 | background: center right no-repeat; | ||
1547 | 781 | padding-right: 14px; | ||
1548 | 782 | } | ||
1549 | 783 | .batch-navigation-links .next {background-image: url(/@@/arrowRight);} | ||
1550 | 784 | .batch-navigation-links .next.inactive { | ||
1551 | 785 | background-image: url(/@@/arrowRight-inactive); | ||
1552 | 786 | } | ||
1553 | 787 | .batch-navigation-links .inactive {color: #999ea7;} | ||
1554 | 788 | /* And all the links have spacing between them: */ | ||
1555 | 789 | .batch-navigation-links .previous, .batch-navigation-links .next, | ||
1556 | 790 | .batch-navigation-links .last { | ||
1557 | 791 | margin-left: 0.25em; | ||
1558 | 792 | } | ||
1559 | 793 | .batch-navigation-links .first, .batch-navigation-links .previous, | ||
1560 | 794 | .batch-navigation-links .next { | ||
1561 | 795 | margin-right: 0.25em; | ||
1562 | 796 | } | ||
1563 | 797 | |||
1564 | 798 | /* --- Other --- */ | ||
1565 | 799 | |||
1566 | 800 | /* No border on images that are links. */ | ||
1567 | 801 | a img { | ||
1568 | 802 | border: none; | ||
1569 | 803 | } | ||
1570 | 804 | /* No border on images that have link maps. | ||
1571 | 805 | * There's nothing special for this, as the image and map | ||
1572 | 806 | * may be separate. So, just set no border for all images. | ||
1573 | 807 | */ | ||
1574 | 808 | img { | ||
1575 | 809 | border: none; | ||
1576 | 810 | } | ||
1577 | 811 | |||
1578 | 812 | ul.language, li.language { | ||
1579 | 813 | list-style-image: url(/@@/language); | ||
1580 | 814 | /* Disable .language sprite. */ | ||
1581 | 815 | background: inherit; | ||
1582 | 816 | } | ||
1583 | 817 | |||
1584 | 818 | /* === Universal page layout === */ | ||
1585 | 819 | |||
1586 | 820 | /* === Location hierarchy === */ | ||
1587 | 821 | ol.breadcrumbs { | ||
1588 | 822 | margin-left: 0; | ||
1589 | 823 | list-style-type: none; | ||
1590 | 824 | clear: both; | ||
1591 | 825 | margin-bottom: 2em; | ||
1592 | 826 | font-size: 77%; | ||
1593 | 827 | } | ||
1594 | 828 | ol.breadcrumbs li { | ||
1595 | 829 | display:inline; | ||
1596 | 830 | padding: 0; | ||
1597 | 831 | } | ||
1598 | 832 | ol.breadcrumbs li a { | ||
1599 | 833 | color: #494949; | ||
1600 | 834 | } | ||
1601 | 835 | ol.breadcrumbs li:after { content: "\00BB \0020" } | ||
1602 | 836 | /* The following leaves a small margin in chrome/webkit, but using none | ||
1603 | 837 | * doesn't hide the » in webkit either (both work for FF3.5). | ||
1604 | 838 | */ | ||
1605 | 839 | ol.breadcrumbs li:last-child:after { content: ''; } | ||
1606 | 840 | ol.breadcrumbs li:last-child { | ||
1607 | 841 | font-weight: bold; | ||
1608 | 842 | } | ||
1609 | 843 | |||
1610 | 844 | /* === Login control === */ | ||
1611 | 845 | /* At the top right of the page is a link to log in or a button to log out: */ | ||
1612 | 846 | #logincontrol { | ||
1613 | 847 | float: right; | ||
1614 | 848 | } | ||
1615 | 849 | |||
1616 | 850 | /* push image a little bit down to make it line up better with the text */ | ||
1617 | 851 | #logincontrol img { | ||
1618 | 852 | margin-bottom: -2px; | ||
1619 | 853 | } | ||
1620 | 854 | /* The 'Log Out' button lacks the right margin that buttons usually have: */ | ||
1621 | 855 | #logincontrol input[type='submit'] { | ||
1622 | 856 | font-size: 77%; | ||
1623 | 857 | margin-right: 0; | ||
1624 | 858 | } | ||
1625 | 859 | |||
1626 | 860 | /* === Help pane === */ | ||
1627 | 861 | /* | ||
1628 | 862 | Inline help is contained in a <div> and dynamically positioned by JavaScript. | ||
1629 | 863 | |||
1630 | 864 | This should appear above all other content. Needs to be | ||
1631 | 865 | above the Google Maps element on the profile pages, which | ||
1632 | 866 | has a z-index of 9999. See bug #380349. | ||
1637 | 867 | */ | 1306 | */ |
1638 | 868 | #help-pane { | 1307 | #help-pane { |
1649 | 869 | position: absolute; | 1308 | /* Inline help is dynamically positioned by JavaScript. |
1650 | 870 | border: 1px solid black; | 1309 | This should appear above all other content. Needs to be |
1651 | 871 | padding: 1px 1px 5px 10px; | 1310 | above the Google Maps element on the profile pages, which |
1652 | 872 | z-index: 11000; /* Needs to be at least 9999. See bug #380349. */ | 1311 | has a z-index of 9999. See bug #380349. */ |
1653 | 873 | background-color: #fff; | 1312 | position: absolute; |
1654 | 874 | width: 600px; /* based on the help wiki, should change later */ | 1313 | border: 1px solid black; |
1655 | 875 | } | 1314 | padding: 1px 1px 5px 10px; |
1656 | 876 | /* We want the hidden pane to have dimensions so that we can position the | 1315 | z-index: 11000; |
1657 | 877 | frame with them. This works because the element an absolute position, taking | 1316 | background-color: #fff; |
1658 | 878 | it out of the page flow. */ | 1317 | width: 600px; /* based on the help wiki, should change later */ |
1659 | 1318 | } | ||
1660 | 879 | #help-pane.invisible { | 1319 | #help-pane.invisible { |
1661 | 1320 | /* We want the hidden pane to have dimensions so that we can position the | ||
1662 | 1321 | frame with them. This works because the element an absolute position, | ||
1663 | 1322 | taking it out of the page flow. */ | ||
1664 | 880 | position: absolute; | 1323 | position: absolute; |
1665 | 881 | visibility: hidden; | 1324 | visibility: hidden; |
1666 | 882 | display: block; | 1325 | display: block; |
1667 | 883 | left: 0px; | 1326 | left: 0px; |
1668 | 884 | top: 0px; | 1327 | top: 0px; |
1671 | 885 | } | 1328 | } |
1670 | 886 | |||
1672 | 887 | #help-body { | 1329 | #help-body { |
1673 | 888 | background: url(/@@/spinner) no-repeat center center; | 1330 | background: url(/@@/spinner) no-repeat center center; |
1676 | 889 | } | 1331 | } |
1677 | 890 | #help-pane iframe {width: 100%; height: 300px; border: 0;} | 1332 | #help-pane iframe { |
1678 | 1333 | width: 100%; height: 300px; border: 0; | ||
1679 | 1334 | } | ||
1680 | 891 | #help-pane iframe.invisible { | 1335 | #help-pane iframe.invisible { |
1681 | 892 | visibility: hidden; | 1336 | visibility: hidden; |
1682 | 893 | display: block; | 1337 | display: block; |
1684 | 894 | } | 1338 | } |
1685 | 895 | #help-footer { | 1339 | #help-footer { |
1690 | 896 | padding: 3px; | 1340 | padding: 3px; |
1691 | 897 | border-top: 1px solid #ddd; | 1341 | border-top: 1px solid #ddd; |
1692 | 898 | text-align: right; | 1342 | text-align: right; |
1693 | 899 | } | 1343 | } |
1694 | 900 | #help-footer button { | 1344 | #help-footer button { |
1806 | 901 | margin-bottom: 10px; | 1345 | margin-bottom: 10px; |
1807 | 902 | margin-top: 3px; | 1346 | margin-top: 3px; |
1808 | 903 | } | 1347 | } |
1809 | 904 | 1348 | span.help { | |
1699 | 905 | span.help {font-weight: normal;} | ||
1700 | 906 | |||
1701 | 907 | /* === Public/private status === */ | ||
1702 | 908 | /* The first portlet on many pages discloses whether the object is private: */ | ||
1703 | 909 | #privacy.private { | ||
1704 | 910 | background: url(/@@/private-bg) top left repeat-x; /* 8px high */ | ||
1705 | 911 | padding-top: 12px; /* = 8px + the usual 4px top padding */ | ||
1706 | 912 | } | ||
1707 | 913 | |||
1708 | 914 | /* Some pages end with links to related items. */ | ||
1709 | 915 | /* Examples: branch page, bug page. */ | ||
1710 | 916 | .related { | ||
1711 | 917 | margin-top: 4em; | ||
1712 | 918 | border-top: 1px solid #cbcbcb; /* matches color of mainarea_* images */ | ||
1713 | 919 | padding-top: 1em; | ||
1714 | 920 | } | ||
1715 | 921 | .related ul { | ||
1716 | 922 | list-style: none; | ||
1717 | 923 | margin-left: 0 !important; | ||
1718 | 924 | padding-left: 0 !important; | ||
1719 | 925 | text-indent: 0.5em; | ||
1720 | 926 | } | ||
1721 | 927 | |||
1722 | 928 | .related ul.sourcepackage-links li.sourcepackage-not-dev-focus:before { | ||
1723 | 929 | content: ""; | ||
1724 | 930 | display: inline-block; | ||
1725 | 931 | width: 1.5em; | ||
1726 | 932 | } | ||
1727 | 933 | .related ul.sourcepackage-links li.sourcepackage-dev-focus:before { | ||
1728 | 934 | content: "⇒ "; | ||
1729 | 935 | display: inline-block; | ||
1730 | 936 | width: 1.5em; | ||
1731 | 937 | } | ||
1732 | 938 | |||
1733 | 939 | .related ul li:before {content: "\00BB \0020";} | ||
1734 | 940 | |||
1735 | 941 | |||
1736 | 942 | |||
1737 | 943 | /* ==== Translations styles ==== */ | ||
1738 | 944 | |||
1739 | 945 | .translationimportstatusAPPROVED, | ||
1740 | 946 | .translationimportstatusAPPROVED a {color: #050;} | ||
1741 | 947 | .translationimportstatusIMPORTED, | ||
1742 | 948 | .translationimportstatusIMPORTED a {color: green;} | ||
1743 | 949 | .translationimportstatusDELETED, | ||
1744 | 950 | .translationimportstatusDELETED a {color: black;} | ||
1745 | 951 | .translationimportstatusFAILED, | ||
1746 | 952 | .translationimportstatusFAILED a {color: red;} | ||
1747 | 953 | .translationimportstatusNEEDS_REVIEW, | ||
1748 | 954 | .translationimportstatusNEEDS_REVIEW a {color: #f60;} | ||
1749 | 955 | .translationimportstatusBLOCKED, | ||
1750 | 956 | .translationimportstatusBLOCKED a {color: blue;} | ||
1751 | 957 | .translationimportstatusNEEDS_INFORMATION, | ||
1752 | 958 | .translationimportstatusNEEDS_INFORMATION a {color: maroon;} | ||
1753 | 959 | |||
1754 | 960 | /* ==== Translations hand-made forms ==== */ | ||
1755 | 961 | |||
1756 | 962 | form.translations div.fields { | ||
1757 | 963 | padding: 1em; | ||
1758 | 964 | } | ||
1759 | 965 | |||
1760 | 966 | form.translations div.actions { | ||
1761 | 967 | padding: 1em; | ||
1762 | 968 | text-align: left; | ||
1763 | 969 | clear:both; | ||
1764 | 970 | } | ||
1765 | 971 | |||
1766 | 972 | form.translations input { | ||
1767 | 973 | padding-left: 0.5em; | ||
1768 | 974 | padding-right: 0.5em; | ||
1769 | 975 | } | ||
1770 | 976 | |||
1771 | 977 | form.translations select { | ||
1772 | 978 | margin-left: 0.5em; | ||
1773 | 979 | padding-right: 0.5em; | ||
1774 | 980 | } | ||
1775 | 981 | |||
1776 | 982 | form.translations label { | ||
1777 | 983 | padding-left: 0.5em; | ||
1778 | 984 | padding-right: 1em; | ||
1779 | 985 | } | ||
1780 | 986 | |||
1781 | 987 | form.translations .listbox label { | ||
1782 | 988 | padding: 2px 1em 2px 2px; | ||
1783 | 989 | } | ||
1784 | 990 | |||
1785 | 991 | /* Provide top-alignment for radio boxes and longer explanations | ||
1786 | 992 | * without using tables. | ||
1787 | 993 | * | ||
1788 | 994 | * Examples: | ||
1789 | 995 | * https://translations.launchpad.dev/evolution/trunk/+pots/evolution-2.2/es/+upload | ||
1790 | 996 | * https://translations.launchpad.dev/evolution/trunk/+pots/evolution-2.2/+export | ||
1791 | 997 | */ | ||
1792 | 998 | form.translations div.alignment .content { | ||
1793 | 999 | float:left; | ||
1794 | 1000 | } | ||
1795 | 1001 | form.translations div.alignment .selector { | ||
1796 | 1002 | margin-right: 0.5em; | ||
1797 | 1003 | float: left; | ||
1798 | 1004 | clear: both; | ||
1799 | 1005 | } | ||
1800 | 1006 | form.translations div.alignment .content label { | ||
1801 | 1007 | padding: 0px; | ||
1802 | 1008 | margin: 0px; | ||
1803 | 1009 | font-weight: bold; | ||
1804 | 1010 | } | ||
1805 | 1011 | form.translations div.alignment .secondary label { | ||
1810 | 1012 | font-weight: normal; | 1349 | font-weight: normal; |
1911 | 1013 | padding: 2px 1em 2px 2px; | 1350 | } |
1912 | 1014 | } | 1351 | |
1913 | 1015 | 1352 | ||
1914 | 1016 | /* Templates listing. | 1353 | /* ========================= |
1915 | 1017 | * | 1354 | Universal presentation |
1916 | 1018 | * Examples: | 1355 | Colors |
1917 | 1019 | * https://translations.launchpad.dev/ubuntu/hoary/+templates | 1356 | */ |
1918 | 1020 | * https://translations.launchpad.dev/evolution/trunk/+templates | 1357 | .answers-stat { |
1919 | 1021 | */ | 1358 | color: #3840BE; |
1920 | 1022 | 1359 | } | |
1921 | 1023 | .inactive-template td { | 1360 | .blueprints-stat { |
1922 | 1024 | background-color: #fee; | 1361 | color: #3594BB; |
1923 | 1025 | color: #855; | 1362 | } |
1924 | 1026 | } | 1363 | .bugs-stat { |
1925 | 1027 | 1364 | color: #9F2B33; | |
1926 | 1028 | 1365 | } | |
1927 | 1029 | /* Translations statistics and legend. | 1366 | .code-stat { |
1928 | 1030 | * | 1367 | color: #D18B39; |
1929 | 1031 | * Examples: | 1368 | } |
1930 | 1032 | * https://translations.launchpad.dev/ubuntu/hoary/+lang/es | 1369 | .translations-stat { |
1931 | 1033 | * https://translations.launchpad.dev/evolution/trunk/+lang/es | 1370 | color: #BB3A84; |
1932 | 1034 | */ | 1371 | } |
1933 | 1035 | 1372 | .launchpad-gold { | |
1934 | 1036 | div.translations-legend { | 1373 | color: #F8C300; |
1935 | 1037 | padding-top: 2em; | 1374 | } |
1936 | 1038 | padding-bottom: 1em; | 1375 | .registry-stat { |
1937 | 1039 | } | 1376 | } |
1938 | 1040 | table.translation-stats td { | 1377 | |
1939 | 1041 | text-align:center; | 1378 | |
1940 | 1042 | } | 1379 | /* ========================= |
1941 | 1043 | table.translation-stats td.template-name { | 1380 | Universal presentation |
1942 | 1044 | text-align:left; | 1381 | Sprites |
1943 | 1045 | } | 1382 | */ |
1844 | 1046 | table.translation-stats tfoot td, | ||
1845 | 1047 | table.translation-stats tfoot th { | ||
1846 | 1048 | background-color: #f7f7f7; | ||
1847 | 1049 | border: 0px; | ||
1848 | 1050 | border-top: 2px solid #d2d2d2; | ||
1849 | 1051 | border-bottom: 2px solid #d2d2d2; | ||
1850 | 1052 | padding-top: 5px; | ||
1851 | 1053 | padding-bottom: 5px; | ||
1852 | 1054 | font-weight: bold; | ||
1853 | 1055 | } | ||
1854 | 1056 | table.translation-stats tfoot th { | ||
1855 | 1057 | text-align:left; | ||
1856 | 1058 | } | ||
1857 | 1059 | table.translation-stats tfoot td { | ||
1858 | 1060 | text-align:center; | ||
1859 | 1061 | } | ||
1860 | 1062 | |||
1861 | 1063 | /* Translations help links. | ||
1862 | 1064 | * | ||
1863 | 1065 | * Examples: | ||
1864 | 1066 | * https://translations.launchpad.dev/ubuntu/hoary/+source/evolution/+pots/evolution-2.2/ | ||
1865 | 1067 | * https://translations.launchpad.dev/ubuntu/hoary/+source/evolution/+translations | ||
1866 | 1068 | * https://translations.launchpad.dev/ubuntu/hoary/ | ||
1867 | 1069 | * | ||
1868 | 1070 | */ | ||
1869 | 1071 | div.translation-help-links a { | ||
1870 | 1072 | float: right; | ||
1871 | 1073 | } | ||
1872 | 1074 | div.translation-help-links div { | ||
1873 | 1075 | clear: both; | ||
1874 | 1076 | } | ||
1875 | 1077 | |||
1876 | 1078 | .gridflow { | ||
1877 | 1079 | margin: 0.0em; | ||
1878 | 1080 | padding: 0.0em; | ||
1879 | 1081 | } | ||
1880 | 1082 | .gridflow ul { | ||
1881 | 1083 | margin: 0.5em 0.0em 0.5em 0.0em; | ||
1882 | 1084 | padding: 0.5em 0.0em 0.0em 0.0em; | ||
1883 | 1085 | } | ||
1884 | 1086 | .gridflow li { | ||
1885 | 1087 | display: inline; | ||
1886 | 1088 | margin: 0.0em; | ||
1887 | 1089 | padding: 0.2em; | ||
1888 | 1090 | } | ||
1889 | 1091 | .gridflow li span { | ||
1890 | 1092 | display: table-cell; | ||
1891 | 1093 | display: inline-table; | ||
1892 | 1094 | display: inline-block; | ||
1893 | 1095 | width: 192px; | ||
1894 | 1096 | text-align: center; | ||
1895 | 1097 | vertical-align: middle; | ||
1896 | 1098 | padding: 1em 1em 1em 0; | ||
1897 | 1099 | } | ||
1898 | 1100 | |||
1899 | 1101 | /* Timeline Graph */ | ||
1900 | 1102 | div.yui-timelinegraph-content .yui-timelinegraph-zoom-box { | ||
1901 | 1103 | visibility: hidden; | ||
1902 | 1104 | } | ||
1903 | 1105 | |||
1904 | 1106 | div.yui-timelinegraph-content:hover .yui-timelinegraph-zoom-box { | ||
1905 | 1107 | visibility: visible; | ||
1906 | 1108 | } | ||
1907 | 1109 | |||
1908 | 1110 | .cves {float: right;} | ||
1909 | 1111 | |||
1910 | 1112 | /* == Sprites == */ | ||
1944 | 1113 | .sprite { | 1383 | .sprite { |
1945 | 1114 | padding: 2px 0 5px 18px; | 1384 | padding: 2px 0 5px 18px; |
1946 | 1115 | line-height: 18px; | 1385 | line-height: 18px; |
1948 | 1116 | } | 1386 | } |
1949 | 1387 | .sprite-after { | ||
1950 | 1388 | padding: 2px 18px 0 0; | ||
1951 | 1389 | } | ||
1952 | 1117 | .icon-only { | 1390 | .icon-only { |
1953 | 1118 | border: 0; | 1391 | border: 0; |
1954 | 1119 | padding: 0; | 1392 | padding: 0; |
1955 | 1120 | width: 14px; | 1393 | width: 14px; |
1957 | 1121 | } | 1394 | } |
1958 | 1122 | div.icon-only { | 1395 | div.icon-only { |
1959 | 1123 | height: 14px; | 1396 | height: 14px; |
1961 | 1124 | } | 1397 | } |
1962 | 1125 | input[type="submit"].icon-only { | 1398 | input[type="submit"].icon-only { |
1963 | 1126 | height: 14px; | 1399 | height: 14px; |
1964 | 1127 | background-color: inherit; | 1400 | background-color: inherit; |
1965 | 1128 | cursor: pointer; | 1401 | cursor: pointer; |
1967 | 1129 | } | 1402 | } |
1968 | 1130 | span.icon-only { | 1403 | span.icon-only { |
1969 | 1131 | padding-right: 14px; | 1404 | padding-right: 14px; |
1970 | 1132 | line-height: 14px; | 1405 | line-height: 14px; |
1972 | 1133 | } | 1406 | } |
1973 | 1134 | .vertical .sprite { | 1407 | .vertical .sprite { |
1974 | 1135 | /* XXX: EdwinGrubbs 2009-10-29 bug=463032 | 1408 | /* XXX: EdwinGrubbs 2009-10-29 bug=463032 |
1975 | 1136 | The reduced padding is only necessary to prevent parts of the | 1409 | The reduced padding is only necessary to prevent parts of the |
1976 | @@ -1141,571 +1414,845 @@ | |||
1977 | 1141 | display: inline-block; | 1414 | display: inline-block; |
1978 | 1142 | min-height: 16px; | 1415 | min-height: 16px; |
1979 | 1143 | width: 90%; | 1416 | width: 90%; |
1981 | 1144 | } | 1417 | } |
1982 | 1145 | .vertical .sprite:first-line { | 1418 | .vertical .sprite:first-line { |
1983 | 1146 | line-height: 12px; | 1419 | line-height: 12px; |
1992 | 1147 | } | 1420 | } |
1985 | 1148 | |||
1986 | 1149 | /* XXX: mars 2009-11-22 bug=484848 | ||
1987 | 1150 | Override the styling in the Bug Subscribers portlet. Trying to display | ||
1988 | 1151 | as inline-block is of little use, as the maximum name width is 20 characters, | ||
1989 | 1152 | and we are unlikely to wrap the text. Not to mention that setting the display | ||
1990 | 1153 | in this way breaks the icons. | ||
1991 | 1154 | */ | ||
1993 | 1155 | body.tab-bugs #portlet-subscribers .sprite { | 1421 | body.tab-bugs #portlet-subscribers .sprite { |
1994 | 1422 | /* XXX: mars 2009-11-22 bug=484848 | ||
1995 | 1423 | Override the styling in the Bug Subscribers portlet. Trying to display | ||
1996 | 1424 | as inline-block is of little use, as the maximum name width is 20 | ||
1997 | 1425 | characters, and we are unlikely to wrap the text. Not to mention that | ||
1998 | 1426 | setting the display in this way breaks the icons. | ||
1999 | 1427 | */ | ||
2000 | 1156 | display: inline; | 1428 | display: inline; |
2009 | 1157 | } | 1429 | } |
2002 | 1158 | |||
2003 | 1159 | .sprite-after {padding: 2px 18px 0 0;} | ||
2004 | 1160 | |||
2005 | 1161 | /* XXX: EdwinGrubbs 2009-07-27 bug=405476 | ||
2006 | 1162 | * Override the .yui-picker-results style, so that the next icon | ||
2007 | 1163 | * in the sprite file won't appear for tall list items. | ||
2008 | 1164 | */ | ||
2010 | 1165 | .yui-picker-results li.sprite { | 1430 | .yui-picker-results li.sprite { |
2011 | 1431 | /* XXX: EdwinGrubbs 2009-07-27 bug=405476 | ||
2012 | 1432 | * Override the .yui-picker-results style, so that the next icon | ||
2013 | 1433 | * in the sprite file won't appear for tall list items. | ||
2014 | 1434 | */ | ||
2015 | 1166 | padding:2px 0 0 18px; | 1435 | padding:2px 0 0 18px; |
2018 | 1167 | } | 1436 | } |
2017 | 1168 | |||
2019 | 1169 | .add { | 1437 | .add { |
2020 | 1170 | background-image: url(/@@/add.png); /* sprite-ref: icon-sprites */ | 1438 | background-image: url(/@@/add.png); /* sprite-ref: icon-sprites */ |
2021 | 1171 | background-repeat: no-repeat; | 1439 | background-repeat: no-repeat; |
2023 | 1172 | } | 1440 | } |
2024 | 1173 | .edit { | 1441 | .edit { |
2025 | 1174 | background-image: url(/@@/edit.png); /* sprite-ref: icon-sprites */ | 1442 | background-image: url(/@@/edit.png); /* sprite-ref: icon-sprites */ |
2026 | 1175 | background-repeat: no-repeat; | 1443 | background-repeat: no-repeat; |
2028 | 1176 | } | 1444 | } |
2029 | 1177 | .remove { | 1445 | .remove { |
2030 | 1178 | background-image: url(/@@/remove.png); /* sprite-ref: icon-sprites */ | 1446 | background-image: url(/@@/remove.png); /* sprite-ref: icon-sprites */ |
2031 | 1179 | background-repeat: no-repeat; | 1447 | background-repeat: no-repeat; |
2033 | 1180 | } | 1448 | } |
2034 | 1181 | .info { | 1449 | .info { |
2035 | 1182 | background-image: url(/@@/info.png); /* sprite-ref: icon-sprites */ | 1450 | background-image: url(/@@/info.png); /* sprite-ref: icon-sprites */ |
2036 | 1183 | background-repeat: no-repeat; | 1451 | background-repeat: no-repeat; |
2038 | 1184 | } | 1452 | } |
2039 | 1185 | .question { | 1453 | .question { |
2040 | 1186 | background-image: url(/@@/question.png); /* sprite-ref: icon-sprites */ | 1454 | background-image: url(/@@/question.png); /* sprite-ref: icon-sprites */ |
2041 | 1187 | background-repeat: no-repeat; | 1455 | background-repeat: no-repeat; |
2043 | 1188 | } | 1456 | } |
2044 | 1189 | .download-icon { | 1457 | .download-icon { |
2045 | 1190 | background-image: url(/@@/download.png); /* sprite-ref: icon-sprites */ | 1458 | background-image: url(/@@/download.png); /* sprite-ref: icon-sprites */ |
2046 | 1191 | background-repeat: no-repeat; | 1459 | background-repeat: no-repeat; |
2048 | 1192 | } | 1460 | } |
2049 | 1193 | .download { | 1461 | .download { |
2050 | 1194 | background-image: url(/@@/download.png); /* sprite-ref: icon-sprites */ | 1462 | background-image: url(/@@/download.png); /* sprite-ref: icon-sprites */ |
2051 | 1195 | background-repeat: no-repeat; | 1463 | background-repeat: no-repeat; |
2053 | 1196 | } | 1464 | } |
2054 | 1197 | .search-icon { | 1465 | .search-icon { |
2055 | 1198 | background-image: url(/@@/search.png); /* sprite-ref: icon-sprites */ | 1466 | background-image: url(/@@/search.png); /* sprite-ref: icon-sprites */ |
2056 | 1199 | background-repeat: no-repeat; | 1467 | background-repeat: no-repeat; |
2058 | 1200 | } | 1468 | } |
2059 | 1201 | .no { | 1469 | .no { |
2060 | 1202 | background-image: url(/@@/no.png); /* sprite-ref: icon-sprites */ | 1470 | background-image: url(/@@/no.png); /* sprite-ref: icon-sprites */ |
2061 | 1203 | background-repeat: no-repeat; | 1471 | background-repeat: no-repeat; |
2063 | 1204 | } | 1472 | } |
2064 | 1205 | .yes { | 1473 | .yes { |
2065 | 1206 | background-image: url(/@@/yes.png); /* sprite-ref: icon-sprites */ | 1474 | background-image: url(/@@/yes.png); /* sprite-ref: icon-sprites */ |
2066 | 1207 | background-repeat: no-repeat; | 1475 | background-repeat: no-repeat; |
2068 | 1208 | } | 1476 | } |
2069 | 1209 | .crowd { | 1477 | .crowd { |
2070 | 1210 | background-image: url(/@@/crowd.png); /* sprite-ref: icon-sprites */ | 1478 | background-image: url(/@@/crowd.png); /* sprite-ref: icon-sprites */ |
2071 | 1211 | background-repeat: no-repeat; | 1479 | background-repeat: no-repeat; |
2073 | 1212 | } | 1480 | } |
2074 | 1213 | .person { | 1481 | .person { |
2075 | 1214 | background-image: url(/@@/person.png); /* sprite-ref: icon-sprites */ | 1482 | background-image: url(/@@/person.png); /* sprite-ref: icon-sprites */ |
2076 | 1215 | background-repeat: no-repeat; | 1483 | background-repeat: no-repeat; |
2078 | 1216 | } | 1484 | } |
2079 | 1217 | .person-badge { | 1485 | .person-badge { |
2080 | 1218 | background-image: url(/@@/person-badge.png); /* sprite-ref: icon-sprites */ | 1486 | background-image: url(/@@/person-badge.png); /* sprite-ref: icon-sprites */ |
2081 | 1219 | background-repeat: no-repeat; | 1487 | background-repeat: no-repeat; |
2083 | 1220 | } | 1488 | } |
2084 | 1221 | .team { | 1489 | .team { |
2085 | 1222 | background-image: url(/@@/team.png); /* sprite-ref: icon-sprites */ | 1490 | background-image: url(/@@/team.png); /* sprite-ref: icon-sprites */ |
2086 | 1223 | background-repeat: no-repeat; | 1491 | background-repeat: no-repeat; |
2088 | 1224 | } | 1492 | } |
2089 | 1225 | .team-badge { | 1493 | .team-badge { |
2090 | 1226 | background-image: url(/@@/team-badge.png); /* sprite-ref: icon-sprites */ | 1494 | background-image: url(/@@/team-badge.png); /* sprite-ref: icon-sprites */ |
2091 | 1227 | background-repeat: no-repeat; | 1495 | background-repeat: no-repeat; |
2093 | 1228 | } | 1496 | } |
2094 | 1229 | .arrowRight { | 1497 | .arrowRight { |
2095 | 1230 | background-image: url(/@@/arrowRight.png); /* sprite-ref: icon-sprites */ | 1498 | background-image: url(/@@/arrowRight.png); /* sprite-ref: icon-sprites */ |
2096 | 1231 | background-repeat: no-repeat; | 1499 | background-repeat: no-repeat; |
2098 | 1232 | } | 1500 | } |
2099 | 1233 | .treeCollapsed { | 1501 | .treeCollapsed { |
2100 | 1234 | background-image: url(/@@/treeCollapsed.png); /* sprite-ref: icon-sprites */ | 1502 | background-image: url(/@@/treeCollapsed.png); /* sprite-ref: icon-sprites */ |
2101 | 1235 | background-repeat: no-repeat; | 1503 | background-repeat: no-repeat; |
2103 | 1236 | } | 1504 | } |
2104 | 1237 | .treeExpanded { | 1505 | .treeExpanded { |
2105 | 1238 | background-image: url(/@@/treeExpanded.png); /* sprite-ref: icon-sprites */ | 1506 | background-image: url(/@@/treeExpanded.png); /* sprite-ref: icon-sprites */ |
2106 | 1239 | background-repeat: no-repeat; | 1507 | background-repeat: no-repeat; |
2108 | 1240 | } | 1508 | } |
2109 | 1241 | .branch { | 1509 | .branch { |
2110 | 1242 | background-image: url(/@@/branch.png); /* sprite-ref: icon-sprites */ | 1510 | background-image: url(/@@/branch.png); /* sprite-ref: icon-sprites */ |
2111 | 1243 | background-repeat: no-repeat; | 1511 | background-repeat: no-repeat; |
2113 | 1244 | } | 1512 | } |
2114 | 1245 | .distribution { | 1513 | .distribution { |
2115 | 1246 | background-image: url(/@@/distribution.png); /* sprite-ref: icon-sprites */ | 1514 | background-image: url(/@@/distribution.png); /* sprite-ref: icon-sprites */ |
2116 | 1247 | background-repeat: no-repeat; | 1515 | background-repeat: no-repeat; |
2118 | 1248 | } | 1516 | } |
2119 | 1249 | .package-source { | 1517 | .package-source { |
2120 | 1250 | background-image: url(/@@/package-source.png); /* sprite-ref: icon-sprites */ | 1518 | background-image: url(/@@/package-source.png); /* sprite-ref: icon-sprites */ |
2121 | 1251 | background-repeat: no-repeat; | 1519 | background-repeat: no-repeat; |
2123 | 1252 | } | 1520 | } |
2124 | 1253 | .milestone { | 1521 | .milestone { |
2125 | 1254 | background-image: url(/@@/milestone.png); /* sprite-ref: icon-sprites */ | 1522 | background-image: url(/@@/milestone.png); /* sprite-ref: icon-sprites */ |
2126 | 1255 | background-repeat: no-repeat; | 1523 | background-repeat: no-repeat; |
2128 | 1256 | } | 1524 | } |
2129 | 1257 | .language { | 1525 | .language { |
2130 | 1258 | background-image: url(/@@/language.png); /* sprite-ref: icon-sprites */ | 1526 | background-image: url(/@@/language.png); /* sprite-ref: icon-sprites */ |
2131 | 1259 | background-repeat: no-repeat; | 1527 | background-repeat: no-repeat; |
2133 | 1260 | } | 1528 | } |
2134 | 1261 | .external-link { | 1529 | .external-link { |
2135 | 1262 | background-image: url(/@@/link.png); /* sprite-ref: icon-sprites */ | 1530 | background-image: url(/@@/link.png); /* sprite-ref: icon-sprites */ |
2136 | 1263 | background-repeat: no-repeat; | 1531 | background-repeat: no-repeat; |
2138 | 1264 | } | 1532 | } |
2139 | 1265 | .mail { | 1533 | .mail { |
2140 | 1266 | background-image: url(/@@/mail.png); /* sprite-ref: icon-sprites */ | 1534 | background-image: url(/@@/mail.png); /* sprite-ref: icon-sprites */ |
2141 | 1267 | background-repeat: no-repeat; | 1535 | background-repeat: no-repeat; |
2143 | 1268 | } | 1536 | } |
2144 | 1269 | .cve { | 1537 | .cve { |
2145 | 1270 | background-image: url(/@@/cve.png); /* sprite-ref: icon-sprites */ | 1538 | background-image: url(/@@/cve.png); /* sprite-ref: icon-sprites */ |
2146 | 1271 | background-repeat: no-repeat; | 1539 | background-repeat: no-repeat; |
2148 | 1272 | } | 1540 | } |
2149 | 1273 | .bug { | 1541 | .bug { |
2150 | 1274 | background-image: url(/@@/bug.png); /* sprite-ref: icon-sprites */ | 1542 | background-image: url(/@@/bug.png); /* sprite-ref: icon-sprites */ |
2151 | 1275 | background-repeat: no-repeat; | 1543 | background-repeat: no-repeat; |
2153 | 1276 | } | 1544 | } |
2154 | 1277 | .bug-critical { | 1545 | .bug-critical { |
2155 | 1278 | background-image: url(/@@/bug-critical.png); /* sprite-ref: icon-sprites */ | 1546 | background-image: url(/@@/bug-critical.png); /* sprite-ref: icon-sprites */ |
2156 | 1279 | background-repeat: no-repeat; | 1547 | background-repeat: no-repeat; |
2158 | 1280 | } | 1548 | } |
2159 | 1281 | .bug-high { | 1549 | .bug-high { |
2160 | 1282 | background-image: url(/@@/bug-high.png); /* sprite-ref: icon-sprites */ | 1550 | background-image: url(/@@/bug-high.png); /* sprite-ref: icon-sprites */ |
2161 | 1283 | background-repeat: no-repeat; | 1551 | background-repeat: no-repeat; |
2163 | 1284 | } | 1552 | } |
2164 | 1285 | .bug-medium { | 1553 | .bug-medium { |
2165 | 1286 | background-image: url(/@@/bug-medium.png); /* sprite-ref: icon-sprites */ | 1554 | background-image: url(/@@/bug-medium.png); /* sprite-ref: icon-sprites */ |
2166 | 1287 | background-repeat: no-repeat; | 1555 | background-repeat: no-repeat; |
2168 | 1288 | } | 1556 | } |
2169 | 1289 | .bug-low { | 1557 | .bug-low { |
2170 | 1290 | background-image: url(/@@/bug-low.png); /* sprite-ref: icon-sprites */ | 1558 | background-image: url(/@@/bug-low.png); /* sprite-ref: icon-sprites */ |
2171 | 1291 | background-repeat: no-repeat; | 1559 | background-repeat: no-repeat; |
2173 | 1292 | } | 1560 | } |
2174 | 1293 | .bug-wishlist { | 1561 | .bug-wishlist { |
2175 | 1294 | background-image: url(/@@/bug-wishlist.png); /* sprite-ref: icon-sprites */ | 1562 | background-image: url(/@@/bug-wishlist.png); /* sprite-ref: icon-sprites */ |
2176 | 1295 | background-repeat: no-repeat; | 1563 | background-repeat: no-repeat; |
2178 | 1296 | } | 1564 | } |
2179 | 1297 | .blueprint { | 1565 | .blueprint { |
2180 | 1298 | background-image: url(/@@/blueprint.png); /* sprite-ref: icon-sprites */ | 1566 | background-image: url(/@@/blueprint.png); /* sprite-ref: icon-sprites */ |
2181 | 1299 | background-repeat: no-repeat; | 1567 | background-repeat: no-repeat; |
2183 | 1300 | } | 1568 | } |
2184 | 1301 | .blueprint-essential { | 1569 | .blueprint-essential { |
2185 | 1302 | background-image: url(/@@/blueprint-essential.png); /* sprite-ref: icon-sprites */ | 1570 | background-image: url(/@@/blueprint-essential.png); /* sprite-ref: icon-sprites */ |
2186 | 1303 | background-repeat: no-repeat; | 1571 | background-repeat: no-repeat; |
2188 | 1304 | } | 1572 | } |
2189 | 1305 | .blueprint-high { | 1573 | .blueprint-high { |
2190 | 1306 | background-image: url(/@@/blueprint-high.png); /* sprite-ref: icon-sprites */ | 1574 | background-image: url(/@@/blueprint-high.png); /* sprite-ref: icon-sprites */ |
2191 | 1307 | background-repeat: no-repeat; | 1575 | background-repeat: no-repeat; |
2193 | 1308 | } | 1576 | } |
2194 | 1309 | .blueprint-medium { | 1577 | .blueprint-medium { |
2195 | 1310 | background-image: url(/@@/blueprint-medium.png); /* sprite-ref: icon-sprites */ | 1578 | background-image: url(/@@/blueprint-medium.png); /* sprite-ref: icon-sprites */ |
2196 | 1311 | background-repeat: no-repeat; | 1579 | background-repeat: no-repeat; |
2198 | 1312 | } | 1580 | } |
2199 | 1313 | .blueprint-low { | 1581 | .blueprint-low { |
2200 | 1314 | background-image: url(/@@/blueprint-low.png); /* sprite-ref: icon-sprites */ | 1582 | background-image: url(/@@/blueprint-low.png); /* sprite-ref: icon-sprites */ |
2201 | 1315 | background-repeat: no-repeat; | 1583 | background-repeat: no-repeat; |
2203 | 1316 | } | 1584 | } |
2204 | 1317 | .blueprint-undefined { | 1585 | .blueprint-undefined { |
2205 | 1318 | background-image: url(/@@/blueprint-undefined.png); /* sprite-ref: icon-sprites */ | 1586 | background-image: url(/@@/blueprint-undefined.png); /* sprite-ref: icon-sprites */ |
2206 | 1319 | background-repeat: no-repeat; | 1587 | background-repeat: no-repeat; |
2208 | 1320 | } | 1588 | } |
2209 | 1321 | .blueprint-not { | 1589 | .blueprint-not { |
2210 | 1322 | background-image: url(/@@/blueprint-not.png); /* sprite-ref: icon-sprites */ | 1590 | background-image: url(/@@/blueprint-not.png); /* sprite-ref: icon-sprites */ |
2211 | 1323 | background-repeat: no-repeat; | 1591 | background-repeat: no-repeat; |
2213 | 1324 | } | 1592 | } |
2214 | 1325 | .rss { | 1593 | .rss { |
2215 | 1326 | background-image: url(/@@/rss.png); /* sprite-ref: icon-sprites */ | 1594 | background-image: url(/@@/rss.png); /* sprite-ref: icon-sprites */ |
2216 | 1327 | background-repeat: no-repeat; | 1595 | background-repeat: no-repeat; |
2218 | 1328 | } | 1596 | } |
2219 | 1329 | 1597 | ||
2220 | 1330 | .ubuntu-logo { | 1598 | .ubuntu-logo { |
2221 | 1331 | background-image: url(/@@/ubuntu-icon.png); /* sprite-ref: icon-sprites */ | 1599 | background-image: url(/@@/ubuntu-icon.png); /* sprite-ref: icon-sprites */ |
2222 | 1332 | background-repeat: no-repeat; | 1600 | background-repeat: no-repeat; |
2224 | 1333 | } | 1601 | } |
2225 | 1334 | .person-inactive { | 1602 | .person-inactive { |
2226 | 1335 | background-image: url(/@@/person-inactive.png); /* sprite-ref: icon-sprites */ | 1603 | background-image: url(/@@/person-inactive.png); /* sprite-ref: icon-sprites */ |
2227 | 1336 | background-repeat: no-repeat; | 1604 | background-repeat: no-repeat; |
2229 | 1337 | } | 1605 | } |
2230 | 1338 | .person-inactive-badge { | 1606 | .person-inactive-badge { |
2231 | 1339 | background-image: url(/@@/person-inactive-badge.png); /* sprite-ref: icon-sprites */ | 1607 | background-image: url(/@@/person-inactive-badge.png); /* sprite-ref: icon-sprites */ |
2232 | 1340 | background-repeat: no-repeat; | 1608 | background-repeat: no-repeat; |
2234 | 1341 | } | 1609 | } |
2235 | 1342 | .mentoring { | 1610 | .mentoring { |
2236 | 1343 | background-image: url(/@@/mentoring.png); /* sprite-ref: icon-sprites */ | 1611 | background-image: url(/@@/mentoring.png); /* sprite-ref: icon-sprites */ |
2237 | 1344 | background-repeat: no-repeat; | 1612 | background-repeat: no-repeat; |
2239 | 1345 | } | 1613 | } |
2240 | 1346 | .undecided { | 1614 | .undecided { |
2241 | 1347 | background-image: url(/@@/maybe.png); /* sprite-ref: icon-sprites */ | 1615 | background-image: url(/@@/maybe.png); /* sprite-ref: icon-sprites */ |
2242 | 1348 | background-repeat: no-repeat; | 1616 | background-repeat: no-repeat; |
2244 | 1349 | } | 1617 | } |
2245 | 1350 | .error-icon { | 1618 | .error-icon { |
2246 | 1351 | background-image: url(/@@/error.png); /* sprite-ref: icon-sprites */ | 1619 | background-image: url(/@@/error.png); /* sprite-ref: icon-sprites */ |
2247 | 1352 | background-repeat: no-repeat; | 1620 | background-repeat: no-repeat; |
2249 | 1353 | } | 1621 | } |
2250 | 1354 | .cancel { | 1622 | .cancel { |
2251 | 1355 | background-image: url(/@@/cancel.png); /* sprite-ref: icon-sprites */ | 1623 | background-image: url(/@@/cancel.png); /* sprite-ref: icon-sprites */ |
2252 | 1356 | background-repeat: no-repeat; | 1624 | background-repeat: no-repeat; |
2254 | 1357 | } | 1625 | } |
2255 | 1358 | .confirm { | 1626 | .confirm { |
2256 | 1359 | background-image: url(/@@/confirm.png); /* sprite-ref: icon-sprites */ | 1627 | background-image: url(/@@/confirm.png); /* sprite-ref: icon-sprites */ |
2257 | 1360 | background-repeat: no-repeat; | 1628 | background-repeat: no-repeat; |
2259 | 1361 | } | 1629 | } |
2260 | 1362 | .flame { | 1630 | .flame { |
2261 | 1363 | background-image: url(/@@/flame-icon.png); /* sprite-ref: icon-sprites */ | 1631 | background-image: url(/@@/flame-icon.png); /* sprite-ref: icon-sprites */ |
2262 | 1364 | background-repeat: no-repeat; | 1632 | background-repeat: no-repeat; |
2264 | 1365 | } | 1633 | } |
2265 | 1366 | .bug-undecided { | 1634 | .bug-undecided { |
2266 | 1367 | background-image: url(/@@/bug-undecided.png); /* sprite-ref: icon-sprites */ | 1635 | background-image: url(/@@/bug-undecided.png); /* sprite-ref: icon-sprites */ |
2267 | 1368 | background-repeat: no-repeat; | 1636 | background-repeat: no-repeat; |
2269 | 1369 | } | 1637 | } |
2270 | 1370 | .bug-remote { | 1638 | .bug-remote { |
2271 | 1371 | background-image: url(/@@/bug-remote.png); /* sprite-ref: icon-sprites */ | 1639 | background-image: url(/@@/bug-remote.png); /* sprite-ref: icon-sprites */ |
2272 | 1372 | background-repeat: no-repeat; | 1640 | background-repeat: no-repeat; |
2274 | 1373 | } | 1641 | } |
2275 | 1374 | .bug-unknown { | 1642 | .bug-unknown { |
2276 | 1375 | background-image: url(/@@/bug-unknown.png); /* sprite-ref: icon-sprites */ | 1643 | background-image: url(/@@/bug-unknown.png); /* sprite-ref: icon-sprites */ |
2277 | 1376 | background-repeat: no-repeat; | 1644 | background-repeat: no-repeat; |
2279 | 1377 | } | 1645 | } |
2280 | 1378 | .bug-dupe { | 1646 | .bug-dupe { |
2281 | 1379 | background-image: url(/@@/bug-dupe-icon.png); /* sprite-ref: icon-sprites */ | 1647 | background-image: url(/@@/bug-dupe-icon.png); /* sprite-ref: icon-sprites */ |
2282 | 1380 | background-repeat: no-repeat; | 1648 | background-repeat: no-repeat; |
2284 | 1381 | } | 1649 | } |
2285 | 1382 | .bug-tracker { | 1650 | .bug-tracker { |
2286 | 1383 | background-image: url(/@@/bugtracker-icon.png); /* sprite-ref: icon-sprites */ | 1651 | background-image: url(/@@/bugtracker-icon.png); /* sprite-ref: icon-sprites */ |
2287 | 1384 | background-repeat: no-repeat; | 1652 | background-repeat: no-repeat; |
2289 | 1385 | } | 1653 | } |
2290 | 1386 | .package-binary { | 1654 | .package-binary { |
2291 | 1387 | background-image: url(/@@/package-binary.png); /* sprite-ref: icon-sprites */ | 1655 | background-image: url(/@@/package-binary.png); /* sprite-ref: icon-sprites */ |
2292 | 1388 | background-repeat: no-repeat; | 1656 | background-repeat: no-repeat; |
2294 | 1389 | } | 1657 | } |
2295 | 1390 | .retry { | 1658 | .retry { |
2296 | 1391 | background-image: url(/@@/retry.png); /* sprite-ref: icon-sprites */ | 1659 | background-image: url(/@@/retry.png); /* sprite-ref: icon-sprites */ |
2297 | 1392 | background-repeat: no-repeat; | 1660 | background-repeat: no-repeat; |
2299 | 1393 | } | 1661 | } |
2300 | 1394 | .distribution-badge { | 1662 | .distribution-badge { |
2301 | 1395 | background-image: url(/@@/distribution-badge.png); /* sprite-ref: icon-sprites */ | 1663 | background-image: url(/@@/distribution-badge.png); /* sprite-ref: icon-sprites */ |
2302 | 1396 | background-repeat: no-repeat; | 1664 | background-repeat: no-repeat; |
2304 | 1397 | } | 1665 | } |
2305 | 1398 | .project-badge { | 1666 | .project-badge { |
2306 | 1399 | background-image: url(/@@/project-badge.png); /* sprite-ref: icon-sprites */ | 1667 | background-image: url(/@@/project-badge.png); /* sprite-ref: icon-sprites */ |
2307 | 1400 | background-repeat: no-repeat; | 1668 | background-repeat: no-repeat; |
2309 | 1401 | } | 1669 | } |
2310 | 1402 | .project { | 1670 | .project { |
2311 | 1403 | background-image: url(/@@/project.png); /* sprite-ref: icon-sprites */ | 1671 | background-image: url(/@@/project.png); /* sprite-ref: icon-sprites */ |
2312 | 1404 | background-repeat: no-repeat; | 1672 | background-repeat: no-repeat; |
2314 | 1405 | } | 1673 | } |
2315 | 1406 | .product-badge { | 1674 | .product-badge { |
2316 | 1407 | background-image: url(/@@/product-badge.png); /* sprite-ref: icon-sprites */ | 1675 | background-image: url(/@@/product-badge.png); /* sprite-ref: icon-sprites */ |
2317 | 1408 | background-repeat: no-repeat; | 1676 | background-repeat: no-repeat; |
2319 | 1409 | } | 1677 | } |
2320 | 1410 | .product { | 1678 | .product { |
2321 | 1411 | background-image: url(/@@/product.png); /* sprite-ref: icon-sprites */ | 1679 | background-image: url(/@@/product.png); /* sprite-ref: icon-sprites */ |
2322 | 1412 | background-repeat: no-repeat; | 1680 | background-repeat: no-repeat; |
2324 | 1413 | } | 1681 | } |
2325 | 1414 | .read-only { | 1682 | .read-only { |
2326 | 1415 | background-image: url(/@@/read-only.png); /* sprite-ref: icon-sprites */ | 1683 | background-image: url(/@@/read-only.png); /* sprite-ref: icon-sprites */ |
2327 | 1416 | background-repeat: no-repeat; | 1684 | background-repeat: no-repeat; |
2329 | 1417 | } | 1685 | } |
2330 | 1418 | .warning-icon, .security { | 1686 | .warning-icon, .security { |
2331 | 1419 | background-image: url(/@@/warning.png); /* sprite-ref: icon-sprites */ | 1687 | background-image: url(/@@/warning.png); /* sprite-ref: icon-sprites */ |
2332 | 1420 | background-repeat: no-repeat; | 1688 | background-repeat: no-repeat; |
2334 | 1421 | } | 1689 | } |
2335 | 1422 | .private { | 1690 | .private { |
2336 | 1423 | background-image: url(/@@/private.png); /* sprite-ref: icon-sprites */ | 1691 | background-image: url(/@@/private.png); /* sprite-ref: icon-sprites */ |
2337 | 1424 | background-repeat: no-repeat; | 1692 | background-repeat: no-repeat; |
2339 | 1425 | } | 1693 | } |
2340 | 1426 | .meeting { | 1694 | .meeting { |
2341 | 1427 | background-image: url(/@@/meeting.png); /* sprite-ref: icon-sprites */ | 1695 | background-image: url(/@@/meeting.png); /* sprite-ref: icon-sprites */ |
2342 | 1428 | background-repeat: no-repeat; | 1696 | background-repeat: no-repeat; |
2344 | 1429 | } | 1697 | } |
2345 | 1430 | .translate-icon { | 1698 | .translate-icon { |
2346 | 1431 | background-image: url(/@@/translation.png); /* sprite-ref: icon-sprites */ | 1699 | background-image: url(/@@/translation.png); /* sprite-ref: icon-sprites */ |
2347 | 1432 | background-repeat: no-repeat; | 1700 | background-repeat: no-repeat; |
2349 | 1433 | } | 1701 | } |
2350 | 1434 | .translation-file { | 1702 | .translation-file { |
2351 | 1435 | background-image: url(/@@/translation-file.png); /* sprite-ref: icon-sprites */ | 1703 | background-image: url(/@@/translation-file.png); /* sprite-ref: icon-sprites */ |
2352 | 1436 | background-repeat: no-repeat; | 1704 | background-repeat: no-repeat; |
2354 | 1437 | } | 1705 | } |
2355 | 1438 | .translation-template { | 1706 | .translation-template { |
2356 | 1439 | background-image: url(/@@/translation-template.png); /* sprite-ref: icon-sprites */ | 1707 | background-image: url(/@@/translation-template.png); /* sprite-ref: icon-sprites */ |
2357 | 1440 | background-repeat: no-repeat; | 1708 | background-repeat: no-repeat; |
2359 | 1441 | } | 1709 | } |
2360 | 1442 | .trash-icon { | 1710 | .trash-icon { |
2361 | 1443 | background-image: url(/@@/trash-icon.png); /* sprite-ref: icon-sprites */ | 1711 | background-image: url(/@@/trash-icon.png); /* sprite-ref: icon-sprites */ |
2362 | 1444 | background-repeat: no-repeat; | 1712 | background-repeat: no-repeat; |
2364 | 1445 | } | 1713 | } |
2365 | 1446 | .stop { | 1714 | .stop { |
2366 | 1447 | background-image: url(/@@/stop.png); /* sprite-ref: icon-sprites */ | 1715 | background-image: url(/@@/stop.png); /* sprite-ref: icon-sprites */ |
2367 | 1448 | background-repeat: no-repeat; | 1716 | background-repeat: no-repeat; |
2369 | 1449 | } | 1717 | } |
2370 | 1450 | .list { | 1718 | .list { |
2371 | 1451 | background-image: url(/@@/list.png); /* sprite-ref: icon-sprites */ | 1719 | background-image: url(/@@/list.png); /* sprite-ref: icon-sprites */ |
2372 | 1452 | background-repeat: no-repeat; | 1720 | background-repeat: no-repeat; |
2374 | 1453 | } | 1721 | } |
2375 | 1454 | .bullet { | 1722 | .bullet { |
2376 | 1455 | background-image: url(/@@/bullet.png); /* sprite-ref: icon-sprites */ | 1723 | background-image: url(/@@/bullet.png); /* sprite-ref: icon-sprites */ |
2377 | 1456 | background-repeat: no-repeat; | 1724 | background-repeat: no-repeat; |
2379 | 1457 | } | 1725 | } |
2380 | 1458 | .zoom-in { | 1726 | .zoom-in { |
2381 | 1459 | background-image: url(/@@/zoom-in.png); /* sprite-ref: icon-sprites */ | 1727 | background-image: url(/@@/zoom-in.png); /* sprite-ref: icon-sprites */ |
2382 | 1460 | background-repeat: no-repeat; | 1728 | background-repeat: no-repeat; |
2384 | 1461 | } | 1729 | } |
2385 | 1462 | .zoom-out { | 1730 | .zoom-out { |
2386 | 1463 | background-image: url(/@@/zoom-out.png); /* sprite-ref: icon-sprites */ | 1731 | background-image: url(/@@/zoom-out.png); /* sprite-ref: icon-sprites */ |
2387 | 1464 | background-repeat: no-repeat; | 1732 | background-repeat: no-repeat; |
2389 | 1465 | } | 1733 | } |
2390 | 1466 | .architecture { | 1734 | .architecture { |
2391 | 1467 | background-image: url(/@@/architecture.png); /* sprite-ref: icon-sprites */ | 1735 | background-image: url(/@@/architecture.png); /* sprite-ref: icon-sprites */ |
2392 | 1468 | background-repeat: no-repeat; | 1736 | background-repeat: no-repeat; |
2394 | 1469 | } | 1737 | } |
2395 | 1470 | .ppa-icon { | 1738 | .ppa-icon { |
2396 | 1471 | background-image: url(/@@/ppa-icon.png); /* sprite-ref: icon-sprites */ | 1739 | background-image: url(/@@/ppa-icon.png); /* sprite-ref: icon-sprites */ |
2397 | 1472 | background-repeat: no-repeat; | 1740 | background-repeat: no-repeat; |
2399 | 1473 | } | 1741 | } |
2400 | 1474 | .ppa-icon-inactive { | 1742 | .ppa-icon-inactive { |
2401 | 1475 | background-image: url(/@@/ppa-icon-inactive.png); /* sprite-ref: icon-sprites */ | 1743 | background-image: url(/@@/ppa-icon-inactive.png); /* sprite-ref: icon-sprites */ |
2402 | 1476 | background-repeat: no-repeat; | 1744 | background-repeat: no-repeat; |
2404 | 1477 | } | 1745 | } |
2405 | 1478 | 1746 | ||
2406 | 1479 | .bug-status-expand { | 1747 | .bug-status-expand { |
2407 | 1480 | background-image: url(/@@/bug-status-expand.png); /* sprite-ref: icon-sprites */ | 1748 | background-image: url(/@@/bug-status-expand.png); /* sprite-ref: icon-sprites */ |
2408 | 1481 | background-repeat: no-repeat; | 1749 | background-repeat: no-repeat; |
2410 | 1482 | } | 1750 | } |
2411 | 1483 | .merge-proposal { | 1751 | .merge-proposal { |
2412 | 1484 | background-image: url(/@@/merge-proposal-icon.png); /* sprite-ref: icon-sprites */ | 1752 | background-image: url(/@@/merge-proposal-icon.png); /* sprite-ref: icon-sprites */ |
2413 | 1485 | background-repeat: no-repeat; | 1753 | background-repeat: no-repeat; |
2414 | 1486 | padding-left: 22px | 1754 | padding-left: 22px |
2416 | 1487 | } | 1755 | } |
2417 | 1488 | .build-superseded { | 1756 | .build-superseded { |
2418 | 1489 | background-image: url(/@@/build-superseded.png); /* sprite-ref: icon-sprites */ | 1757 | background-image: url(/@@/build-superseded.png); /* sprite-ref: icon-sprites */ |
2419 | 1490 | background-repeat: no-repeat; | 1758 | background-repeat: no-repeat; |
2421 | 1491 | } | 1759 | } |
2422 | 1492 | .build-success { | 1760 | .build-success { |
2423 | 1493 | background-image: url(/@@/build-success.png); /* sprite-ref: icon-sprites */ | 1761 | background-image: url(/@@/build-success.png); /* sprite-ref: icon-sprites */ |
2424 | 1494 | background-repeat: no-repeat; | 1762 | background-repeat: no-repeat; |
2426 | 1495 | } | 1763 | } |
2427 | 1496 | .build-needed { | 1764 | .build-needed { |
2428 | 1497 | background-image: url(/@@/build-needed.png); /* sprite-ref: icon-sprites */ | 1765 | background-image: url(/@@/build-needed.png); /* sprite-ref: icon-sprites */ |
2429 | 1498 | background-repeat: no-repeat; | 1766 | background-repeat: no-repeat; |
2431 | 1499 | } | 1767 | } |
2432 | 1500 | .build-failure { | 1768 | .build-failure { |
2433 | 1501 | background-image: url(/@@/build-failure.png); /* sprite-ref: icon-sprites */ | 1769 | background-image: url(/@@/build-failure.png); /* sprite-ref: icon-sprites */ |
2434 | 1502 | background-repeat: no-repeat; | 1770 | background-repeat: no-repeat; |
2436 | 1503 | } | 1771 | } |
2437 | 1504 | .build-depwait { | 1772 | .build-depwait { |
2438 | 1505 | background-image: url(/@@/build-depwait.png); /* sprite-ref: icon-sprites */ | 1773 | background-image: url(/@@/build-depwait.png); /* sprite-ref: icon-sprites */ |
2439 | 1506 | background-repeat: no-repeat; | 1774 | background-repeat: no-repeat; |
2441 | 1507 | } | 1775 | } |
2442 | 1508 | .arrowUp { | 1776 | .arrowUp { |
2443 | 1509 | background-image: url(/@@/arrowUp.png); /* sprite-ref: icon-sprites */ | 1777 | background-image: url(/@@/arrowUp.png); /* sprite-ref: icon-sprites */ |
2444 | 1510 | background-repeat: no-repeat; | 1778 | background-repeat: no-repeat; |
2446 | 1511 | } | 1779 | } |
2447 | 1512 | .arrowDown { | 1780 | .arrowDown { |
2448 | 1513 | background-image: url(/@@/arrowDown.png); /* sprite-ref: icon-sprites */ | 1781 | background-image: url(/@@/arrowDown.png); /* sprite-ref: icon-sprites */ |
2449 | 1514 | background-repeat: no-repeat; | 1782 | background-repeat: no-repeat; |
2451 | 1515 | } | 1783 | } |
2452 | 1516 | .arrowStart { | 1784 | .arrowStart { |
2453 | 1517 | background-image: url(/@@/arrowStart.png); /* sprite-ref: icon-sprites */ | 1785 | background-image: url(/@@/arrowStart.png); /* sprite-ref: icon-sprites */ |
2454 | 1518 | background-repeat: no-repeat; | 1786 | background-repeat: no-repeat; |
2456 | 1519 | } | 1787 | } |
2457 | 1520 | .arrowEnd { | 1788 | .arrowEnd { |
2458 | 1521 | background-image: url(/@@/arrowEnd.png); /* sprite-ref: icon-sprites */ | 1789 | background-image: url(/@@/arrowEnd.png); /* sprite-ref: icon-sprites */ |
2459 | 1522 | background-repeat: no-repeat; | 1790 | background-repeat: no-repeat; |
2461 | 1523 | } | 1791 | } |
2462 | 1524 | .arrowTop { | 1792 | .arrowTop { |
2463 | 1525 | background-image: url(/@@/arrowTop.png); /* sprite-ref: icon-sprites */ | 1793 | background-image: url(/@@/arrowTop.png); /* sprite-ref: icon-sprites */ |
2464 | 1526 | background-repeat: no-repeat; | 1794 | background-repeat: no-repeat; |
2466 | 1527 | } | 1795 | } |
2467 | 1528 | .arrowBottom { | 1796 | .arrowBottom { |
2468 | 1529 | background-image: url(/@@/arrowBottom.png); /* sprite-ref: icon-sprites */ | 1797 | background-image: url(/@@/arrowBottom.png); /* sprite-ref: icon-sprites */ |
2469 | 1530 | background-repeat: no-repeat; | 1798 | background-repeat: no-repeat; |
2471 | 1531 | } | 1799 | } |
2472 | 1532 | .arrowLeft { | 1800 | .arrowLeft { |
2473 | 1533 | background-image: url(/@@/arrowLeft.png); /* sprite-ref: icon-sprites */ | 1801 | background-image: url(/@@/arrowLeft.png); /* sprite-ref: icon-sprites */ |
2474 | 1534 | background-repeat: no-repeat; | 1802 | background-repeat: no-repeat; |
2476 | 1535 | } | 1803 | } |
2477 | 1536 | .bluebar { | 1804 | .bluebar { |
2478 | 1537 | background-image: url(/@@/blue-bar.png); /* sprite-ref: icon-sprites */ | 1805 | background-image: url(/@@/blue-bar.png); /* sprite-ref: icon-sprites */ |
2479 | 1538 | background-repeat: repeat-x; | 1806 | background-repeat: repeat-x; |
2481 | 1539 | } | 1807 | } |
2482 | 1540 | .greenbar { | 1808 | .greenbar { |
2483 | 1541 | background-image: url(/@@/green-bar.png); /* sprite-ref: icon-sprites */ | 1809 | background-image: url(/@@/green-bar.png); /* sprite-ref: icon-sprites */ |
2484 | 1542 | background-repeat: repeat-x; | 1810 | background-repeat: repeat-x; |
2486 | 1543 | } | 1811 | } |
2487 | 1544 | .purplebar { | 1812 | .purplebar { |
2488 | 1545 | background-image: url(/@@/purple-bar.png); /* sprite-ref: icon-sprites */ | 1813 | background-image: url(/@@/purple-bar.png); /* sprite-ref: icon-sprites */ |
2489 | 1546 | background-repeat: repeat-x; | 1814 | background-repeat: repeat-x; |
2491 | 1547 | } | 1815 | } |
2492 | 1548 | .redbar { | 1816 | .redbar { |
2493 | 1549 | background-image: url(/@@/red-bar.png); /* sprite-ref: icon-sprites */ | 1817 | background-image: url(/@@/red-bar.png); /* sprite-ref: icon-sprites */ |
2494 | 1550 | background-repeat: repeat-x; | 1818 | background-repeat: repeat-x; |
2496 | 1551 | } | 1819 | } |
2497 | 1552 | .favorite-yes { | 1820 | .favorite-yes { |
2498 | 1553 | background-image: url(/@@/news.png); /* sprite-ref: icon-sprites */ | 1821 | background-image: url(/@@/news.png); /* sprite-ref: icon-sprites */ |
2499 | 1554 | background-repeat: no-repeat; | 1822 | background-repeat: no-repeat; |
2501 | 1555 | } | 1823 | } |
2502 | 1556 | .haspatch-icon { | 1824 | .haspatch-icon { |
2503 | 1557 | background-image: url(/@@/haspatch-icon.png); /* sprite-ref: icon-sprites */ | 1825 | background-image: url(/@@/haspatch-icon.png); /* sprite-ref: icon-sprites */ |
2504 | 1558 | background-repeat: no-repeat; | 1826 | background-repeat: no-repeat; |
2509 | 1559 | } | 1827 | } |
2506 | 1560 | |||
2507 | 1561 | |||
2508 | 1562 | /*large*/ | ||
2510 | 1563 | .large-branch { | 1828 | .large-branch { |
2511 | 1564 | background-image: url(/@@/branch-large.png); /* sprite-ref: icon-sprites */ | 1829 | background-image: url(/@@/branch-large.png); /* sprite-ref: icon-sprites */ |
2512 | 1565 | background-repeat: no-repeat; | 1830 | background-repeat: no-repeat; |
2514 | 1566 | } | 1831 | } |
2515 | 1567 | .large-warning { | 1832 | .large-warning { |
2516 | 1568 | background-image: url(/@@/warning-large.png); /* sprite-ref: icon-sprites */ | 1833 | background-image: url(/@@/warning-large.png); /* sprite-ref: icon-sprites */ |
2517 | 1569 | background-repeat: no-repeat; | 1834 | background-repeat: no-repeat; |
2519 | 1570 | } | 1835 | } |
2520 | 1571 | .large-crowd { | 1836 | .large-crowd { |
2521 | 1572 | background-image: url(/@@/crowd-large.png); /* sprite-ref: icon-sprites */ | 1837 | background-image: url(/@@/crowd-large.png); /* sprite-ref: icon-sprites */ |
2522 | 1573 | background-repeat: no-repeat; | 1838 | background-repeat: no-repeat; |
2524 | 1574 | } | 1839 | } |
2525 | 1575 | .large-download { | 1840 | .large-download { |
2526 | 1576 | background-image: url(/@@/download-large.png); /* sprite-ref: icon-sprites */ | 1841 | background-image: url(/@@/download-large.png); /* sprite-ref: icon-sprites */ |
2527 | 1577 | background-repeat: no-repeat; | 1842 | background-repeat: no-repeat; |
2529 | 1578 | } | 1843 | } |
2530 | 1579 | .large-error { | 1844 | .large-error { |
2531 | 1580 | background-image: url(/@@/error-large.png); /* sprite-ref: icon-sprites */ | 1845 | background-image: url(/@@/error-large.png); /* sprite-ref: icon-sprites */ |
2532 | 1581 | background-repeat: no-repeat; | 1846 | background-repeat: no-repeat; |
2534 | 1582 | } | 1847 | } |
2535 | 1583 | .large-flame { | 1848 | .large-flame { |
2536 | 1584 | background-image: url(/@@/flame-large.png); /* sprite-ref: icon-sprites */ | 1849 | background-image: url(/@@/flame-large.png); /* sprite-ref: icon-sprites */ |
2537 | 1585 | background-repeat: no-repeat; | 1850 | background-repeat: no-repeat; |
2539 | 1586 | } | 1851 | } |
2540 | 1587 | .large-download { | 1852 | .large-download { |
2541 | 1588 | background-image: url(/@@/download-large.png); /* sprite-ref: icon-sprites */ | 1853 | background-image: url(/@@/download-large.png); /* sprite-ref: icon-sprites */ |
2542 | 1589 | background-repeat: no-repeat; | 1854 | background-repeat: no-repeat; |
2544 | 1590 | } | 1855 | } |
2545 | 1591 | .large-info { | 1856 | .large-info { |
2546 | 1592 | background-image: url(/@@/info-large.png); /* sprite-ref: icon-sprites */ | 1857 | background-image: url(/@@/info-large.png); /* sprite-ref: icon-sprites */ |
2547 | 1593 | background-repeat: no-repeat; | 1858 | background-repeat: no-repeat; |
2549 | 1594 | } | 1859 | } |
2550 | 1595 | .large-launchpad { | 1860 | .large-launchpad { |
2551 | 1596 | background-image: url(/@@/launchpad-large.png); /* sprite-ref: icon-sprites */ | 1861 | background-image: url(/@@/launchpad-large.png); /* sprite-ref: icon-sprites */ |
2552 | 1597 | background-repeat: no-repeat; | 1862 | background-repeat: no-repeat; |
2554 | 1598 | } | 1863 | } |
2555 | 1599 | .large-mentoring { | 1864 | .large-mentoring { |
2556 | 1600 | background-image: url(/@@/mentoring-large.png); /* sprite-ref: icon-sprites */ | 1865 | background-image: url(/@@/mentoring-large.png); /* sprite-ref: icon-sprites */ |
2557 | 1601 | background-repeat: no-repeat; | 1866 | background-repeat: no-repeat; |
2559 | 1602 | } | 1867 | } |
2560 | 1603 | .large-proposal { | 1868 | .large-proposal { |
2561 | 1604 | background-image: url(/@@/merge-proposal-large.png); /* sprite-ref: icon-sprites */ | 1869 | background-image: url(/@@/merge-proposal-large.png); /* sprite-ref: icon-sprites */ |
2562 | 1605 | background-repeat: no-repeat; | 1870 | background-repeat: no-repeat; |
2564 | 1606 | } | 1871 | } |
2565 | 1607 | .large-trash { | 1872 | .large-trash { |
2566 | 1608 | background-image: url(/@@/trash-large.png); /* sprite-ref: icon-sprites */ | 1873 | background-image: url(/@@/trash-large.png); /* sprite-ref: icon-sprites */ |
2567 | 1609 | background-repeat: no-repeat; | 1874 | background-repeat: no-repeat; |
2569 | 1610 | } | 1875 | } |
2570 | 1611 | .large-private { | 1876 | .large-private { |
2571 | 1612 | background-image: url(/@@/private-large.png); /* sprite-ref: icon-sprites */ | 1877 | background-image: url(/@@/private-large.png); /* sprite-ref: icon-sprites */ |
2572 | 1613 | background-repeat: no-repeat; | 1878 | background-repeat: no-repeat; |
2576 | 1614 | } | 1879 | } |
2574 | 1615 | |||
2575 | 1616 | /*logo*/ | ||
2577 | 1617 | .logo-launchpad { | 1880 | .logo-launchpad { |
2578 | 1618 | background-image: url(/@@/launchpad-logo.png); /* sprite-ref: icon-sprites */ | 1881 | background-image: url(/@@/launchpad-logo.png); /* sprite-ref: icon-sprites */ |
2579 | 1619 | background-repeat: no-repeat; | 1882 | background-repeat: no-repeat; |
2581 | 1620 | } | 1883 | } |
2582 | 1621 | .logo-distribution { | 1884 | .logo-distribution { |
2583 | 1622 | background-image: url(/@@/distribution-logo.png); /* sprite-ref: icon-sprites */ | 1885 | background-image: url(/@@/distribution-logo.png); /* sprite-ref: icon-sprites */ |
2584 | 1623 | background-repeat: no-repeat; | 1886 | background-repeat: no-repeat; |
2586 | 1624 | } | 1887 | } |
2587 | 1625 | .logo-project { | 1888 | .logo-project { |
2588 | 1626 | background-image: url(/@@/project-logo.png); /* sprite-ref: icon-sprites */ | 1889 | background-image: url(/@@/project-logo.png); /* sprite-ref: icon-sprites */ |
2589 | 1627 | background-repeat: no-repeat; | 1890 | background-repeat: no-repeat; |
2591 | 1628 | } | 1891 | } |
2592 | 1629 | .logo-product { | 1892 | .logo-product { |
2593 | 1630 | background-image: url(/@@/product-logo.png); /* sprite-ref: icon-sprites */ | 1893 | background-image: url(/@@/product-logo.png); /* sprite-ref: icon-sprites */ |
2594 | 1631 | background-repeat: no-repeat; | 1894 | background-repeat: no-repeat; |
2596 | 1632 | } | 1895 | } |
2597 | 1633 | .logo-person { | 1896 | .logo-person { |
2598 | 1634 | background-image: url(/@@/person-logo.png); /* sprite-ref: icon-sprites */ | 1897 | background-image: url(/@@/person-logo.png); /* sprite-ref: icon-sprites */ |
2599 | 1635 | background-repeat: no-repeat; | 1898 | background-repeat: no-repeat; |
2601 | 1636 | } | 1899 | } |
2602 | 1637 | 1900 | ||
2603 | 1638 | .logo-inactive { | 1901 | .logo-inactive { |
2604 | 1639 | background-image: url(/@@/person-inactive-logo.png); /* sprite-ref: icon-sprites */ | 1902 | background-image: url(/@@/person-inactive-logo.png); /* sprite-ref: icon-sprites */ |
2605 | 1640 | background-repeat: no-repeat; | 1903 | background-repeat: no-repeat; |
2607 | 1641 | } | 1904 | } |
2608 | 1642 | .logo-team { | 1905 | .logo-team { |
2609 | 1643 | background-image: url(/@@/team-logo.png); /* sprite-ref: icon-sprites */ | 1906 | background-image: url(/@@/team-logo.png); /* sprite-ref: icon-sprites */ |
2610 | 1644 | background-repeat: no-repeat; | 1907 | background-repeat: no-repeat; |
2612 | 1645 | } | 1908 | } |
2613 | 1646 | .logo-meeting { | 1909 | .logo-meeting { |
2614 | 1647 | background-image: url(/@@/meeting-logo.png); /* sprite-ref: icon-sprites */ | 1910 | background-image: url(/@@/meeting-logo.png); /* sprite-ref: icon-sprites */ |
2615 | 1648 | background-repeat: no-repeat; | 1911 | background-repeat: no-repeat; |
2617 | 1649 | } | 1912 | } |
2618 | 1650 | .logo-flame { | 1913 | .logo-flame { |
2619 | 1651 | background-image: url(/@@/flame-logo.png); /* sprite-ref: icon-sprites */ | 1914 | background-image: url(/@@/flame-logo.png); /* sprite-ref: icon-sprites */ |
2620 | 1652 | background-repeat: no-repeat; | 1915 | background-repeat: no-repeat; |
2622 | 1653 | } | 1916 | } |
2623 | 1654 | .logo-trash { | 1917 | .logo-trash { |
2624 | 1655 | background-image: url(/@@/trash-logo.png); /* sprite-ref: icon-sprites */ | 1918 | background-image: url(/@@/trash-logo.png); /* sprite-ref: icon-sprites */ |
2625 | 1656 | background-repeat: no-repeat; | 1919 | background-repeat: no-repeat; |
2667 | 1657 | } | 1920 | } |
2668 | 1658 | 1921 | ||
2669 | 1659 | /* Code styles */ | 1922 | |
2670 | 1660 | .branchstatusMATURE, .branchstatusMATURE a {color: #090;} | 1923 | /* |
2671 | 1661 | .branchstatusDEVELOPMENT, .branchstatusDEVELOPMENT a {color: #900;} | 1924 | * YOU HAVE REACHED THE END OF THIS FILE. IF YOU SEE ANYTHING BELOW SPRITES |
2672 | 1662 | .branchstatusEXPERIMENTAL, .branchstatusEXPERIMENTAL a {color: #930;} | 1925 | * YOU SHOULD WORK TO GET IT OUT OF THIS GLOBAL STYLE SHEET. |
2673 | 1663 | .branchstatusMERGED, .branchstatusMERGED a {color: #666;} | 1926 | */ |
2674 | 1664 | .branchstatusABANDONED, .branchstatusABANDONED a {color: #666;} | 1927 | |
2675 | 1665 | .branchstatusNEW, .branchstatusNEW a {color: black;} | 1928 | |
2676 | 1666 | 1929 | /* ======== | |
2677 | 1667 | .voteAPPROVE {color: green;} | 1930 | Registry |
2678 | 1668 | .voteNEEDS_FIXING {color: #930;} | 1931 | */ |
2679 | 1669 | .voteDISAPPROVE {color: red;} | 1932 | div.yui-timelinegraph-content .yui-timelinegraph-zoom-box { |
2680 | 1670 | .voteRESUBMIT {color: red;} | 1933 | visibility: hidden; |
2681 | 1671 | .voteABSTAIN {color: grey;} | 1934 | } |
2682 | 1672 | .votePENDING {color: #f60;} | 1935 | div.yui-timelinegraph-content:hover .yui-timelinegraph-zoom-box { |
2683 | 1673 | 1936 | visibility: visible; | |
2684 | 1674 | .mergestatusWORK_IN_PROGRESS, .mergestatusWORK_IN_PROGRESS a {color: black;} | 1937 | } |
2685 | 1675 | .mergestatusNEEDS_REVIEW, .mergestatusNEEDS_REVIEW a {color: #f60;} | 1938 | |
2686 | 1676 | .mergestatusCODE_APPROVED, .mergestatusCODE_APPROVED a {color: green;} | 1939 | |
2687 | 1677 | .mergestatusREJECTED, .mergestatusREJECTED a {color: red;} | 1940 | /* ==== |
2688 | 1678 | .mergestatusMERGED, .mergestatusMERGED a {color: green;} | 1941 | Bugs |
2689 | 1679 | .mergestatusMERGE_FAILED, .mergestatusMERGE_FAILED a {color: red;} | 1942 | */ |
2690 | 1680 | .mergestatusQUEUED, .mergestatusQUEUED a {color: black;} | 1943 | |
2691 | 1681 | .mergestatusSUPERSEDED, .mergestatusSUPERSEDED a {color: grey;} | 1944 | tr.bug-branch-summary td { |
2692 | 1682 | 1945 | padding: 0px 6px; | |
2693 | 1683 | .codeimportNEW {color: #930;} | 1946 | } |
2694 | 1684 | .codeimportINVALID {color: red;} | 1947 | tr.bug-branch-summary td.first { |
2695 | 1685 | .codeimportREVIEWED {color: green;} | 1948 | padding-left: 0px; |
2696 | 1686 | .codeimportSUSPENDED {color: red;} | 1949 | } |
2697 | 1687 | .codeimportFAILING {color: red;} | 1950 | |
2698 | 1688 | 1951 | ||
2699 | 1689 | .distromirrorstatusUP {color: green;} | 1952 | /* ===== |
2700 | 1690 | .distromirrorstatusONEHOURBEHIND {color: green;} | 1953 | Soyuz |
2701 | 1691 | .distromirrorstatusTWOHOURSBEHIND {color: green;} | 1954 | */ |
2702 | 1692 | .distromirrorstatusFOURHOURSBEHIND {color: green;} | 1955 | ul.latest-ppa-updates .duration, ul.latest-ppa-updates .build-details { |
2703 | 1693 | .distromirrorstatusSIXHOURSBEHIND {color: #f60;} | 1956 | /* For the Latest updates portlet |
2704 | 1694 | .distromirrorstatusONEDAYBEHIND {color: #f60;} | 1957 | at https://launchpad.dev/~cprov/+archive/ppa */ |
2705 | 1695 | .distromirrorstatusTWODAYSBEHIND {color: red;} | 1958 | font-size: 75%; |
2706 | 1696 | .distromirrorstatusONEWEEKBEHIND {color: red;} | 1959 | } |
2707 | 1697 | .distromirrorstatusUNKNOWN {color: grey;} | 1960 | ul.latest-ppa-updates li { |
2708 | 1961 | padding: 3px; | ||
2709 | 1962 | background-repeat: no-repeat; | ||
2710 | 1963 | background-position:right center; | ||
2711 | 1964 | } | ||
2712 | 1965 | table#packages_list tr.superseded { | ||
2713 | 1966 | background-color: #eee; | ||
2714 | 1967 | } | ||
2715 | 1968 | ul.latest-ppa-updates li:nth-child(odd) { | ||
2716 | 1969 | /* The following could be generalised for use to the following selector: | ||
2717 | 1970 | .side .portlet li.nth-child(odd) | ||
2718 | 1971 | if needed. */ | ||
2719 | 1972 | border-top: 1px solid #dedede; | ||
2720 | 1973 | border-bottom: 1px solid #dedede; | ||
2721 | 1974 | background-color: #eeeeff; | ||
2722 | 1975 | } | ||
2723 | 1976 | ul.latest-ppa-updates li.FULLYBUILT { | ||
2724 | 1977 | background-image: url('/@@/yes'); | ||
2725 | 1978 | } | ||
2726 | 1979 | ul.latest-ppa-updates li.FULLYBUILT_PENDING { | ||
2727 | 1980 | background-image: url('/@@/build-success-publishing'); | ||
2728 | 1981 | } | ||
2729 | 1982 | ul.latest-ppa-updates li.NEEDSBUILD { | ||
2730 | 1983 | background-image: url('/@@/build-needed'); | ||
2731 | 1984 | } | ||
2732 | 1985 | ul.latest-ppa-updates li.FAILEDTOBUILD { | ||
2733 | 1986 | background-image: url('/@@/build-failed'); | ||
2734 | 1987 | } | ||
2735 | 1988 | ul.latest-ppa-updates li.BUILDING { | ||
2736 | 1989 | background-image: url('/@@/processing'); | ||
2737 | 1990 | } | ||
2738 | 1991 | |||
2739 | 1992 | |||
2740 | 1993 | /* ==== | ||
2741 | 1994 | Code | ||
2742 | 1995 | */ | ||
2743 | 1996 | .branchstatusMATURE, .branchstatusMATURE a { | ||
2744 | 1997 | color: #090; | ||
2745 | 1998 | } | ||
2746 | 1999 | .branchstatusDEVELOPMENT, .branchstatusDEVELOPMENT a { | ||
2747 | 2000 | color: #900; | ||
2748 | 2001 | } | ||
2749 | 2002 | .branchstatusEXPERIMENTAL, .branchstatusEXPERIMENTAL a { | ||
2750 | 2003 | color: #930; | ||
2751 | 2004 | } | ||
2752 | 2005 | .branchstatusMERGED, .branchstatusMERGED a { | ||
2753 | 2006 | color: #666; | ||
2754 | 2007 | } | ||
2755 | 2008 | .branchstatusABANDONED, .branchstatusABANDONED a { | ||
2756 | 2009 | color: #666; | ||
2757 | 2010 | } | ||
2758 | 2011 | .branchstatusNEW, .branchstatusNEW a { | ||
2759 | 2012 | color: black; | ||
2760 | 2013 | } | ||
2761 | 2014 | |||
2762 | 2015 | .voteAPPROVE { | ||
2763 | 2016 | color: green; | ||
2764 | 2017 | } | ||
2765 | 2018 | .voteNEEDS_FIXING { | ||
2766 | 2019 | color: #930; | ||
2767 | 2020 | } | ||
2768 | 2021 | .voteDISAPPROVE { | ||
2769 | 2022 | color: red; | ||
2770 | 2023 | } | ||
2771 | 2024 | .voteRESUBMIT { | ||
2772 | 2025 | color: red; | ||
2773 | 2026 | } | ||
2774 | 2027 | .voteABSTAIN { | ||
2775 | 2028 | color: #bebebe; | ||
2776 | 2029 | } | ||
2777 | 2030 | .votePENDING { | ||
2778 | 2031 | color: #f60; | ||
2779 | 2032 | } | ||
2780 | 2033 | |||
2781 | 2034 | .mergestatusWORK_IN_PROGRESS, .mergestatusWORK_IN_PROGRESS a { | ||
2782 | 2035 | color: black; | ||
2783 | 2036 | } | ||
2784 | 2037 | .mergestatusNEEDS_REVIEW, .mergestatusNEEDS_REVIEW a { | ||
2785 | 2038 | color: #f60; | ||
2786 | 2039 | } | ||
2787 | 2040 | .mergestatusCODE_APPROVED, .mergestatusCODE_APPROVED a { | ||
2788 | 2041 | color: green; | ||
2789 | 2042 | } | ||
2790 | 2043 | .mergestatusREJECTED, .mergestatusREJECTED a { | ||
2791 | 2044 | color: red; | ||
2792 | 2045 | } | ||
2793 | 2046 | .mergestatusMERGED, .mergestatusMERGED a { | ||
2794 | 2047 | color: green; | ||
2795 | 2048 | } | ||
2796 | 2049 | .mergestatusMERGE_FAILED, .mergestatusMERGE_FAILED a { | ||
2797 | 2050 | color: red; | ||
2798 | 2051 | } | ||
2799 | 2052 | .mergestatusQUEUED, .mergestatusQUEUED a { | ||
2800 | 2053 | color: black; | ||
2801 | 2054 | } | ||
2802 | 2055 | .mergestatusSUPERSEDED, .mergestatusSUPERSEDED a { | ||
2803 | 2056 | color: #bebebe; | ||
2804 | 2057 | } | ||
2805 | 2058 | |||
2806 | 2059 | .codeimportNEW { | ||
2807 | 2060 | color: #930; | ||
2808 | 2061 | } | ||
2809 | 2062 | .codeimportINVALID { | ||
2810 | 2063 | color: red; | ||
2811 | 2064 | } | ||
2812 | 2065 | .codeimportREVIEWED { | ||
2813 | 2066 | color: green; | ||
2814 | 2067 | } | ||
2815 | 2068 | .codeimportSUSPENDED { | ||
2816 | 2069 | color: red; | ||
2817 | 2070 | } | ||
2818 | 2071 | .codeimportFAILING { | ||
2819 | 2072 | color: red; | ||
2820 | 2073 | } | ||
2821 | 2074 | |||
2822 | 2075 | .distromirrorstatusUP { | ||
2823 | 2076 | color: green; | ||
2824 | 2077 | } | ||
2825 | 2078 | .distromirrorstatusONEHOURBEHIND { | ||
2826 | 2079 | color: green; | ||
2827 | 2080 | } | ||
2828 | 2081 | .distromirrorstatusTWOHOURSBEHIND { | ||
2829 | 2082 | color: green; | ||
2830 | 2083 | } | ||
2831 | 2084 | .distromirrorstatusFOURHOURSBEHIND { | ||
2832 | 2085 | color: green; | ||
2833 | 2086 | } | ||
2834 | 2087 | .distromirrorstatusSIXHOURSBEHIND { | ||
2835 | 2088 | color: #f60; | ||
2836 | 2089 | } | ||
2837 | 2090 | .distromirrorstatusONEDAYBEHIND { | ||
2838 | 2091 | color: #f60; | ||
2839 | 2092 | } | ||
2840 | 2093 | .distromirrorstatusTWODAYSBEHIND { | ||
2841 | 2094 | color: red; | ||
2842 | 2095 | } | ||
2843 | 2096 | .distromirrorstatusONEWEEKBEHIND { | ||
2844 | 2097 | color: red; | ||
2845 | 2098 | } | ||
2846 | 2099 | .distromirrorstatusUNKNOWN { | ||
2847 | 2100 | color: #bebebe; | ||
2848 | 2101 | } | ||
2849 | 1698 | 2102 | ||
2850 | 1699 | table.code { | 2103 | table.code { |
2851 | 1700 | margin-bottom: 1em; | 2104 | margin-bottom: 1em; |
2853 | 1701 | } | 2105 | } |
2854 | 1702 | table.code th { | 2106 | table.code th { |
2855 | 1703 | text-align: left; | 2107 | text-align: left; |
2856 | 1704 | font-weight: bold; | 2108 | font-weight: bold; |
2858 | 1705 | } | 2109 | } |
2859 | 1706 | table.code th, table.code td { | 2110 | table.code th, table.code td { |
2860 | 1707 | padding-right: 3em; | 2111 | padding-right: 3em; |
2865 | 1708 | } | 2112 | } |
2866 | 1709 | 2113 | ||
2867 | 1710 | tr.bug-branch-summary td { padding: 0px 6px; } | 2114 | |
2868 | 1711 | tr.bug-branch-summary td.first { padding-left: 0px; } | 2115 | /* ============ |
2869 | 2116 | Translations | ||
2870 | 2117 | */ | ||
2871 | 2118 | |||
2872 | 2119 | .translationimportstatusAPPROVED, | ||
2873 | 2120 | .translationimportstatusAPPROVED a { | ||
2874 | 2121 | color: #050; | ||
2875 | 2122 | } | ||
2876 | 2123 | .translationimportstatusIMPORTED, | ||
2877 | 2124 | .translationimportstatusIMPORTED a { | ||
2878 | 2125 | color: green; | ||
2879 | 2126 | } | ||
2880 | 2127 | .translationimportstatusDELETED, | ||
2881 | 2128 | .translationimportstatusDELETED a { | ||
2882 | 2129 | color: black; | ||
2883 | 2130 | } | ||
2884 | 2131 | .translationimportstatusFAILED, | ||
2885 | 2132 | .translationimportstatusFAILED a { | ||
2886 | 2133 | color: red; | ||
2887 | 2134 | } | ||
2888 | 2135 | .translationimportstatusNEEDS_REVIEW, | ||
2889 | 2136 | .translationimportstatusNEEDS_REVIEW a { | ||
2890 | 2137 | color: #f60; | ||
2891 | 2138 | } | ||
2892 | 2139 | .translationimportstatusBLOCKED, | ||
2893 | 2140 | .translationimportstatusBLOCKED a { | ||
2894 | 2141 | color: blue; | ||
2895 | 2142 | } | ||
2896 | 2143 | .translationimportstatusNEEDS_INFORMATION, | ||
2897 | 2144 | .translationimportstatusNEEDS_INFORMATION a { | ||
2898 | 2145 | color: maroon; | ||
2899 | 2146 | } | ||
2900 | 2147 | |||
2901 | 2148 | /* ==== Translations hand-made forms ==== */ | ||
2902 | 2149 | |||
2903 | 2150 | form.translations div.fields { | ||
2904 | 2151 | padding: 1em; | ||
2905 | 2152 | } | ||
2906 | 2153 | form.translations div.actions { | ||
2907 | 2154 | padding: 1em; | ||
2908 | 2155 | text-align: left; | ||
2909 | 2156 | clear:both; | ||
2910 | 2157 | } | ||
2911 | 2158 | form.translations input { | ||
2912 | 2159 | padding-left: 0.5em; | ||
2913 | 2160 | padding-right: 0.5em; | ||
2914 | 2161 | } | ||
2915 | 2162 | form.translations select { | ||
2916 | 2163 | margin-left: 0.5em; | ||
2917 | 2164 | padding-right: 0.5em; | ||
2918 | 2165 | } | ||
2919 | 2166 | form.translations label { | ||
2920 | 2167 | padding-left: 0.5em; | ||
2921 | 2168 | padding-right: 1em; | ||
2922 | 2169 | } | ||
2923 | 2170 | form.translations .listbox label { | ||
2924 | 2171 | padding: 2px 1em 2px 2px; | ||
2925 | 2172 | } | ||
2926 | 2173 | |||
2927 | 2174 | /* Provide top-alignment for radio boxes and longer explanations | ||
2928 | 2175 | * without using tables. | ||
2929 | 2176 | * | ||
2930 | 2177 | * Examples: | ||
2931 | 2178 | * https://translations.launchpad.dev/evolution/trunk/+pots/evolution-2.2/es/+upload | ||
2932 | 2179 | * https://translations.launchpad.dev/evolution/trunk/+pots/evolution-2.2/+export | ||
2933 | 2180 | */ | ||
2934 | 2181 | form.translations div.alignment .content { | ||
2935 | 2182 | float:left; | ||
2936 | 2183 | } | ||
2937 | 2184 | form.translations div.alignment .selector { | ||
2938 | 2185 | margin-right: 0.5em; | ||
2939 | 2186 | float: left; | ||
2940 | 2187 | clear: both; | ||
2941 | 2188 | } | ||
2942 | 2189 | form.translations div.alignment .content label { | ||
2943 | 2190 | padding: 0px; | ||
2944 | 2191 | margin: 0px; | ||
2945 | 2192 | font-weight: bold; | ||
2946 | 2193 | } | ||
2947 | 2194 | form.translations div.alignment .secondary label { | ||
2948 | 2195 | font-weight: normal; | ||
2949 | 2196 | padding: 2px 1em 2px 2px; | ||
2950 | 2197 | } | ||
2951 | 2198 | |||
2952 | 2199 | /* Templates listing. | ||
2953 | 2200 | * | ||
2954 | 2201 | * Examples: | ||
2955 | 2202 | * https://translations.launchpad.dev/ubuntu/hoary/+templates | ||
2956 | 2203 | * https://translations.launchpad.dev/evolution/trunk/+templates | ||
2957 | 2204 | */ | ||
2958 | 2205 | .inactive-template td { | ||
2959 | 2206 | background-color: #fee; | ||
2960 | 2207 | color: #855; | ||
2961 | 2208 | } | ||
2962 | 2209 | |||
2963 | 2210 | |||
2964 | 2211 | /* Translations statistics and legend. | ||
2965 | 2212 | * | ||
2966 | 2213 | * Examples: | ||
2967 | 2214 | * https://translations.launchpad.dev/ubuntu/hoary/+lang/es | ||
2968 | 2215 | * https://translations.launchpad.dev/evolution/trunk/+lang/es | ||
2969 | 2216 | */ | ||
2970 | 2217 | |||
2971 | 2218 | div.translations-legend { | ||
2972 | 2219 | padding-top: 2em; | ||
2973 | 2220 | padding-bottom: 1em; | ||
2974 | 2221 | } | ||
2975 | 2222 | table.translation-stats td { | ||
2976 | 2223 | text-align:center; | ||
2977 | 2224 | } | ||
2978 | 2225 | table.translation-stats td.template-name { | ||
2979 | 2226 | text-align:left; | ||
2980 | 2227 | } | ||
2981 | 2228 | table.translation-stats tfoot td, | ||
2982 | 2229 | table.translation-stats tfoot th { | ||
2983 | 2230 | background-color: #f7f7f7; | ||
2984 | 2231 | border: 0px; | ||
2985 | 2232 | border-top: 2px solid #d2d2d2; | ||
2986 | 2233 | border-bottom: 2px solid #d2d2d2; | ||
2987 | 2234 | padding-top: 5px; | ||
2988 | 2235 | padding-bottom: 5px; | ||
2989 | 2236 | font-weight: bold; | ||
2990 | 2237 | } | ||
2991 | 2238 | table.translation-stats tfoot th { | ||
2992 | 2239 | text-align:left; | ||
2993 | 2240 | } | ||
2994 | 2241 | table.translation-stats tfoot td { | ||
2995 | 2242 | text-align:center; | ||
2996 | 2243 | } | ||
2997 | 2244 | |||
2998 | 2245 | /* Translations help links. | ||
2999 | 2246 | * | ||
3000 | 2247 | * Examples: | ||
3001 | 2248 | * https://translations.launchpad.dev/ubuntu/hoary/+source/evolution/+pots/evolution-2.2/ | ||
3002 | 2249 | * https://translations.launchpad.dev/ubuntu/hoary/+source/evolution/+translations | ||
3003 | 2250 | * https://translations.launchpad.dev/ubuntu/hoary/ | ||
3004 | 2251 | * | ||
3005 | 2252 | */ | ||
3006 | 2253 | div.translation-help-links a { | ||
3007 | 2254 | float: right; | ||
3008 | 2255 | } | ||
3009 | 2256 | div.translation-help-links div { | ||
3010 | 2257 | clear: both; | ||
3011 | 2258 | } | ||
3012 | 1712 | 2259 | ||
3013 | === modified file 'lib/canonical/launchpad/icing/style.css' | |||
3014 | --- lib/canonical/launchpad/icing/style.css 2010-04-19 09:29:49 +0000 | |||
3015 | +++ lib/canonical/launchpad/icing/style.css 2010-04-24 14:37:26 +0000 | |||
3016 | @@ -22,100 +22,6 @@ | |||
3017 | 22 | ... | 22 | ... |
3018 | 23 | */ | 23 | */ |
3019 | 24 | 24 | ||
3020 | 25 | /* == Guidelines == */ | ||
3021 | 26 | /* | ||
3022 | 27 | * Use absolute units (e.g. px, pt) only when image sizes or CSS limitations | ||
3023 | 28 | demand it. Otherwise, use relative units (%, em). | ||
3024 | 29 | */ | ||
3025 | 30 | .yui-ieditor {padding-right: 288px;} | ||
3026 | 31 | .lazr-multiline-edit .yui-ieditor {padding-right: 0;} | ||
3027 | 32 | .lazr-multiline-edit textarea {max-width: inherit;} | ||
3028 | 33 | .lazr-multiline-edit .yui-ieditor-input {padding-right: 5px !important;} | ||
3029 | 34 | |||
3030 | 35 | .demo {background-color: #fee;} | ||
3031 | 36 | |||
3032 | 37 | |||
3033 | 38 | /* == Sprites == */ | ||
3034 | 39 | |||
3035 | 40 | ul.breadcrumbs a.bzr-favicon, ul.breadcrumbs a.person-tabs { | ||
3036 | 41 | padding: 8px 18px 0 23px; | ||
3037 | 42 | } | ||
3038 | 43 | h1 .edit { | ||
3039 | 44 | font-size: 50%; | ||
3040 | 45 | position: relative; | ||
3041 | 46 | top: -3px; | ||
3042 | 47 | margin-left: 0.5em; | ||
3043 | 48 | } | ||
3044 | 49 | .offscreen { | ||
3045 | 50 | position: absolute; | ||
3046 | 51 | left: -999em; | ||
3047 | 52 | } | ||
3048 | 53 | span.invisible-link {display:none;} | ||
3049 | 54 | span.invisible {left:-9999em;display:block;} | ||
3050 | 55 | |||
3051 | 56 | /* == Things browsers should do but don't == */ | ||
3052 | 57 | |||
3053 | 58 | .clearfix:after { /* use class="clearfix" whenever floats should be enclosed */ | ||
3054 | 59 | content: "."; | ||
3055 | 60 | display: block; | ||
3056 | 61 | height: 0; | ||
3057 | 62 | clear: both; | ||
3058 | 63 | visibility: hidden; | ||
3059 | 64 | } | ||
3060 | 65 | .clearfix {display: inline-table;} | ||
3061 | 66 | /* Work around float bug in MSIE for Windows, while hiding from MSIE for Mac \*/ | ||
3062 | 67 | * html .clearfix {height: 1%;} | ||
3063 | 68 | .clearfix {display: block;} | ||
3064 | 69 | /* End hiding from MSIE for Mac */ | ||
3065 | 70 | a {outline: none;} | ||
3066 | 71 | abbr[title], acronym[title] {border-bottom: 1px dotted black; cursor: help;} | ||
3067 | 72 | * html body {word-wrap: break-word;} /* stops floats dropping in IE 5.5/6 */ | ||
3068 | 73 | caption {caption-side: bottom; text-align: left;} | ||
3069 | 74 | dt dfn {font-style: normal; font-weight: bold;} | ||
3070 | 75 | input {visibility:inherit;} | ||
3071 | 76 | input[type=radio] {margin-left: 1em;} | ||
3072 | 77 | kbd { | ||
3073 | 78 | background-color: #ddd; | ||
3074 | 79 | border: 1px solid; | ||
3075 | 80 | border-color: white gray gray white; | ||
3076 | 81 | color: black; | ||
3077 | 82 | margin: 1px; | ||
3078 | 83 | min-width: 1em; | ||
3079 | 84 | outline: 1px #666; | ||
3080 | 85 | } | ||
3081 | 86 | label {white-space: nowrap;} | ||
3082 | 87 | .long td { | ||
3083 | 88 | padding-right: 1em; | ||
3084 | 89 | } | ||
3085 | 90 | .long fieldset { | ||
3086 | 91 | margin-top: 1em; | ||
3087 | 92 | } | ||
3088 | 93 | .long legend { | ||
3089 | 94 | color: #666; | ||
3090 | 95 | font-weight: bold; | ||
3091 | 96 | font-size: 123.1%; | ||
3092 | 97 | } | ||
3093 | 98 | .listbox { /* a scrolling list of checkboxes or radio buttons */ | ||
3094 | 99 | border: 1px solid #8cacbb; | ||
3095 | 100 | display: inline-block; | ||
3096 | 101 | max-height: 12em; | ||
3097 | 102 | overflow: auto; | ||
3098 | 103 | overflow: -moz-scrollbars-vertical; | ||
3099 | 104 | } | ||
3100 | 105 | .listbox label { | ||
3101 | 106 | background-color: #f6f6f6; | ||
3102 | 107 | border: solid white; | ||
3103 | 108 | border-width: 0 0 1px 0; | ||
3104 | 109 | display: block; | ||
3105 | 110 | } | ||
3106 | 111 | textarea {display: block;} | ||
3107 | 112 | th, td {vertical-align: baseline;} | ||
3108 | 113 | |||
3109 | 114 | /* Opera doesn't use the general tr above for the radio button table */ | ||
3110 | 115 | table.radio-button-widget tr td {vertical-align: top;} | ||
3111 | 116 | |||
3112 | 117 | /* == Overall presentation == */ | ||
3113 | 118 | /* These styles apply to pages regardless of layout or application. */ | ||
3114 | 119 | 25 | ||
3115 | 120 | /* === Fonts and colors === */ | 26 | /* === Fonts and colors === */ |
3116 | 121 | 27 | ||
3117 | @@ -129,33 +35,6 @@ | |||
3118 | 129 | color: #555; | 35 | color: #555; |
3119 | 130 | } | 36 | } |
3120 | 131 | 37 | ||
3121 | 132 | /* Links are blue, brighter when clicked, and greyer once visited: */ | ||
3122 | 133 | :link, :visited {color: #03a; text-decoration: none;} | ||
3123 | 134 | :link:hover, :visited:hover { text-decoration: underline;} | ||
3124 | 135 | :link:active, :visited:active {color: #36c;} | ||
3125 | 136 | /* Links that don't open separate pages are green to denote their behavior: */ | ||
3126 | 137 | a[onclick], .collapsible legend a, a.js-action {color: #093;} | ||
3127 | 138 | a[onclick]:active, .collapsible legend a:active, a.js-action {color: #093;} | ||
3128 | 139 | a.js-action:active {color: #093;} | ||
3129 | 140 | |||
3130 | 141 | /* The js-action class is also used for non-links, for example, with | ||
3131 | 142 | * expand/collapse sections. */ | ||
3132 | 143 | .widget-hd.js-action {color: #093; cursor:pointer} | ||
3133 | 144 | .widget-hd.js-action:hover {text-decoration: underline;} | ||
3134 | 145 | |||
3135 | 146 | /* Help links */ | ||
3136 | 147 | a.help { | ||
3137 | 148 | border-bottom: 1px dotted #03a; | ||
3138 | 149 | cursor: help; | ||
3139 | 150 | } | ||
3140 | 151 | a.help:hover, a.help:hover { | ||
3141 | 152 | text-decoration: none; | ||
3142 | 153 | } | ||
3143 | 154 | |||
3144 | 155 | h1, h2, h3, h4, h5, h6 { | ||
3145 | 156 | background: none; | ||
3146 | 157 | clear: left; | ||
3147 | 158 | } | ||
3148 | 159 | 38 | ||
3149 | 160 | .exception {color: #cc0000;} | 39 | .exception {color: #cc0000;} |
3150 | 161 | .discreet, .lesser, .duplicate-details {font-size: 90%;} | 40 | .discreet, .lesser, .duplicate-details {font-size: 90%;} |
3151 | @@ -169,58 +48,6 @@ | |||
3152 | 169 | .green {color: green;} | 48 | .green {color: green;} |
3153 | 170 | .red {color: red;} | 49 | .red {color: red;} |
3154 | 171 | 50 | ||
3155 | 172 | /* === Error, warning, and informational messages === */ | ||
3156 | 173 | /* Error, warning, and informational alerts are in a centered box: */ | ||
3157 | 174 | .error.message, .warning.message, .informational.message { | ||
3158 | 175 | border: solid #666; | ||
3159 | 176 | border-width: 1px 2px 2px 1px; | ||
3160 | 177 | color: black; | ||
3161 | 178 | margin: 0 auto 10px auto; | ||
3162 | 179 | padding: 0 10px 10px 20px; | ||
3163 | 180 | width: 30em; | ||
3164 | 181 | } | ||
3165 | 182 | /* The alerts are preceded with an icon overlaying the top left corner: */ | ||
3166 | 183 | .error.message::before, .warning.message::before, | ||
3167 | 184 | .informational.message::before { | ||
3168 | 185 | display: block; margin: -15px 0 -6px -35px; | ||
3169 | 186 | } | ||
3170 | 187 | /* Error messages are pink, with alerts having an error icon: */ | ||
3171 | 188 | .error {background: #ffe4e4;} | ||
3172 | 189 | .error.message::before {content: url(/@@/error-large);} | ||
3173 | 190 | /* Warning messages are orange, with alerts having a warning icon: */ | ||
3174 | 191 | .warning {background: #fff59c;} | ||
3175 | 192 | .warning.message::before {content: url(/@@/warning-large);} | ||
3176 | 193 | /* Informational messages are blue-to-grey, with alerts having an info icon: */ | ||
3177 | 194 | .informational {background: #d4e8ff url(/+icing/blue-fade-to-grey);} | ||
3178 | 195 | .informational.message::before {content: url(/@@/info-large);} | ||
3179 | 196 | /* Debugging messages are white on grey, with alerts having an info icon: */ | ||
3180 | 197 | .debugging {background: #666; color: white;} | ||
3181 | 198 | .debugging.message::before {content: url(/@@/info-large);} | ||
3182 | 199 | /* Form errors override this background color, because the lack of space | ||
3183 | 200 | between the edge of fields and the edge of the color would look bad: */ | ||
3184 | 201 | table.form .error {background: none;} | ||
3185 | 202 | /* And inside, the error message itself uses a smaller icon: */ | ||
3186 | 203 | .error .message { | ||
3187 | 204 | background: url(/@@/error) center left no-repeat; | ||
3188 | 205 | margin-bottom: 0.25em; | ||
3189 | 206 | padding-left: 18px; | ||
3190 | 207 | } | ||
3191 | 208 | |||
3192 | 209 | /* Warning messages inlined in the page. */ | ||
3193 | 210 | .inline-warning { | ||
3194 | 211 | color: red; | ||
3195 | 212 | font-weight: bold; | ||
3196 | 213 | } | ||
3197 | 214 | .sml-informational { | ||
3198 | 215 | background: #d4e8ff url('/+icing/blue-fade-to-grey'); | ||
3199 | 216 | border: solid #666; | ||
3200 | 217 | border-width: 1px 2px 2px 1px; | ||
3201 | 218 | color: black; | ||
3202 | 219 | padding: 5px 5px 5px 5px; | ||
3203 | 220 | width:44em; | ||
3204 | 221 | } | ||
3205 | 222 | .sml-informational::before {content: url('/@@/info');} | ||
3206 | 223 | |||
3207 | 224 | .helpwanted {background-color: #fafca9; color: black; border: 1px solid black; | 51 | .helpwanted {background-color: #fafca9; color: black; border: 1px solid black; |
3208 | 225 | padding: 0.5em; font-size: smaller; padding-left: 3em | 52 | padding: 0.5em; font-size: smaller; padding-left: 3em |
3209 | 226 | } | 53 | } |
3210 | @@ -232,47 +59,6 @@ | |||
3211 | 232 | padding-left: 1em; | 59 | padding-left: 1em; |
3212 | 233 | } | 60 | } |
3213 | 234 | 61 | ||
3214 | 235 | /* === Forms === */ | ||
3215 | 236 | |||
3216 | 237 | form table label {font-weight: bold;} | ||
3217 | 238 | fieldset {border-width: 2px 0 0; margin: 1em 0; padding: 1em 0 0;} | ||
3218 | 239 | button{padding:0;} | ||
3219 | 240 | input.urlTextType {width: 40em;} | ||
3220 | 241 | .fieldRequired, .fieldOptional {color: #999;} | ||
3221 | 242 | .formHelp {margin: 0.2em 0 0.5em 0.2em; color: #777;} | ||
3222 | 243 | /* Hack to add breathing room to bug status forms: */ | ||
3223 | 244 | table.listing div.field>table {margin-top: 0.5em;} | ||
3224 | 245 | table.listing div.field>label, table.listing div.field>div>label, | ||
3225 | 246 | table.listing div.actions { | ||
3226 | 247 | display: block; margin-top: 1em; | ||
3227 | 248 | } | ||
3228 | 249 | /* Text fields occupy as much of the page width as possible, minus a safety | ||
3229 | 250 | margin for Internet Explorer, and up to a reasonable maximum: */ | ||
3230 | 251 | textarea {width: 90%; max-width: 60em;} | ||
3231 | 252 | |||
3232 | 253 | /* Many forms are laid out using tables, with appropriate spacing: */ | ||
3233 | 254 | table.form, table.extra-options {margin: 1em 0; width: 100%;} /* http://launchpad.dev/firefox/+edit */ | ||
3234 | 255 | table.form th {font-weight: normal;} | ||
3235 | 256 | table.form th, table.form td, | ||
3236 | 257 | table.form table.extra-options td, | ||
3237 | 258 | table.form table.extra-options th {padding-bottom: 1em;} | ||
3238 | 259 | table.form td td {padding-bottom: 0;} | ||
3239 | 260 | |||
3240 | 261 | /* === Tables === */ | ||
3241 | 262 | table.latest th, table.latest td {padding-bottom: 2em;} | ||
3242 | 263 | |||
3243 | 264 | th.icon, td.icon {vertical-align: top; white-space: nowrap; width: 1px;} | ||
3244 | 265 | th.icon.left, td.icon.left {padding-right: 0;} | ||
3245 | 266 | th.icon.right, td.icon.right {padding-left: 0;} | ||
3246 | 267 | th.nowrap, td.nowrap {white-space: nowrap;} | ||
3247 | 268 | tfoot th, table.contributions th {text-align: left;} | ||
3248 | 269 | table.contributions th {font-weight: normal;} | ||
3249 | 270 | table.contributions td {vertical-align: middle; width: 16px; text-align: left;} | ||
3250 | 271 | |||
3251 | 272 | /* ==== Listing tables ==== */ | ||
3252 | 273 | table.duplicate.listing * {color: #999;} | ||
3253 | 274 | |||
3254 | 275 | |||
3255 | 276 | form.primary.search { | 62 | form.primary.search { |
3256 | 277 | margin-bottom: 2em; | 63 | margin-bottom: 2em; |
3257 | 278 | } | 64 | } |
3258 | @@ -294,10 +80,6 @@ | |||
3259 | 294 | -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; | 80 | -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; |
3260 | 295 | } | 81 | } |
3261 | 296 | 82 | ||
3262 | 297 | strong em { | ||
3263 | 298 | font-style: normal; | ||
3264 | 299 | color: #353535; | ||
3265 | 300 | } | ||
3266 | 301 | .link_img {border: 0;} | 83 | .link_img {border: 0;} |
3267 | 302 | .debug { | 84 | .debug { |
3268 | 303 | background: none; | 85 | background: none; |
3269 | @@ -309,9 +91,6 @@ | |||
3270 | 309 | overflow: hidden; | 91 | overflow: hidden; |
3271 | 310 | display: none; | 92 | display: none; |
3272 | 311 | } | 93 | } |
3273 | 312 | hr { | ||
3274 | 313 | display: none; | ||
3275 | 314 | } | ||
3276 | 315 | 94 | ||
3277 | 316 | /* === Official Bug Tag Management === */ | 95 | /* === Official Bug Tag Management === */ |
3278 | 317 | 96 | ||
3279 | @@ -416,32 +195,6 @@ | |||
3280 | 416 | border: 0 !important; | 195 | border: 0 !important; |
3281 | 417 | } | 196 | } |
3282 | 418 | 197 | ||
3283 | 419 | /* --- Various custom list formats --- */ | ||
3284 | 420 | |||
3285 | 421 | ul.architecture, li.architecture {list-style-image: url(/@@/architecture);} | ||
3286 | 422 | ul.build-success, li.build-success {list-style-image: url(/@@/build-success);} | ||
3287 | 423 | ul.bug.remote, li.bug.remote {list-style-image: url(/@@/bug-remote);} | ||
3288 | 424 | ul.language, li.language { | ||
3289 | 425 | list-style-image: url(/@@/language); | ||
3290 | 426 | /* Disable .language sprite. */ | ||
3291 | 427 | background: inherit; | ||
3292 | 428 | } | ||
3293 | 429 | ul.mail, li.mail {list-style-image: url(/@@/mail);} | ||
3294 | 430 | ul.meeting, li.meeting {list-style-image: url(/@@/meeting);} | ||
3295 | 431 | ul.news, li.news { | ||
3296 | 432 | list-style-type: none; | ||
3297 | 433 | margin-bottom: 1em; | ||
3298 | 434 | } | ||
3299 | 435 | ul.rss, li.rss {list-style-image: url(/@@/rss);} | ||
3300 | 436 | ul.translation, li.translation {list-style-image: url(/@@/translation);} | ||
3301 | 437 | ul.webref, li.webref {list-style-image: url(/@@/link);} | ||
3302 | 438 | |||
3303 | 439 | /* --- A list with icons instead of bullets --- */ | ||
3304 | 440 | ul.iconed { | ||
3305 | 441 | list-style-type: none; | ||
3306 | 442 | padding-left: 0 !important; | ||
3307 | 443 | margin: 0 !important; | ||
3308 | 444 | } | ||
3309 | 445 | 198 | ||
3310 | 446 | /* Various custom link icons */ | 199 | /* Various custom link icons */ |
3311 | 447 | 200 | ||
3312 | @@ -503,8 +256,6 @@ | |||
3313 | 503 | border-top: 1px solid #ddd; | 256 | border-top: 1px solid #ddd; |
3314 | 504 | } | 257 | } |
3315 | 505 | .from-superseded {background-color: #ffffcc;} | 258 | .from-superseded {background-color: #ffffcc;} |
3316 | 506 | dl.faq dt {font-weight: bold;} | ||
3317 | 507 | dl.faq dd {margin: 1em 0 2em 4em;} | ||
3318 | 508 | .adminHiddenComment {background-color:yellow;} | 259 | .adminHiddenComment {background-color:yellow;} |
3319 | 509 | 260 | ||
3320 | 510 | /* --- Overview --- */ | 261 | /* --- Overview --- */ |
3321 | @@ -531,13 +282,7 @@ | |||
3322 | 531 | 282 | ||
3323 | 532 | /* --- Home --- */ | 283 | /* --- Home --- */ |
3324 | 533 | 284 | ||
3332 | 534 | /* The following style works around the fact that the locationbar, which is | 285 | |
3326 | 535 | only used of the Login/Register links in 3.0 UI, is accessible on | ||
3327 | 536 | "locationless" pages. It adds extra space at the top of every page in | ||
3328 | 537 | Launchpad but that does actually look quite good ... ;-).*/ | ||
3329 | 538 | #locationbar { | ||
3330 | 539 | height: 1em; | ||
3331 | 540 | } | ||
3333 | 541 | /* -- Notices -- */ | 286 | /* -- Notices -- */ |
3334 | 542 | 287 | ||
3335 | 543 | .important-notice-container { | 288 | .important-notice-container { |
3336 | @@ -936,11 +681,6 @@ | |||
3337 | 936 | font-size: 120%; | 681 | font-size: 120%; |
3338 | 937 | } | 682 | } |
3339 | 938 | 683 | ||
3340 | 939 | div.watermark-apps-portlet span img { | ||
3341 | 940 | float: none; | ||
3342 | 941 | margin: 0; | ||
3343 | 942 | } | ||
3344 | 943 | |||
3345 | 944 | .patches-view-cell { | 684 | .patches-view-cell { |
3346 | 945 | padding-right: 1em; | 685 | padding-right: 1em; |
3347 | 946 | } | 686 | } |
3348 | @@ -1110,24 +850,6 @@ | |||
3349 | 1110 | img.mugshot {display: block;} | 850 | img.mugshot {display: block;} |
3350 | 1111 | /* End hiding from MSIE for Mac */ | 851 | /* End hiding from MSIE for Mac */ |
3351 | 1112 | 852 | ||
3352 | 1113 | div.left, div.right {width: 50%;} | ||
3353 | 1114 | div.left {clear: both; float: left;} | ||
3354 | 1115 | div.right {clear: right; float: right;} | ||
3355 | 1116 | |||
3356 | 1117 | div.three.column.middle {margin-right: 1%;} | ||
3357 | 1118 | div.three.column.left, div.three.column.middle, div.three.column.right { | ||
3358 | 1119 | clear: none; | ||
3359 | 1120 | float: left; | ||
3360 | 1121 | width: 33%; | ||
3361 | 1122 | } | ||
3362 | 1123 | div.three.column.left, div.three.column.right { margin: 0;} | ||
3363 | 1124 | .title { | ||
3364 | 1125 | font-weight: bold; | ||
3365 | 1126 | } | ||
3366 | 1127 | ul.buttons {margin: 0.5em 0 0.5em 0 !important; padding: 0 !important;} | ||
3367 | 1128 | /*- without !important, gets overridden by the '#maincontent ol' etc rule -*/ | ||
3368 | 1129 | ul.buttons li {display: inline; margin: 0 0 0 0;} | ||
3369 | 1130 | ul.cross-reference {font-size: 1.25em;} | ||
3370 | 1131 | 853 | ||
3371 | 1132 | #project-cloud-preview a { | 854 | #project-cloud-preview a { |
3372 | 1133 | padding-left: 0.5em; | 855 | padding-left: 0.5em; |
Wow, that's an excellent improvement... it's definitely much easier to understand the categories. Hopefully any fallout that we see on Edge from this change will only lead to further improvements in the style-sheet.
{{{
16:29 < sinzui> noodles775, I have an awesome (and I mean that in the historical context) branch that updates CSS. I hope you can find time to review it
16:29 < noodles775> sinzui: great!
16:47 < noodles775> sinzui: In your MP text, you mention removing the duplicate css for ul/li.language, but afaics MP diff just shows those as moved?
16:48 < noodles775> Wow... the re-org. looks excellent.
16:48 < sinzui> noodles775, it was defined twice!
16:50 < noodles775> sinzui: but on your MP, I can see it added (from a move) on lines 340ff, removed on lines 1578ff, ah, right, then removed again at 3228. OK.
16:52 < sinzui> noodles775, I really hope that future additions/changes to the css will be easier with this reorganisation. I lost my evening to an obsessive need to understand all the rules we are using
16:52 < noodles775> sinzui: I think it definitely will... and yes, looking at the organisation I can see why it took an evening!
}}}