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

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

Issue 16610002: High DPI support for themes: Raw images for NTP attribution and background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update css Created 7 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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: $2; 8 background-color: $2;
9 background-image: -webkit-image-set( 9 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
10 url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1) 1x);
11 background-position: $3; 10 background-position: $3;
12 background-repeat: $5; 11 background-repeat: $5;
13 height: 100%; 12 height: 100%;
14 overflow: auto; 13 overflow: auto;
15 } 14 }
16 15
16 #attribution-img {
17 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
18 }
19
17 html[bookmarkbarattached='true'] { 20 html[bookmarkbarattached='true'] {
18 background-position: $4; 21 background-position: $4;
19 } 22 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698