Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 :host { | 5 :host { |
| 6 display: inline-block; | 6 display: inline-block; |
| 7 vertical-align: middle; | 7 vertical-align: middle; |
| 8 } | 8 } |
| 9 | 9 |
| 10 :host([disabled]) { | 10 :host([disabled]) { |
| 11 pointer-events: none; | 11 pointer-events: none; |
| 12 } | 12 } |
| 13 | 13 |
| 14 paper-button[toggles][active] { | 14 paper-button[toggles][active] { |
| 15 background-color: lightgrey; | 15 background-color: lightgrey; |
| 16 } | 16 } |
| 17 | 17 |
| 18 paper-button { | 18 paper-button { |
| 19 margin: 0; | 19 margin: 0; |
| 20 --paper-button: { | |
| 21 min-width: auto; | |
| 22 }; | |
| 20 } | 23 } |
| 24 | |
| 25 :host([lowercase]) paper-button { | |
| 26 --paper-button: { | |
| 27 min-width: auto; /* HACK(dbeam): mixins can't be redefined. */ | |
|
michaelpg
2015/08/18 19:47:06
why is this a hack, and is it something you intend
Dan Beam
2015/08/18 19:51:12
paper-button {
margin: 0;
--paper-button: {
| |
| 28 text-transform: none; | |
| 29 }; | |
| 30 } | |
| OLD | NEW |