Last active
August 29, 2015 14:13
-
-
Save himanshu-dixit/27c5c99d37b33e383796 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 href="../core-scaffold/core-scaffold.html" rel="import"> | |
<link href="../core-header-panel/core-header-panel.html" rel="import"> | |
<link href="../core-menu/core-menu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<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 { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 1100px; | |
height: 582px; | |
position: absolute; | |
} | |
#tiles-container { | |
padding-left: 3px; | |
height: 100%; | |
} | |
#tile-profile { | |
background-color: rgb(204, 204, 204); | |
box-sizing: border-box; | |
float: left; | |
height: 40%; | |
width: 40%; | |
margin: 3px; | |
} | |
#core_icon { | |
height: 128px; | |
width: 128px; | |
} | |
#div1 { | |
background-color: rgb(170, 170, 170); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#tile-general { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 30%; | |
margin: 3px; | |
} | |
#section2 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
height: 128px; | |
width: 128px; | |
} | |
#div2 { | |
background-color: rgb(255, 235, 59); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div3 { | |
background-color: rgb(70, 169, 206); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 30%; | |
margin: 3px; | |
} | |
#core_icon2 { | |
height: 128px; | |
width: 128px; | |
} | |
#div4 { | |
background-color: rgb(15, 157, 88); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div5 { | |
background-color: rgb(255, 138, 128); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 30%; | |
margin: 3px; | |
} | |
#core_icon3 { | |
height: 128px; | |
width: 128px; | |
} | |
#div6 { | |
background-color: rgb(219, 68, 55); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div7 { | |
background-color: rgb(130, 177, 255); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 30%; | |
margin: 3px; | |
} | |
#core_icon4 { | |
height: 128px; | |
width: 128px; | |
} | |
#div8 { | |
background-color: rgb(66, 133, 244); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div9 { | |
background-color: rgb(179, 136, 255); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 30%; | |
margin: 3px; | |
} | |
#core_icon5 { | |
height: 128px; | |
width: 128px; | |
} | |
#div10 { | |
background-color: rgb(126, 87, 194); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" flex navigation> | |
<core-toolbar id="core_toolbar"></core-toolbar> | |
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" icon="settings" layout center horizontal active>Quiz</core-item> | |
<core-item id="core_item1" icon="settings" layout center horizontal>LOGOUT</core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<section id="section" designmeta="quiz-demo-grid" vertical layout> | |
<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="section1" center-justified center horizontal layout flex class="tile-top"> | |
<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" relative vertical layout class="tile"> | |
<section id="section2" hero-id="top" hero center-justified center horizontal layout flex class="tile-top"> | |
<core-icon icon="category-icons:knowledge" id="core_icon1" designmeta="topeka-icon" cross-fade-delayed></core-icon> | |
</section> | |
<div id="div2" hero-id="bottom" hero class="tile-bottom"> | |
<span id="span1">General Knowledge</span> | |
</div> | |
</div> | |
<div id="div3" relative vertical layout class="tile"> | |
<section id="section3" center-justified center horizontal layout flex class="tile-top"> | |
<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" relative vertical layout class="tile"> | |
<section id="section4" center-justified center horizontal layout flex class="tile-top"> | |
<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" relative vertical layout class="tile"> | |
<section id="section5" center-justified center horizontal layout flex class="tile-top"> | |
<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" relative vertical layout class="tile"> | |
<section id="section6" center-justified center horizontal layout flex class="tile-top"> | |
<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> | |
</core-scaffold> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment