Last active
August 29, 2015 14:03
-
-
Save paulthegeek/744ec5e298488887a373 to your computer and use it in GitHub Desktop.
AppBar
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-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="../paper-icon-button/paper-icon-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scroll_header_panel { | |
width: 380px; | |
height: 460px; | |
left: 2310px; | |
top: 880px; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 310px; | |
top: 100px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_header_panel1 { | |
width: 300px; | |
height: 400px; | |
left: 2290px; | |
top: 920px; | |
} | |
#middle { | |
margin-left: 2rem; | |
} | |
#right { | |
margin-left: 2rem; | |
} | |
</style> | |
<core-header-panel mode="waterfall" id="core_header_panel"> | |
<section id="section"> | |
<core-toolbar id="core_toolbar" horizontal layout> | |
<div id="left"> | |
<paper-icon-button icon="menu" id="menu_button"></paper-icon-button> | |
</div> | |
<div id="middle"> | |
<h3 id="h3">Publishers</h3> | |
</div> | |
<div id="right"> | |
<paper-icon-button icon="search" id="search_button"></paper-icon-button> | |
</div> | |
</core-toolbar> | |
</section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment