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 display: block; | |
13 overflow: auto; | |
14 outline: none; | |
15 } | |
16 | |
17 .core-list-viewport > * { | |
18 overflow: hidden; | |
19 } | |
20 | |
21 .core-list-viewport.horizontal { | |
22 height: 100%; | |
23 white-space: nowrap; | |
24 } | |
25 | |
26 .core-list-viewport.horizontal > * { | |
27 display: inline-block; | |
28 } | |
29 | |
30 /* Setting will-change: transform on the #viewport makes the viewport a | |
31 stacking context, which causes all the composited layers inside the | |
32 viewport to actually be stacked underneath the viewport. */ | |
33 #viewport { | |
34 will-change: transform; | |
35 } | |
OLD | NEW |