Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: static/css/index.css

Issue 5636796054503424: Issue 1170 - [adblockplus.org Anwiki to CMS migration] Migrate content (Closed)
Left Patch Set: Created Sept. 17, 2014, 8:33 a.m.
Right Patch Set: Remove includes/common.tmpl which is no longer required. Created March 7, 2015, 7:01 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « settings.ini ('k') | static/css/index-desktop.css » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #content h1, #content h2 1 #content h1, #content h2
2 { 2 {
3 font-size: 16px; 3 font-size: 16px;
4 } 4 }
5 5
6 #content .sprite 6 #content .sprite
7 { 7 {
8 background-image: url(../img/sprite-index.png); 8 background-image: url(../img/sprite-index.png);
9 } 9 }
10 10
11 #main, #video 11 #main, #video
12 { 12 {
13 display: inline-block; 13 display: inline-block;
14 } 14 }
15 15
16 #video 16 #video, #maxthon-instruction
17 { 17 {
18 background: white; 18 background: white;
19 padding: 10px; 19 padding: 10px;
20 border: 1px solid #c9c9c9; 20 border: 1px solid #c9c9c9;
21 box-shadow: 1px 1px 0 0 #dbdbdb; 21 box-shadow: 1px 1px 0 0 #dbdbdb;
22 }
23
24 #maxthon-instruction,
25 html[lang^="zh_"] #content.maxthon #video,
26 #content.maxthon #feature-free,
27 #feature-maxthon
28 {
29 display: none;
30 }
31
32 html[lang^="zh_"] #content.maxthon #maxthon-instruction
33 {
34 display: inline-block;
35 padding: 0px;
36 }
37
38 #content.maxthon #feature-maxthon
39 {
40 display: inline-block;
22 } 41 }
23 42
24 #summary h1, #summary h2 43 #summary h1, #summary h2
25 { 44 {
26 font-weight: normal; 45 font-weight: normal;
27 margin: 0; 46 margin: 0;
28 } 47 }
29 48
30 #summary h1 49 #summary h1
31 { 50 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 { 89 {
71 position: absolute; 90 position: absolute;
72 width: 12px; 91 width: 12px;
73 height: 11px; 92 height: 11px;
74 margin-top: 4px; 93 margin-top: 4px;
75 margin-left: -17px; 94 margin-left: -17px;
76 margin-right: 0px; 95 margin-right: 0px;
77 background-image: url(../img/sprite-main.png); 96 background-image: url(../img/sprite-main.png);
78 background-repeat: no-repeat; 97 background-repeat: no-repeat;
79 background-position: -166px 0px; 98 background-position: -166px 0px;
99 }
100
101 .license-note
102 {
103 display: none;
104 font-weight: normal;
105 }
106
107 html[lang="fr"] .license-note.lang-fr
108 {
109 display: inline;
80 } 110 }
81 111
82 html[dir="rtl"] #summary li .sprite 112 html[dir="rtl"] #summary li .sprite
83 { 113 {
84 margin-right: -17px; 114 margin-right: -17px;
85 margin-left: 0px; 115 margin-left: 0px;
86 } 116 }
87 117
88 /* This cannot be just .install-button because a:link will have a higher 118 /* This cannot be just .install-button because a:link will have a higher
89 specificity otherwise (overrides text color) */ 119 specificity otherwise (overrides text color) */
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 transition: none; 167 transition: none;
138 bottom: 4px; 168 bottom: 4px;
139 } 169 }
140 170
141 #content.android .install-button, 171 #content.android .install-button,
142 #content.firefox.ua-firefox .install-button, 172 #content.firefox.ua-firefox .install-button,
143 #content.chrome.ua-chrome .install-button, 173 #content.chrome.ua-chrome .install-button,
144 #content.opera.ua-opera .install-button, 174 #content.opera.ua-opera .install-button,
145 #content.internet-explorer.ua-internet-explorer .install-button, 175 #content.internet-explorer.ua-internet-explorer .install-button,
146 #content.safari.ua-safari .install-button, 176 #content.safari.ua-safari .install-button,
177 #content.yandex-browser.ua-yandex-browser .install-button,
147 /* IE6 fixes */ 178 /* IE6 fixes */
148 #content.firefox_ua-firefox .install-button, 179 #content.firefox_ua-firefox .install-button,
149 #content.chrome_ua-chrome .install-button, 180 #content.chrome_ua-chrome .install-button,
150 #content.opera_ua-opera .install-button, 181 #content.opera_ua-opera .install-button,
151 #content.internet-explorer_ua-internet-explorer .install-button, 182 #content.internet-explorer_ua-internet-explorer .install-button,
152 #content.safari_ua-safari .install-button 183 #content.safari_ua-safari .install-button,
184 #content.yandex-browser_ua-yandex-browser .install-button
153 { 185 {
154 background: #62c52b; 186 background: #62c52b;
155 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); 187 background: -webkit-linear-gradient(top, #62c52b, #4f9d22);
156 background: -moz-linear-gradient(top, #62c52b, #4f9d22); 188 background: -moz-linear-gradient(top, #62c52b, #4f9d22);
157 background: -ms-linear-gradient(top, #62c52b, #4f9d22); 189 background: -ms-linear-gradient(top, #62c52b, #4f9d22);
158 background: -o-linear-gradient(top, #62c52b, #4f9d22); 190 background: -o-linear-gradient(top, #62c52b, #4f9d22);
159 background: linear-gradient(top, #62c52b, #4f9d22); 191 background: linear-gradient(top, #62c52b, #4f9d22);
160 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; 192 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422;
161 text-shadow: 2px 2px 2px #327d14; 193 text-shadow: 2px 2px 2px #327d14;
162 } 194 }
163 195
164 #content.android .install-button:hover, 196 #content.android .install-button:hover,
165 #content.firefox.ua-firefox .install-button:hover, 197 #content.firefox.ua-firefox .install-button:hover,
166 #content.chrome.ua-chrome .install-button:hover, 198 #content.chrome.ua-chrome .install-button:hover,
167 #content.opera.ua-opera .install-button:hover, 199 #content.opera.ua-opera .install-button:hover,
168 #content.internet-explorer.ua-internet-explorer .install-button:hover, 200 #content.internet-explorer.ua-internet-explorer .install-button:hover,
169 #content.safari.ua-safari .install-button:hover, 201 #content.safari.ua-safari .install-button:hover,
202 #content.yandex-browser.ua-yandex-browser .install-button:hover,
170 /* IE6 fixes */ 203 /* IE6 fixes */
171 #content.firefox_ua-firefox .install-button:hover, 204 #content.firefox_ua-firefox .install-button:hover,
172 #content.chrome_ua-chrome .install-button:hover, 205 #content.chrome_ua-chrome .install-button:hover,
173 #content.opera_ua-opera .install-button:hover, 206 #content.opera_ua-opera .install-button:hover,
174 #content.internet-explorer_ua-internet-explorer .install-button:hover, 207 #content.internet-explorer_ua-internet-explorer .install-button:hover,
175 #content.safari_ua-safari .install-button:hover 208 #content.safari_ua-safari .install-button:hover,
209 #content.yandex-browser_ua-yandex-browser .install-button:hover
176 { 210 {
177 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15;
178 } 212 }
179 213
180 #content.android .install-button:active, 214 #content.android .install-button:active,
181 #content.firefox.ua-firefox .install-button:active, 215 #content.firefox.ua-firefox .install-button:active,
182 #content.chrome.ua-chrome .install-button:active, 216 #content.chrome.ua-chrome .install-button:active,
183 #content.opera.ua-opera .install-button:active, 217 #content.opera.ua-opera .install-button:active,
184 #content.internet-explorer.ua-internet-explorer .install-button:active, 218 #content.internet-explorer.ua-internet-explorer .install-button:active,
185 #content.safari.ua-safari .install-button:active, 219 #content.safari.ua-safari .install-button:active,
220 #content.yandex-browser.ua-yandex-browser .install-button:active,
186 /* IE6 fixes */ 221 /* IE6 fixes */
187 #content.firefox_ua-firefox .install-button:active, 222 #content.firefox_ua-firefox .install-button:active,
188 #content.chrome_ua-chrome .install-button:active, 223 #content.chrome_ua-chrome .install-button:active,
189 #content.opera_ua-opera .install-button:active, 224 #content.opera_ua-opera .install-button:active,
190 #content.internet-explorer_ua-internet-explorer .install-button:active, 225 #content.internet-explorer_ua-internet-explorer .install-button:active,
191 #content.safari_ua-safari .install-button:active 226 #content.safari_ua-safari .install-button:active,
227 #content.yandex-browser_ua-yandex-browser .install-button:active
192 { 228 {
193 background: #4f9d22; 229 background: #4f9d22;
194 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); 230 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
195 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); 231 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
196 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); 232 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
197 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); 233 background: -o-linear-gradient(bottom, #62c52b, #4f9d22);
198 background: linear-gradient(bottom, #62c52b, #4f9d22); 234 background: linear-gradient(bottom, #62c52b, #4f9d22);
199 box-shadow: 0px 0px 7px #486c15; 235 box-shadow: 0px 0px 7px #486c15;
200 } 236 }
201 237
202 #content.firefox #install-firefox, #content.chrome #install-chrome, 238 #content.firefox #install-firefox, #content.chrome #install-chrome,
203 #content.opera #install-opera, #content.android #install-android, 239 #content.opera #install-opera, #content.android #install-android,
204 #content.internet-explorer #install-internet-explorer, 240 #content.internet-explorer #install-internet-explorer,
205 #content.safari #install-safari 241 #content.safari #install-safari,
242 #content.yandex-browser #install-yandex-browser
206 { 243 {
207 display: inline-block; 244 display: inline-block;
208 } 245 }
209 246
210 #install ul 247 #install ul
211 { 248 {
212 list-style: none; 249 list-style: none;
213 display: inline-block; 250 display: inline-block;
214 margin: 0 0 0 5px; 251 margin: 0 0 0 5px;
215 padding: 0; 252 padding: 0;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 #platform-safari 334 #platform-safari
298 { 335 {
299 background-position: -88px -131px; 336 background-position: -88px -131px;
300 } 337 }
301 338
302 #content.safari #platform-safari 339 #content.safari #platform-safari
303 { 340 {
304 background-position: -88px -110px; 341 background-position: -88px -110px;
305 } 342 }
306 343
307 .warning-platform 344 #platform-yandex-browser
345 {
346 background-position: -128px -89px;
347 }
348
349 #content.yandex-browser #platform-yandex-browser
350 {
351 background-position: -128px -68px;
352 }
353
354 #platform-maxthon
355 {
356 background-position: -128px -130px;
357 }
358
359 #content.maxthon #platform-maxthon
360 {
361 background-position: -128px -109px;
362 }
363
364 .warning-platform,
365 .disclaimer,
366 #maxthon-notification
308 { 367 {
309 display: none; 368 display: none;
310 color: #D00; 369 color: #D00;
311 text-align: center; 370 text-align: center;
312 border: 1px solid #D00; 371 border: 1px solid #D00;
313 padding: 5px; 372 padding: 5px;
314 border-radius: 5px; 373 border-radius: 5px;
315 } 374 }
316 375
376 .disclaimer
377 {
378 font-size: 14px;
379 color: #000;
380 text-align: left;
381 }
382
317 #content.ua-firefox .warning-platform.firefox, 383 #content.ua-firefox .warning-platform.firefox,
318 #content.ua-chrome .warning-platform.chrome, 384 #content.ua-chrome .warning-platform.chrome,
319 #content.ua-android .warning-platform.android, 385 #content.ua-android .warning-platform.android,
320 #content.ua-opera .warning-platform.opera, 386 #content.ua-opera .warning-platform.opera,
321 #content.ua-internet-explorer .warning-platform.internet-explorer, 387 #content.ua-internet-explorer .warning-platform.internet-explorer,
322 #content.ua-safari .warning-platform.safari 388 #content.ua-safari .warning-platform.safari,
389 #content.ua-yandex-browser .warning-platform.yandex-browser,
390 #content.ua-maxthon .warning-platform.maxthon,
391 html[lang^="zh_"] #maxthon-notification
323 { 392 {
324 display: block; 393 display: block;
325 } 394 }
326 395
327 #content.firefox.ua-firefox .warning-platform.firefox, 396 #content.firefox.ua-firefox .warning-platform.firefox,
328 #content.chrome.ua-chrome .warning-platform.chrome, 397 #content.chrome.ua-chrome .warning-platform.chrome,
329 #content.android.ua-android .warning-platform.android, 398 #content.android.ua-android .warning-platform.android,
330 #content.opera.ua-opera .warning-platform.opera, 399 #content.opera.ua-opera .warning-platform.opera,
331 #content.internet-explorer.ua-internet-explorer .warning-platform.internet-explo rer, 400 #content.internet-explorer.ua-internet-explorer .warning-platform.internet-explo rer,
332 #content.safari.ua-safari .warning-platform.safari, 401 #content.safari.ua-safari .warning-platform.safari,
402 #content.yandex-browser.ua-yandex-browser .warning-platform.yandex-browser,
403 #content.maxthon.ua-maxthon .warning-platform.maxthon,
404 #content.ua-maxthon #maxthon-notification,
405 #content.maxthon #maxthon-notification,
333 /* IE6 fixes */ 406 /* IE6 fixes */
334 #content.firefox_ua-firefox .warning-platform.firefox, 407 #content.firefox_ua-firefox .warning-platform.firefox,
335 #content.chrome_ua-chrome .warning-platform.chrome, 408 #content.chrome_ua-chrome .warning-platform.chrome,
336 #content.opera_ua-opera .warning-platform.opera, 409 #content.opera_ua-opera .warning-platform.opera,
337 #content.internet-explorer_ua-internet-explorer .warning-platform.internet-explo rer, 410 #content.internet-explorer_ua-internet-explorer .warning-platform.internet-explo rer,
338 #content.safari_ua-safari .warning-platform.safari 411 #content.safari_ua-safari .warning-platform.safari,
339 { 412 #content.yandex-browser_ua-yandex-browser .warning-platform.yandex-browser,
340 display: none; 413 #content.maxthon_ua-maxthon .warning-platform.maxthon
414 {
415 display: none;
416 }
417
418 html[lang="fr"] .disclaimer.lang-fr
419 {
420 display: block;
341 } 421 }
342 422
343 #key-facts section 423 #key-facts section
344 { 424 {
345 display: inline-block; 425 display: inline-block;
346 } 426 }
347 427
348 #key-facts section h1 428 #key-facts section h1
349 { 429 {
350 margin-top: 0px; 430 margin-top: 0px;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 #more-container.hidden #more-tabs 544 #more-container.hidden #more-tabs
465 { 545 {
466 display: none; 546 display: none;
467 } 547 }
468 548
469 #more-container.firefox #tab-firefox, 549 #more-container.firefox #tab-firefox,
470 #more-container.chrome #tab-chrome, 550 #more-container.chrome #tab-chrome,
471 #more-container.opera #tab-opera, 551 #more-container.opera #tab-opera,
472 #more-container.android #tab-android, 552 #more-container.android #tab-android,
473 #more-container.internet-explorer #tab-internet-explorer, 553 #more-container.internet-explorer #tab-internet-explorer,
474 #more-container.safari #tab-safari 554 #more-container.safari #tab-safari,
555 #more-container.yandex-browser #tab-yandex-browser,
556 #more-container.maxthon #tab-maxthon
475 { 557 {
476 display: inline-block; 558 display: inline-block;
477 } 559 }
478 560
479 #more-container.firefox #more-firefox, 561 #more-container.firefox #more-firefox,
480 #more-container.chrome #more-chrome, 562 #more-container.chrome #more-chrome,
481 #more-container.opera #more-opera, 563 #more-container.opera #more-opera,
482 #more-container.android #more-android, 564 #more-container.android #more-android,
483 #more-container.internet-explorer #more-internet-explorer, 565 #more-container.internet-explorer #more-internet-explorer,
484 #more-container.safari #more-safari 566 #more-container.safari #more-safari,
567 #more-container.yandex-browser #more-yandex-browser,
568 #more-container.maxthon #more-maxthon
485 { 569 {
486 background-color: #dbd4c7; 570 background-color: #dbd4c7;
487 } 571 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld