Created
August 13, 2014 13:57
-
-
Save renanfranca/b01a53c02fdea8e92caf 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="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../speech-mic/speech-mic.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/avatars.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 70px; | |
top: 40px; | |
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; | |
} | |
#div { | |
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; | |
} | |
#section2 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
height: 128px; | |
width: 128px; | |
} | |
#div1 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(255, 235, 59); | |
} | |
#div2 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(185, 246, 202); | |
} | |
#core_icon2 { | |
height: 128px; | |
width: 128px; | |
} | |
#div3 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(15, 157, 88); | |
} | |
#div4 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(255, 138, 128); | |
} | |
#core_icon3 { | |
height: 128px; | |
width: 128px; | |
} | |
#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(66, 133, 244); | |
} | |
#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(126, 87, 194); | |
} | |
#notification_alert { | |
left: 950px; | |
top: 560px; | |
position: absolute; | |
} | |
#notification_alert1 { | |
left: 750px; | |
top: 190px; | |
position: absolute; | |
} | |
#speech_mic { | |
left: 1040px; | |
top: 90px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 550px; | |
top: 510px; | |
position: absolute; | |
} | |
#topeka_app { | |
width: 500px; | |
height: 300px; | |
min-height: 450px; | |
left: 510px; | |
top: 40px; | |
position: absolute; | |
} | |
#core_icon6 { | |
height: 64px; | |
width: 64px; | |
left: 980px; | |
top: 520px; | |
position: absolute; | |
} | |
#topeka_app2 { | |
width: 300px; | |
height: 300px; | |
min-height: 450px; | |
left: 1150px; | |
top: 630px; | |
} | |
#core_icon7 { | |
height: 64px; | |
width: 64px; | |
left: 1020px; | |
top: 530px; | |
} | |
</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">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="section1" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon id="core_icon" icon="category-icons:food" 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" flex layout horizontal center center-justified hero hero-id="top"> | |
<core-icon id="core_icon1" icon="category-icons:knowledge" cross-fade-delayed designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div1" class="tile-bottom" hero hero-id="bottom"> | |
<span id="span1">General Knowledge</span> | |
</div> | |
</div> | |
<div id="div2" class="tile" layout vertical relative> | |
<section id="section3" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon id="core_icon2" icon="category-icons:history" 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 id="core_icon3" icon="category-icons:geography" 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 id="core_icon4" icon="category-icons:entertainment" 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 id="core_icon5" icon="category-icons:music" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div9" class="tile-bottom"> | |
Category 5 | |
</div> | |
</div> | |
</div> | |
</section> | |
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert> | |
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<speech-mic id="speech_mic"></speech-mic> | |
<topeka-app id="topeka_app" vertical layout></topeka-app> | |
<core-icon id="core_icon6" icon="avatars:avatar-1" 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