Skip to content

Instantly share code, notes, and snippets.

@BLamy
Last active August 29, 2015 14:14
Show Gist options
  • Save BLamy/68b087fec9a234049648 to your computer and use it in GitHub Desktop.
Save BLamy/68b087fec9a234049648 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">
<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: 1100px;
top: 640px;
}
#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 {
color: #4A5C68
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="sidebar" drawer>
<core-toolbar id="sidebar_header">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
</section>
<section id="main_content" main>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="menu_button"></core-icon-button>
<div id="title" flex>ΦΚΤ Designated Driver</div>
</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