Skip to content

Instantly share code, notes, and snippets.

@BLamy
Last active August 29, 2015 14:14
Show Gist options
  • Save BLamy/de79b009111daa6642d8 to your computer and use it in GitHub Desktop.
Save BLamy/de79b009111daa6642d8 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-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu_button {
left: 1130px;
top: 570px;
}
#core_menu {
font-size: 16px;
left: 22px;
top: 152px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1190px;
top: 590px;
}
#core_toolbar {
background-color: rgb(34, 180, 118);
}
#title {
color: white;
}
#menu_button {
color: rgb(8, 81, 45);
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#sidebar {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(116, 136, 148);
}
#main_content {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_toolbar1 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_ajax {
left: 1420px;
top: 470px;
}
#core_toolbar2 {
right: 0px;
left: 1470px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 620px;
background-color: rgb(79, 125, 201);
}
#sidebar_header {
background-color: rgb(74, 92, 104);
}
#core_card {
position: absolute;
width: 300px;
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;
left: 990px;
top: 290px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel1 {
position: absolute;
top: 340px;
right: 0px;
bottom: 0px;
left: 1050px;
}
#section {
left: 1020px;
top: 420px;
}
</style>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
<section id="sidebar" drawer>
<core-toolbar id="sidebar_header">
<core-image src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpf1/v/t1.0-1/c21.21.262.262/s50x50/27089_378446060298_7515727_n.jpg?oh=dbf651551b02b1c2b2adba7b930502bc&oe=55656F88&__gda__=1431353529_5d2b7b2be8961c2b9354380ee3b7d042"></core-image>
</core-toolbar>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="designated_driver" label="Favorites">
<core-item id="core_item4" label="Favorite 1" icon="settings" horizontal center layout></core-item>
<core-item id="core_item5" label="Favorite 2" icon="settings" horizontal center layout></core-item>
<core-item id="core_item6" label="Favorite 3" icon="settings" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="brother_resources" label="Favorites">
<core-item id="core_item4" label="Favorite 1" icon="settings" horizontal center layout></core-item>
<core-item id="core_item5" label="Favorite 2" icon="settings" horizontal center layout></core-item>
<core-item id="core_item6" label="Favorite 3" icon="settings" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="admin" label="Favorites">
<core-item id="core_item4" label="Favorite 1" icon="settings" horizontal center layout></core-item>
<core-item id="core_item5" label="Favorite 2" icon="settings" horizontal center layout></core-item>
<core-item id="core_item6" label="Favorite 3" icon="settings" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
<section id="main_content" main>
<core-toolbar id="core_toolbar">
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<div id="title" flex>ΦΚΤ Designated Driver</div>
<paper-menu-button>
<paper-icon-button icon="more-vert" id="paper_icon_button1"></paper-icon-button>
<paper-drop-down halign="right">
</paper-drop-down>
</paper-menu-button>
</core-toolbar>
</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