Last active
August 29, 2015 14:10
-
-
Save javi830810/7193c849f9545c2a014b 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-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"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scroll_header_panel { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(241, 241, 241); | |
fill: rgb(241, 241, 241); | |
background-color: rgb(72, 137, 243); | |
} | |
#section { | |
height: 5000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#section1 { | |
left: 320px; | |
top: 188px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
left: 30%; | |
top: 100%; | |
position: absolute; | |
} | |
#core_icon_button { | |
left: 70%; | |
top: 100%; | |
position: absolute; | |
} | |
</style> | |
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel" horizontal layout> | |
<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> | |
<input id="input" placeholder="type something..." is="core-input"> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
</core-toolbar> | |
<section id="section" content> | |
<section id="section1"></section> | |
</section> | |
</core-scroll-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