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

Side by Side Diff: static/css/index.css

Issue 29322769: Issue 2844 - Create Microsoft Edge coming soon landing page (Closed)
Patch Set: Addressing more comments. Created Sept. 23, 2015, 12:36 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #content.ua-ios #adblock-browser-notification 62 #content.ua-ios #adblock-browser-notification
63 { 63 {
64 display: none; 64 display: none;
65 } 65 }
66 66
67 #main, #video 67 #main, #video
68 { 68 {
69 display: inline-block; 69 display: inline-block;
70 } 70 }
71 71
72 #video, #maxthon-instruction 72 #video, #maxthon-instruction, #edge-teaser
73 { 73 {
74 background: #ffffff; 74 background: #ffffff;
75 padding: 10px; 75 padding: 10px;
76 border: 1px solid #c9c9c9; 76 border: 1px solid #c9c9c9;
77 box-shadow: 1px 1px 0 0 #dbdbdb; 77 box-shadow: 1px 1px 0 0 #dbdbdb;
78 } 78 }
79 79
80 #maxthon-instruction, 80 #maxthon-instruction,
81 html[lang^="zh_"] #content.maxthon #video, 81 html[lang^="zh_"] #content.maxthon #video,
82 #content.maxthon #feature-free, 82 #content.maxthon #feature-free,
83 #feature-maxthon 83 #feature-maxthon, #edge-subscription, #edge-teaser
84 { 84 {
85 display: none; 85 display: none;
86 } 86 }
87 87
88 html[lang^="zh_"] #content.maxthon #maxthon-instruction 88 html[lang^="zh_"] #content.maxthon #maxthon-instruction
89 { 89 {
90 display: inline-block; 90 display: inline-block;
91 padding: 0px; 91 padding: 0px;
92 } 92 }
93 93
94 #content.maxthon #feature-maxthon 94 #content.maxthon #feature-maxthon
95 { 95 {
96 display: inline-block; 96 display: inline-block;
97 } 97 }
98 98
99 #content.edge #video
100 {
101 display: none;
102 }
103
104 #content.edge #edge-subscription
105 {
106 display: block;
107 }
108
99 #summary h1, #summary h2 109 #summary h1, #summary h2
100 { 110 {
101 font-weight: normal; 111 font-weight: normal;
102 margin: 0; 112 margin: 0;
103 } 113 }
104 114
105 #summary h1 115 #summary h1
106 { 116 {
107 font-size: 60px; 117 font-size: 60px;
108 line-height: 50px; 118 line-height: 50px;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 #platform-maxthon 420 #platform-maxthon
411 { 421 {
412 background-position: -128px -130px; 422 background-position: -128px -130px;
413 } 423 }
414 424
415 #content.maxthon #platform-maxthon 425 #content.maxthon #platform-maxthon
416 { 426 {
417 background-position: -128px -109px; 427 background-position: -128px -109px;
418 } 428 }
419 429
430 #platform-edge
431 {
432 background-position: -68px -171px;
433 }
434
435 #content.edge #platform-edge
436 {
437 background-position: -68px -151px;
438 }
439
420 .warning-platform, 440 .warning-platform,
421 .disclaimer, 441 .disclaimer,
422 #maxthon-notification 442 #maxthon-notification
423 { 443 {
424 display: none; 444 display: none;
425 color: #D00; 445 color: #D00;
426 text-align: center; 446 text-align: center;
427 border: 1px solid #D00; 447 border: 1px solid #D00;
428 padding: 5px; 448 padding: 5px;
429 border-radius: 5px; 449 border-radius: 5px;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 display: none; 622 display: none;
603 } 623 }
604 624
605 #more-container.firefox #tab-firefox, 625 #more-container.firefox #tab-firefox,
606 #more-container.chrome #tab-chrome, 626 #more-container.chrome #tab-chrome,
607 #more-container.opera #tab-opera, 627 #more-container.opera #tab-opera,
608 #more-container.android #tab-android, 628 #more-container.android #tab-android,
609 #more-container.internet-explorer #tab-internet-explorer, 629 #more-container.internet-explorer #tab-internet-explorer,
610 #more-container.safari #tab-safari, 630 #more-container.safari #tab-safari,
611 #more-container.yandex-browser #tab-yandex-browser, 631 #more-container.yandex-browser #tab-yandex-browser,
612 #more-container.maxthon #tab-maxthon 632 #more-container.maxthon #tab-maxthon,
633 #more-container.edge #tab-edge
613 { 634 {
614 display: inline-block; 635 display: inline-block;
615 } 636 }
616 637
617 #more-container.firefox #more-firefox, 638 #more-container.firefox #more-firefox,
618 #more-container.chrome #more-chrome, 639 #more-container.chrome #more-chrome,
619 #more-container.opera #more-opera, 640 #more-container.opera #more-opera,
620 #more-container.android #more-android, 641 #more-container.android #more-android,
621 #more-container.internet-explorer #more-internet-explorer, 642 #more-container.internet-explorer #more-internet-explorer,
622 #more-container.safari #more-safari, 643 #more-container.safari #more-safari,
623 #more-container.yandex-browser #more-yandex-browser, 644 #more-container.yandex-browser #more-yandex-browser,
624 #more-container.maxthon #more-maxthon 645 #more-container.maxthon #more-maxthon
646 #more-container.edge #more-edge
625 { 647 {
626 background-color: #dbd4c7; 648 background-color: #dbd4c7;
627 } 649 }
650 #content h3.subscribe-header
651 {
652 font-size: 18px;
653 margin-bottom: 0px;
654 }
655
656 #edge-subscription h3
657 {
658 margin: 19px 0px 10px 0px;
659 color: #2d79c0;
660 font-weight: bold;
661 font-family: Arial;
662 font-size: 14px;
663 }
664
665 #edge-subscription
666 {
667 margin: 0px 0px 10px 40px;
saroyanm 2015/09/23 12:44:21 In general I'd be fan of not aligning this with th
668 }
669
670 #other-browsers
671 {
672 display: none;
673 }
674
675 #subscribe-textbox
676 {
677 border: solid 2px #a5a5a5;
678 margin-right: 0px;
679 padding-left: 10px;
saroyanm 2015/09/23 12:44:22 Please use padding: 0px 10px; here to make it cons
680 padding-right: 10px;
681 font-size: 14px;
682 font-family: Arial;
683 line-height: 36px;
684 height: 36px; /* IE 8 */
685 }
686
687 #subscribe-textbox.placeholder
688 {
689 color: #a5a5a5;
690 }
691
692 #subscribe-button
693 {
694 border: solid 1px #357EBD;
695 border-radius: 3px;
696 background-color: #428BCA;
697 color: #FFFFFF;
698 font-size: 14px;
699 font-weight: bold;
700 min-width: 146px;
saroyanm 2015/09/23 12:44:21 Please use width instead of min-width, so we will
701 height: 40px;
702 margin-left: 0px;
703 }
704
705 #subscribe-button span
saroyanm 2015/09/23 12:44:22 Please remove this rule, we should also consider,
706 {
707 padding-left: 30px;
708 padding-right: 30px;
709 }
710
711 #subscribe-form .sucess-label, #subscribe-form .response-error,
712 #subscribe-form .invalid-label, #subscribe-form.success input,
713 #subscribe-form.success button
saroyanm 2015/09/23 12:44:21 Probably can be merged with rule above (#other-bro
714 {
715 display: none;
716 }
717
718 #subscribe-form .invalid-label
719 {
720 margin-top: 15px;
721 }
722
723 #subscribe-form.success .sucess-label,
724 #subscribe-form.invalid .invalid-label,
725 #subscribe-form.error .response-error
726 {
727 display: block;
728 }
OLDNEW

Powered by Google App Engine
This is Rietveld