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: Do not use IDs in HTML, consider RTL and more comments addressing. Created Sept. 24, 2015, 2:30 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
saroyanm 2015/09/24 14:52:04 Detail: I think we can move rules that are related
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;
668 }
669
670 html[dir="rtl"] #edge-subscription
671 {
672 margin: 0px 40px 10px 0px;
673 }
674
675 #edge-subscription input[type=email]
676 {
677 border: solid 2px #a5a5a5;
678 margin-right: 0px;
saroyanm 2015/09/24 14:52:04 Why do we need this rule ? I can't see any use for
679 padding: 0px 10px;
680 font-size: 14px;
681 font-family: Arial;
682 line-height: 36px;
683 height: 36px; /* IE 8 */
684 }
685
686 #edge-subscription input[type=email].placeholder
687 {
688 color: #a5a5a5;
689 }
690
691 #edge-subscription button[type=submit]
692 {
693 border: solid 1px #357EBD;
694 border-radius: 3px;
695 background-color: #428BCA;
saroyanm 2015/09/24 14:52:04 Detail: make sense to use consistent HEX numbers,
696 color: #FFFFFF;
697 font-size: 14px;
698 font-weight: bold;
699 width: 146px;
700 height: 40px;
701 margin-left: 0px;
saroyanm 2015/09/24 14:52:03 Same goes for this rule ? If there is no need to h
702 }
703
704
705 #edge-subscription form .sucess-label, #edge-subscription form .response-error,
706 #edge-subscription form .invalid-label, #edge-subscription form.success input,
707 #edge-subscription form.success button, #other-browsers
708 {
709 display: none;
710 }
711
712 #edge-subscription form .invalid-label
713 {
714 margin-top: 15px;
715 }
716
717 #edge-subscription form.success .sucess-label,
718 #edge-subscription form.invalid .invalid-label,
719 #edge-subscription form.error .response-error
720 {
721 display: block;
722 }
OLDNEW

Powered by Google App Engine
This is Rietveld