OLD | NEW |
| (Empty) |
1 /* | |
2 * @license | |
3 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
4 * This code may only be used under the BSD style license found at http://polyme
r.github.io/LICENSE.txt | |
5 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.
txt | |
6 * The complete set of contributors may be found at http://polymer.github.io/CON
TRIBUTORS.txt | |
7 * Code distributed by Google as part of the polymer project is also | |
8 * subject to an additional IP rights grant found at http://polymer.github.io/PA
TENTS.txt | |
9 */ | |
10 | |
11 :host { | |
12 position: relative; | |
13 display: inline-block; | |
14 background-color: #fff; | |
15 -moz-user-select: none; | |
16 -ms-user-select: none; | |
17 -webkit-user-select: none; | |
18 user-select: none; | |
19 cursor: pointer; | |
20 padding: 0.75em 0; | |
21 } | |
22 | |
23 #control { | |
24 box-sizing: border-box; | |
25 max-height: 2em; | |
26 color: #757575; | |
27 border-bottom: 1px solid #757575; | |
28 } | |
29 | |
30 #control[selected] { | |
31 color: #000; | |
32 } | |
33 | |
34 #control > div { | |
35 padding: 0.5em 0 0.25em; | |
36 overflow: hidden; | |
37 /* FIXME not working for some reason */ | |
38 white-space: nowrap; | |
39 text-overflow: ellipsis; | |
40 } | |
41 | |
42 core-icon { | |
43 margin: 0.3em 0 0.2em 0.25em; | |
44 } | |
45 | |
46 #dropdown { | |
47 margin: 12px; | |
48 } | |
49 | |
50 #menu { | |
51 padding: 8px 0; | |
52 margin: 0; | |
53 } | |
54 | |
55 .menu-container { | |
56 overflow: auto; | |
57 max-height: 100%; | |
58 max-width: 100%; | |
59 } | |
OLD | NEW |