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

Side by Side Diff: chrome/browser/resources/ntp4/new_incognito_tab_theme.css

Issue 1440113002: [MD] Change appearance of incognito NTP to MD spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: guest Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698