Skip to content

Instantly share code, notes, and snippets.

@novascreen
Created July 4, 2014 03:34
Show Gist options
  • Save novascreen/da9549a6d71f16446096 to your computer and use it in GitHub Desktop.
Save novascreen/da9549a6d71f16446096 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#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: 580px;
top: 230px;
padding: 10px 20px;
background-color: rgb(255, 255, 255);
}
#section {
left: 1390px;
top: 740px;
}
#core_toolbar {
right: 0px;
left: 1430px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 800px;
background-color: rgb(79, 125, 201);
}
#ul, #ul > li {
margin: 0px;
padding: 0px;
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
</style>
<core-card id="core_card" layout vertical>
<h2>Markers</h2>
<ul id="ul">
<li>
<h3>1.</h3>
</li>
</ul>
</core-card>
<core-drawer-panel id="core_drawer_panel">
<section id="section" drawer></section>
<section id="section1" main></section>
</core-drawer-panel>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment