Created
June 25, 2014 21:01
-
-
Save lifedraft/9a9b12380d2294682d91 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 rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 480px; | |
top: 150px; | |
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); | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
} | |
#section2 { | |
left: 130px; | |
top: 270px; | |
position: absolute; | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="paper_tab" active>Home</paper-tab> | |
<paper-tab id="paper_tab1">Kneipen</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast2" class="core-transition core-transition-bottom"></paper-toast> | |
<core-pages multi selectedindex="0" notap id="core_pages" selected="0"> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout active> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
</core-pages> | |
<chart-js kind="Line" id="chart_js"></chart-js> | |
</section> | |
</section> | |
<section id="section2"> | |
</section> | |
</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