Skip to content

Instantly share code, notes, and snippets.

@javierguerragiraldez
Created June 25, 2014 21:46
Show Gist options
  • Save javierguerragiraldez/9abccbf8f84bc7d57f9e to your computer and use it in GitHub Desktop.
Save javierguerragiraldez/9abccbf8f84bc7d57f9e to your computer and use it in GitHub Desktop.
designer
<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-tab.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 200px;
top: 260px;
position: absolute;
}
#paper_checkbox {
left: 160px;
top: 340px;
position: absolute;
}
#paper_fab {
left: 270px;
top: 400px;
position: absolute;
}
#div {
left: 320px;
top: 180px;
position: absolute;
}
#paper_tab {
width: 120px;
height: 40px;
left: 350px;
top: 310px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 100px;
top: 490px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</style>
<paper-button label="Paper Button" raisedbutton 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>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab1"></paper-fab>
</div>
<paper-tab id="paper_tab">TAB</paper-tab>
<paper-tabs selected="4" selectedindex="4" id="paper_tabs">
<paper-tab id="paper_tab1">ITEM ONE</paper-tab>
<paper-tab id="paper_tab2">ITEM TWO</paper-tab>
<paper-tab id="paper_tab3">ITEM THREE</paper-tab>
<paper-tab id="paper_tab4">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab5" active>ITEM FIVE</paper-tab>
</paper-tabs>
</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