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 } | 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 Loading... | |
| 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 Loading... | |
| 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 } |
| OLD | NEW |