Skip to content

Instantly share code, notes, and snippets.

@fernandosanchezjr
Last active August 29, 2015 14:07
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 fernandosanchezjr/ca131d5577ed16052cf7 to your computer and use it in GitHub Desktop.
Save fernandosanchezjr/ca131d5577ed16052cf7 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="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel {
right: 0px;
bottom: 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(221, 221, 221);
}
#core_header_panel {
height: 100%;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(0, 0, 0);
}
#paper_tabs {
color: rgb(0, 0, 0);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
width: 100%;
background-color: rgb(250, 250, 250);
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<span id="span" flex>NebriOS</span>
<span id="span1">Welcome, fernando</span>
<paper-icon-button icon="more-vert" id="morebutton"></paper-icon-button>
</core-toolbar>
<section id="section">
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="section" drawer>
<paper-tabs selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">
<core-icon icon="home" id="core_icon"></core-icon>
</paper-tab>
<paper-tab id="paper_tab1" active>
<core-icon icon="settings" id="core_icon1" active></core-icon>
</paper-tab>
</paper-tabs>
</section>
<section id="section1" main></section>
</core-drawer-panel>
</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