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

Side by Side Diff: chrome/browser/resources/ntp4/new_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 | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/themes/browser_theme_pack.h » ('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 html { 5 html {
6 background-attachment: fixed; 6 background-attachment: fixed;
7 background-color: $2; /* COLOR_NTP_BACKGROUND */ 7 background-color: $2; /* COLOR_NTP_BACKGROUND */
8 background-image: -webkit-image-set( 8 background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
9 url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1) 1x);
10 background-position: $3; 9 background-position: $3;
11 background-repeat: $5; 10 background-repeat: $5;
12 } 11 }
13 12
13 #attribution-img {
14 content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
15 }
16
14 html[bookmarkbarattached='true'] { 17 html[bookmarkbarattached='true'] {
15 background-position: $4; 18 background-position: $4;
16 } 19 }
17 20
18 body { 21 body {
19 color: $8; /* COLOR_NTP_TEXT */ 22 color: $8; /* COLOR_NTP_TEXT */
20 height: 100%; 23 height: 100%;
21 overflow: auto; 24 overflow: auto;
22 } 25 }
23 26
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 } 104 }
102 105
103 .thumbnail-wrapper { 106 .thumbnail-wrapper {
104 /* This shows through at the (rounded) thumbnail's corners. */ 107 /* This shows through at the (rounded) thumbnail's corners. */
105 background-color: $11; /* COLOR_NTP_SECTION_BORDER */ 108 background-color: $11; /* COLOR_NTP_SECTION_BORDER */
106 } 109 }
107 110
108 .filler .thumbnail { 111 .filler .thumbnail {
109 border-color: $2; /* COLOR_NTP_BACKGROUND */ 112 border-color: $2; /* COLOR_NTP_BACKGROUND */
110 } 113 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/themes/browser_theme_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698