Last active
August 29, 2015 14:24
-
-
Save Thanood/7d0bf0709db4524bac17 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<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="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.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_drawer_panel { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#section { | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
background-color: rgb(250, 250, 250); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_header_panel { | |
width: auto; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: relative; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section2 { | |
height: 500px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_header_panel1 { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar1 { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section3 { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#div2 { | |
left: 864px; | |
top: 796px; | |
position: absolute; | |
} | |
#paper_fab { | |
right: 20px; | |
bottom: 20px; | |
position: absolute; | |
} | |
#section4 { | |
width: 100%; | |
height: 100%; | |
border: 5px solid rgb(204, 204, 204); | |
left: 0px; | |
top: 0px; | |
position: relative; | |
} | |
#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-drawer-panel transition id="core_drawer_panel" touch-action> | |
<section id="section1" main> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button" paper-drawer-toggle></core-icon-button> | |
<div id="div">Header</div> | |
</core-toolbar> | |
<section id="section2"> | |
<paper-fab icon="add" id="paper_fab"></paper-fab> | |
<section id="section4" layout vertical> | |
<paper-tabs noink selected="0" selectedindex="0" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section5" flex relative> | |
</section> | |
</section> | |
</section> | |
</core-header-panel> | |
</section> | |
<section id="section" drawer> | |
<core-header-panel mode="standard" id="core_header_panel1"> | |
<core-toolbar id="core_toolbar1"> | |
<div id="div1">Menu</div> | |
</core-toolbar> | |
<section id="section3"></section> | |
</core-header-panel> | |
</section> | |
</core-drawer-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