Created
September 10, 2014 07:33
-
-
Save PasNecessairement/bc62d5fd02c904970911 to your computer and use it in GitHub Desktop.
designer
This file contains 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 rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<link rel="import" href="../topeka-elements/avatars.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 230px; | |
top: 130px; | |
position: absolute; | |
} | |
#toolbar { | |
box-sizing: border-box; | |
height: 15%; | |
position: relative; | |
color: rgb(255, 255, 255); | |
font-size: 48px; | |
background-color: rgb(219, 68, 55); | |
} | |
#tiles-container { | |
padding-left: 3px; | |
height: 85%; | |
} | |
#core_icon { | |
height: 128px; | |
width: 128px; | |
} | |
#div2 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(185, 246, 202); | |
} | |
#div3 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div4 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(255, 138, 128); | |
} | |
#div5 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div6 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(130, 177, 255); | |
} | |
#core_icon4 { | |
height: 128px; | |
width: 128px; | |
} | |
#div7 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div8 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(179, 136, 255); | |
} | |
#core_icon5 { | |
height: 128px; | |
width: 128px; | |
} | |
#div9 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#core_icon1 { | |
height: 128px; | |
width: 128px; | |
} | |
#topeka_leaderboard { | |
width: 300px; | |
height: 300px; | |
left: 1050px; | |
top: 700px; | |
} | |
#topeka_profile { | |
width: 300px; | |
height: 300px; | |
left: 1060px; | |
top: 740px; | |
} | |
#topeka_datasource { | |
left: 500px; | |
top: 450px; | |
position: absolute; | |
} | |
#topeka_app { | |
width: 300px; | |
height: 300px; | |
min-height: 450px; | |
left: 960px; | |
top: 690px; | |
} | |
#core_icon2 { | |
height: 64px; | |
width: 64px; | |
left: 230px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon3 { | |
height: 64px; | |
width: 64px; | |
left: 300px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon6 { | |
height: 64px; | |
width: 64px; | |
left: 370px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon7 { | |
height: 64px; | |
width: 64px; | |
left: 440px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon8 { | |
height: 64px; | |
width: 64px; | |
left: 510px; | |
top: 230px; | |
position: absolute; | |
} | |
#core_icon9 { | |
height: 64px; | |
width: 64px; | |
left: 580px; | |
top: 230px; | |
position: absolute; | |
} | |
</style> | |
<section id="section" layout vertical designmeta="quiz-demo-grid"> | |
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout> | |
<span id="span">JukeBox.rocks</span> | |
</div> | |
<div id="tiles-container" class="tiles-container" layout wrap horizontal relative around-justified end> | |
<div id="div2" 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_icon1" 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" flex layout horizontal center center-justified> | |
<core-icon icon="category-icons:music" id="core_icon" 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" flex layout horizontal center 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" flex layout horizontal center 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> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource> | |
<core-icon icon="avatars:avatar-1" id="core_icon2" designmeta="topeka-avatar"></core-icon> | |
<core-icon icon="avatars:avatar-2" id="core_icon3" designmeta="topeka-avatar"></core-icon> | |
<core-icon icon="avatars:avatar-9" id="core_icon6" designmeta="topeka-avatar"></core-icon> | |
<core-icon icon="avatars:avatar-5" id="core_icon7" designmeta="topeka-avatar"></core-icon> | |
<core-icon icon="avatars:avatar-12" id="core_icon8" designmeta="topeka-avatar"></core-icon> | |
<core-icon icon="avatars:avatar-15" id="core_icon9" designmeta="topeka-avatar"></core-icon> | |
</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