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

Unified Diff: chrome/browser/resources/new_tab_theme.css

Issue 115910: Allow themes to change the background of the new tab page.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/new_tab.html ('k') | chrome/browser/views/bookmark_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_tab_theme.css
===================================================================
--- chrome/browser/resources/new_tab_theme.css (revision 17403)
+++ chrome/browser/resources/new_tab_theme.css (working copy)
@@ -1,11 +1,21 @@
-body {
+html {
background-image:url(chrome://theme/theme_ntp_background?$1);
- background-position:bottom;
- color: $2;
+ background-color:$2;
+ background-position:$3;
+ background-repeat:no-repeat;
+ overflow:hidden;
}
+html[bookmarkbarattached='true'] {
+ background-position:$4;
+}
+body {
+ color: $5;
+ height:100%;
+ overflow:auto;
+}
a {
- color: $3;
+ color: $6;
}
.sidebar.themed {
- background-color: $4;
+ background-color: $7;
}
« no previous file with comments | « chrome/browser/resources/new_tab.html ('k') | chrome/browser/views/bookmark_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698