Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: chrome/browser/resources/new_new_tab.css

Issue 385135: Tweaks for promo messages on NTP (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 } 8 }
9 9
10 #main { 10 #main {
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 text-align: center; 683 text-align: center;
684 } 684 }
685 685
686 #attribution { 686 #attribution {
687 margin: 10px 0; 687 margin: 10px 0;
688 } 688 }
689 689
690 /* promotions line */ 690 /* promotions line */
691 #bottom-right-promo { 691 #bottom-right-promo {
692 position: absolute; 692 position: absolute;
693 display: block;
694 width: 180px; 693 width: 180px;
695 height: 131px; 694 height: 131px;
696 border: 0; 695 border: 0;
697 bottom: 0px; 696 bottom: 0px;
698 right: 0px; 697 right: 0px;
698 z-index: -1;
699 } 699 }
700 700
701 #footer { 701 #footer {
702 position: fixed; 702 position: fixed;
703 bottom: 0px; 703 bottom: 0;
704 left: 0px; 704 left: 0px;
705 text-align: center; 705 text-align: center;
706 width: 100%; 706 width: 100%;
707 display: block; 707 -webkit-transition: bottom .15s;
708 }
709
710 #footer.hide-footer {
711 bottom: -40px;
708 } 712 }
709 713
710 #promo-line { 714 #promo-line {
711 background-color: hsl(52, 100%, 80%); 715 background-color: hsl(52, 100%, 80%);
712 border: 1px solid rgb(211, 211, 211); 716 border: 1px solid rgb(211, 211, 211);
713 -webkit-border-radius: 6px; 717 -webkit-border-radius: 6px;
714 padding: 7px 10px; 718 padding: 7px 10px;
715 white-space: nowrap; 719 white-space: nowrap;
716 display: inline-block; 720 display: inline-block;
717 color: black; 721 color: black;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 } 788 }
785 789
786 #notification > * { 790 #notification > * {
787 max-width: 300px; 791 max-width: 300px;
788 } 792 }
789 793
790 #notification > span > .blacklist-title { 794 #notification > span > .blacklist-title {
791 max-width: 15ex; 795 max-width: 15ex;
792 } 796 }
793 } 797 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/resources/new_new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698