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

Unified Diff: ui/file_manager/gallery/css/gallery.css

Issue 962483002: Revert "Gallery: Remove 2x mouse cursor assets temporary." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/css/gallery.css
diff --git a/ui/file_manager/gallery/css/gallery.css b/ui/file_manager/gallery/css/gallery.css
index fe04bbb294f9c460790042b7c3e19ffc764ad2d9..993dbeb63aae9bca11a353a1f9e965a817a01697 100644
--- a/ui/file_manager/gallery/css/gallery.css
+++ b/ui/file_manager/gallery/css/gallery.css
@@ -61,43 +61,43 @@ input[type='checkbox']:checked {
}
.gallery[tools] .image-container[cursor='move'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_move.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_move.png) 1x,
+ url(../images/200/cursor_move.png) 2x) 15 15, auto;
}
.gallery[tools] .image-container[cursor='crop'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_crop.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_crop.png) 1x,
+ url(../images/200/cursor_crop.png) 2x) 15 15, auto;
}
.gallery[tools] .image-container[cursor='n-resize'],
.gallery[tools] .image-container[cursor='s-resize'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_updown.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_updown.png) 1x,
+ url(../images/200/cursor_updown.png) 2x) 15 15, auto;
}
.gallery[tools] .image-container[cursor='e-resize'],
.gallery[tools] .image-container[cursor='w-resize'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_leftright.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_leftright.png) 1x,
+ url(../images/200/cursor_leftright.png) 2x) 15 15, auto;
}
.gallery[tools] .image-container[cursor='nw-resize'],
.gallery[tools] .image-container[cursor='se-resize'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_nwse.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_nwse.png) 1x,
+ url(../images/200/cursor_nwse.png) 2x) 15 15, auto;
}
.gallery[tools] .image-container[cursor='ne-resize'],
.gallery[tools] .image-container[cursor='sw-resize'] {
- /** TODO(hirono): Take book 2x assets for the mouse cursor.
- crbug.com/460430 */
- cursor: url(../images/100/cursor_swne.png) 15 15, auto;
+ cursor: -webkit-image-set(
+ url(../images/100/cursor_swne.png) 1x,
+ url(../images/200/cursor_swne.png) 2x) 15 15, auto;
}
.gallery .image-container > .image {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698