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

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

Issue 10689164: [NTP4] Remove promo text horizontal transitions on NTP opening. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bug Created 8 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/tile_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5b38759ad019852a4704483cc3bc012a6b8a51ef..699bcd283a3e4fd80c0acc227ed283bb62fd21a6 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -25,7 +25,7 @@ body {
}
#notification-container {
- -webkit-transition: opacity 200ms, margin-left 200ms;
+ -webkit-transition: opacity 200ms;
bottom: 31px;
display: block;
float: left;
@@ -51,6 +51,12 @@ html[dir='rtl'] #notification-container {
#notification {
display: inline-block;
font-weight: bold;
+ white-space: nowrap;
+}
+
+#notification > * {
+ display: inline-block;
+ white-space: normal;
}
#notification > div > div,
@@ -65,8 +71,8 @@ html[dir='rtl'] #notification-container {
}
#notification .close-button {
- -webkit-margin-start: 0.5em;
- vertical-align: middle;
+ -webkit-margin-start: 8px; /* Matching value in TilePage#repositionTile_. */
+ vertical-align: top;
}
.close-button {
@@ -184,10 +190,9 @@ html[dir='rtl'] #attribution {
}
#logo-img {
- margin-top: 4px;
-
- /* TODO: Remove once http://crbug.com/135179 is fixed */
+ /* TODO(thakis): Remove once http://crbug.com/135179 is fixed */
content: url('chrome://theme/IDR_PRODUCT_LOGO');
+ margin-top: 4px;
}
body.bare-minimum #footer {
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/tile_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698