| 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 |
| 16 #attribution-img { | 15 html[hascustombackground='true'] { |
| 17 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId}); | 16 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId}); |
| 18 } | 17 } |
| 19 | 18 |
| 20 html[bookmarkbarattached='true'] { | 19 html[bookmarkbarattached='true'] { |
| 21 background-position: ${backgroundBarAttached}; | 20 background-position: ${backgroundBarAttached}; |
| 22 } | 21 } |
| 22 |
| 23 #attribution-img { |
| 24 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId}); |
| 25 } |
| OLD | NEW |