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

Unified Diff: chrome/browser/resources/ntp4/new_incognito_tab_theme.css

Issue 1220793010: [ui/base;css] adding string template expression replacement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 5 years, 5 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
Index: chrome/browser/resources/ntp4/new_incognito_tab_theme.css
diff --git a/chrome/browser/resources/ntp4/new_incognito_tab_theme.css b/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
index b4d1df12dbd15e744c6ba5937c94a12118ce098a..dd31189d50320ef96ef4106e72d6da01d13b20c5 100644
--- a/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
@@ -5,18 +5,18 @@
html {
background-attachment: fixed;
- background-color: $2;
- background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
- background-position: $3;
- background-repeat: $5;
+ background-color: ${colorBackground};
+ background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId});
+ background-position: ${backgroundBarDetached};
+ background-repeat: ${backgroundTiling};
height: 100%;
overflow: auto;
}
#attribution-img {
- content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
+ content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId});
}
html[bookmarkbarattached='true'] {
- background-position: $4;
+ background-position: ${backgroundBarAttached};
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab_theme.css » ('j') | chrome/browser/resources/ntp4/new_tab_theme.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698