Last active
August 29, 2015 14:16
-
-
Save 7NT/a284ebc8a90edec76123 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../google-map/google-map.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); | |
} | |
#google_map { | |
width: 100%; | |
height: 100%; | |
display: block; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#div { | |
left: 50px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_field { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon1 { | |
left: 10px; | |
top: 20px; | |
position: absolute; | |
} | |
#section { | |
width: 100%; | |
height: 100%; | |
border: 5px solid rgb(204, 204, 204); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"> | |
<core-field id="core_field" icon="search" theme="core-light-theme" horizontal layout start one flex center> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" flex></core-input> | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-field> | |
</core-toolbar> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab_aq" inline flex center-center horizontal layout active>Air Quality</paper-tab> | |
<paper-tab id="paper_tab_met" inline flex center-center horizontal layout>Meteorology</paper-tab> | |
</paper-tabs> | |
<section id="section_aq" flex relative> | |
<core-list> | |
</core-list> | |
</section> | |
</section> | |
</core-header-panel> | |
<div id="div" tool>BAAQMD Air Now</div> | |
<core-icon src="http://166.78.82.234/airnow/img/baaqmd.jpg" id="core_icon1" tool></core-icon> | |
<google-map latitude="37.970599543942896" longitude="-122.122789140625" id="google_map"></google-map> | |
</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