| OLD | NEW |
| (Empty) |
| 1 /* | |
| 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.g
ithub.io/LICENSE.txt | |
| 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
| 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | |
| 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/PATEN
TS.txt | |
| 8 */ | |
| 9 | |
| 10 :host { | |
| 11 display: block; | |
| 12 position: relative; | |
| 13 min-height: 40px; | |
| 14 white-space: nowrap; | |
| 15 } | |
| 16 | |
| 17 :host(.font-scalable) { | |
| 18 min-height: 2.5em; | |
| 19 } | |
| 20 | |
| 21 :host(.core-selected) { | |
| 22 font-weight: bold; | |
| 23 } | |
| 24 | |
| 25 #icon { | |
| 26 margin: 0 16px 0 4px; | |
| 27 } | |
| 28 | |
| 29 :host(.font-scalable) #icon { | |
| 30 margin: 0 1em 0 0.25em; | |
| 31 height: 1.5em; | |
| 32 width: 1.5em; | |
| 33 } | |
| 34 | |
| 35 polyfill-next-selector { content: ':host > a'; } | |
| 36 ::content > a { | |
| 37 position: absolute; | |
| 38 top: 0; | |
| 39 right: 0; | |
| 40 bottom: 0; | |
| 41 left: 0; | |
| 42 /* IE10 styling to ensure link is clickable. Cannot be completely | |
| 43 transparent or minifiers change it to `transparent` which does not work. */ | |
| 44 background-color: rgba(0, 0, 0, 0.000001); | |
| 45 } | |
| OLD | NEW |