1<!-- 2@license 3Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 4This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 5The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 6The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 7Code distributed by Google as part of the polymer project is also 8subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 9--> 10 11<link rel="import" href="../../polymer/polymer.html"> 12<link rel="import" href="../iron-menubar-behavior.html"> 13<link rel="import" href="../../paper-styles/color.html"> 14 15<dom-module id="simple-menubar"> 16 <template> 17 <style> 18 .content ::content > .iron-selected { 19 color: white; 20 background-color: var(--google-red-500); 21 } 22 23 .content ::content > * { 24 display: inline-block; 25 } 26 </style> 27 28 <div class="content"> 29 <content></content> 30 </div> 31 32 </template> 33 34</dom-module> 35 36<script> 37 38(function() { 39 40 Polymer({ 41 42 is: 'simple-menubar', 43 44 behaviors: [ 45 Polymer.IronMenubarBehavior 46 ] 47 48 }); 49 50})(); 51 52</script> 53