summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_tab_theme.css
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 17:56:55 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-14 17:56:55 +0000
commit1d95a8f0e313c9afbfd56fa0c007a16ad3881ba9 (patch)
treeac4c18a2820dc064739fceb824a9994795b783d3 /chrome/browser/resources/new_tab_theme.css
parent90caf65af4eaa06b4c72bc22ba46363633b94029 (diff)
downloadchromium_src-1d95a8f0e313c9afbfd56fa0c007a16ad3881ba9.zip
chromium_src-1d95a8f0e313c9afbfd56fa0c007a16ad3881ba9.tar.gz
chromium_src-1d95a8f0e313c9afbfd56fa0c007a16ad3881ba9.tar.bz2
Updates to NTP per UI review:
1) Turn off logo/attribution completely when it overlaps with the content. 2) Replace the single-item dropdown menu in the most visited section with a text link to restore blacklisted URLs. The link should only be visible if there are any blacklisted URLs. BUG=55196,55208 TEST=unit_tests --gtest-filter=TopSitesTest.* Review URL: http://codereview.chromium.org/3361015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/new_tab_theme.css')
-rw-r--r--chrome/browser/resources/new_tab_theme.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css
index e21eaef..440347e 100644
--- a/chrome/browser/resources/new_tab_theme.css
+++ b/chrome/browser/resources/new_tab_theme.css
@@ -1,6 +1,6 @@
html,
-.section > h2 .settings-wrapper,
-.section > h2 span {
+.section > h2 span,
+#most-visited-settings {
background-attachment: fixed;
background-color: $2; /* COLOR_NTP_BACKGROUND */
background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
@@ -9,8 +9,8 @@ html,
}
html[bookmarkbarattached='true'],
-html[bookmarkbarattached='true'] .section > h2 .settings-wrapper,
-html[bookmarkbarattached='true'] .section > h2 span {
+html[bookmarkbarattached='true'] .section > h2 span,
+html[bookmarkbarattached='true'] #most-visited-settings {
background-position: $4;
}