Skip to content

Instantly share code, notes, and snippets.

@waldemarnt
Last active August 29, 2015 14:17
Show Gist options
  • Save waldemarnt/d3cc873aedb4c33a44dc to your computer and use it in GitHub Desktop.
Save waldemarnt/d3cc873aedb4c33a44dc to your computer and use it in GitHub Desktop.
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../paper-tabs/paper-tabs.html" rel="import">
<link href="../paper-tabs/paper-tab.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 1570px;
height: 910px;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), lightblue) repeat scroll 0% 0% transparent;
}
#section1 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 590px;
top: 66px;
position: absolute;
}
#paper_tabs {
background-color: rgb(0, 188, 212);
color: rgb(255, 255, 255);
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section">
<section id="section1" vertical layout>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" layout center horizontal>
<paper-tab id="paper_tab" layout horizontal center-center flex inline active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" layout horizontal center-center flex inline>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section2" relative flex>
</section>
</section>
</section>
</core-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