2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
11 display: inline-block
;
12 box-sizing: border-box
;
13 -moz-box-sizing: border-box
;
15 -moz-user-select: none
;
16 -webkit-user-select: none
;
20 vertical-align: middle
;
31 box-shadow: 0 0 0 1px rgba
(0, 0, 0, 0.1);
34 :host
(:hover:not
([disabled
])) {
35 box-shadow: 0 1px 0 0 rgba
(0, 0, 0, 0.12), 0 0 0 1px rgba
(0, 0, 0, 0.1);
38 :host
(.selected:not
([disabled
])) {
39 background-color: rgba
(0, 0, 0, 0.05);
40 box-shadow: inset
0 1px 0 0 rgba
(0, 0, 0, 0.05), 0 0 0 1px rgba
(0, 0, 0, 0.12);
43 :host
(:active:not
([disabled
]), .selected:active:not
([disabled
])) {
44 background-color: rgba
(0, 0, 0, 0.05);
45 box-shadow: inset
0 1px 0 0 rgba
(0, 0, 0, 0.1), 0 0 0 1px rgba
(0, 0, 0, 0.12);
48 :host
(.core-dark-theme
.outline
) {
49 background-color: rgba
(200, 200, 200, 0.05);
50 box-shadow: 0 0 0 1px rgba
(200, 200, 200, 0.1);
53 :host
(.core-dark-theme:hover
) {
54 background-color: rgba
(200, 200, 200, 0.05);
55 box-shadow: 0 1px 0 0 rgba
(200, 200, 200, 0.12), 0 0 0 1px rgba
(200, 200, 200, 0.1);
58 :host
(.core-dark-theme
.selected
) {
59 background-color: rgba
(220, 220, 220, 0.05);
60 box-shadow: inset
0 1px 0 0 rgba
(200, 200, 200, 0.05), 0 0 0 1px rgba
(200, 200, 200, 0.12);
63 :host
(.core-dark-theme:active
, .core-dark-theme
.selected:active
) {
64 background-color: rgba
(200, 200, 200, 0.05);
65 box-shadow: inset
0 1px 0 0 rgba
(200, 200, 200, 0.1), 0 0 0 1px rgba
(200, 200, 200, 0.12);
72 /* note: this is a polyfill aware selector */
73 :host ::content
> :not
(core-icon
) {