OLD | NEW |
(Empty) | |
| 1 /* |
| 2 Copyright 2013 The Polymer Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style |
| 4 license that can be found in the LICENSE file. |
| 5 */ |
| 6 :host { |
| 7 display: inline-block; |
| 8 box-sizing: border-box; |
| 9 -moz-box-sizing: border-box; |
| 10 width: 38px; |
| 11 height: 38px; |
| 12 background-image: none; |
| 13 border-radius: 2px; |
| 14 padding: 7px; |
| 15 margin: 2px; |
| 16 vertical-align: middle; |
| 17 cursor: pointer; |
| 18 } |
| 19 |
| 20 :host(.outline:host) { |
| 21 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); |
| 22 } |
| 23 |
| 24 :host(:hover:host) { |
| 25 box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.1); |
| 26 } |
| 27 |
| 28 :host(.selected:host) { |
| 29 background-color: rgba(0, 0, 0, 0.05); |
| 30 box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.12)
; |
| 31 } |
| 32 |
| 33 :host(:active:host, .selected:active:host) { |
| 34 background-color: rgba(0, 0, 0, 0.05); |
| 35 box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.12); |
| 36 } |
| 37 |
| 38 :host(.polymer-ui-dark-theme.outline:host) { |
| 39 background-color: rgba(200, 200, 200, 0.05); |
| 40 box-shadow: 0 0 0 1px rgba(200, 200, 200, 0.1); |
| 41 } |
| 42 |
| 43 :host(.polymer-ui-dark-theme:hover:host) { |
| 44 background-color: rgba(200, 200, 200, 0.05); |
| 45 box-shadow: 0 1px 0 0 rgba(200, 200, 200, 0.12), 0 0 0 1px rgba(200, 200, 200,
0.1); |
| 46 } |
| 47 |
| 48 :host(.polymer-ui-dark-theme.selected:host) { |
| 49 background-color: rgba(220, 220, 220, 0.05); |
| 50 box-shadow: inset 0 1px 0 0 rgba(200, 200, 200, 0.05), 0 0 0 1px rgba(200, 200
, 200, 0.12); |
| 51 } |
| 52 |
| 53 :host(.polymer-ui-dark-theme:active:host, .polymer-ui-dark-theme.selected:active
:host) { |
| 54 background-color: rgba(200, 200, 200, 0.05); |
| 55 box-shadow: inset 0 1px 0 0 rgba(200, 200, 200, 0.1), 0 0 0 1px rgba(200, 200,
200, 0.12); |
| 56 } |
| 57 |
| 58 polymer-ui-icon { |
| 59 display: block !important; |
| 60 } |
OLD | NEW |