Skip to content

Instantly share code, notes, and snippets.

@danostrowski
Created July 9, 2014 05:32
Show Gist options
  • Save danostrowski/99293eefcc4a6df09df0 to your computer and use it in GitHub Desktop.
Save danostrowski/99293eefcc4a6df09df0 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<polymer-element name="signup-dialog">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 90%;
height: 90%;
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: 5%;
top: 5%;
opacity: 1;
background-color: rgb(255, 255, 255);
}
#core_scroll_header_panel {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#div2 {
position: absolute;
left: 12px;
top: 100px;
}
</style>
<core-card id="core_card" layout vertical>
<core-scroll-header-panel condenses headerheight="64" condensedheaderheight="64" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="short">
<div id="div" flex></div>
<div id="div1" class="bottom indent">Fill In User Details</div>
</core-toolbar>
<div id="div2" content>Content goes here...</div>
</core-scroll-header-panel>
</core-card>
</template>
<script>
Polymer('signup-dialog', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment