Skip to content

Instantly share code, notes, and snippets.

@S3ak
Created July 25, 2014 06:01
Show Gist options
  • Save S3ak/2604826732fe9bcb4599 to your computer and use it in GitHub Desktop.
Save S3ak/2604826732fe9bcb4599 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-ripple/paper-ripple.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: 70px;
top: 10px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: -120px;
top: 60px;
position: absolute;
}
#speech_mic {
left: 340px;
top: 100px;
position: absolute;
}
#paper_button {
left: 190px;
top: 120px;
position: absolute;
}
#paper_checkbox {
left: 290px;
top: 400px;
position: absolute;
}
#paper_fab {
left: 150px;
top: 230px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 30px;
top: 150px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_ripple {
width: 300px;
height: 300px;
left: 20px;
top: 450px;
position: absolute;
}
</style>
<core-menu selected="0" id="core_menu">
</core-menu>
<chart-js kind="Line" id="chart_js"></chart-js>
<speech-mic id="speech_mic"></speech-mic>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<paper-ripple id="paper_ripple"></paper-ripple>
</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