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

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

Issue 7787014: ntp4: fix positioning of notification bar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/new_tab.html » ('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 ab32b6e1a4d16ecc435896932cd410dc1276dab2..2d1bc271255fe3bde6222703bb3b85bf52c491da 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -27,28 +27,31 @@ body {
display: none !important;
}
-#notification {
- background-color: #FFF199;
- border: 1px solid lightGrey;
- border-radius: 6px;
- color: black;
- display: inline-block;
- font-weight: bold;
+#notification-container {
+ display: block;
margin-top: 2px;
- opacity: 100%;
- padding: 7px 15px;
position: relative;
+ text-align: center;
z-index: 100;
-webkit-transition-duration: 0.1s;
-webkit-transition-property: opacity;
}
-#notification.inactive {
- display: inline-block;
+#notification-container.inactive {
opacity: 0;
-webkit-transition-duration: 0.2s;
}
+#notification {
+ background-color: #FFF199;
+ border: 1px solid lightGrey;
+ border-radius: 6px;
+ color: black;
+ display: inline-block;
+ font-weight: bold;
+ padding: 7px 15px;
+}
+
#notification > div > div,
#notification > div {
display: inline-block;
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698