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

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: 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } 211 }
212 212
213 .spectrum-palette > .spectrum-palette-color.empty-color { 213 .empty-color {
214 border-color: transparent; 214 border: 1px solid #ddd;
samli 2015/08/26 22:08:37 This is used in the color palette preview (switche
215 } 215 }
216 216
217 .spectrum-palette > .spectrum-palette-color:not(.empty-color):hover { 217 .spectrum-palette > .spectrum-palette-color:hover {
218 transform: scale(1.15); 218 transform: scale(1.15);
219 } 219 }
220 220
221 .add-color-toolbar { 221 .add-color-toolbar {
222 position: absolute; 222 position: absolute;
223 right: 29px; 223 right: 29px;
224 bottom: 5px; 224 bottom: 5px;
225 } 225 }
226 226
227 .spectrum-palette-switcher { 227 .spectrum-palette-switcher {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 width: 100%; 304 width: 100%;
305 height: 100%; 305 height: 100%;
306 } 306 }
307 307
308 .spectrum-contrast-line { 308 .spectrum-contrast-line {
309 fill: none; 309 fill: none;
310 stroke: white; 310 stroke: white;
311 opacity: 0.7; 311 opacity: 0.7;
312 stroke-width: 1.5px; 312 stroke-width: 1.5px;
313 } 313 }
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