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: Refactor according to the style guide. Created Aug. 13, 2015, 2:41 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
11 #main, #video 11 #main, #video
12 { 12 {
13 display: inline-block; 13 display: inline-block;
14 } 14 }
15 15
16 #video, #maxthon-instruction 16 #video, #maxthon-instruction, edge-incoming
17 { 17 {
18 background: white; 18 background: white;
19 padding: 10px; 19 padding: 10px;
20 border: 1px solid #c9c9c9; 20 border: 1px solid #c9c9c9;
21 box-shadow: 1px 1px 0 0 #dbdbdb; 21 box-shadow: 1px 1px 0 0 #dbdbdb;
22 } 22 }
23 23
24 #maxthon-instruction, 24 #maxthon-instruction,
25 html[lang^="zh_"] #content.maxthon #video, 25 html[lang^="zh_"] #content.maxthon #video,
26 #content.maxthon #feature-free, 26 #content.maxthon #feature-free,
27 #feature-maxthon 27 #feature-maxthon
28 { 28 {
29 display: none; 29 display: none;
30 } 30 }
31 31
32 html[lang^="zh_"] #content.maxthon #maxthon-instruction 32 html[lang^="zh_"] #content.maxthon #maxthon-instruction
33 { 33 {
34 display: inline-block; 34 display: inline-block;
35 padding: 0px; 35 padding: 0px;
36 } 36 }
37 37
38 #content.maxthon #feature-maxthon 38 #content.maxthon #feature-maxthon
39 { 39 {
40 display: inline-block; 40 display: inline-block;
41 } 41 }
42 42
43 #feature-edge, #edge-incoming
44 {
45 display: none;
46 }
47
48 #content.edge #video
49 {
50 display: none;
51 }
52
53 #content.edge #feature-edge
54 {
55 display: block;
56 }
57
43 #summary h1, #summary h2 58 #summary h1, #summary h2
44 { 59 {
45 font-weight: normal; 60 font-weight: normal;
46 margin: 0; 61 margin: 0;
47 } 62 }
48 63
49 #summary h1 64 #summary h1
50 { 65 {
51 font-size: 60px; 66 font-size: 60px;
52 line-height: 50px; 67 line-height: 50px;
53 margin-bottom: 8px; 68 margin-bottom: 8px;
54 } 69 }
55 70
56 #summary h2 71 #summary h2
57 { 72 {
58 font-size: 22px; 73 font-size: 22px;
59 color: #d50215; 74 color: #d50215;
60 } 75 }
61 76
62 #summary ul 77 #summary ul
63 { 78 {
64 list-style-type: none; 79 list-style-type: none;
65 margin: 10px 0px 27px 0px; 80 margin: 10px 0px 27px 0px;
66 padding-left: 40px; 81 padding-left: 40px;
67 padding-right: 0px; 82 padding-right: 0px;
68 color: #333333; 83 color: #333333;
69 } 84 }
70 85
86 #content.edge #summary ul
87 {
88 margin: 10px 0px 18px 0px;
89 }
90
71 html[dir="rtl"] #summary ul 91 html[dir="rtl"] #summary ul
72 { 92 {
73 padding-right: 40px; 93 padding-right: 40px;
74 padding-left: 0px; 94 padding-left: 0px;
75 } 95 }
76 96
77 #summary li 97 #summary li
78 { 98 {
79 margin-bottom: 5px; 99 margin-bottom: 5px;
80 line-height: 24px; 100 line-height: 24px;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 #platform-maxthon 374 #platform-maxthon
355 { 375 {
356 background-position: -128px -130px; 376 background-position: -128px -130px;
357 } 377 }
358 378
359 #content.maxthon #platform-maxthon 379 #content.maxthon #platform-maxthon
360 { 380 {
361 background-position: -128px -109px; 381 background-position: -128px -109px;
362 } 382 }
363 383
384 #platform-edge
385 {
386 background-position: -68px -171px;
387 }
388
389 #content.edge #platform-edge
390 {
391 background-position: -68px -151px;
392 }
393
364 .warning-platform, 394 .warning-platform,
365 .disclaimer, 395 .disclaimer,
366 #maxthon-notification 396 #maxthon-notification
367 { 397 {
368 display: none; 398 display: none;
369 color: #D00; 399 color: #D00;
370 text-align: center; 400 text-align: center;
371 border: 1px solid #D00; 401 border: 1px solid #D00;
372 padding: 5px; 402 padding: 5px;
373 border-radius: 5px; 403 border-radius: 5px;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 display: none; 586 display: none;
557 } 587 }
558 588
559 #more-container.firefox #tab-firefox, 589 #more-container.firefox #tab-firefox,
560 #more-container.chrome #tab-chrome, 590 #more-container.chrome #tab-chrome,
561 #more-container.opera #tab-opera, 591 #more-container.opera #tab-opera,
562 #more-container.android #tab-android, 592 #more-container.android #tab-android,
563 #more-container.internet-explorer #tab-internet-explorer, 593 #more-container.internet-explorer #tab-internet-explorer,
564 #more-container.safari #tab-safari, 594 #more-container.safari #tab-safari,
565 #more-container.yandex-browser #tab-yandex-browser, 595 #more-container.yandex-browser #tab-yandex-browser,
566 #more-container.maxthon #tab-maxthon 596 #more-container.maxthon #tab-maxthon,
597 #more-container.edge #tab-edge
567 { 598 {
568 display: inline-block; 599 display: inline-block;
569 } 600 }
570 601
571 #more-container.firefox #more-firefox, 602 #more-container.firefox #more-firefox,
572 #more-container.chrome #more-chrome, 603 #more-container.chrome #more-chrome,
573 #more-container.opera #more-opera, 604 #more-container.opera #more-opera,
574 #more-container.android #more-android, 605 #more-container.android #more-android,
575 #more-container.internet-explorer #more-internet-explorer, 606 #more-container.internet-explorer #more-internet-explorer,
576 #more-container.safari #more-safari, 607 #more-container.safari #more-safari,
577 #more-container.yandex-browser #more-yandex-browser, 608 #more-container.yandex-browser #more-yandex-browser,
578 #more-container.maxthon #more-maxthon 609 #more-container.maxthon #more-maxthon
610 #more-container.edge #more-edge
579 { 611 {
580 background-color: #dbd4c7; 612 background-color: #dbd4c7;
581 } 613 }
614 #content h3.subscribe-header
615 {
616 font-size: 18px;
617 margin-bottom: 0px;
618 }
619
620 .subscribe-description
621 {
622 margin: 19px 0px 10px 0px;
623 color: #2d79c0;
624 font-weight: bold;
625 font-family: Arial;
626 font-size: 14px;
627 }
628
629 #edge-other-browsers
630 {
631 display: none;
632 }
633
634 #subscribe-textbox
635 {
636 border: solid 2px #a5a5a5;
637 margin-right: 0px;
638 padding-left: 10px;
639 padding-right: 10px;
640 font-size: 14px;
641 font-family: Arial;
642 line-height: 36px;
643 height: 36px; /* IE 8 */
644 }
645
646 #subscribe-textbox.placeholder
647 {
648 color: #a5a5a5;
649 }
650
651 #subscribe-button
652 {
653 border: solid 1px #357EBD;
654 border-radius: 3px;
655 background-color: #428BCA;
656 color: #FFFFFF;
657 font-size: 14px;
658 font-weight: bold;
659 min-width: 146px;
660 height: 40px;
661 margin-left: 0px;
662 }
663
664 #subscribe-button span
665 {
666 padding-left: 30px;
667 padding-right: 30px;
668 }
669
670 #subscribe-form .sucess-label, #response-error,
671 #subscribe-form .invalid-label, #subscribe-form.success input,
672 #subscribe-form.success button
673 {
674 display: none;
675 }
676
677 #subscribe-form .invalid-label
678 {
679 margin-top: 15px;
680 }
681
682 #subscribe-form.success .sucess-label,
683 #subscribe-form.invalid .invalid-label,
684 #subscribe-form.error #response-error
685 {
686 display: block;
687 }
OLDNEW

Powered by Google App Engine
This is Rietveld