Skip to content

Instantly share code, notes, and snippets.

@dhesson
Last active August 29, 2015 14:06
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 dhesson/11890382b998ad5e052c to your computer and use it in GitHub Desktop.
Save dhesson/11890382b998ad5e052c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.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="../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>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_input {
left: 820px;
top: 690px;
position: absolute;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 290px;
top: 130px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_calculator {
width: 400px;
height: 560px;
}
#paper_input1 {
left: 1350px;
top: 510px;
position: absolute;
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 780px;
top: 80px;
position: absolute;
}
#section3 {
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);
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1240px;
top: 590px;
position: absolute;
}
</style>
<paper-input label="Type something..." willvalidate id="paper_input" layout vertical></paper-input>
<section id="section" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
</section>
</section>
<paper-input label="Type something..." willvalidate id="paper_input1" layout vertical></paper-input>
<section id="section2" layout vertical>
<section id="section3" 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>
<topeka-app selected="profile" disableleaderboard id="topeka_app" vertical layout></topeka-app>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment