| OLD | NEW |
| 1 html { | 1 html { |
| 2 /* This is needed because of chrome://theme/css/new_tab.css */ | 2 /* This is needed because of chrome://theme/css/new_tab.css */ |
| 3 height: 100%; | 3 height: 100%; |
| 4 } | 4 } |
| 5 | 5 |
| 6 body { | 6 body { |
| 7 margin: 0; | 7 margin: 0; |
| 8 height: 100%; |
| 9 overflow: auto; |
| 10 } |
| 11 |
| 12 #container { |
| 13 position: relative; |
| 14 min-height: 100%; |
| 15 } |
| 16 |
| 17 #promo-spacer { |
| 18 height: 50px; |
| 8 } | 19 } |
| 9 | 20 |
| 10 #main { | 21 #main { |
| 11 background: url(chrome://theme/product_logo) no-repeat 0 6px; | 22 background: url(chrome://theme/product_logo) no-repeat 0 6px; |
| 12 position: relative; | 23 position: relative; |
| 13 margin: 0 auto; | 24 margin: 0 auto; |
| 14 width: 920px; | 25 width: 920px; |
| 15 min-height: 50px; | 26 min-height: 50px; |
| 16 -webkit-transition: width .15s; | 27 -webkit-transition: width .15s; |
| 28 padding-bottom: 110px; |
| 17 } | 29 } |
| 18 | 30 |
| 19 html[dir='rtl'] #main { | 31 html[dir='rtl'] #main { |
| 20 background-position-x: 100%; | 32 background-position-x: 100%; |
| 21 } | 33 } |
| 22 | 34 |
| 23 html[anim='false'] *, | 35 html[anim='false'] *, |
| 24 .no-anim, .no-anim *, | 36 .no-anim, .no-anim *, |
| 25 .loading * { | 37 .loading * { |
| 26 -webkit-transition: none !important; | 38 -webkit-transition: none !important; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 190 |
| 179 .edit-bar > .remove:active { | 191 .edit-bar > .remove:active { |
| 180 background-image: url(chrome://theme/newtab_close_p); | 192 background-image: url(chrome://theme/newtab_close_p); |
| 181 } | 193 } |
| 182 | 194 |
| 183 :link, | 195 :link, |
| 184 :visited, | 196 :visited, |
| 185 .link { | 197 .link { |
| 186 cursor: pointer; | 198 cursor: pointer; |
| 187 text-decoration: underline; | 199 text-decoration: underline; |
| 188 color: hsl(213, 90%, 24%, 0.33333); | 200 color: hsla(213, 90%, 24%, 0.33333); |
| 189 -webkit-appearance: none; | 201 -webkit-appearance: none; |
| 190 border: 0; | 202 border: 0; |
| 191 background: none; | 203 background: none; |
| 192 } | 204 } |
| 193 | 205 |
| 194 .link-color { | 206 .link-color { |
| 195 color: hsl(213, 90%, 24%); | 207 color: hsl(213, 90%, 24%); |
| 196 text-decoration: none; | 208 text-decoration: none; |
| 197 } | 209 } |
| 198 | 210 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 322 |
| 311 .fade-in { | 323 .fade-in { |
| 312 -webkit-animation: 'fade-in' .15s; | 324 -webkit-animation: 'fade-in' .15s; |
| 313 } | 325 } |
| 314 | 326 |
| 315 /* Notification */ | 327 /* Notification */ |
| 316 | 328 |
| 317 #notification { | 329 #notification { |
| 318 position: relative; | 330 position: relative; |
| 319 background-color: hsl(52, 100%, 80%); | 331 background-color: hsl(52, 100%, 80%); |
| 332 border: 1px solid rgb(211, 211, 211); |
| 320 -webkit-border-radius: 6px; | 333 -webkit-border-radius: 6px; |
| 321 padding: 7px 15px; | 334 padding: 7px 15px; |
| 322 white-space: nowrap; | 335 white-space: nowrap; |
| 323 display: table; | 336 display: table; |
| 324 margin: -8px auto 5px auto; | 337 margin: -8px auto 5px auto; |
| 325 font-weight: bold; | 338 font-weight: bold; |
| 326 opacity: 0; | 339 opacity: 0; |
| 327 -webkit-transition: opacity .15s; | 340 -webkit-transition: opacity .15s; |
| 328 pointer-events: none; | 341 pointer-events: none; |
| 329 z-index: 1; | 342 z-index: 1; |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 /* tip line */ | 693 /* tip line */ |
| 681 #tip-line { | 694 #tip-line { |
| 682 margin: 10px 0; | 695 margin: 10px 0; |
| 683 text-align: center; | 696 text-align: center; |
| 684 } | 697 } |
| 685 | 698 |
| 686 #attribution { | 699 #attribution { |
| 687 margin: 10px 0; | 700 margin: 10px 0; |
| 688 } | 701 } |
| 689 | 702 |
| 690 /* promotions line */ | 703 /* promotions line and image */ |
| 691 #bottom-right-promo { | 704 #bottom-right-promo { |
| 692 position: absolute; | 705 position: absolute; |
| 693 width: 180px; | 706 bottom: 0; |
| 707 right: 0; |
| 708 display: block; |
| 694 height: 131px; | 709 height: 131px; |
| 695 border: 0; | 710 border: 0; |
| 696 bottom: 0px; | 711 } |
| 697 right: 0px; | 712 |
| 698 z-index: -1; | 713 #promo-image { |
| 714 display: block; |
| 715 } |
| 716 |
| 717 .sync-button { |
| 718 padding: 0; |
| 719 margin: 0; |
| 720 -webkit-appearance: none; |
| 721 border: 0; |
| 722 background: none; |
| 723 cursor: pointer; |
| 724 text-decoration: underline; |
| 725 color: rgb(6, 45, 117); |
| 726 font-family: inherit; |
| 727 } |
| 728 |
| 729 .win-button-padding-bug .sync-button { |
| 730 margin: 0 -3px; |
| 699 } | 731 } |
| 700 | 732 |
| 701 #footer { | 733 #footer { |
| 702 position: fixed; | 734 position: absolute; |
| 703 bottom: 0; | 735 bottom: 0; |
| 704 left: 0px; | 736 width: 100%; |
| 705 text-align: center; | 737 text-align: center; |
| 706 width: 100%; | 738 min-width: 692px; |
| 707 -webkit-transition: bottom .15s; | |
| 708 } | 739 } |
| 709 | 740 |
| 710 #footer.hide-footer { | 741 .hide-promo-line { |
| 711 bottom: -40px; | 742 opacity: 0; |
| 712 } | 743 } |
| 713 | 744 |
| 714 #promo-line { | 745 #promo-line { |
| 746 display: inline-block; |
| 747 margin-bottom: 20px; |
| 715 background-color: hsl(52, 100%, 80%); | 748 background-color: hsl(52, 100%, 80%); |
| 716 border: 1px solid rgb(211, 211, 211); | 749 border: 1px solid rgb(211, 211, 211); |
| 717 -webkit-border-radius: 6px; | 750 -webkit-border-radius: 6px; |
| 718 padding: 7px 10px; | 751 padding: 7px 10px; |
| 719 white-space: nowrap; | 752 white-space: nowrap; |
| 720 display: inline-block; | 753 text-align: center; |
| 754 vertical-align: middle; |
| 721 color: black; | 755 color: black; |
| 756 -webkit-transition: opacity .15s; |
| 722 } | 757 } |
| 723 | 758 |
| 724 #promo-line > * { | 759 #promo-line * { |
| 725 display: inline-block; | |
| 726 font-weight: bold; | 760 font-weight: bold; |
| 727 text-overflow: ellipsis; | 761 text-overflow: ellipsis; |
| 728 } | 762 } |
| 729 | 763 |
| 730 #promo-line a { | |
| 731 color: rgb(6, 45, 117); | |
| 732 text-decoration: underline; | |
| 733 } | |
| 734 | |
| 735 #promo-new { | 764 #promo-new { |
| 736 color: red; | 765 color: red; |
| 737 } | 766 } |
| 738 | 767 |
| 739 #promo-close { | 768 #promo-close { |
| 740 display: inline-block; | 769 display: inline-block; |
| 741 border: 0px; | 770 border: 0px; |
| 742 margin-left: 10px; | 771 margin-left: 10px; |
| 743 margin-right: auto; | 772 margin-right: auto; |
| 744 vertical-align: middle; | 773 vertical-align: middle; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 } | 817 } |
| 789 | 818 |
| 790 #notification > * { | 819 #notification > * { |
| 791 max-width: 300px; | 820 max-width: 300px; |
| 792 } | 821 } |
| 793 | 822 |
| 794 #notification > span > .blacklist-title { | 823 #notification > span > .blacklist-title { |
| 795 max-width: 15ex; | 824 max-width: 15ex; |
| 796 } | 825 } |
| 797 } | 826 } |
| OLD | NEW |