Skip to content

Instantly share code, notes, and snippets.

@amits97
Last active August 29, 2015 14:15
Show Gist options
  • Save amits97/4f403a614aeeb9845a68 to your computer and use it in GitHub Desktop.
Save amits97/4f403a614aeeb9845a68 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="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 420px;
height: 630px;
left: 370px;
top: 30px;
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);
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1290px;
top: 500px;
}
#core_field {
left: 1350px;
top: 530px;
}
#core_item {
left: 1350px;
top: 550px;
}
#core_toolbar {
right: 0px;
left: 1360px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 610px;
background-color: rgb(79, 125, 201);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 1370px;
top: 440px;
}
#paper_item {
left: 8px;
top: 20px;
position: absolute;
width: 400px;
height: 80px;
background-color: rgb(255, 255, 255);
}
#paper_item1 {
left: 8px;
top: 120px;
position: absolute;
width: 400px;
height: 90px;
background-color: rgb(255, 255, 255);
}
#section1 {
background-color: rgb(230, 230, 230);
}
</style>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>EXPENSES</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>REPORTS</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-item id="paper_item" icon="settings" label="Item"></paper-item>
<paper-item id="paper_item1" icon="settings" label="Item"></paper-item>
</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