Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 * found in the LICENSE file. */ | |
| 4 | |
| 5 :host { | |
| 6 display: inline-block; | |
| 7 vertical-align: middle; | |
| 8 } | |
| 9 | |
| 10 :host([disabled]) { | |
| 11 pointer-events: none; | |
| 12 } | |
| 13 | |
| 14 paper-button[toggles][active] { | |
| 15 background-color: lightgrey; | |
| 16 } | |
| 17 | |
| 18 paper-button { | |
| 19 margin: 0; | |
| 20 --paper-button: { | |
| 21 min-width: auto; | |
|
Dan Beam
2015/09/22 17:22:47
where are we doing this?
stevenjb
2015/09/22 17:36:29
I thought you added this for md-downloads then did
Dan Beam
2015/09/22 22:22:23
downloads still does this, but so should settings,
stevenjb
2015/09/22 23:00:18
I was reluctant to propagate --paper-button, but c
Dan Beam
2015/09/22 23:09:55
this is fine for now, I suppose, but we should sta
stevenjb
2015/09/23 17:22:48
I agree that would be better, but it would also me
| |
| 22 }; | |
| 23 } | |
| 24 | |
| 25 :host([lowercase]) paper-button { | |
| 26 --paper-button: { | |
| 27 min-width: auto; /* HACK(dbeam): mixins can't be redefined. */ | |
| 28 text-transform: none; | |
| 29 }; | |
| 30 } | |
| OLD | NEW |