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

Unified Diff: chrome/browser/resources/flags.css

Issue 11791026: Use HighDPI asset on about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/app/theme/flags_section.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/flags.css
diff --git a/chrome/browser/resources/flags.css b/chrome/browser/resources/flags.css
index d9a6e0cabd255720f203ae68d18cb0791b9ef214..18caa028f0fbda30b866813287aca7376ef5d4ca 100644
--- a/chrome/browser/resources/flags.css
+++ b/chrome/browser/resources/flags.css
@@ -28,7 +28,10 @@ div#header {
#header h1 {
-webkit-padding-start: 75px;
- background: url('../../app/theme/flags_section.png') 0 20px no-repeat;
+ background: -webkit-image-set(
+ url('../../app/theme/default_100_percent/flags_section.png') 1x,
Dan Beam 2013/01/07 19:39:21 if possible I'd like to use grit to autogenerate t
+ url('../../app/theme/default_200_percent/flags_section.png') 2x)
+ 0 20px no-repeat;
display: inline;
margin: 0;
padding-bottom: 40px;
@@ -36,7 +39,10 @@ div#header {
}
html[dir=rtl] #header h1 {
- background: url('../../app/theme/flags_section.png') right no-repeat;
+ background: -webkit-image-set(
+ url('../../app/theme/default_100_percent/flags_section.png') 1x,
+ url('../../app/theme/default_200_percent/flags_section.png') 2x)
+ right no-repeat;
}
h1 {
« no previous file with comments | « chrome/app/theme/flags_section.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698