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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/new_tab_theme.css
diff --git a/chrome/browser/resources/ntp4/new_tab_theme.css b/chrome/browser/resources/ntp4/new_tab_theme.css
index 75163838582d658a2bccbd9feea28cad5c0102ae..adfeeb7c371adb0a171cad46d0e78d72345bc50d 100644
--- a/chrome/browser/resources/ntp4/new_tab_theme.css
+++ b/chrome/browser/resources/ntp4/new_tab_theme.css
@@ -5,12 +5,15 @@
html {
background-attachment: fixed;
background-color: $2; /* COLOR_NTP_BACKGROUND */
- background-image: -webkit-image-set(
- url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1) 1x);
+ background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
background-position: $3;
background-repeat: $5;
}
+#attribution-img {
+ content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
+}
+
html[bookmarkbarattached='true'] {
background-position: $4;
}
« 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