summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp/most_visited.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/ntp/most_visited.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/ntp/most_visited.css')
-rw-r--r--chrome/browser/resources/ntp/most_visited.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/browser/resources/ntp/most_visited.css b/chrome/browser/resources/ntp/most_visited.css
index 3512d59..27f2958 100644
--- a/chrome/browser/resources/ntp/most_visited.css
+++ b/chrome/browser/resources/ntp/most_visited.css
@@ -256,3 +256,27 @@ html[dir=rtl] .thumbnail-container > .title > div {
background-size: 150px 93px;
}
}
+
+#most-visited-settings {
+ position: absolute;
+ top: 1px;
+ right: 0;
+ border: 0;
+ cursor: pointer;
+ font-size: 70%;
+ margin: 0;
+ padding: 0;
+ text-decoration: underline;
+ visibility: hidden;
+ -webkit-padding-start: 3px;
+ z-index: 3;
+}
+
+html[dir=rtl] #most-visited-settings {
+ left: 0;
+ right: auto;
+}
+
+#most-visited:not(.hidden) #most-visited-settings.has-blacklist {
+ visibility: visible;
+}