Chromium Code Reviews| 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 a090358da72136c4b01385988275d25aac08dc95..f67bcafc413eb2c3170fa216f4f3ad04acad83a5 100644 |
| --- a/chrome/browser/resources/ntp4/new_tab.css |
| +++ b/chrome/browser/resources/ntp4/new_tab.css |
| @@ -17,6 +17,7 @@ html { |
| body { |
| background-size: auto 100%; |
| margin: 0; |
| + text-align: center; |
| /* Don't highlight links when they're tapped. Safari has bugs here that |
| show up as flicker when dragging in some situations */ |
| -webkit-tap-highlight-color: transparent; |
| @@ -28,6 +29,62 @@ body { |
| display: none !important; |
| } |
| +#notification { |
| + background-color: #FFF199; |
| + border: 1px solid lightGrey; |
| + border-radius: 6px; |
| + color: black; |
| + display: inline-block; |
| + font-weight: bold; |
| + margin-top: 2px; |
| + opacity: 100%; |
| + padding: 7px 15px; |
| + position: relative; |
| + z-index: 100; |
| + -webkit-transition-duration: 0.1s; |
| + -webkit-transition-property: opacity; |
| +} |
| + |
| +#notification.inactive { |
| + display: inline-block; |
| + opacity: 0; |
| + -webkit-transition-duration: 0.2s; |
| +} |
| + |
| +#notification * { |
| + display: inline-block; |
|
Rick Byers
2011/06/08 20:41:10
This seems unusual to me. You really want to set
Evan Stade
2011/06/08 23:54:52
yes, this is what I want, but I can understand you
|
| +} |
| + |
| +#notification button { |
| + background: no-repeat; |
| + background-color: transparent; |
| + /* TODO(estade): this should animate between states. */ |
| + background-image: url('chrome://theme/IDR_CLOSE_BAR'); |
| + border: 0; |
| + height: 16px; |
| + padding: 0; |
| + vertical-align: middle; |
| + width: 16px; |
| + -webkit-margin-start: 0.5em; |
| +} |
| + |
| +#notification button:hover, |
| +#notification button:focus { |
| + background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); |
| +} |
| + |
| +#notification button:active { |
| + background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); |
| +} |
| + |
| +.linkButton { |
| + color: #06C; |
| + cursor: pointer; |
| + display: inline-block; |
| + text-decoration: underline; |
| + -webkit-margin-start: 0.5em; |
| +} |
| + |
| #card-slider-frame { |
| /* Must match #footer height. */ |
| bottom: 50px; |