Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../google-map/google-map-directions.html">
- <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
- <link rel="import" href="../paper-button/paper-button.html">
- <link rel="import" href="../paper-checkbox/paper-checkbox.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #google_map_directions {
- left: 820px;
- top: 310px;
- position: absolute;
- }
- #paper_button {
- left: 13px;
- top: 70px;
- position: absolute;
- }
- #paper_checkbox {
- left: 20px;
- top: 110px;
- position: absolute;
- width: 140px;
- height: 60px;
- }
- #core_drawer_panel {
- position: absolute;
- top: 10px;
- right: 0px;
- bottom: 0px;
- left: 10px;
- }
- #section {
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- background-color: rgb(250, 250, 250);
- }
- #section1 {
- height: 100%;
- box-sizing: border-box;
- background-color: rgb(221, 221, 221);
- }
- </style>
- <google-map-directions id="google_map_directions"></google-map-directions>
- <core-drawer-panel transition id="core_drawer_panel" touch-action>
- <section id="section" drawer>
- <paper-button id="paper_button">button</paper-button>
- <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
- </section>
- <section id="section1" main></section>
- </core-drawer-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement