Last active
August 29, 2015 14:10
-
-
Save vp360/81304b531c46e7acf56f 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-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"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#core_ajax { | |
left: 1190px; | |
top: 440px; | |
} | |
#paper_button { | |
left: 13px; | |
top: 160px; | |
position: absolute; | |
} | |
#google_map_directions { | |
left: 1270px; | |
top: 440px; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 1270px; | |
top: 360px; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: auto; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 150px; | |
top: 110px; | |
background-color: rgb(61, 154, 126); | |
} | |
#core_field { | |
height: auto; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<core-card id="core_card" layout vertical> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" flex>type</core-input> | |
</core-field> | |
</core-card> | |
</template> | |
<script> | |
Polymer({ | |
showRoad: function () { | |
this.$.google_map.mapType='roadmap'; | |
}, | |
showSat: function () { | |
this.$.google_map.mapType='satellite'; | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment