Skip to content

Instantly share code, notes, and snippets.

@AshniL
Last active August 29, 2015 14:25
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 AshniL/401b6457938597b191c8 to your computer and use it in GitHub Desktop.
Save AshniL/401b6457938597b191c8 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.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;
background-color: rgb(255, 255, 255);
}
#core_menu {
font-size: 16px;
left: 500px;
top: -10px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: -10px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(19, 65, 105);
}
#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: 20px;
top: 80px;
background-color: rgb(255, 255, 255);
}
#core_submenu {
left: 1180px;
top: 470px;
}
#section1 {
left: 720px;
top: 380px;
position: absolute;
}
</style>
<core-menu selected="0" id="core_menu">
</core-menu>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>PEERMAGIC</div>
</core-toolbar>
<core-card id="core_card" layout vertical>
<section id="section"></section>
</core-card>
<section id="section1"></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