Skip to content

Instantly share code, notes, and snippets.

@ntsh
Last active August 29, 2015 14:12
Show Gist options
  • Save ntsh/c83d4b41c020f318b0a4 to your computer and use it in GitHub Desktop.
Save ntsh/c83d4b41c020f318b0a4 to your computer and use it in GitHub Desktop.
designer
<link href="../core-pages/core-pages.html" rel="import">
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-header-panel/core-header-panel.html" rel="import">
<link href="../paper-input/paper-input.html" rel="import">
<link href="../paper-button/paper-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
box-sizing: border-box;
}
#core_pages {
width: 320px;
height: 480px;
border: 1px solid silver;
left: 120px;
top: -40px;
position: absolute;
}
#core_header_panel {
width: 320px;
height: 480px;
left: -1px;
top: -1px;
position: absolute;
}
#core_toolbar {
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
left: 1020px;
top: 280px;
}
#paper_fab {
left: 1040px;
top: 490px;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 1000px;
top: 410px;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
</core-toolbar>
</core-header-panel>
</section>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment