Created
August 28, 2014 22:32
-
-
Save kevinpschaaf/4ed1b71fd8156d6d150c to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../topeka-elements/category-icons.html" rel="import"> | |
<link href="../core-icon/core-icon.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
box-sizing: border-box; | |
} | |
#section { | |
left: 200px; | |
top: 20px; | |
width: 420px; | |
height: 582px; | |
position: absolute; | |
box-sizing: border-box; | |
} | |
#toolbar { | |
height: 15%; | |
color: rgb(255, 255, 255); | |
font-size: 48px; | |
position: relative; | |
box-sizing: border-box; | |
background-color: rgb(0, 187, 211); | |
} | |
#tiles-container { | |
height: 85%; | |
padding-left: 3px; | |
} | |
#tile-profile { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
background-color: rgb(204, 204, 204); | |
} | |
#core_icon { | |
width: 128px; | |
height: 128px; | |
} | |
#div { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(170, 170, 170); | |
} | |
#tile-general { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
} | |
#section2 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
width: 128px; | |
height: 128px; | |
} | |
#div1 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(255, 235, 59); | |
} | |
#div2 { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
background-color: rgb(185, 246, 202); | |
} | |
#core_icon2 { | |
width: 128px; | |
height: 128px; | |
} | |
#div3 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(15, 157, 88); | |
} | |
#div4 { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
background-color: rgb(255, 138, 128); | |
} | |
#core_icon3 { | |
width: 128px; | |
height: 128px; | |
} | |
#div5 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div6 { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
background-color: rgb(130, 177, 255); | |
} | |
#core_icon4 { | |
width: 128px; | |
height: 128px; | |
} | |
#div7 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(66, 133, 244); | |
} | |
#div8 { | |
margin: 3px; | |
width: 48%; | |
height: 30%; | |
float: left; | |
box-sizing: border-box; | |
background-color: rgb(179, 136, 255); | |
} | |
#core_icon5 { | |
width: 128px; | |
height: 128px; | |
} | |
#div9 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(126, 87, 194); | |
} | |
</style> | |
<section id="section" layout vertical designmeta="quiz-demo-grid"> | |
<div id="toolbar" class="tall-toolbar categories" layout center horizontal center-justified> | |
<span id="span">Quiz Demo</span> | |
</div> | |
<div id="tiles-container" class="tiles-container" layout center horizontal wrap around-justified relative> | |
<div id="tile-profile" class="tile" layout vertical relative> | |
<section id="section1" class="tile-top" layout center horizontal flex center-justified> | |
<core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div" class="tile-bottom"> | |
Category 1 | |
</div> | |
</div> | |
<div id="tile-general" class="tile" layout vertical relative> | |
<section id="section2" class="tile-top" layout center horizontal flex center-justified hero-id="top" hero> | |
<core-icon icon="category-icons:knowledge" id="core_icon1" designmeta="topeka-icon" cross-fade-delayed></core-icon> | |
</section> | |
<div id="div1" class="tile-bottom" hero-id="bottom" hero> | |
<span id="span1">General Knowledge</span> | |
</div> | |
</div> | |
<div id="div2" class="tile" layout vertical relative> | |
<section id="section3" class="tile-top" layout center horizontal flex center-justified> | |
<core-icon icon="category-icons:history" id="core_icon2" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div3" class="tile-bottom"> | |
Category 2 | |
</div> | |
</div> | |
<div id="div4" class="tile" layout vertical relative> | |
<section id="section4" class="tile-top" layout center horizontal flex center-justified> | |
<core-icon icon="category-icons:geography" id="core_icon3" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div5" class="tile-bottom"> | |
Category 3 | |
</div> | |
</div> | |
<div id="div6" class="tile" layout vertical relative> | |
<section id="section5" class="tile-top" layout center horizontal flex center-justified> | |
<core-icon icon="category-icons:entertainment" id="core_icon4" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div7" class="tile-bottom"> | |
Category 4 | |
</div> | |
</div> | |
<div id="div8" class="tile" layout vertical relative> | |
<section id="section6" class="tile-top" layout center horizontal flex center-justified> | |
<core-icon icon="category-icons:music" id="core_icon5" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div9" class="tile-bottom"> | |
Category 5 | |
</div> | |
</div> | |
</div> | |
</section> | |
</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