Skip to content

Instantly share code, notes, and snippets.

@abshingate
Last active August 29, 2015 14:18
Show Gist options
  • Save abshingate/600b267290c1377cb765 to your computer and use it in GitHub Desktop.
Save abshingate/600b267290c1377cb765 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.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;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_toolbar1 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 60px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 120px;
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>
<core-toolbar id="core_toolbar">
<div id="div" flex>DataMetica</div>
</core-toolbar>
<core-toolbar id="core_toolbar1">
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button>
<div id="div1" flex>Toolbar</div>
</core-toolbar>
<section id="section" horizontal layout flex>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal flex layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
</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