Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <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="../google-map/google-map.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_header_panel {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #core_toolbar {
- color: rgb(255, 255, 255);
- background-color: rgb(79, 125, 201);
- }
- #section {
- height: 1000px;
- background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
- }
- #google_map {
- width: 100%;
- height: 100%;
- display: block;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #core_field {
- left: 58px;
- top: 10px;
- position: absolute;
- }
- #input {
- padding: 15px;
- background-color: rgb(245, 245, 245);
- }
- </style>
- <core-header-panel mode="standard" id="core_header_panel">
- <core-toolbar id="core_toolbar">
- <core-icon icon="custom-icons:fancy-circles" size="30"></core-icon>
- <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
- <core-input id="core_input" flex></core-input>
- </core-field>
- <input committedvalue="hello" id="input" value="hello" placeholder="type something..." is="core-input" two flex>
- </core-toolbar>
- <section id="section">
- <google-map latitude="37.69945059138476" longitude="-122.00811934082031" id="google_map"></google-map>
- </section>
- </core-header-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement