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

Unified Diff: chrome/browser/resources/file_manager/css/common.css

Issue 10804010: HiDPI assets for Chrome OS Files app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/file_manager/css/common.css
diff --git a/chrome/browser/resources/file_manager/css/common.css b/chrome/browser/resources/file_manager/css/common.css
index aa2f60309b3a99c90621fba0b60f4d6ba6b4a622..eac94a747bf72c2f7c00080e3ea6992bfab7d540 100644
--- a/chrome/browser/resources/file_manager/css/common.css
+++ b/chrome/browser/resources/file_manager/css/common.css
@@ -24,7 +24,9 @@ input.common[type='checkbox'] {
}
input.common[type='checkbox']:checked::after {
- background-image: url('../images/common/check_no_box.png');
+ background-image: -webkit-image-set(
+ url('../images/common/check_no_box.png') 1x,
+ url('../images/common/2x/check_no_box.png') 2x);
background-position: -3px -4px;
background-repeat: no-repeat;
}
@@ -34,12 +36,16 @@ input.common[type='checkbox'].white {
}
input.common[type='checkbox'].white:not(:checked):after {
- background-image: url('../images/common/checkbox_white_unchecked.png');
+ background-image: -webkit-image-set(
+ url('../images/common/checkbox_white_unchecked.png') 1x,
+ url('../images/common/2x/checkbox_white_unchecked.png') 2x);
background-position: -1px 0;
}
input.common[type='checkbox'].white:checked::after {
- background-image: url('../images/common/checkbox_white_checked.png');
+ background-image: -webkit-image-set(
+ url('../images/common/checkbox_white_checked.png') 1x,
+ url('../images/common/2x/checkbox_white_checked.png') 2x);
background-position: -1px 0;
}
@@ -62,7 +68,9 @@ input.common[type='checkbox']::after {
}
.bubble .pointer {
- background: url('../images/common/bubble_point_white.png');
+ background: -webkit-image-set(
+ url('../images/common/bubble_point_white.png') 1x,
+ url('../images/common/2x/bubble_point_white.png') 2x);
display: block;
height: 11px;
left: 24px;
@@ -82,7 +90,9 @@ input.common[type='checkbox']::after {
}
.bubble .close-x {
- background: url('../images/common/close_x_gray.png');
+ background: -webkit-image-set(
+ url('../images/common/close_x_gray.png') 1x,
+ url('../images/common/2x/close_x_gray.png') 2x);
height: 21px;
opacity: 0.3;
position: absolute;
@@ -187,7 +197,11 @@ input.common[type='checkbox']::after {
}
span.disclosureindicator {
- background: url('../images/disclosure_arrow_dk_grey.png') center no-repeat;
+ background-image: -webkit-image-set(
+ url('../images/common/disclosure_arrow_dk_grey.png') 1x,
+ url('../images/common/2x/disclosure_arrow_dk_grey.png') 2x);
+ background-position: center;
+ background-repeat: no-repeat;
display: inline-block;
height: 7px;
width: 5px;
@@ -231,7 +245,9 @@ menu.chrome-menu > hr {
}
menu.chrome-menu > :not(hr)[checked] {
- background-image: url('../images/common/check_no_box.png');
+ background-image: -webkit-image-set(
+ url('../images/common/check_no_box.png') 1x,
+ url('../images/common/2x/check_no_box.png') 2x);
background-position: 2px center;
}

Powered by Google App Engine
This is Rietveld 408576698