OLD | NEW |
1 /* | 1 /* |
2 * @license | 2 * @license |
3 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 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 | 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 | 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 | 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 | 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 | 8 * subject to an additional IP rights grant found at http://polymer.github.io/PA
TENTS.txt |
9 */ | 9 */ |
10 | 10 |
11 :host { | 11 :host { |
12 display: block; | 12 display: block; |
13 position: relative; | 13 position: relative; |
14 } | 14 } |
15 | 15 |
16 polyfill-next-selector { content: ':host > *'; } | 16 polyfill-next-selector { content: ':host > *'; } |
17 ::content > * { | 17 ::content > * { |
18 position: absolute; | 18 position: absolute; |
19 top: 0; | 19 top: 0; |
20 right: 0; | 20 right: 0; |
21 bottom: 0; | 21 bottom: 0; |
22 left: 0; | 22 left: 0; |
23 } | 23 } |
24 | 24 |
25 polyfill-next-selector { content: ':host > *:not(.core-selected):not([animate])'
; } | 25 polyfill-next-selector { content: ':host > *:not(.core-selected):not([animate])'
; } |
26 ::content > *:not(.core-selected):not([animate]) { | 26 ::content > *:not(.core-selected):not([animate]) { |
27 display: none !important; | 27 display: none !important; |
28 } | 28 } |
OLD | NEW |