Skip to content

Instantly share code, notes, and snippets.

@Alevale
Created October 15, 2014 21:01
Show Gist options
  • Save Alevale/ce295d0aff641d7f1121 to your computer and use it in GitHub Desktop.
Save Alevale/ce295d0aff641d7f1121 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">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
#core_scroll_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
height: 450px;
background-image: url(http://www.gavick.com/blog/wp-content/uploads/2014/09/oembeds.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#div1 {
opacity: 1;
}
#core_card {
width: 300px;
height: 350px;
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;
opacity: 0.5;
background-color: rgb(255, 255, 255);
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 0px;
top: -450px;
position: absolute;
}
#paper_button {
left: 92px;
top: 70px;
position: absolute;
}
</style>
<core-scroll-header-panel headermargin="300" condenses headerheight="450" id="core_scroll_header_panel" center-justified center>
<core-toolbar id="core_toolbar" class="tall" center horizontal layout center-justified>
<div id="div1" class="bottom indent" center center-justified>
<h1 id="h1">PersonalQR</h1>
</div>
<core-card id="core_card">
<paper-button label="Paper Button" id="paper_button"></paper-button>
</core-card>
</core-toolbar>
<section id="section" content>
<topeka-app selected="profile" disableleaderboard id="topeka_app" categories="[]" vertical layout></topeka-app>
</section>
</core-scroll-header-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