Skip to content

Instantly share code, notes, and snippets.

@ganapativs
Last active August 29, 2015 14:13
Show Gist options
  • Save ganapativs/78a49ff6726d830fca8b to your computer and use it in GitHub Desktop.
Save ganapativs/78a49ff6726d830fca8b to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 760px;
top: 330px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 400px;
top: 220px;
position: absolute;
}
#div {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section1 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 980px;
top: 150px;
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 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(204, 204, 204);
}
#core_icon {
height: 128px;
width: 128px;
}
#div1 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(170, 170, 170);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section4 {
background-color: rgb(255, 255, 141);
}
#core_icon1 {
height: 128px;
width: 128px;
}
#div2 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(255, 235, 59);
}
#div3 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(185, 246, 202);
}
#core_icon2 {
height: 128px;
width: 128px;
}
#div4 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(15, 157, 88);
}
#div5 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(255, 138, 128);
}
#core_icon3 {
height: 128px;
width: 128px;
}
#div6 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(219, 68, 55);
}
#div7 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(130, 177, 255);
}
#core_icon4 {
height: 128px;
width: 128px;
}
#div8 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#div9 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(179, 136, 255);
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div10 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
#section9 {
box-sizing: border-box;
width: 420px;
height: 630px;
left: 710px;
top: 40px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#div11 {
box-sizing: border-box;
position: relative;
height: 150px;
width: 150px;
color: rgb(255, 255, 255);
font-size: 100px;
background-color: rgb(255, 235, 59);
}
#paper_calculator {
width: 400px;
height: 560px;
left: 250px;
top: 300px;
position: absolute;
}
#paper_input {
left: 430px;
top: 80px;
position: absolute;
}
</style>
<yt-search-video id="yt_search_video"></yt-search-video>
<section id="section" layout vertical>
<div id="div" hero>
<span id="span">Question</span>
</div>
<section id="section1" hero flex>
<span id="span1">Answer here</span>
</section>
</section>
<section id="section2" layout vertical designmeta="quiz-demo-grid">
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout>
<span id="span2">Quiz Demo</span>
</div>
<div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative>
<div id="tile-profile" class="tile" layout vertical relative>
<section id="section3" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon>
</section>
<div id="div1" class="tile-bottom">
Category 1
</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<section id="section4" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-icons:knowledge" id="core_icon1" cross-fade-delayed designmeta="topeka-icon"></core-icon>
</section>
<div id="div2" class="tile-bottom" hero hero-id="bottom">
<span id="span3">General Knowledge</span>
</div>
</div>
<div id="div3" class="tile" layout vertical relative>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:history" id="core_icon2" designmeta="topeka-icon"></core-icon>
</section>
<div id="div4" class="tile-bottom">
Category 2
</div>
</div>
<div id="div5" class="tile" layout vertical relative>
<section id="section6" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:geography" id="core_icon3" designmeta="topeka-icon"></core-icon>
</section>
<div id="div6" class="tile-bottom">
Category 3
</div>
</div>
<div id="div7" class="tile" layout vertical relative>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:entertainment" id="core_icon4" designmeta="topeka-icon"></core-icon>
</section>
<div id="div8" class="tile-bottom">
Category 4
</div>
</div>
<div id="div9" class="tile" layout vertical relative>
<section id="section8" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:music" id="core_icon5" designmeta="topeka-icon"></core-icon>
</section>
<div id="div10" class="tile-bottom">
Category 5
</div>
</div>
</div>
</section>
<section id="section9" layout vertical center center-justified>
<div id="div11" hero layout vertical center center-justified>
<span id="span4">+8</span>
</div>
</section>
<paper-calculator responsivewidth="2000px" expression="6985" id="paper_calculator"></paper-calculator>
<paper-input label="Type something..." floatinglabel id="paper_input"></paper-input>
</template>
<script>
Polymer({
cool: ''
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment