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-menubar-behavior.html"> | 12 <link rel="import" href="../iron-menubar-behavior.html"> |
| 13 <link rel="import" href="../../paper-styles/color.html"> |
13 | 14 |
14 <dom-module id="simple-menubar"> | 15 <dom-module id="simple-menubar"> |
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-red-500); |
20 } | 22 } |
21 | 23 |
22 .content ::content > * { | 24 .content ::content > * { |
23 display: inline-block; | 25 display: inline-block; |
24 } | 26 } |
25 | 27 |
26 </style> | 28 </style> |
27 | 29 |
28 <template> | 30 <template> |
29 | 31 |
(...skipping 15 matching lines...) Expand all Loading... |
45 | 47 |
46 behaviors: [ | 48 behaviors: [ |
47 Polymer.IronMenubarBehavior | 49 Polymer.IronMenubarBehavior |
48 ] | 50 ] |
49 | 51 |
50 }); | 52 }); |
51 | 53 |
52 })(); | 54 })(); |
53 | 55 |
54 </script> | 56 </script> |
OLD | NEW |