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 Oct. 12, 2015, 1:30 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: 50%;
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 width: 49%;
380 -webkit-border-start-style: none;
saroyanm 2015/11/27 18:15:06 I do remember we had discussion several times abou
Thomas Greiner 2015/12/03 15:14:51 The platforms we support are either Gecko (Firefox
381 -moz-border-start-style: none;
385 } 382 }
386 383
387 #share-block 384 #share > .block > span
388 { 385 {
389 width: 49%; 386 margin: 10px 20px;
390
391 -webkit-border-start-style: none;
392 -moz-border-start-style: none;
393 } 387 }
394 388
395 .share-buttons 389 .share-buttons
396 { 390 {
397 margin-top: 6px; 391 margin-top: 6px;
398 cursor: pointer;
399 vertical-align: top; 392 vertical-align: top;
400 /* because inline block creates 393 /* because inline block creates
401 * space if not captured with 394 * space if not captured with
402 * font-size and line-height 0px 395 * font-size and line-height 0px
403 */ 396 */
404 font-size: 0px; 397 font-size: 0px;
405 line-height: 0px; 398 line-height: 0px;
406 } 399 }
407 400
408 .share-buttons > a 401 .share-buttons > a
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 width: 64px; 647 width: 64px;
655 height: 64px; 648 height: 64px;
656 } 649 }
657 650
658 section 651 section
659 { 652 {
660 padding: 40px 20px; 653 padding: 40px 20px;
661 } 654 }
662 655
663 #general, 656 #general,
664 #general > div 657 #general > .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 display: block;
saroyanm 2015/11/27 18:15:06 Detail: You can move this rule with selector also
Thomas Greiner 2015/12/03 15:14:51 Done.
681 margin-right: 20px; 674 width: auto;
675 padding: 20px 0px;
676 border-style: dashed none none;
677 }
678
679 #share > .block:last-child
680 {
681 width: auto;
saroyanm 2015/11/27 18:15:06 I guess you have to set this rule again because of
Thomas Greiner 2015/12/03 15:14:51 Done. You're right. Changing the regular width fro
682 }
683
684 #donate,
685 .share-buttons
686 {
687 margin-top: 10px;
682 } 688 }
683 689
684 #can-do-more, 690 #can-do-more,
685 #can-do-more .feature h3 691 #can-do-more .feature h3
686 { 692 {
687 text-align: center; 693 text-align: center;
688 } 694 }
689 695
690 #can-do-more .feature-description-textblock 696 #can-do-more .feature-description-textblock
691 { 697 {
692 text-align: start; 698 text-align: start;
693 } 699 }
694 700
695 .toggle 701 .toggle
696 { 702 {
697 margin-top: 14px; 703 margin-top: 14px;
698 } 704 }
699 } 705 }
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