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; |