Skip to content

Instantly share code, notes, and snippets.

@willemmulder
Created July 18, 2014 14:04
Show Gist options
  • Save willemmulder/dfb9e44cf0852a5c2fd0 to your computer and use it in GitHub Desktop.
Save willemmulder/dfb9e44cf0852a5c2fd0 to your computer and use it in GitHub Desktop.
designer
<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="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-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: 1020px;
top: 110px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#section1 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<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_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>
<section id="section" content>
<section id="section1" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section2" flex relative>
<paper-slider immediatevalue="0" id="paper_slider"></paper-slider>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
</section>
</section>
</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