Created
December 5, 2014 15:25
-
-
Save teolemon/1f0b7e8c6ddf22f2e483 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-scroll-header-panel/core-scroll-header-panel.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; | |
background-color: rgb(250, 250, 250); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_scroll_header_panel { | |
width: 100%; | |
height: 100%; | |
left: -6px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(241, 241, 241); | |
fill: rgb(241, 241, 241); | |
background-color: rgb(66, 133, 244); | |
} | |
#section2 { | |
height: 5000px; | |
width: 100%; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_toolbar1 { | |
width: 100%; | |
height: 64px; | |
} | |
#p5 { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action fit> | |
<section id="section" drawer></section> | |
<section id="section1" main> | |
<core-scroll-header-panel headermargin="128" condenses keepcondensedheader headerheight="192" id="core_scroll_header_panel" fit> | |
<core-toolbar id="core_toolbar" class="tall"> | |
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button> | |
<div id="div" flex></div> | |
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button> | |
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button> | |
<div id="div1" class="bottom indent">Title</div> | |
</core-toolbar> | |
<core-toolbar id="core_toolbar1"> | |
<core-icon-button icon="menu" id="core_icon_button3"></core-icon-button> | |
<div id="div2" flex>Submenu Toolbar</div> | |
</core-toolbar> | |
<section id="section2" content> | |
<p id="p">Hello, World</p> | |
<p id="p1">Hello, World</p> | |
<p id="p2">Hello, World</p> | |
<p id="p3">Hello, World</p> | |
<p id="p4">Hello, World</p> | |
<p id="p5">Hello, World</p> | |
<p id="p6">Hello, World</p> | |
<p id="p7">Hello, World</p> | |
<p id="p8">Hello, World</p> | |
<p id="p9">Hello, World</p> | |
<p id="p10">Hello, World</p> | |
<p id="p11">Hello, World</p> | |
<p id="p12">Hello, World</p> | |
<p id="p13">Hello, World</p> | |
<p id="p14">Hello, World</p> | |
<p id="p15">Hello, World</p> | |
<p id="p16">Hello, World</p> | |
<p id="p17">Hello, World</p> | |
<p id="p18">Hello, World</p> | |
<p id="p19">Hello, World</p> | |
<p id="p20">Hello, World</p> | |
<p id="p21">Hello, World</p> | |
<p id="p22">Hello, World</p> | |
<p id="p23">Hello, World</p> | |
<p id="p24">Hello, World</p> | |
<p id="p25">Hello, World</p> | |
<p id="p26">Hello, World</p> | |
<p id="p27">Hello, World</p> | |
<p id="p28">Hello, World</p> | |
<p id="p29">Hello, World</p> | |
<p id="p30">Hello, World</p> | |
<p id="p31">Hello, World</p> | |
<p id="p32">Hello, World</p> | |
<p id="p33">Hello, World</p> | |
<p id="p34">Hello, World</p> | |
<p id="p35">Hello, World</p> | |
<p id="p36">Hello, World</p> | |
<p id="p37">Hello, World</p> | |
<p id="p38">Hello, World</p> | |
<p id="p39">Hello, World</p> | |
</section> | |
</core-scroll-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