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

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

Issue 108483005: Merge 229723 "Fix cropping cursors in the gallery." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 years 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 cursor: wait; 72 cursor: wait;
73 } 73 }
74 74
75 .gallery[tools] .image-container[cursor='default'] { 75 .gallery[tools] .image-container[cursor='default'] {
76 cursor: default; 76 cursor: default;
77 } 77 }
78 78
79 .gallery[tools] .image-container[cursor='move'] { 79 .gallery[tools] .image-container[cursor='move'] {
80 cursor: -webkit-image-set( 80 cursor: -webkit-image-set(
81 url('../images/gallery/cursor_move.png') 1x, 81 url('../images/gallery/cursor_move.png') 1x,
82 url('../images/gallery/2x/cursor_move.png') 2x) 15 15; 82 url('../images/gallery/2x/cursor_move.png') 2x) 15 15, auto;
83 } 83 }
84 84
85 .gallery[tools] .image-container[cursor='crop'] { 85 .gallery[tools] .image-container[cursor='crop'] {
86 cursor: -webkit-image-set( 86 cursor: -webkit-image-set(
87 url('../images/gallery/cursor_crop.png') 1x, 87 url('../images/gallery/cursor_crop.png') 1x,
88 url('../images/gallery/2x/cursor_crop.png') 2x) 15 15; 88 url('../images/gallery/2x/cursor_crop.png') 2x) 15 15, auto;
89 } 89 }
90 90
91 .gallery[tools] .image-container[cursor='n-resize'], 91 .gallery[tools] .image-container[cursor='n-resize'],
92 .gallery[tools] .image-container[cursor='s-resize'] { 92 .gallery[tools] .image-container[cursor='s-resize'] {
93 cursor: -webkit-image-set( 93 cursor: -webkit-image-set(
94 url('../images/gallery/cursor_updown.png') 1x, 94 url('../images/gallery/cursor_updown.png') 1x,
95 url('../images/gallery/2x/cursor_updown.png') 2x) 15 15; 95 url('../images/gallery/2x/cursor_updown.png') 2x) 15 15, auto;
96 } 96 }
97 97
98 .gallery[tools] .image-container[cursor='e-resize'], 98 .gallery[tools] .image-container[cursor='e-resize'],
99 .gallery[tools] .image-container[cursor='w-resize'] { 99 .gallery[tools] .image-container[cursor='w-resize'] {
100 cursor: -webkit-image-set( 100 cursor: -webkit-image-set(
101 url('../images/gallery/cursor_leftright.png') 1x, 101 url('../images/gallery/cursor_leftright.png') 1x,
102 url('../images/gallery/2x/cursor_leftright.png') 2x) 15 15; 102 url('../images/gallery/2x/cursor_leftright.png') 2x) 15 15, auto;
103 } 103 }
104 104
105 .gallery[tools] .image-container[cursor='nw-resize'], 105 .gallery[tools] .image-container[cursor='nw-resize'],
106 .gallery[tools] .image-container[cursor='se-resize'] { 106 .gallery[tools] .image-container[cursor='se-resize'] {
107 cursor: -webkit-image-set( 107 cursor: -webkit-image-set(
108 url('../images/gallery/cursor_nwse.png') 1x, 108 url('../images/gallery/cursor_nwse.png') 1x,
109 url('../images/gallery/2x/cursor_nwse.png') 2x) 15 15; 109 url('../images/gallery/2x/cursor_nwse.png') 2x) 15 15, auto;
110 } 110 }
111 111
112 .gallery[tools] .image-container[cursor='ne-resize'], 112 .gallery[tools] .image-container[cursor='ne-resize'],
113 .gallery[tools] .image-container[cursor='sw-resize'] { 113 .gallery[tools] .image-container[cursor='sw-resize'] {
114 cursor: -webkit-image-set( 114 cursor: -webkit-image-set(
115 url('../images/gallery/cursor_swne.png') 1x, 115 url('../images/gallery/cursor_swne.png') 1x,
116 url('../images/gallery/2x/cursor_swne.png') 2x) 15 15; 116 url('../images/gallery/2x/cursor_swne.png') 2x) 15 15, auto;
117 } 117 }
118 118
119 .gallery .image-container > .image { 119 .gallery .image-container > .image {
120 pointer-events: none; 120 pointer-events: none;
121 position: absolute; 121 position: absolute;
122 /* Duration and timing function are set in Javascript. */ 122 /* Duration and timing function are set in Javascript. */
123 transition-property: -webkit-transform, opacity; 123 transition-property: -webkit-transform, opacity;
124 } 124 }
125 125
126 .gallery .image-container > .image[fade] { 126 .gallery .image-container > .image[fade] {
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 background-image: -webkit-image-set( 1371 background-image: -webkit-image-set(
1372 url('chrome://resources/images/apps/topbar_button_maximize.png') 1x, 1372 url('chrome://resources/images/apps/topbar_button_maximize.png') 1x,
1373 url('chrome://resources/images/2x/apps/topbar_button_maximize.png') 2x); 1373 url('chrome://resources/images/2x/apps/topbar_button_maximize.png') 2x);
1374 } 1374 }
1375 1375
1376 .gallery > .header > .close-button { 1376 .gallery > .header > .close-button {
1377 background-image: -webkit-image-set( 1377 background-image: -webkit-image-set(
1378 url('chrome://resources/images/apps/topbar_button_close.png') 1x, 1378 url('chrome://resources/images/apps/topbar_button_close.png') 1x,
1379 url('chrome://resources/images/2x/apps/topbar_button_close.png') 2x); 1379 url('chrome://resources/images/2x/apps/topbar_button_close.png') 2x);
1380 } 1380 }
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