Last active
September 28, 2015 04:11
-
-
Save andyfinity/d1db295962df611d0c08 to your computer and use it in GitHub Desktop.
designer
This file contains 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-scroll-header-panel/core-scroll-header-panel.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
width: 100%; | |
height: 5000px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
position: relative; | |
background-color: rgb(255, 255, 255); | |
} | |
#input { | |
padding: 15px; | |
} | |
#core_scroll_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(241, 241, 241); | |
fill: rgb(241, 241, 241); | |
left: 0px; | |
top: 0px; | |
background-color: rgb(66, 133, 244); | |
} | |
#section { | |
padding: 20px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_drawer_panel { | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#section1 { | |
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); | |
} | |
#section2 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
} | |
#core_toolbar1 { | |
color: rgb(255, 255, 255); | |
background-color: rgb(105, 105, 105); | |
} | |
</style> | |
<core-drawer-panel transition id="core_drawer_panel" touch-action> | |
<section id="section1" drawer> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar1"> | |
<div id="div2">Header</div> | |
</core-toolbar> | |
</core-header-panel> | |
</section> | |
<section id="section2" main> | |
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel"> | |
<section id="section" content center vertical layout> | |
<core-card id="core_card" layout vertical> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<input id="input" placeholder="Search..." is="core-input"> | |
</core-field> | |
</core-card> | |
</section> | |
<core-toolbar id="core_toolbar" class="tall"> | |
<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-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