Created
July 18, 2014 08:26
-
-
Save iurev/432a33af295e47489ff4 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-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-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_icon_button { | |
left: 30px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_field { | |
left: 250px; | |
top: 180px; | |
position: absolute; | |
} | |
#core_scroll_header_panel { | |
width: 380px; | |
height: 460px; | |
left: 100px; | |
top: 90px; | |
position: absolute; | |
} | |
#core_toolbar { | |
background-color: rgb(66, 133, 244); | |
color: rgb(241, 241, 241); | |
fill: #f1f1f1; | |
} | |
#section { | |
height: 5000px; | |
background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
</style> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
<core-scroll-header-panel condenses headerheight="192" condensedheaderheight="64" id="core_scroll_header_panel"> | |
<core-toolbar id="core_toolbar" class="tall"> | |
<core-icon-button icon="arrow-back" id="core_icon_button1"></core-icon-button> | |
<div id="div" flex></div> | |
<core-icon-button active icon="search" id="core_icon_button2" class="selected"></core-icon-button> | |
<core-icon-button icon="more-vert" id="core_icon_button3"></core-icon-button> | |
<div id="div1" class="bottom indent">Title</div> | |
</core-toolbar> | |
<section id="section" content></section> | |
</core-scroll-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