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

Side by Side Diff: chrome/browser/resources/file_manager/css/gallery.css

Issue 26897006: Fix cropping cursors in the gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body { 5 body {
6 -webkit-user-select: none; 6 -webkit-user-select: none;
7 font-family: Open Sans, Droid Sans Fallback, sans-serif; 7 font-family: Open Sans, Droid Sans Fallback, sans-serif;
8 font-size: 84%; 8 font-size: 84%;
9 margin: 0; 9 margin: 0;
10 } 10 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 width: 100%; 67 width: 100%;
68 } 68 }
69 69
70 .gallery[tools] .image-container[cursor='default'] { 70 .gallery[tools] .image-container[cursor='default'] {
71 cursor: default; 71 cursor: default;
72 } 72 }
73 73
74 .gallery[tools] .image-container[cursor='move'] { 74 .gallery[tools] .image-container[cursor='move'] {
75 cursor: -webkit-image-set( 75 cursor: -webkit-image-set(
76 url('../images/gallery/cursor_move.png') 1x, 76 url('../images/gallery/cursor_move.png') 1x,
77 url('../images/gallery/2x/cursor_move.png') 2x) 15 15; 77 url('../images/gallery/2x/cursor_move.png') 2x) 15 15, auto;
78 } 78 }
79 79
80 .gallery[tools] .image-container[cursor='crop'] { 80 .gallery[tools] .image-container[cursor='crop'] {
81 cursor: -webkit-image-set( 81 cursor: -webkit-image-set(
82 url('../images/gallery/cursor_crop.png') 1x, 82 url('../images/gallery/cursor_crop.png') 1x,
83 url('../images/gallery/2x/cursor_crop.png') 2x) 15 15; 83 url('../images/gallery/2x/cursor_crop.png') 2x) 15 15, auto;
84 } 84 }
85 85
86 .gallery[tools] .image-container[cursor='n-resize'], 86 .gallery[tools] .image-container[cursor='n-resize'],
87 .gallery[tools] .image-container[cursor='s-resize'] { 87 .gallery[tools] .image-container[cursor='s-resize'] {
88 cursor: -webkit-image-set( 88 cursor: -webkit-image-set(
89 url('../images/gallery/cursor_updown.png') 1x, 89 url('../images/gallery/cursor_updown.png') 1x,
90 url('../images/gallery/2x/cursor_updown.png') 2x) 15 15; 90 url('../images/gallery/2x/cursor_updown.png') 2x) 15 15, auto;
91 } 91 }
92 92
93 .gallery[tools] .image-container[cursor='e-resize'], 93 .gallery[tools] .image-container[cursor='e-resize'],
94 .gallery[tools] .image-container[cursor='w-resize'] { 94 .gallery[tools] .image-container[cursor='w-resize'] {
95 cursor: -webkit-image-set( 95 cursor: -webkit-image-set(
96 url('../images/gallery/cursor_leftright.png') 1x, 96 url('../images/gallery/cursor_leftright.png') 1x,
97 url('../images/gallery/2x/cursor_leftright.png') 2x) 15 15; 97 url('../images/gallery/2x/cursor_leftright.png') 2x) 15 15, auto;
98 } 98 }
99 99
100 .gallery[tools] .image-container[cursor='nw-resize'], 100 .gallery[tools] .image-container[cursor='nw-resize'],
101 .gallery[tools] .image-container[cursor='se-resize'] { 101 .gallery[tools] .image-container[cursor='se-resize'] {
102 cursor: -webkit-image-set( 102 cursor: -webkit-image-set(
103 url('../images/gallery/cursor_nwse.png') 1x, 103 url('../images/gallery/cursor_nwse.png') 1x,
104 url('../images/gallery/2x/cursor_nwse.png') 2x) 15 15; 104 url('../images/gallery/2x/cursor_nwse.png') 2x) 15 15, auto;
105 } 105 }
106 106
107 .gallery[tools] .image-container[cursor='ne-resize'], 107 .gallery[tools] .image-container[cursor='ne-resize'],
108 .gallery[tools] .image-container[cursor='sw-resize'] { 108 .gallery[tools] .image-container[cursor='sw-resize'] {
109 cursor: -webkit-image-set( 109 cursor: -webkit-image-set(
110 url('../images/gallery/cursor_swne.png') 1x, 110 url('../images/gallery/cursor_swne.png') 1x,
111 url('../images/gallery/2x/cursor_swne.png') 2x) 15 15; 111 url('../images/gallery/2x/cursor_swne.png') 2x) 15 15, auto;
112 } 112 }
113 113
114 .gallery .image-container > .image { 114 .gallery .image-container > .image {
115 pointer-events: none; 115 pointer-events: none;
116 position: absolute; 116 position: absolute;
117 /* Duration and timing function are set in Javascript. */ 117 /* Duration and timing function are set in Javascript. */
118 transition-property: -webkit-transform, opacity; 118 transition-property: -webkit-transform, opacity;
119 } 119 }
120 120
121 .gallery .image-container > .image[fade] { 121 .gallery .image-container > .image[fade] {
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 url('chrome://resources/images/2x/apps/topbar_button_maximize.png') 2x) 1365 url('chrome://resources/images/2x/apps/topbar_button_maximize.png') 2x)
1366 center; 1366 center;
1367 } 1367 }
1368 1368
1369 .gallery > .header > .close-button { 1369 .gallery > .header > .close-button {
1370 background: -webkit-image-set( 1370 background: -webkit-image-set(
1371 url('chrome://resources/images/apps/topbar_button_close.png') 1x, 1371 url('chrome://resources/images/apps/topbar_button_close.png') 1x,
1372 url('chrome://resources/images/2x/apps/topbar_button_close.png') 2x) 1372 url('chrome://resources/images/2x/apps/topbar_button_close.png') 2x)
1373 center; 1373 center;
1374 } 1374 }
OLDNEW
« 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