Skip to content

Instantly share code, notes, and snippets.

@irshadc
Last active August 29, 2015 14:09
Show Gist options
  • Save irshadc/a201816c8f4486e424e8 to your computer and use it in GitHub Desktop.
Save irshadc/a201816c8f4486e424e8 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 840px;
height: 680px;
border: 5px solid rgb(204, 204, 204);
left: 50px;
top: 50px;
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);
}
#section1 {
opacity: 0;
}
#paper_input {
left: 45px;
top: 27px;
position: absolute;
}
#paper_button {
left: 1580px;
top: 610px;
}
#paper_checkbox {
left: -55px;
top: -103px;
position: absolute;
}
#paper_tab {
width: 120px;
height: 40px;
left: 305px;
top: 297px;
position: absolute;
}
</style>
<section id="section" vertical layout>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>Select Patient</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>PV Information</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>Reporter Info</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>Comments</paper-tab>
<paper-tab id="paper_tab5" inline flex center-center horizontal layout>Review</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-input label="Type something..." id="paper_input"></paper-input>
</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