Skip to content

Instantly share code, notes, and snippets.

@kosir
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosir/fe7339e63b1c17f812e1 to your computer and use it in GitHub Desktop.
Save kosir/fe7339e63b1c17f812e1 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="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_calculator {
width: 230px;
height: 310px;
left: 560px;
top: 190px;
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);
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(128, 128, 0);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(255, 128, 0);
}
#paper_button {
left: 43px;
top: 30px;
position: absolute;
}
</style>
<core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action horizontal layout start-justified>
<section id="section" drawer>
<paper-button id="paper_button">button</paper-button>
</section>
<section id="section1" main></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