Skip to content

Instantly share code, notes, and snippets.

@Taiiwo
Last active March 22, 2019 21:18
Show Gist options
  • Save Taiiwo/e4677cbc86944eeacbb86838d2d89374 to your computer and use it in GitHub Desktop.
Save Taiiwo/e4677cbc86944eeacbb86838d2d89374 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_toolbar {
right: 0px;
left: 0px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
height: 70px;
}
#core_drawer_panel {
position: absolute;
top: 70px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
background-color: rgb(250, 250, 250);
box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 2070px;
top: 1400px;
}
#core_menu {
font-size: 16px;
left: 2080px;
top: 1450px;
}
#core_item {
left: 2100px;
top: 1440px;
}
#core_pages1 {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 2130px;
top: 1550px;
}
#core_scaffold {
position: absolute;
top: 1460px;
right: 0px;
bottom: 0px;
left: 2020px;
}
#core_submenu {
left: 2020px;
top: 1730px;
}
#core_toolbar1 {
right: 0px;
left: 2000px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 1630px;
}
#core_tooltip {
left: 1990px;
top: 1680px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1290px;
top: 840px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 850px;
top: 750px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 930px;
top: 1250px;
position: absolute;
}
</style>
<core-drawer-panel transition id="core_drawer_panel" touch-action class="drag-element">
<section id="section" drawer></section>
<section id="section1" main></section>
</core-drawer-panel>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<section id="section5"></section>
<section id="section6"></section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment