Skip to content

Instantly share code, notes, and snippets.

@sujith3g
Created August 7, 2015 07:21
Show Gist options
  • Save sujith3g/58996f553d526d1b025f to your computer and use it in GitHub Desktop.
Save sujith3g/58996f553d526d1b025f 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="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 340px;
height: 400px;
left: 300px;
top: 70px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(0, 125, 214);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: -4px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#core_pages {
width: 100%;
height: 400px;
border: 1px solid silver;
left: 0px;
top: 0px;
position: relative;
display: block;
}
#section1 {
left: 19px;
top: 5px;
position: absolute;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">MY PRODUCT</div>
</core-toolbar>
<section id="section">
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>Sign In</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Sign Up</paper-tab>
</paper-tabs>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section2" active>
<section id="section1">Page One</section>
</section>
</core-pages>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment