Commit 603236c7 authored by hirono's avatar hirono Committed by Commit bot

Gallery: Remove 2x mouse cursor assets temporary.

Currently 2x assets are not rendered correctly due to crbug.com/454886.
The CL removes 2x assets as workaround.

BUG=460430
TEST=None

Review URL: https://codereview.chromium.org/942783004

Cr-Commit-Position: refs/heads/master@{#317280}
parent d1522d85
...@@ -61,43 +61,43 @@ input[type='checkbox']:checked { ...@@ -61,43 +61,43 @@ input[type='checkbox']:checked {
} }
.gallery[tools] .image-container[cursor='move'] { .gallery[tools] .image-container[cursor='move'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_move.png) 1x, crbug.com/460430 */
url(../images/200/cursor_move.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_move.png) 15 15, auto;
} }
.gallery[tools] .image-container[cursor='crop'] { .gallery[tools] .image-container[cursor='crop'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_crop.png) 1x, crbug.com/460430 */
url(../images/200/cursor_crop.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_crop.png) 15 15, auto;
} }
.gallery[tools] .image-container[cursor='n-resize'], .gallery[tools] .image-container[cursor='n-resize'],
.gallery[tools] .image-container[cursor='s-resize'] { .gallery[tools] .image-container[cursor='s-resize'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_updown.png) 1x, crbug.com/460430 */
url(../images/200/cursor_updown.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_updown.png) 15 15, auto;
} }
.gallery[tools] .image-container[cursor='e-resize'], .gallery[tools] .image-container[cursor='e-resize'],
.gallery[tools] .image-container[cursor='w-resize'] { .gallery[tools] .image-container[cursor='w-resize'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_leftright.png) 1x, crbug.com/460430 */
url(../images/200/cursor_leftright.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_leftright.png) 15 15, auto;
} }
.gallery[tools] .image-container[cursor='nw-resize'], .gallery[tools] .image-container[cursor='nw-resize'],
.gallery[tools] .image-container[cursor='se-resize'] { .gallery[tools] .image-container[cursor='se-resize'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_nwse.png) 1x, crbug.com/460430 */
url(../images/200/cursor_nwse.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_nwse.png) 15 15, auto;
} }
.gallery[tools] .image-container[cursor='ne-resize'], .gallery[tools] .image-container[cursor='ne-resize'],
.gallery[tools] .image-container[cursor='sw-resize'] { .gallery[tools] .image-container[cursor='sw-resize'] {
cursor: -webkit-image-set( /** TODO(hirono): Take book 2x assets for the mouse cursor.
url(../images/100/cursor_swne.png) 1x, crbug.com/460430 */
url(../images/200/cursor_swne.png) 2x) 15 15, auto; cursor: url(../images/100/cursor_swne.png) 15 15, auto;
} }
.gallery .image-container > .image { .gallery .image-container > .image {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment