diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:10:41 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:10:41 +0000 |
commit | 32ba74abd684923faaa26a1e717765af07d7a7bb (patch) | |
tree | 2d7b0a5aa7e73e64bde53a3cc853543a92899d71 /chrome/browser/resources | |
parent | 11aba074694d4345c16eabc00963198e78d1e9c4 (diff) | |
download | chromium_src-32ba74abd684923faaa26a1e717765af07d7a7bb.zip chromium_src-32ba74abd684923faaa26a1e717765af07d7a7bb.tar.gz chromium_src-32ba74abd684923faaa26a1e717765af07d7a7bb.tar.bz2 |
NNTP: Fix undo link color
BUG=21506
TEST=Remove a thumbnail from the NTP and notice the color of the undo
link. The text should be dark blue with a lighter blue underline color.
Review URL: http://codereview.chromium.org/202052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25953 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r-- | chrome/browser/resources/new_new_tab.css | 2 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.html | 2 | ||||
-rw-r--r-- | chrome/browser/resources/new_new_tab.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css index 189679c..f1d71c2 100644 --- a/chrome/browser/resources/new_new_tab.css +++ b/chrome/browser/resources/new_new_tab.css @@ -347,7 +347,7 @@ html[dir=rtl] .thumbnail-container > .title > div { } #notification .link { - -webkit-margin-start: 20px; + -webkit-padding-start: 20px; } #notification > span > .blacklist-title { diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html index 6f62878..24bfed0 100644 --- a/chrome/browser/resources/new_new_tab.html +++ b/chrome/browser/resources/new_new_tab.html @@ -84,7 +84,7 @@ document.write('<link id="themecss" rel="stylesheet" ' + <div id="notification"> <span> </span> - <span><span class="link"></span></span> + <span class="link"><span class="link-color"></span></span> </div> <div id="most-visited"> diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js index 3b4dfe2..10c9eb9 100644 --- a/chrome/browser/resources/new_new_tab.js +++ b/chrome/browser/resources/new_new_tab.js @@ -904,7 +904,7 @@ function showNotification(text, actionText, opt_f, opt_delay) { // Remove any possible first-run trails. removeClass(notification, 'first-run'); - var actionLink = notificationElement.querySelector('.link'); + var actionLink = notificationElement.querySelector('.link-color'); notificationElement.firstElementChild.textContent = text; actionLink.textContent = actionText; @@ -924,7 +924,7 @@ function showNotification(text, actionText, opt_f, opt_delay) { function hideNotification() { var notificationElement = $('notification'); removeClass(notificationElement, 'show'); - var actionLink = notificationElement.querySelector('.link'); + var actionLink = notificationElement.querySelector('.link-color'); // Prevent tabbing to the hidden link. actionLink.tabIndex = -1; } |