Skip to content

Instantly share code, notes, and snippets.

@marucjmar
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save marucjmar/4eefbfc34f5a027a7b37 to your computer and use it in GitHub Desktop.

Select an option

Save marucjmar/4eefbfc34f5a027a7b37 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.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="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-categories.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../notification-elements/notification-alert.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-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 0px;
top: 0px;
position: absolute;
}
#paper_tabs1 {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#core_animated_pages {
width: 100%;
height: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#notification_alert {
left: 580px;
top: 450px;
position: absolute;
}
#topeka_categories {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
#google_map {
width: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 540px;
top: 40px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
left: 0px;
top: 580px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_icon_button {
left: 138px;
top: 10px;
position: absolute;
}
#div {
left: 68px;
top: 20px;
position: absolute;
}
#section5 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<section id="section" layout vertical slide-up fade>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab5" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab6" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section1" flex relative>
<core-animated-pages transitions="slide-up fade tile-cascade" selected="{{ $.paper_tabs1.selected }}" lastselected="1" selectedindex="0" notap id="core_animated_pages" fade>
<section id="section2" layout horizontal center center-justified tile-cascade slide-down active>
<topeka-categories id="topeka_categories" vertical layout fade tile-cascade></topeka-categories>
</section>
<section id="section3">
<google-map latitude="37.3176242890664" longitude="-122.10218977539063" id="google_map" slide-up></google-map>
</section>
<section id="section4">
</section>
</core-animated-pages>
</section>
</section>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<core-header-panel mode="standard" id="core_header_panel">
<section id="section5">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment