OLD | NEW |
1 <!-- | 1 /* |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 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 | 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 | 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 | 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 | 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 | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 --> | 8 */ |
9 | 9 |
10 <link rel="import" href="layout.html"> | 10 :host { |
| 11 display: block; |
| 12 width: 12px; |
| 13 background: #efefef url(handle.svg) no-repeat center; |
| 14 box-shadow: inset 0 0 2px 1px #ccc; |
| 15 cursor: col-resize; |
| 16 } |
11 | 17 |
12 <script src="polymer.js"></script> | 18 :host(.horizontal) { |
13 <!--<link rel="import" href="../polymer-dev/polymer.html">--> | 19 width: auto; |
| 20 height: 12px; |
| 21 cursor: row-resize; |
| 22 background-image: url(handle-h.svg); |
| 23 } |
| 24 |
| 25 :host(:hover, :active) { |
| 26 background-color: #ddd; |
| 27 } |
OLD | NEW |