summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_tab_theme.css
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 04:25:13 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 04:25:13 +0000
commitc01ce96d0dddd41e76fcc8323ed43016315ed080 (patch)
tree65d15894f2dd2a3f6bba35f054d050d95ceae143 /chrome/browser/resources/new_tab_theme.css
parent3d4ae9a42320916079372a65c0ee527a150ec134 (diff)
downloadchromium_src-c01ce96d0dddd41e76fcc8323ed43016315ed080.zip
chromium_src-c01ce96d0dddd41e76fcc8323ed43016315ed080.tar.gz
chromium_src-c01ce96d0dddd41e76fcc8323ed43016315ed080.tar.bz2
Fix a bunch of bugs related to NNTP theming.
Basically: - Add NNTP Theming BrowserThemeProvider: - Add NNTP logo inversion capability - Only allow a set of images to be themed. - Tint incognito windows correctly. (Sorry for the feature-mush) BUG=17379,14578,17593 TEST=Make sure the NNTP is themed correctly. Review URL: http://codereview.chromium.org/159305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_tab_theme.css')
-rw-r--r--chrome/browser/resources/new_tab_theme.css56
1 files changed, 48 insertions, 8 deletions
diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css
index 820649d..65d516e 100644
--- a/chrome/browser/resources/new_tab_theme.css
+++ b/chrome/browser/resources/new_tab_theme.css
@@ -2,24 +2,64 @@ html {
background-image:url(chrome://theme/theme_ntp_background?$1);
background-color:$2;
background-position:$3;
- background-repeat:$$1;
+ background-repeat:$5;
overflow:hidden;
}
html[bookmarkbarattached='true'] {
background-position:$4;
}
body {
- color: $5;
+ color: $8;
height:100%;
overflow:auto;
}
-a {
- color: $6;
+.thumbnail-container,
+.list > .thumbnail-container > .title,
+.list .title > div,
+.thumbnail-container > .title {
+ color: $8;
+}
+.thumbnail-container:focus .thumbnail,
+.thumbnail-container:hover .thumbnail {
+ border-color: $6;
}
-.sidebar.themed {
- background-color: $7;
+.thumbnail-container:focus .edit-bar,
+.thumbnail-container:hover .edit-bar {
+ background-color: $6;
+ background-image: -webkit-gradient(linear, left top, left bottom,
+ from($7),
+ to($6));
+}
+.thumbnail-container:hover > .edit-mode-border {
+ background-color: $6;
+}
+:visited,
+.link {
+ cursor: pointer;
+ text-decoration: underline;
color: $8;
}
-.sidebar.themed a {
- color: $9;
+.edit-mode-border {
+ background-color: $7;
+}
+.section {
+ border: 1px solid $7;
+}
+.section > h2 {
+ background-color: $7;
+ background-image: -webkit-gradient(linear, left top, left bottom,
+ from($7),
+ to($6));
+ color: $$1;
+}
+#view-toolbar input {
+ background-color: $7;
+ -webkit-mask-image: url(chrome://theme/newtab_menu_mask);
+}
+#option-menu > [selected] {
+ background-color: $7;
+ color: white;
+}
+.tips-title {
+ color: $$1;
} \ No newline at end of file