From 1d95a8f0e313c9afbfd56fa0c007a16ad3881ba9 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Tue, 14 Sep 2010 17:56:55 +0000 Subject: 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 --- chrome/browser/resources/ntp/most_visited.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'chrome/browser/resources/ntp/most_visited.css') 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; +} -- cgit v1.1