Skip to content

Instantly share code, notes, and snippets.

@mkhatib
Created August 17, 2014 09:12
Show Gist options
  • Save mkhatib/cdb1c9aff30563192175 to your computer and use it in GitHub Desktop.
Save mkhatib/cdb1c9aff30563192175 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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_categories {
width: 300px;
height: 300px;
left: 1150px;
top: 520px;
}
#section {
left: 760px;
top: 310px;
position: absolute;
}
#core_scroll_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section1 {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_card {
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<section id="section"></section>
<core-scroll-header-panel condenses headerheight="192" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button id="core_icon_button" icon="arrow-back"></core-icon-button>
<div id="div1">Solve for X</div>
<div id="div" flex></div>
<core-icon-button id="core_icon_button1" icon="search"></core-icon-button>
<core-icon-button id="core_icon_button2" icon="more-vert"></core-icon-button>
<paper-tabs id="paper_tabs" flex ten selected="0" class="bottom">
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" active>ITEM FIVE</paper-tab>
</paper-tabs>
</core-toolbar>
<section id="section1" content>
<core-card id="core_card" layout vertical></core-card>
</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