Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can be | |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 :host { | |
| 8 white-space: nowrap; | |
| 9 } | |
| 10 | |
| 11 .bezier-swatch { | |
|
lushnikov
2016/08/10 23:42:13
maybe also add a :hover, like in color swatch?..
flandy
2016/08/11 01:37:59
Done.
| |
| 12 position: relative; | |
| 13 margin-left: 1px; | |
| 14 margin-right: 2px; | |
| 15 width: 10px; | |
| 16 height: 10px; | |
| 17 top: 1px; | |
| 18 display: inline-block; | |
| 19 -webkit-user-select: none; | |
| 20 line-height: 10px; | |
| 21 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
|
lushnikov
2016/08/10 23:42:13
you'd also need @media (-webkit-min-device-pixel-r
flandy
2016/08/11 01:37:59
Thanks! Realized I forgot this.
| |
| 22 -webkit-mask-size: 352px 168px; | |
| 23 -webkit-mask-position: -299px -144px; | |
|
lushnikov
2016/08/10 23:42:13
let's also center the icon inside its cell in svg
lushnikov
2016/08/10 23:42:13
let's also add entry in toolbar.css
flandy
2016/08/11 01:37:59
No need anymore?
flandy
2016/08/11 01:37:59
I was planning to put the other swatches around it
lushnikov
2016/08/11 01:41:08
yes, lets do smallIcons.svg first
flandy
2016/08/12 21:55:08
Done.
| |
| 24 background-color: #9C27B0; | |
| 25 } | |
| OLD | NEW |