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

Delta Between Two Patch Sets: skin/defaults.css

Issue 29565721: No Issue - Implemented first run page Base URL: https://hg.adblockplus.org/adblockplusui/
Left Patch Set: Included Header / Footer, addressed previous feedback Created Oct. 17, 2017, 2:06 p.m.
Right Patch Set: Addressed latest round of feedback Created Jan. 30, 2018, 2:06 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
LEFTRIGHT
1 /*!
2 * This file is part of website-defaults
3 * Copyright (C) 2016-present eyeo GmbH
4 *
5 * website-defaults is free software: you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * website-defaults is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
17 */
18 /*!
19 * This file is part of website-defaults
20 * Copyright (C) 2016-present eyeo GmbH
21 *
22 * website-defaults is free software: you can redistribute it and/or
23 * modify it under the terms of the GNU General Public License as published by
24 * the Free Software Foundation, either version 3 of the License, or
25 * (at your option) any later version.
26 *
27 * website-defaults is distributed in the hope that it will be useful,
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 * GNU General Public License for more details.
31 *
32 * You should have received a copy of the GNU General Public License
33 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
34 */
35 /*******************************************************************************
36 * Variables
37 *******************************************************************************
38 * ~ WARNING ~ DO NOT EDIT THIS FILE!
39 * Set variables within project specfic SCSS before including website defaults.
40 *******************************************************************************
41 * - Brand colors
42 * - Fonts
43 * - Spacing
44 * - Breakpoints
45 ******************************************************************************/
46 /* Brand colors
47 ******************************************************************************/
48 /* Primary - The most widely used across all screens and components. */
49 /* Secondary - Used to indicate a related action or information. */
50 /* Accent - Used for action buttons and interactive elements. */
51 /* Error - Used for error messages and warnings. */
52 /* Fonts
53 ******************************************************************************/
54 /* Spacing
55 ******************************************************************************/
56 /* Breakpoints
57 ******************************************************************************/
58 /* Container widths
59 ******************************************************************************/
60 /*! 1 /*!
61 * This file is part of website-defaults 2 * This file is part of website-defaults
62 * Copyright (C) 2016-present eyeo GmbH 3 * Copyright (C) 2016-present eyeo GmbH
63 * 4 *
64 * website-defaults is free software: you can redistribute it and/or 5 * website-defaults is free software: you can redistribute it and/or
65 * modify it under the terms of the GNU General Public License as published by 6 * modify it under the terms of the GNU General Public License as published by
66 * the Free Software Foundation, either version 3 of the License, or 7 * the Free Software Foundation, either version 3 of the License, or
67 * (at your option) any later version. 8 * (at your option) any later version.
68 * 9 *
69 * website-defaults is distributed in the hope that it will be useful, 10 * website-defaults is distributed in the hope that it will be useful,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 img { 128 img {
188 /* Make fixed width images responsive */ 129 /* Make fixed width images responsive */
189 max-width: 100%; 130 max-width: 100%;
190 /* Remove the border on images inside links in IE 10-. */ 131 /* Remove the border on images inside links in IE 10-. */
191 border-style: none; } 132 border-style: none; }
192 133
193 /* Set correct display for hidden attribute in IE 10- */ 134 /* Set correct display for hidden attribute in IE 10- */
194 [hidden] { 135 [hidden] {
195 display: none; } 136 display: none; }
196 137
197 /*! 138 /*******************************************************************************
198 * This file is part of website-defaults 139 * Utilities
199 * Copyright (C) 2016-present eyeo GmbH 140 ******************************************************************************/
200 * 141 /* Responsive widths
201 * website-defaults is free software: you can redistribute it and/or 142 ******************************************************************************/
202 * modify it under the terms of the GNU General Public License as published by 143 /**
203 * the Free Software Foundation, either version 3 of the License, or 144 * Stretch content (e.g. images) full-width
204 * (at your option) any later version. 145 */
205 * 146 .full-width {
206 * website-defaults is distributed in the hope that it will be useful, 147 display: block;
207 * but WITHOUT ANY WARRANTY; without even the implied warranty of 148 width: 100%; }
208 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 149
209 * GNU General Public License for more details. 150 /**
210 * 151 * Center content within a (responsive) fixed width
211 * You should have received a copy of the GNU General Public License 152 */
212 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. 153 .container {
213 */ 154 width: 1140px;
155 max-width: 100%;
156 margin-right: auto;
157 margin-left: auto;
158 padding-right: 1em;
159 padding-left: 1em; }
160
161 /* Device widths
162 ******************************************************************************/
163 .phone-width {
164 width: auto; }
165
166 .phablet-width {
167 width: 540px; }
168
169 .tablet-width {
170 width: 720px; }
171
172 .desktop-width {
173 width: 960px; }
174
175 .large-desktop-width {
176 width: 1140px; }
177
178 /* Clearfix
179 ******************************************************************************/
180 .clearfix:after, .content:after,
181 .clearfix:before,
182 .content:before {
183 display: table;
184 content: " "; }
185
186 .clearfix:after, .content:after {
187 clear: both; }
188
214 /******************************************************************************* 189 /*******************************************************************************
215 * Base styles 190 * Base styles
216 ******************************************************************************/ 191 ******************************************************************************/
217 html { 192 html {
218 color: #212121; 193 color: #212121;
219 background-color: #fff; 194 background-color: #fff;
220 font-family: sans-serif; 195 font-family: sans-serif;
221 line-height: 1.5; } 196 line-height: 1.5; }
222 197
223 /**
224 * Stretch content full-width
225 */
226 .full-width {
227 display: block;
228 width: 100%;
229 margin: 1em 0px; }
230
231 /**
232 * Center content within a (responsive) fixed width
233 */
234 .container {
235 width: auto;
236 max-width: 100%;
237 margin: 0px auto;
238 padding: 0px 1em; }
239
240 @media (min-width: 768px) {
241 .container {
242 width: 720px; } }
243
244 @media (min-width: 992px) {
245 .container {
246 width: 960px; } }
247
248 /*!
249 * This file is part of website-defaults
250 * Copyright (C) 2016-present eyeo GmbH
251 *
252 * website-defaults is free software: you can redistribute it and/or
253 * modify it under the terms of the GNU General Public License as published by
254 * the Free Software Foundation, either version 3 of the License, or
255 * (at your option) any later version.
256 *
257 * website-defaults is distributed in the hope that it will be useful,
258 * but WITHOUT ANY WARRANTY; without even the implied warranty of
259 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
260 * GNU General Public License for more details.
261 *
262 * You should have received a copy of the GNU General Public License
263 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
264 */
265 /******************************************************************************* 198 /*******************************************************************************
266 * Content styles 199 * Content styles
267 ******************************************************************************* 200 *******************************************************************************
268 * 1. Document 201 * 1. Document
269 * 2. Headings 202 * 2. Headings
270 * 3. Body content 203 * 3. Body content
271 ******************************************************************************/ 204 ******************************************************************************/
272 .content { 205 .content {
206 /* Clearfixed
207 ****************************************************************************/
273 /* Document 208 /* Document
274 ****************************************************************************/ 209 ****************************************************************************/
275 /* Headings 210 /* Headings
276 ****************************************************************************/ 211 ****************************************************************************/
277 /* Body content 212 /* Body content
278 ****************************************************************************/ } 213 ****************************************************************************/ }
279 .content p, 214 .content p,
280 .content ol, 215 .content ol,
281 .content ul, 216 .content ul,
282 .content dl, 217 .content dl,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 /* prevent double spacing lists */ 274 /* prevent double spacing lists */
340 margin: 0em; } 275 margin: 0em; }
341 .content ol ol { 276 .content ol ol {
342 list-style-type: lower-alpha; } 277 list-style-type: lower-alpha; }
343 .content dt { 278 .content dt {
344 /* undo browser default (opinionated)*/ 279 /* undo browser default (opinionated)*/
345 font-weight: 600; } 280 font-weight: 600; }
346 .content dd { 281 .content dd {
347 margin: 0.25em 0em 1em 0em; } 282 margin: 0.25em 0em 1em 0em; }
348 283
349 /*!
350 * This file is part of website-defaults
351 * Copyright (C) 2016-present eyeo GmbH
352 *
353 * website-defaults is free software: you can redistribute it and/or
354 * modify it under the terms of the GNU General Public License as published by
355 * the Free Software Foundation, either version 3 of the License, or
356 * (at your option) any later version.
357 *
358 * website-defaults is distributed in the hope that it will be useful,
359 * but WITHOUT ANY WARRANTY; without even the implied warranty of
360 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
361 * GNU General Public License for more details.
362 *
363 * You should have received a copy of the GNU General Public License
364 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
365 */
366 /******************************************************************************* 284 /*******************************************************************************
367 * Grid component 285 * Grid component
368 ******************************************************************************/ 286 ******************************************************************************/
369 /** 287 /**
370 * - .row contains one or more .column(s) 288 * - .row contains one or more .column(s)
371 * - .row clears .column(s) 289 * - .row clears .column(s)
372 * - .row negates the left & right padding of it's left-most & right-most 290 * - .row negates the left & right padding of it's left-most & right-most
373 * .column(s) while preserving consistent padding between .column(s) 291 * .column(s) while preserving consistent padding between .column(s)
374 */ 292 */
375 .row { 293 .row {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 width: 33.333333%; } 330 width: 33.333333%; }
413 .two-thirds { 331 .two-thirds {
414 width: 66.666667%; } } 332 width: 66.666667%; } }
415 333
416 @media (min-width: 992px) { 334 @media (min-width: 992px) {
417 .one-fourth { 335 .one-fourth {
418 width: 25%; } 336 width: 25%; }
419 .three-fourths { 337 .three-fourths {
420 width: 75%; } } 338 width: 75%; } }
421 339
422 /*!
423 * This file is part of website-defaults
424 * Copyright (C) 2016-2017 eyeo GmbH
425 *
426 * website-defaults is free software: you can redistribute it and/or
427 * modify it under the terms of the GNU General Public License as published by
428 * the Free Software Foundation, either version 3 of the License, or
429 * (at your option) any later version.
430 *
431 * website-defaults is distributed in the hope that it will be useful,
432 * but WITHOUT ANY WARRANTY; without even the implied warranty of
433 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
434 * GNU General Public License for more details.
435 *
436 * You should have received a copy of the GNU General Public License
437 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
438 */
439 /******************************************************************************* 340 /*******************************************************************************
440 * Basic forms fields 341 * Basic forms fields
441 ******************************************************************************* 342 *******************************************************************************
442 * 1. Reset 343
443 ******************************************************************************/
444 /* 1. Reset 344 /* 1. Reset
445 ******************************************************************************/ 345 ******************************************************************************/
446 /* Change the font styles in all browsers (opinionated). */ 346 /* Change the font styles in all browsers (opinionated). */
447 input, 347 input,
448 optgroup, 348 optgroup,
449 select, 349 select,
450 textarea { 350 textarea {
451 font: inherit; } 351 font: inherit; }
452 352
453 /* Show the overflow in IE and Edge */ 353 /* Show the overflow in IE and Edge */
(...skipping 16 matching lines...) Expand all
470 370
471 /* Remove the default vertical scrollbar in IE. */ 371 /* Remove the default vertical scrollbar in IE. */
472 textarea { 372 textarea {
473 overflow: auto; } 373 overflow: auto; }
474 374
475 /* Remove the padding in IE 10-. */ 375 /* Remove the padding in IE 10-. */
476 [type="checkbox"], 376 [type="checkbox"],
477 [type="radio"] { 377 [type="radio"] {
478 padding: 0px; } 378 padding: 0px; }
479 379
480 /*!
481 * This file is part of website-defaults
482 * Copyright (C) 2016-2017 eyeo GmbH
483 *
484 * website-defaults is free software: you can redistribute it and/or
485 * modify it under the terms of the GNU General Public License as published by
486 * the Free Software Foundation, either version 3 of the License, or
487 * (at your option) any later version.
488 *
489 * website-defaults is distributed in the hope that it will be useful,
490 * but WITHOUT ANY WARRANTY; without even the implied warranty of
491 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
492 * GNU General Public License for more details.
493 *
494 * You should have received a copy of the GNU General Public License
495 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
496 */
497 /******************************************************************************* 380 /*******************************************************************************
498 * Adanced forms fields 381 * Adanced forms fields
499 ******************************************************************************* 382 *******************************************************************************
500 * 1. Reset 383
501 ******************************************************************************/
502 /* 1. Reset 384 /* 1. Reset
503 ******************************************************************************/ 385 ******************************************************************************/
504 /* Correct the cursor style of increment and decrement buttons in Chrome. */ 386 /* Correct the cursor style of increment and decrement buttons in Chrome. */
505 [type="number"]::-webkit-inner-spin-button, 387 [type="number"]::-webkit-inner-spin-button,
506 [type="number"]::-webkit-outer-spin-button { 388 [type="number"]::-webkit-outer-spin-button {
507 height: auto; } 389 height: auto; }
508 390
509 /* Use `-webkit-appearance: none` to reset inputs in iOS Safari */ 391 /* Use `-webkit-appearance: none` to reset inputs in iOS Safari */
510 [type="date"], 392 [type="date"],
511 [type="time"], 393 [type="time"],
512 [type="datetime"], 394 [type="datetime"],
513 [type="datetime-local"], 395 [type="datetime-local"],
514 [type="month"], 396 [type="month"],
515 [type="week"], 397 [type="week"],
516 [type="search"], 398 [type="search"],
517 [type="search"]::-webkit-search-cancel-button, 399 [type="search"]::-webkit-search-cancel-button,
518 [type="search"]::-webkit-search-decoration { 400 [type="search"]::-webkit-search-decoration {
519 -webkit-appearance: none; } 401 -webkit-appearance: none; }
520 402
521 [type="search"] { 403 [type="search"] {
522 outline-offset: -2px; } 404 outline-offset: -2px; }
523 405
524 /*!
525 * This file is part of website-defaults
526 * Copyright (C) 2016-2017 eyeo GmbH
527 *
528 * website-defaults is free software: you can redistribute it and/or
529 * modify it under the terms of the GNU General Public License as published by
530 * the Free Software Foundation, either version 3 of the License, or
531 * (at your option) any later version.
532 *
533 * website-defaults is distributed in the hope that it will be useful,
534 * but WITHOUT ANY WARRANTY; without even the implied warranty of
535 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
536 * GNU General Public License for more details.
537 *
538 * You should have received a copy of the GNU General Public License
539 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
540 */
541 /******************************************************************************* 406 /*******************************************************************************
542 * Buttons 407 * Buttons
543 ******************************************************************************* 408 *******************************************************************************
544 * 1. Reset 409
545 ******************************************************************************/
546 /* 1. Reset 410 /* 1. Reset
547 ******************************************************************************/ 411 ******************************************************************************/
548 button { 412 button {
549 margin: 0px; 413 margin: 0px;
550 font: inherit; 414 font: inherit;
551 /* Show the overflow in IE and Edge */ 415 /* Show the overflow in IE and Edge */
552 overflow: visible; 416 overflow: visible;
417 /* Remove rounded corners in Chrome 62+ */
418 border-radius: 0;
553 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */ 419 /* Remove the inheritance of text transform in Edge, Firefox, and IE. */
554 text-transform: none; } 420 text-transform: none; }
555 421
556 /** 422 /**
557 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` 423 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
558 * controls in Android 4. 424 * controls in Android 4.
559 * 2. Correct the inability to style clickable types in iOS and Safari. 425 * 2. Correct the inability to style clickable types in iOS and Safari.
560 */ 426 */
561 button, 427 button,
562 html [type="button"], 428 html [type="button"],
563 [type="reset"], 429 [type="reset"],
564 [type="submit"] { 430 [type="submit"] {
565 -webkit-appearance: button; } 431 -webkit-appearance: button; }
566 432
567 /* Remove the inner border and padding in Firefox. */ 433 /* Remove the inner border and padding in Firefox. */
568 button::-moz-focus-inner, 434 button::-moz-focus-inner,
569 [type="button"]::-moz-focus-inner, 435 [type="button"]::-moz-focus-inner,
570 [type="reset"]::-moz-focus-inner, 436 [type="reset"]::-moz-focus-inner,
571 [type="submit"]::-moz-focus-inner { 437 [type="submit"]::-moz-focus-inner {
572 padding: 0px; 438 padding: 0px;
573 border-style: none; } 439 border-style: none; }
574 440
575 /* Restore the focus styles unset by the previous rule. */ 441 /* Restore the focus styles unset by the previous rule. */
576 button:-moz-focusring, 442 button:-moz-focusring,
577 [type="button"]:-moz-focusring, 443 [type="button"]:-moz-focusring,
578 [type="reset"]:-moz-focusring, 444 [type="reset"]:-moz-focusring,
579 [type="submit"]:-moz-focusring { 445 [type="submit"]:-moz-focusring {
580 outline: 1px dotted ButtonText; } 446 outline: 1px dotted ButtonText; }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld