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-scroll-header-panel/core-scroll-header-panel.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: 400px;
- right: 0px;
- bottom: 0px;
- left: 1210px;
- }
- #core_scroll_header_panel {
- width: 100%;
- height: 460px;
- left: 0px;
- top: 0px;
- position: static;
- }
- #core_toolbar {
- color: rgb(241, 241, 241);
- fill: rgb(241, 241, 241);
- width: 100%;
- background-color: rgb(66, 133, 244);
- }
- #section {
- height: 400px;
- width: 100%;
- left: 0px;
- top: 60px;
- position: absolute;
- background: linear-gradient(rgb(214, 227, 231), lightblue);
- }
- #google_map {
- width: 50%;
- height: 50%;
- display: block;
- left: 10px;
- top: 10px;
- position: absolute;
- }
- </style>
- <core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
- <core-toolbar id="core_toolbar" class="small">
- <core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
- <div id="div" flex></div>
- <core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
- <core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
- <div id="div1" class="bottom indent">Title</div>
- </core-toolbar>
- <section id="section" content>
- <google-map latitude="37.77493000000002" id="google_map"></google-map>
- </section>
- </core-scroll-header-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement