Last active
August 29, 2015 14:11
-
-
Save SuperMohit/8a6154d1b85ceabfdeef 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="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-button/paper-button.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; | |
} | |
#core_header_panel { | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(64, 0, 128); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#paper_input { | |
left: 10%; | |
top: 0px; | |
position: relative; | |
} | |
#paper_button { | |
width: 20%; | |
position: relative; | |
left: 10%; | |
} | |
#paper_radio_group { | |
left: -10px; | |
top: 80px; | |
position: absolute; | |
} | |
#paper_radio_button { | |
position: relative; | |
left: 10%; | |
} | |
#paper_radio_button1 { | |
position: relative; | |
left: 10%; | |
} | |
#google_map_search { | |
left: 400px; | |
top: 290px; | |
position: absolute; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
top: 20%; | |
position: relative; | |
left: 10%; | |
} | |
#paper_input1 { | |
left: 10%; | |
position: relative; | |
} | |
#google_map_directions { | |
left: 590px; | |
top: 230px; | |
position: absolute; | |
display: block; | |
width: 100px; | |
height: 200px; | |
} | |
</style> | |
<core-scaffold id="core_scaffold"> | |
<core-header-panel mode="seamed" id="core_header_panel" navigation flex> | |
<core-toolbar id="core_toolbar"></core-toolbar> | |
<paper-radio-group selected="Show" valueattr="label" selectedindex="0" id="paper_radio_group"> | |
<paper-radio-button checked label="Show" id="paper_radio_button"></paper-radio-button> | |
<paper-radio-button label="Hide" id="paper_radio_button1"></paper-radio-button> | |
</paper-radio-group> | |
</core-header-panel> | |
<div id="div" tool>Title</div> | |
<form id="search"> | |
<paper-input label="Origin" id="paper_input"></paper-input> | |
<paper-input label="Destination" id="paper_input1"></paper-input> | |
<paper-button raised recenteringtouch id="paper_button">Routofy</paper-button> | |
</form> | |
<google-map latitude="37.866054159316406" longitude="-122.46748518554688" 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