Skip to content

Instantly share code, notes, and snippets.

@vinyll
Last active August 29, 2015 14:19
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 vinyll/08f63681e5be393b8c2e to your computer and use it in GitHub Desktop.
Save vinyll/08f63681e5be393b8c2e 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-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.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">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 280px;
top: 70px;
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);
}
#paper_tab1 {
opacity: 1;
}
#section4 {
left: 790px;
top: 550px;
position: absolute;
}
#section7 {
left: 810px;
top: 550px;
position: absolute;
}
#section8 {
left: 30px;
top: 10px;
position: absolute;
}
#section9 {
left: 490px;
top: 80px;
position: absolute;
}
#core_field {
left: 770px;
top: 400px;
position: absolute;
}
#paper_button {
background-color: rgb(75, 185, 209);
}
</style>
<section id="section4"></section>
<section id="section7"></section>
<section id="section9">
<section id="search_page" layout horizontal center center-justified>
</section>
</section>
<section id="section" vertical layout>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="search_tab" flex active inline center-center horizontal layout>Search</paper-tab>
<paper-tab id="admin_tab" inline flex center-center horizontal layout>Admin</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-input label="Disease" floatinglabel id="paper_input" vertical layout end-justified></paper-input>
<paper-input label="User / organisation / event" floatinglabel id="paper_input1" vertical layout></paper-input>
<paper-button id="paper_button" center center-justified horizontal layout>Save relationship</paper-button>
</section>
</section>
<core-field id="core_field" icon="select" theme="core-light-theme" center horizontal layout>
<core-input id="core_input" flex></core-input>
</core-field>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment