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

Side by Side Diff: Source/devtools/front_end/elements/spectrum.css

Issue 1319823002: Devtools Color: Animate drag rearrangement of custom color palette (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve performance Created 5 years, 3 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
« no previous file with comments | « Source/devtools/front_end/elements/Spectrum.js ('k') | 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 /* https://github.com/bgrins/spectrum */ 1 /* https://github.com/bgrins/spectrum */
2 :host { 2 :host {
3 width: 232px; 3 width: 232px;
4 height: 240px; 4 height: 240px;
5 -webkit-user-select: none; 5 -webkit-user-select: none;
6 } 6 }
7 7
8 :host(.palettes-enabled) { 8 :host(.palettes-enabled) {
9 height: 271px; 9 height: 271px;
10 } 10 }
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 flex: 0 0 12px; 201 flex: 0 0 12px;
202 display: inline-block; 202 display: inline-block;
203 border-radius: 2px; 203 border-radius: 2px;
204 margin: 6px; 204 margin: 6px;
205 cursor: pointer; 205 cursor: pointer;
206 } 206 }
207 207
208 .spectrum-palette > .spectrum-palette-color { 208 .spectrum-palette > .spectrum-palette-color {
209 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); 209 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1);
210 border: 1px solid rgba(0, 0, 0, 0.1); 210 border: 1px solid rgba(0, 0, 0, 0.1);
211 will-change: transform;
211 } 212 }
212 213
213 .spectrum-palette > .spectrum-palette-color.empty-color { 214 .spectrum-palette > .spectrum-palette-color.empty-color {
214 border-color: transparent; 215 border-color: transparent;
215 } 216 }
216 217
217 .spectrum-palette > .spectrum-palette-color:not(.empty-color):hover { 218 .spectrum-palette > .spectrum-palette-color:not(.empty-color):hover {
218 transform: scale(1.15); 219 transform: scale(1.15);
219 } 220 }
220 221
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 width: 100%; 305 width: 100%;
305 height: 100%; 306 height: 100%;
306 } 307 }
307 308
308 .spectrum-contrast-line { 309 .spectrum-contrast-line {
309 fill: none; 310 fill: none;
310 stroke: white; 311 stroke: white;
311 opacity: 0.7; 312 opacity: 0.7;
312 stroke-width: 1.5px; 313 stroke-width: 1.5px;
313 } 314 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/Spectrum.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698