Skip to content

Instantly share code, notes, and snippets.

@Ertavf
Created November 25, 2014 21:36
Show Gist options
  • Save Ertavf/d56e3d87fec364b3ddb9 to your computer and use it in GitHub Desktop.
Save Ertavf/d56e3d87fec364b3ddb9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-datasource.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">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 380px;
top: 150px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 430px;
top: 270px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 260px;
top: -10px;
position: absolute;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 760px;
top: 260px;
position: absolute;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 830px;
top: 210px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 320px;
top: 10px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div1 {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div3 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<chart-js id="chart_js"></chart-js>
<paper-calculator responsivewidth="2000px" expression="85" id="paper_calculator"></paper-calculator>
<topeka-leaderboard selected="1" id="topeka_leaderboard" vertical layout></topeka-leaderboard>
<div id="div">
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" categories="[]" fit vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<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="div1" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div2" hero class="dummy"></div>
<div id="div3" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment