Skip to content

Instantly share code, notes, and snippets.

@jimbok8
Last active March 11, 2016 10:07
Show Gist options
  • Save jimbok8/ae835b5497d6d7390aba to your computer and use it in GitHub Desktop.
Save jimbok8/ae835b5497d6d7390aba to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 140px;
top: 150px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 20px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 20px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#paper_button {
left: 140px;
top: 300px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 270px;
top: 90px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_input {
left: 25px;
top: 47px;
position: absolute;
}
#paper_progress {
left: 95px;
top: 137px;
position: absolute;
}
</style>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu active id="core_submenu" icon="settings" label="Topics" vertical layout>
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>MyToolbar</div>
</core-toolbar>
<paper-button id="paper_button">button</paper-button>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-input label="Type something..." value="zxczxczxczc\" committedvalue="zxczxczxczc\" id="paper_input"></paper-input>
<paper-progress id="paper_progress"></paper-progress>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment