OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.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/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.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/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 | 10 |
11 <link rel="import" href="../../polymer/polymer.html"> | 11 <link rel="import" href="../../polymer/polymer.html"> |
12 <link rel="import" href="../iron-menu-behavior.html"> | 12 <link rel="import" href="../iron-menu-behavior.html"> |
| 13 <link rel="import" href="../../paper-styles/color.html"> |
13 | 14 |
14 <dom-module id="simple-menu"> | 15 <dom-module id="simple-menu"> |
15 | 16 |
16 <style> | 17 <style> |
17 | 18 |
18 .content ::content > .iron-selected { | 19 .content ::content > .iron-selected { |
19 color: red; | 20 color: white; |
| 21 background-color: var(--google-blue-500); |
20 } | 22 } |
21 | 23 |
22 </style> | 24 </style> |
23 | 25 |
24 <template> | 26 <template> |
25 | 27 |
26 <div class="content"> | 28 <div class="content"> |
27 <content></content> | 29 <content></content> |
28 </div> | 30 </div> |
29 | 31 |
(...skipping 11 matching lines...) Expand all Loading... |
41 | 43 |
42 behaviors: [ | 44 behaviors: [ |
43 Polymer.IronMenuBehavior | 45 Polymer.IronMenuBehavior |
44 ] | 46 ] |
45 | 47 |
46 }); | 48 }); |
47 | 49 |
48 })(); | 50 })(); |
49 | 51 |
50 </script> | 52 </script> |
OLD | NEW |