Skip to content

Instantly share code, notes, and snippets.

@impressto
Last active August 29, 2015 14:13
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 impressto/19ef300b8d1160faa891 to your computer and use it in GitHub Desktop.
Save impressto/19ef300b8d1160faa891 to your computer and use it in GitHub Desktop.
designer
<link href="../topeka-elements/category-images.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-icons/av-icons.html" rel="import">
<link href="../paper-fab/paper-fab.html" rel="import">
<link href="../paper-button/paper-button.html" rel="import">
<link href="../topeka-elements/category-icons.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 520px;
top: 20px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 80px;
top: 20px;
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;
background-color: rgb(255, 235, 59);
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 630px;
top: 20px;
position: absolute;
}
#toolbar {
box-sizing: border-box;
height: 15%;
position: relative;
color: rgb(255, 255, 255);
font-size: 48px;
background-color: rgb(0, 187, 211);
}
#tiles-container {
padding-left: 3px;
height: 85%;
}
#tile-profile {
background-color: rgb(204, 204, 204);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon1 {
height: 128px;
width: 128px;
}
#div3 {
background-color: rgb(170, 170, 170);
padding: 8px;
color: rgb(255, 255, 255);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section4 {
background-color: rgb(255, 255, 141);
}
#core_icon2 {
height: 128px;
width: 128px;
}
#div4 {
background-color: rgb(255, 235, 59);
padding: 8px;
color: rgb(255, 255, 255);
}
#div5 {
background-color: rgb(185, 246, 202);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon3 {
height: 128px;
width: 128px;
}
#div6 {
background-color: rgb(15, 157, 88);
padding: 8px;
color: rgb(255, 255, 255);
}
#div7 {
background-color: rgb(255, 138, 128);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon4 {
height: 128px;
width: 128px;
}
#div8 {
background-color: rgb(219, 68, 55);
padding: 8px;
color: rgb(255, 255, 255);
}
#div9 {
background-color: rgb(130, 177, 255);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div10 {
background-color: rgb(66, 133, 244);
padding: 8px;
color: rgb(255, 255, 255);
}
#div11 {
background-color: rgb(179, 136, 255);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon6 {
height: 128px;
width: 128px;
}
#div12 {
background-color: rgb(126, 87, 194);
padding: 8px;
color: rgb(255, 255, 255);
}
</style>
<section id="section" vertical layout>
<section id="section1" hero-id="top" hero center-justified center horizontal layout flex class="top">
<core-icon icon="category-images:knowledge" id="core_icon" designmeta="topeka-image" cross-fade-delayed></core-icon>
</section>
<div id="div" hero-id="bottom" hero class="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div1" class="dummy" hero></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>
<section id="section2" designmeta="quiz-demo-grid" vertical layout>
<div id="toolbar" layout center center-justified horizontal class="tall-toolbar categories">
<span id="span1">Quiz Demo</span>
</div>
<div id="tiles-container" relative center around-justified horizontal wrap layout class="tiles-container">
<div id="tile-profile" relative vertical layout class="tile">
<section id="section3" center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:food" id="core_icon1" designmeta="topeka-icon"></core-icon>
</section>
<div id="div3" class="tile-bottom">
Category 1
</div>
</div>
<div id="tile-general" relative vertical layout class="tile">
<section id="section4" hero-id="top" hero center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:knowledge" id="core_icon2" designmeta="topeka-icon" cross-fade-delayed></core-icon>
</section>
<div id="div4" hero-id="bottom" hero class="tile-bottom">
<span id="span2">General Knowledge</span>
</div>
</div>
<div id="div5" relative vertical layout class="tile">
<section id="section5" center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:history" id="core_icon3" designmeta="topeka-icon"></core-icon>
</section>
<div id="div6" class="tile-bottom">
Category 2
</div>
</div>
<div id="div7" relative vertical layout class="tile">
<section id="section6" center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:geography" id="core_icon4" designmeta="topeka-icon"></core-icon>
</section>
<div id="div8" class="tile-bottom">
Category 3
</div>
</div>
<div id="div9" relative vertical layout class="tile">
<section id="section7" center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:entertainment" id="core_icon5" designmeta="topeka-icon"></core-icon>
</section>
<div id="div10" class="tile-bottom">
Category 4
</div>
</div>
<div id="div11" relative vertical layout class="tile">
<section id="section8" center-justified center horizontal layout flex class="tile-top">
<core-icon icon="category-icons:music" id="core_icon6" designmeta="topeka-icon"></core-icon>
</section>
<div id="div12" class="tile-bottom">
Category 5
</div>
</div>
</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