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

Side by Side Diff: skin/firstRun.css

Issue 29329048: Issue 1292 - Optimized first-run page share section for smaller screens (Closed)
Patch Set: Created Dec. 3, 2015, 3:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « firstRun.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 box-sizing: border-box; 148 box-sizing: border-box;
149 } 149 }
150 150
151 #general 151 #general
152 { 152 {
153 display: table; 153 display: table;
154 padding-left: 0px; 154 padding-left: 0px;
155 padding-right: 0px; 155 padding-right: 0px;
156 } 156 }
157 157
158 #general > div 158 #general > .block
159 { 159 {
160 display: table-cell; 160 display: table-cell;
161 width: 50%; 161 width: 50%;
162 vertical-align: top; 162 vertical-align: top;
163 padding: 0px 50px; 163 padding: 0px 50px;
164 border: dashed 0 #969085; 164 border: dashed 0 #969085;
165 -webkit-border-start-width: 1px; 165 -webkit-border-start-width: 1px;
166 -moz-border-start-width: 1px; 166 -moz-border-start-width: 1px;
167 border-inline-start-width: 1px; 167 border-inline-start-width: 1px;
168 } 168 }
169 169
170 #general > div:first-child 170 #general > .block:first-child
171 { 171 {
172 border: none; 172 border: none;
173 } 173 }
174 174
175 #acceptable-ads-block h2 175 #acceptable-ads-block h2
176 { 176 {
177 margin-bottom: 34px; 177 margin-bottom: 34px;
178 } 178 }
179 179
180 #abb-promotion-block:lang(fr) 180 #abb-promotion-block:lang(fr)
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 font-size: 22px; 357 font-size: 22px;
358 display: block; 358 display: block;
359 } 359 }
360 360
361 #donate:hover, .share-buttons a:hover 361 #donate:hover, .share-buttons a:hover
362 { 362 {
363 box-shadow: 0px 0px 0px 2px #8ca7c4; 363 box-shadow: 0px 0px 0px 2px #8ca7c4;
364 border-radius: 30px; 364 border-radius: 30px;
365 } 365 }
366 366
367 #donate-block span, #share-block span 367 #share > .block
368 { 368 {
369 margin: 10px 20px;
370 }
371
372 #donate-block, #share-block
373 {
374 min-width: 250px;
375 display: inline-block; 369 display: inline-block;
376 vertical-align: top; 370 vertical-align: top;
377 padding: 5px 0 5px 0; 371 width: 49%;
372 padding: 5px 0px;
378 border: 1px dashed #37506d; 373 border: 1px dashed #37506d;
379 border-style: none dashed; 374 border-style: none dashed;
380 } 375 }
381 376
382 #donate-block 377 #share > .block:last-child
383 { 378 {
384 width: 50%; 379 -webkit-border-start-style: none;
380 -moz-border-start-style: none;
385 } 381 }
386 382
387 #share-block 383 #share > .block > span
388 { 384 {
389 width: 49%; 385 margin: 10px 20px;
390
391 -webkit-border-start-style: none;
392 -moz-border-start-style: none;
393 } 386 }
394 387
395 .share-buttons 388 .share-buttons
396 { 389 {
397 margin-top: 6px; 390 margin-top: 6px;
398 cursor: pointer;
399 vertical-align: top; 391 vertical-align: top;
400 /* because inline block creates 392 /* because inline block creates
401 * space if not captured with 393 * space if not captured with
402 * font-size and line-height 0px 394 * font-size and line-height 0px
403 */ 395 */
404 font-size: 0px; 396 font-size: 0px;
405 line-height: 0px; 397 line-height: 0px;
406 } 398 }
407 399
408 .share-buttons > a 400 .share-buttons > a
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 width: 64px; 646 width: 64px;
655 height: 64px; 647 height: 64px;
656 } 648 }
657 649
658 section 650 section
659 { 651 {
660 padding: 40px 20px; 652 padding: 40px 20px;
661 } 653 }
662 654
663 #general, 655 #general,
664 #general > div 656 #general > .block,
657 #share > .block
665 { 658 {
666 display: block; 659 display: block;
667 } 660 }
668 661
669 #general > div 662 #general > .block
670 { 663 {
671 width: auto; 664 width: auto;
665 margin-left: 20px;
666 margin-right: 20px;
672 padding: 10px 0px; 667 padding: 10px 0px;
673 border-width: 1px 0px 0px; 668 border-width: 1px 0px 0px;
674 } 669 }
675 670
676 #general > div, 671 #share > .block
677 #can-do-more > h2,
678 #can-do-more-content
679 { 672 {
680 margin-left: 20px; 673 width: auto;
681 margin-right: 20px; 674 padding: 20px 0px;
675 border-style: dashed none none;
676 }
677
678 #donate,
679 .share-buttons
680 {
681 margin-top: 10px;
682 } 682 }
683 683
684 #can-do-more, 684 #can-do-more,
685 #can-do-more .feature h3 685 #can-do-more .feature h3
686 { 686 {
687 text-align: center; 687 text-align: center;
688 } 688 }
689 689
690 #can-do-more .feature-description-textblock 690 #can-do-more .feature-description-textblock
691 { 691 {
692 text-align: start; 692 text-align: start;
693 } 693 }
694 694
695 .toggle 695 .toggle
696 { 696 {
697 margin-top: 14px; 697 margin-top: 14px;
698 } 698 }
699 } 699 }
OLDNEW
« no previous file with comments | « firstRun.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld