Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 /* Prevents the popover from jumping when focus() is called */ | |
| 7 display: block !important; | |
|
lushnikov
2016/03/21 19:24:06
why is this needed?
samli
2016/03/22 02:51:42
For some reason, with display: flex on the popover
lushnikov
2016/04/12 01:02:16
I failed to reproduce it. Can you please tell me t
| |
| 6 } | 8 } |
| 7 | 9 |
| 8 :host(.palettes-enabled) { | 10 :host(.palettes-enabled) { |
| 9 height: 319px; | 11 height: 319px; |
| 10 } | 12 } |
| 11 | 13 |
| 12 .spectrum-color { | 14 .spectrum-color { |
| 13 position: relative; | 15 position: relative; |
| 14 width: 232px; | 16 width: 232px; |
| 15 height: 124px; | 17 height: 124px; |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 391 | 393 |
| 392 .delete-color-toolbar.dragging { | 394 .delete-color-toolbar.dragging { |
| 393 visibility: visible; | 395 visibility: visible; |
| 394 animation: showDeleteToolbar 100ms 150ms cubic-bezier(0, 0, 0.2, 1) backward s; | 396 animation: showDeleteToolbar 100ms 150ms cubic-bezier(0, 0, 0.2, 1) backward s; |
| 395 } | 397 } |
| 396 | 398 |
| 397 .delete-color-toolbar-active { | 399 .delete-color-toolbar-active { |
| 398 background-color: #ddd; | 400 background-color: #ddd; |
| 399 color: white; | 401 color: white; |
| 400 } | 402 } |
| OLD | NEW |