Last active
August 29, 2015 14:23
-
-
Save Newan/d77077afc643c41c830a 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="../core-animated-pages/core-animated-pages.html" rel="import"> | |
<link href="../core-animated-pages/transitions/hero-transition.html" rel="import"> | |
<link href="../core-animated-pages/transitions/cross-fade.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-down.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-up.html" rel="import"> | |
<link href="../core-animated-pages/transitions/tile-cascade.html" rel="import"> | |
<link href="../google-map/google-map.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; | |
width: 100%; | |
height: 100%; | |
} | |
#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; | |
} | |
#core_animated_pages { | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
background-color: rgb(238, 238, 238); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#google_map { | |
width: 100%; | |
height: 100%; | |
display: block; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#section6 { | |
box-sizing: border-box; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#div2 { | |
box-sizing: border-box; | |
position: relative; | |
height: 240px; | |
background-color: rgb(79, 125, 201); | |
padding: 24px; | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
} | |
#section2 { | |
background-color: rgb(238, 238, 238); | |
padding: 24px; | |
font-size: 16px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" flex navigation> | |
<core-toolbar id="core_toolbar"> | |
<span id="span">Menu</span> | |
</core-toolbar> | |
<core-menu selected="About-us" valueattr="label" selectedindex="4" id="core_menu" theme="core-light-theme"> | |
<core-item id="core_item" on-tap="{{ showWarning }}" label="latest Warnings" icon="warning" layout center horizontal></core-item> | |
<a href="{{ page.hash }}" origin="https://polymer-designer.appspot.com" protocol="https:" host="polymer-designer.appspot.com" hostname="polymer-designer.appspot.com" pathname="/components/element/" id="a">{{ page.name }}</a> | |
<core-item id="core_item1" on-tap="{{ showChart }}" label="current - PUE" icon="trending-up" layout center horizontal></core-item> | |
<core-item id="core_item2" on-tap="{{ showMap }}" label="Location-Map" icon="explore" layout center horizontal></core-item> | |
<core-item id="core_item3" on-tap="{{ showAbout }}" label="About-us" icon="info" layout center horizontal active></core-item> | |
</core-menu> | |
</core-header-panel> | |
<div id="div" tool>dcm.mobile -overview over your IT</div> | |
<div id="div1"></div> | |
<core-animated-pages transitions="slide-from-right" selectedindex="0" notap id="core_animated_pages"> | |
<section id="section1" active layout horizontal center center-justified> | |
<section id="section" vertical layout> | |
<div id="div2" hero> | |
<span id="span1">About us</span> | |
</div> | |
<section id="section2" flex hero> | |
<span>RZ-Products GmbH | |
In der Aue 2 | |
57584 Wallmenroth | |
Germany | |
Tel.: +49 2741 9321-0 | |
Fax: +49 2741 9321-111 | |
Internet: www.rz-products.de | |
</span> | |
</section> | |
</section> | |
</section> | |
<section id="section_map" active layout horizontal center center-justified> | |
<google-map latitude="50.79382394000001" longitude="7.837876080000008" zoom="17" showcentermarker id="google_map"></google-map> | |
</section> | |
<section id="section_about" active layout horizontal center center-justified> | |
<div id="div5">Tab three</div> | |
</section> | |
</core-animated-pages> | |
</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