Skip to content

Instantly share code, notes, and snippets.

@baio
Last active August 29, 2015 14:09
Show Gist options
  • Save baio/384311454ed0e8e36ec5 to your computer and use it in GitHub Desktop.
Save baio/384311454ed0e8e36ec5 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-header-panel/core-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;
}
#core_drawer_panel {
position: absolute;
top: 320px;
right: 0px;
bottom: 0px;
left: 730px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 400px;
top: 260px;
position: absolute;
background-color: rgb(250, 250, 250);
}
#core_header_panel {
width: 700px;
height: 430px;
left: 150px;
top: 130px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 60px;
top: 270px;
position: absolute;
background-color: rgb(0, 188, 212);
}
</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>
<paper-tabs selected="4" selectedindex="4" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout active>ITEM FIVE</paper-tab>
</paper-tabs>
</core-toolbar>
</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