Skip to content

Instantly share code, notes, and snippets.

@whelks-chance
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whelks-chance/076a5e0e3c500ab4ceb4 to your computer and use it in GitHub Desktop.
Save whelks-chance/076a5e0e3c500ab4ceb4 to your computer and use it in GitHub Desktop.
designer
<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="../core-menu/core-submenu.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#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;
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#section3 {
box-sizing: border-box;
width: 60%;
height: 100%;
left: 20%;
top: 0px;
padding: 2px;
position: absolute;
}
#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_icon4 {
height: 128px;
width: 128px;
}
#div1 {
color: rgb(255, 255, 255);
padding: 8px;
background-color: rgb(170, 170, 170);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section5 {
background-color: rgb(255, 255, 141);
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div2 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(255, 235, 59);
}
#div3 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(185, 246, 202);
}
#core_icon6 {
height: 128px;
width: 128px;
}
#div4 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(15, 157, 88);
}
#div5 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(255, 138, 128);
}
#core_icon7 {
height: 128px;
width: 128px;
}
#div6 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(219, 68, 55);
}
#div7 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(130, 177, 255);
}
#core_icon8 {
height: 128px;
width: 128px;
}
#div8 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#div9 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(179, 136, 255);
}
#core_icon9 {
height: 128px;
width: 128px;
}
#div10 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
#core_item2 {
left: 0px;
top: 0px;
}
#section1 {
top: 0px;
left: 0px;
width: 100%;
height: 100%;
position: absolute;
}
#section2 {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_toolbar1 {
right: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
width: 100%;
background-color: rgb(79, 125, 201);
}
#section10 {
width: 60%;
height: 100%;
top: 20px;
position: absolute;
left: 20%;
}
#paper_input {
width: 80%;
}
#paper_icon_button {
top: 2px;
}
#div12 {
height: 60%;
opacity: 1;
}
#core_toolbar2 {
right: 0px;
left: 8px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
</style>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar">
<core-toolbar id="core_toolbar2">
<div id="div13" flex>WISERD</div>
</core-toolbar>
</core-toolbar>
<core-menu selected="2" valueattr="label" selectedindex="2" id="core_menu" theme="core-light-theme">
<paper-shadow class="span-shadow">
<core-item id="core_item" icon="settings" label="Text Search" horizontal center layout active></core-item>
</paper-shadow>
<paper-shadow class="span-shadow">
<core-item id="core_item1" icon="settings" label="Geographic Search" horizontal center layout></core-item>
</paper-shadow>
<paper-shadow class="span-shadow" active>
<core-item id="core_item2" icon="settings" label="Tools" horizontal center layout></core-item>
</paper-shadow>
</core-menu>
</core-header-panel>
<div id="div" tool>DataPortal</div>
<span flex></span>
<div id="login_button" tool>Login</div>
<core-animated-pages selected="{{ $.core_menu.selectedIndex }}" lastselected="0" selectedindex="2" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified>
<section id="section10">
<core-toolbar id="core_toolbar1" horizontal layout center center-justified>
<div id="div11" flex>Keyword Search</div>
</core-toolbar>
<section id="div12">
<paper-input label="Type something..." id="paper_input"></paper-input>
<paper-icon-button icon="search" id="paper_icon_button" end-justified></paper-icon-button>
</section>
</section>
</section>
<section id="section1">
<google-map latitude="35.76588480266702" longitude="-119.33912825195313" zoom="9" id="google_map"></google-map>
</section>
<section id="section2" active>
<section id="section3" layout vertical designmeta="quiz-demo-grid" center-justified>
<div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative>
<div id="tile-profile" class="tile" layout vertical relative>
<paper-shadow z="2" class="span-shadow" active>
<section id="section4" class="tile-top" flex center center-justified vertical layout>
<core-icon icon="category-icons:geography" id="core_icon4" designmeta="topeka-icon"></core-icon>
</section>
<div id="div1" class="tile-bottom" hero hero-id="bottom">
<span id="span2">
Geographic Search
</span>
</div>
</paper-shadow>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<paper-shadow id="paper_shadow" z="2" class="span-shadow" active>
<section id="section5" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-icons:knowledge" id="core_icon5" cross-fade-delayed designmeta="topeka-icon"></core-icon>
</section>
<div id="div2" class="tile-bottom" hero hero-id="bottom">
<span id="span1">Metadata Search</span>
</div>
</paper-shadow>
</div>
<div id="div3" class="tile" layout vertical relative>
<paper-shadow z="2" class="span-shadow" active>
<section id="section6" class="tile-top" flex center center-justified horizontal layout>
<core-icon icon="category-icons:history" id="core_icon6" designmeta="topeka-icon"></core-icon>
</section>
<div id="div4" class="tile-bottom">Historical Search</div>
</paper-shadow>
</div>
<div id="div5" class="tile" layout vertical relative>
<paper-shadow z="2" class="span-shadow" active>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:science" id="core_icon7" designmeta="topeka-icon"></core-icon>
</section>
<div id="div6" class="tile-bottom">Advanced Search</div>
</paper-shadow>
</div>
<div id="div7" class="tile" layout vertical relative>
<paper-shadow z="2" class="span-shadow" active>
<section id="section8" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:entertainment" id="core_icon8" designmeta="topeka-icon"></core-icon>
</section>
<div id="div8" class="tile-bottom">Workshops Activities</div>
</paper-shadow>
</div>
<div id="div9" class="tile" layout vertical relative>
<paper-shadow z="2" class="span-shadow" active>
<section id="section9" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:music" id="core_icon9" designmeta="topeka-icon"></core-icon>
</section>
<div id="div10" class="tile-bottom">Media Resources</div>
</paper-shadow>
</div>
</div>
</section>
</section>
</core-animated-pages>
</core-scaffold>
</template>
<script>
Polymer({
showSeach: function (){
},
showMap: function (){
}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment