Skip to content

Instantly share code, notes, and snippets.

@mheiber
Created August 14, 2014 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mheiber/63240e9a327d9771af05 to your computer and use it in GitHub Desktop.
Save mheiber/63240e9a327d9771af05 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-input/paper-input.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_checkbox {
left: 450px;
top: 120px;
position: absolute;
}
#paper_fab {
left: 530px;
top: 230px;
position: absolute;
}
#div {
left: 580px;
top: 370px;
position: absolute;
}
#paper_input {
left: 600px;
top: 220px;
position: absolute;
}
#paper_button {
left: 450px;
top: 460px;
position: absolute;
}
#paper_calculator1 {
width: 400px;
height: 560px;
left: 840px;
top: 490px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 20px;
top: 20px;
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);
}
</style>
<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-input id="paper_input" label="Type something..."></paper-input>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<section id="section" layout vertical>
<paper-tabs id="paper_tabs" selected="0" noink nobar>
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</section>
</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