Last active
August 29, 2015 14:06
-
-
Save OndrejValenta/155bc995f11b53901269 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../core-scaffold/core-scaffold.html" rel="import"> | |
<link href="../core-header-panel/core-header-panel.html" rel="import"> | |
<link href="../core-menu/core-menu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
left: 0px; | |
top: 0px; | |
width: 100%; | |
height: 100%; | |
right: 0px; | |
bottom: 0px; | |
position: absolute; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" flex navigation> | |
<core-toolbar id="core_toolbar"></core-toolbar> | |
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" layout icon="settings" center horizontal label="Item1" active></core-item> | |
<core-item id="core_item1" layout icon="settings" center horizontal label="Item2"></core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<section id="section1"> | |
<h1 id="h1">Hello world</h1> | |
</section> | |
<section id="section2"> | |
<h1 id="h1">Hello world again but from the second page</h1> | |
</section> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment