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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 195 flex-wrap: wrap; | 195 flex-wrap: wrap; |
| 196 } | 196 } |
| 197 | 197 |
| 198 .spectrum-palette-color { | 198 .spectrum-palette-color { |
| 199 height: 12px; | 199 height: 12px; |
| 200 flex: 0 0 12px; | 200 flex: 0 0 12px; |
| 201 display: inline-block; | 201 display: inline-block; |
| 202 border-radius: 2px; | 202 border-radius: 2px; |
| 203 margin-left: 12px; | 203 margin-left: 12px; |
| 204 margin-top: 12px; | 204 margin-top: 12px; |
| 205 cursor: pointer; | |
|
dgozman
2015/08/19 20:27:45
Please make sure you don't add inconsistency betwe
pfeldman
2015/08/19 20:29:03
which add button?
| |
| 205 } | 206 } |
| 206 | 207 |
| 207 .spectrum-palette-color.empty-color { | 208 .spectrum-palette-color.empty-color { |
| 208 border: 1px solid #dadada; | 209 border: 1px solid #dadada; |
| 209 } | 210 } |
| 210 | 211 |
| 211 .spectrum-palette > .spectrum-palette-color { | 212 .spectrum-palette > .spectrum-palette-color { |
| 212 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); | 213 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); |
| 213 } | 214 } |
| 214 | 215 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 261 | 262 |
| 262 .palette-panel > div.palette-title { | 263 .palette-panel > div.palette-title { |
| 263 font-size: 14px; | 264 font-size: 14px; |
| 264 line-height: 16px; | 265 line-height: 16px; |
| 265 color: #333; | 266 color: #333; |
| 266 flex-basis: 40px; | 267 flex-basis: 40px; |
| 267 } | 268 } |
| 268 | 269 |
| 269 div.palette-preview { | 270 div.palette-preview { |
| 270 display: flex; | 271 display: flex; |
| 272 cursor: pointer; | |
| 271 } | 273 } |
| 272 | 274 |
| 273 .palette-preview-title { | 275 .palette-preview-title { |
| 274 flex: 0 0 84px; | 276 flex: 0 0 84px; |
| 275 } | 277 } |
| 276 | 278 |
| 277 .palette-preview > .spectrum-palette-color { | 279 .palette-preview > .spectrum-palette-color { |
| 278 margin-top: 1px; | 280 margin-top: 1px; |
| 279 cursor: default; | |
| 280 } | 281 } |
| 281 | 282 |
| 282 .palette-preview:hover { | 283 .palette-preview:hover { |
| 283 background-color: #eee; | 284 background-color: #eee; |
| 284 } | 285 } |
| 285 | 286 |
| 286 .spectrum-overlay { | 287 .spectrum-overlay { |
| 287 z-index: 13; | 288 z-index: 13; |
| 288 visibility: hidden; | 289 visibility: hidden; |
| 289 background-color: hsla(0, 0%, 0%, 0.5); | 290 background-color: hsla(0, 0%, 0%, 0.5); |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 301 width: 100%; | 302 width: 100%; |
| 302 height: 100%; | 303 height: 100%; |
| 303 } | 304 } |
| 304 | 305 |
| 305 .spectrum-contrast-line { | 306 .spectrum-contrast-line { |
| 306 fill: none; | 307 fill: none; |
| 307 stroke: white; | 308 stroke: white; |
| 308 opacity: 0.7; | 309 opacity: 0.7; |
| 309 stroke-width: 1.5px; | 310 stroke-width: 1.5px; |
| 310 } | 311 } |
| OLD | NEW |