Skip to content

Instantly share code, notes, and snippets.

@reel
Created December 18, 2014 02:52
Show Gist options
  • Save reel/faea95d97884c5ed00c1 to your computer and use it in GitHub Desktop.
Save reel/faea95d97884c5ed00c1 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-header-panel/core-header-panel.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="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.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">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 430px;
top: 70px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_field {
left: 70px;
top: 86px;
position: absolute;
}
#section1 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: -2px;
top: 10px;
position: absolute;
}
#section2 {
background-color: rgb(255, 255, 141);
}
#core_icon1 {
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);
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 290px;
top: 60px;
position: absolute;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 470px;
top: 50px;
position: absolute;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
<section id="section1" layout vertical>
<section id="section2" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon1" 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>
</core-toolbar>
<section id="section">
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
</section>
</core-header-panel>
<topeka-app selected="profile" disableleaderboard id="topeka_app" categories="[]" vertical layout></topeka-app>
<topeka-leaderboard disabled id="topeka_leaderboard" vertical layout></topeka-leaderboard>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment