Skip to content

Instantly share code, notes, and snippets.

@kyleledbetter
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyleledbetter/c5650a96e1a329cac98d to your computer and use it in GitHub Desktop.
Save kyleledbetter/c5650a96e1a329cac98d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<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">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../chart-js/chart-js.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: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(255, 255, 255);
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 147, 0);
}
#section2 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(255, 255, 255);
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: 16px;
position: absolute;
background-color: rgb(255, 147, 0);
}
#section3 {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(244, 244, 244);
}
#core_card {
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
width: 100%;
margin: 20px 10px 20px 20px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
width: 100%;
margin: 20px 20px 20px 10px;
background-color: rgb(255, 255, 255);
}
#chart_js {
width: 100%;
height: 200px;
}
#core_header_panel1 {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(255, 147, 0);
}
#section4 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)) rgb(255, 255, 255);
}
#paper_input {
left: 25%;
top: 0px;
position: absolute;
width: 68%;
}
#section5 {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
background-color: rgb(241, 241, 241);
}
</style>
<core-drawer-panel transition responsivewidth="1000px" selected="main" narrow id="core_drawer_panel" touch-action="pan-y">
<section id="section" drawer>
<core-header-panel mode="standard" id="core_header_panel1">
<core-toolbar id="core_toolbar1" class="medium-tall">
<div id="div1">MENU</div>
</core-toolbar>
<section id="section4">
<section id="section5"></section>
</section>
</core-header-panel>
</section>
<section id="section1" main>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar" class="medium-tall">
<core-icon-button icon="menu" id="core_icon_button" core-drawer-toggle></core-icon-button>
<div id="div">Teradata Listener</div>
<paper-tabs id="paper_tabs" selected="0" class="bottom fit" flex horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>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>ITEM FIVE</paper-tab>
</paper-tabs>
<paper-input label="search..." id="paper_input"></paper-input>
</core-toolbar>
<section id="section2">
<section id="section3" layout horizontal around-justified>
<core-card id="core_card" layout vertical>
<paper-item disabled id="paper_item" icon="settings" label="Item">Source Activity</paper-item>
<paper-item id="paper_item1" icon="settings" label="Item">TD 1700</paper-item>
<chart-js color="#00aeff" id="chart_js"></chart-js>
</core-card>
<core-card id="core_card1" layout vertical></core-card>
</section>
</section>
</core-header-panel>
</section>
</core-drawer-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