Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2719)

Unified Diff: chrome/browser/resources/ntp4/new_tab.css

Issue 7342017: ntp4: Most Visited appearance refresh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cursor Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/new_tab.css
diff --git a/chrome/browser/resources/ntp4/new_tab.css b/chrome/browser/resources/ntp4/new_tab.css
index a967d791c822311973240c5028f2384fcb41e190..c77a68a9abfab5479f18c2e11b6382d4df62bec2 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -54,26 +54,30 @@ body {
display: inline-block;
}
-#notification button {
+#notification .close-button {
+ vertical-align: middle;
+ -webkit-margin-start: 0.5em;
+}
+
+.close-button {
background: no-repeat;
background-color: transparent;
/* TODO(estade): this should animate between states. */
background-image: url('chrome://theme/IDR_CLOSE_BAR');
border: 0;
+ cursor: default;
display: inline-block;
height: 16px;
padding: 0;
- vertical-align: middle;
width: 16px;
- -webkit-margin-start: 0.5em;
}
-#notification button:hover,
-#notification button:focus {
+.close-button:hover,
+.close-button:focus {
background-image: url('chrome://theme/IDR_CLOSE_BAR_H');
}
-#notification button:active {
+.close-button:active {
background-image: url('chrome://theme/IDR_CLOSE_BAR_P');
}

Powered by Google App Engine
This is Rietveld 408576698