Last active
August 29, 2015 14:18
-
-
Save shalintripathi/9f01558abf56268e56d4 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="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#google_map_search { | |
left: -2px; | |
top: 0px; | |
position: absolute; | |
} | |
#google_map { | |
width: 100%; | |
height: 100%; | |
display: block; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
} | |
#google_map_search1 { | |
left: 118px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_icon { | |
left: 208px; | |
top: 20px; | |
position: absolute; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: -12px; | |
top: 30px; | |
position: absolute; | |
} | |
#section1 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
height: 256px; | |
width: 256px; | |
z-index: 100; | |
} | |
#div1 { | |
box-sizing: border-box; | |
position: relative; | |
height: 80px; | |
padding: 24px; | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
background-color: rgb(255, 235, 59); | |
} | |
#div3 { | |
position: absolute; | |
color: rgb(255, 255, 255); | |
bottom: 50px; | |
right: 24px; | |
} | |
#paper_fab { | |
background-color: rgb(255, 64, 129); | |
} | |
#section2 { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 460px; | |
top: 30px; | |
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_icon2 { | |
height: 128px; | |
width: 128px; | |
} | |
#div4 { | |
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_icon3 { | |
height: 128px; | |
width: 128px; | |
} | |
#div5 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(255, 235, 59); | |
} | |
#div6 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(185, 246, 202); | |
} | |
#core_icon4 { | |
height: 128px; | |
width: 128px; | |
} | |
#div7 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(15, 157, 88); | |
} | |
#div8 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(255, 138, 128); | |
} | |
#core_icon5 { | |
height: 128px; | |
width: 128px; | |
} | |
#div9 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div10 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(130, 177, 255); | |
} | |
#core_icon6 { | |
height: 128px; | |
width: 128px; | |
} | |
#div11 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(66, 133, 244); | |
} | |
#div12 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(179, 136, 255); | |
} | |
#core_icon7 { | |
height: 128px; | |
width: 128px; | |
} | |
#div13 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(126, 87, 194); | |
} | |
#section9 { | |
box-sizing: border-box; | |
width: 420px; | |
height: 630px; | |
left: 320px; | |
top: -110px; | |
} | |
#topeka_datasource { | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<google-map-search id="google_map_search"></google-map-search> | |
<input committedvalue="ghfghgh" id="input1" value="ghfghgh" placeholder="type something..." is="core-input"> | |
<google-map-search query="{{ $.input1.value }}" id="google_map_search1"></google-map-search> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<section id="section" layout vertical> | |
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top"> | |
<core-icon icon="category-images:knowledge" id="core_icon1" cross-fade-delayed designmeta="topeka-image"></core-icon> | |
</section> | |
<div id="div1" class="bottom" hero hero-id="bottom"> | |
<span id="span">General Knowledge</span> | |
</div> | |
<div id="div2" hero class="dummy"></div> | |
<div id="div3" class="fab fab-0"> | |
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab> | |
</div> | |
</section> | |
</core-toolbar> | |
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" icon="settings" label="Item1" on-click="{{ Gmapnormal }}" horizontal center layout active>Google Map Normal</core-item> | |
<core-item id="core_item1" icon="settings" label="Item2" on-click="{{ Gmapsat }}" horizontal center layout>Gmap Sat</core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>Google Map</div> | |
<google-map latitude="{{ $.google_map_search1.latitude }}" longitude="{{ $.google_map_search1.longitude }}" zoom="18" id="google_map"></google-map> | |
<section id="section2" layout vertical designmeta="quiz-demo-grid"> | |
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout> | |
<span id="span1">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_icon2" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div4" 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_icon3" cross-fade-delayed designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div5" class="tile-bottom" hero hero-id="bottom"> | |
<span id="span2">General Knowledge</span> | |
</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:history" id="core_icon4" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div7" class="tile-bottom"> | |
Category 2 | |
</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:geography" id="core_icon5" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div9" class="tile-bottom"> | |
Category 3 | |
</div> | |
</div> | |
<div id="div10" 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_icon6" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div11" class="tile-bottom"> | |
Category 4 | |
</div> | |
</div> | |
<div id="div12" 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_icon7" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div13" class="tile-bottom"> | |
Category 5 | |
</div> | |
</div> | |
</div> | |
</section> | |
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource> | |
</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