| OLD | NEW |
| 1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 html { | 6 html { |
| 7 background-attachment: fixed; | 7 background-attachment: fixed; |
| 8 background-color: ${colorBackground}; | 8 background-color: ${colorBackground}; |
| 9 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId}); | |
| 10 background-position: ${backgroundBarDetached}; | 9 background-position: ${backgroundBarDetached}; |
| 11 background-repeat: ${backgroundTiling}; | 10 background-repeat: ${backgroundTiling}; |
| 12 height: 100%; | 11 height: 100%; |
| 13 overflow: auto; | 12 overflow: auto; |
| 14 } | 13 } |
| 15 | 14 |
| 15 html${hasCustomBackground} { |
| 16 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId}); |
| 17 } |
| 18 |
| 19 html${hasCustomBackground} .content { |
| 20 border-radius: 2px; |
| 21 box-shadow: 0 4px 6px 1px rgba(0, 0, 0, 0.4); |
| 22 } |
| 23 |
| 16 #attribution-img { | 24 #attribution-img { |
| 17 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId}); | 25 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId}); |
| 18 } | 26 } |
| 19 | 27 |
| 20 html[bookmarkbarattached='true'] { | 28 html[bookmarkbarattached='true'] { |
| 21 background-position: ${backgroundBarAttached}; | 29 background-position: ${backgroundBarAttached}; |
| 22 } | 30 } |
| OLD | NEW |