Skip to content

Instantly share code, notes, and snippets.

@SayChunKim
Last active August 29, 2015 14:07
Show Gist options
  • Save SayChunKim/e8e797fd37ef0256bcfb to your computer and use it in GitHub Desktop.
Save SayChunKim/e8e797fd37ef0256bcfb 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="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.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: -580px;
right: 0px;
bottom: 0px;
left: 10px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_card {
position: absolute;
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;
left: 1330px;
top: 530px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel1 {
position: absolute;
top: 580px;
right: 0px;
bottom: 0px;
left: 1280px;
}
#core_header_panel {
width: 890px;
height: 690px;
left: 4px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section2 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_menu {
font-size: 16px;
left: 32px;
top: 122px;
position: absolute;
}
#core_icon {
left: 818px;
top: 20px;
position: absolute;
}
#core_submenu {
left: 40px;
top: 140px;
position: absolute;
}
#section3 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: -4px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="section1" main>
<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">Welcome To MyHealthDriver.Com</div>
<core-icon icon="search" id="core_icon"></core-icon>
</core-toolbar>
<section id="section2">
<section id="section3" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section4" flex relative>
</section>
</section>
</section>
</core-header-panel>
</section>
<section id="section" drawer>
<core-menu selected="0" id="core_menu">
</core-menu>
<core-submenu opened active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout>Home</core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout active>About MHD</core-item>
</core-submenu>
</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