Skip to content

Instantly share code, notes, and snippets.

@smies
Last active August 29, 2015 14:11
Show Gist options
  • Save smies/8304f04e7d35d25f0e50 to your computer and use it in GitHub Desktop.
Save smies/8304f04e7d35d25f0e50 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 200px;
top: 160px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#core_icon1 {
height: 64px;
width: 64px;
left: 780px;
top: 350px;
position: absolute;
}
#paper_button {
left: 830px;
top: 550px;
position: absolute;
}
#paper_slider {
left: 710px;
top: 660px;
position: absolute;
}
#paper_fab1 {
left: 950px;
top: 280px;
position: absolute;
}
#div3 {
left: 1070px;
top: 550px;
position: absolute;
}
#div4 {
left: 1130px;
top: 550px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 790px;
top: 250px;
position: absolute;
background-color: rgb(238, 238, 238);
}
</style>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<section id="section" layout vertical>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<paper-button id="paper_button">button</paper-button>
<paper-slider id="paper_slider"></paper-slider>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
<div id="div3" layout horizontal>
<paper-fab icon="check" id="paper_fab2"></paper-fab>
</div>
<div id="div4" layout horizontal>
<paper-fab icon="check" id="paper_fab3"></paper-fab>
</div>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section2" layout horizontal center center-justified active>
</section>
<section id="section3">
</section>
<section id="section4">
</section>
</core-animated-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