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

Delta Between Two Patch Sets: skin/firstRun.css

Issue 29328733: Issue 2018 - Optimized first-run page for smaller screens (Closed)
Left Patch Set: Created Oct. 5, 2015, 1:41 p.m.
Right Patch Set: Created Oct. 8, 2015, 2:45 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 | « firstRun.js ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 margin: 0; 72 margin: 0;
73 padding: 0; 73 padding: 0;
74 list-style-type: none; 74 list-style-type: none;
75 } 75 }
76 76
77 header 77 header
78 { 78 {
79 background-image: url(background.png); 79 background-image: url(background.png);
80 background-repeat: repeat-x; 80 background-repeat: repeat-x;
81 width: 100%; 81 width: 100%;
82 padding-top: 25px; 82 padding-top: 25px;
saroyanm 2015/10/05 17:18:55 Should we need to use shorthand in this case ? Hav
83 } 83 }
84 84
85 header h1 85 header h1
86 { 86 {
87 font-size: 24px; 87 font-size: 24px;
88 font-weight: normal; 88 font-weight: normal;
89 color: #57ab5b; 89 color: #57ab5b;
90 text-align: center; 90 text-align: center;
91 margin: 21px auto; 91 margin: 21px auto;
92 padding: 16px 0px; 92 padding: 16px 0px;
93 border: 1px #57ab5b; 93 border: 1px #57ab5b;
94 border-style: dashed none; 94 border-style: dashed none;
95 /* border parallel fix - 957px is the value 95 /* border parallel fix - 957px is the value
96 * closest to 960px(page width) which makes 96 * closest to 960px(page width) which makes
97 * the dashed border parallel 97 * the dashed border parallel
98 */ 98 */
99 max-width: 957px; 99 max-width: 957px;
100 } 100 }
101 101
102 h1, h2, h3 102 h1,
saroyanm 2015/10/05 17:18:55 Nit: I think each selectors should go to it's own
Thomas Greiner 2015/10/06 09:54:36 Done.
103 h2,
104 h3
103 { 105 {
104 font-family: CreteRound, Helvetica, Arial, sans-serif; 106 font-family: CreteRound, Helvetica, Arial, sans-serif;
105 } 107 }
106 108
107 h2 109 h2
108 { 110 {
109 font-size: 26px; 111 font-size: 26px;
110 font-weight: lighter; 112 font-weight: lighter;
111 color: #968d81; 113 color: #968d81;
112 line-height: 28px; 114 line-height: 28px;
113 text-align: center; 115 text-align: center;
114 margin: 0; 116 margin: 0;
115 padding: 0; 117 padding: 0;
116 } 118 }
117 119
118 h3 120 h3
119 { 121 {
120 font-size: 22px; 122 font-size: 22px;
121 color: #7F776B; 123 color: #7F776B;
122 font-weight: normal; 124 font-weight: normal;
123 margin-top: 0px; 125 margin-top: 0px;
saroyanm 2015/10/05 17:18:55 Nit: I think you can use shorthand here.
Thomas Greiner 2015/10/06 09:54:36 The problem with using shorthand properties here i
124 margin-bottom: 10px; 126 margin-bottom: 10px;
125 padding: 0; 127 padding: 0;
126 line-height: 24px; 128 line-height: 24px;
127 } 129 }
128 130
129 h4 131 h4
130 { 132 {
131 font-size: 15px; 133 font-size: 15px;
132 color: #7f776b; 134 color: #7f776b;
133 font-weight: normal; 135 font-weight: normal;
134 text-align: center; 136 text-align: center;
135 margin: 0; 137 margin: 0;
136 padding: 0; 138 padding: 0;
137 } 139 }
138 140
139 section 141 section
140 { 142 {
141 margin: 0 auto; 143 margin: 0 auto;
142 margin-bottom: 30px; 144 margin-bottom: 30px;
143 max-width: 960px; 145 max-width: 960px;
144 background-image: url(background.png); 146 background-image: url(background.png);
145 padding: 40px 100px; 147 padding: 40px 100px;
148 box-sizing: border-box;
146 } 149 }
147 150
148 #general 151 #general
149 { 152 {
150 display: table; 153 display: table;
151 padding-left: 0px; 154 padding-left: 0px;
saroyanm 2015/10/05 17:18:55 Nit: I think you can use shorthand here.
152 padding-right: 0px; 155 padding-right: 0px;
153 } 156 }
154 157
155 #general > div 158 #general > div
156 { 159 {
157 display: table-cell; 160 display: table-cell;
158 width: 50%; 161 width: 50%;
159 vertical-align: top; 162 vertical-align: top;
160 padding: 0px 50px; 163 padding: 0px 50px;
161 border: dashed 0 #969085; 164 border: dashed 0 #969085;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 #logo 243 #logo
241 { 244 {
242 margin: 0 auto; 245 margin: 0 auto;
243 height: 128px; 246 height: 128px;
244 width: 128px; 247 width: 128px;
245 display: block; 248 display: block;
246 } 249 }
247 250
248 #can-do-more 251 #can-do-more
249 { 252 {
250 padding: 40px 0px 0px 0px;
251 border-bottom: 4px solid #968D81; 253 border-bottom: 4px solid #968D81;
252 } 254 }
253 255
254 #can-do-more > h2
255 {
256 margin: 0 100px;
257 }
258
259 .feature-malware-image 256 .feature-malware-image
260 { 257 {
261 background-image: url(features/malware.png); 258 background-image: url(features/malware.png);
262 background-repeat: no-repeat; 259 background-repeat: no-repeat;
263 } 260 }
264 261
265 .feature-social-image 262 .feature-social-image
266 { 263 {
267 background-image: url(features/social.png); 264 background-image: url(features/social.png);
268 background-repeat: no-repeat; 265 background-repeat: no-repeat;
269 } 266 }
270 267
271 .feature-tracking-image 268 .feature-tracking-image
272 { 269 {
273 background-image: url(features/tracking.png); 270 background-image: url(features/tracking.png);
274 background-repeat: no-repeat; 271 background-repeat: no-repeat;
275 } 272 }
276 273
277 #can-do-more-content 274 #can-do-more-content
278 { 275 {
279 margin: 30px 100px; 276 margin-top: 30px;
280 } 277 }
281 278
282 #can-do-more #features 279 #can-do-more #features
283 { 280 {
284 border-spacing: 10px; 281 border-spacing: 10px;
285 margin: 0px;
286 padding: 0px;
287 } 282 }
288 283
289 #can-do-more .feature 284 #can-do-more .feature
290 { 285 {
291 list-style-type: none; 286 list-style-type: none;
292 padding-top: 30px; 287 padding-top: 30px;
293 padding-bottom: 20px; 288 padding-bottom: 20px;
294 border-top: 1px dashed #c0bebb; 289 border-top: 1px dashed #c0bebb;
295 } 290 }
296 291
297 #can-do-more .feature-image, #can-do-more .feature-description 292 #can-do-more .feature-image, #can-do-more .feature-description
298 { 293 {
299 display: inline-block; 294 display: inline-block;
300 *display: inline; /* IE6 inline-block fix */
301 *zoom: 1;
302 vertical-align: top; 295 vertical-align: top;
303 } 296 }
304 297
305 #can-do-more .feature-description 298 #can-do-more .feature-description
306 { 299 {
307 -webkit-margin-start: 20px; 300 -webkit-margin-start: 20px;
308 -moz-margin-start: 20px; 301 -moz-margin-start: 20px;
309 width: 625px; 302 width: 625px;
310 max-width: 85%; 303 max-width: 85%;
311 } 304 }
(...skipping 17 matching lines...) Expand all
329 width: 59px; 322 width: 59px;
330 height: 59px; 323 height: 59px;
331 margin: 10px 0px; 324 margin: 10px 0px;
332 -webkit-margin-start: 20px; 325 -webkit-margin-start: 20px;
333 -moz-margin-start: 20px; 326 -moz-margin-start: 20px;
334 } 327 }
335 328
336 #share 329 #share
337 { 330 {
338 background-image: url(background-share.png); 331 background-image: url(background-share.png);
339 max-width: 760px;
340 text-align: center; 332 text-align: center;
341 font-family: CreteRound, Helvetica, Arial, sans-serif; 333 font-family: CreteRound, Helvetica, Arial, sans-serif;
342 } 334 }
343 335
344 #share h2 336 #share h2
345 { 337 {
346 margin-bottom: 30px; 338 margin-bottom: 30px;
347 } 339 }
348 340
349 #share h2, 341 #share h2,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 display: table-caption; 529 display: table-caption;
538 } 530 }
539 531
540 .toggle 532 .toggle
541 { 533 {
542 cursor: pointer; 534 cursor: pointer;
543 position: relative; 535 position: relative;
544 display: inline-block; 536 display: inline-block;
545 vertical-align: top; 537 vertical-align: top;
546 height: 22px; 538 height: 22px;
547 margin-top: 32px; 539 margin-top: 32px;
saroyanm 2015/10/05 17:18:55 Why shorthand was removed ? Will stop commenting
548 margin-bottom: 7px; 540 margin-bottom: 7px;
549 border-radius: 9999px; 541 border-radius: 9999px;
550 border: 1px solid #999; 542 border: 1px solid #999;
551 overflow: hidden; 543 overflow: hidden;
552 -moz-user-select: none; 544 -moz-user-select: none;
553 -webkit-user-select: none; 545 -webkit-user-select: none;
554 user-select: none; 546 user-select: none;
555 } 547 }
556 548
557 .toggle:hover 549 .toggle:hover
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 } 674 }
683 675
684 #general > div, 676 #general > div,
685 #can-do-more > h2, 677 #can-do-more > h2,
686 #can-do-more-content 678 #can-do-more-content
687 { 679 {
688 margin-left: 20px; 680 margin-left: 20px;
689 margin-right: 20px; 681 margin-right: 20px;
690 } 682 }
691 683
692 #can-do-more 684 #can-do-more,
685 #can-do-more .feature h3
693 { 686 {
694 text-align: center; 687 text-align: center;
695 } 688 }
696 689
697 #can-do-more .feature-description-textblock 690 #can-do-more .feature-description-textblock
698 { 691 {
699 text-align: start; 692 text-align: start;
700 } 693 }
701
702 #can-do-more .feature h3
saroyanm 2015/10/05 17:18:55 can be merged with "#can-do-more"
Thomas Greiner 2015/10/06 09:54:36 Done.
703 {
704 text-align: center;
705 }
706 694
707 .toggle 695 .toggle
708 { 696 {
709 margin-top: 14px; 697 margin-top: 14px;
710 } 698 }
711 } 699 }
LEFTRIGHT
« firstRun.js ('k') | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld