Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../google-map/google-map.html">
- <link rel="import" href="../paper-button/paper-button.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="../core-icons/core-icons.html">
- <link rel="import" href="../core-icon/core-icon.html">
- <link rel="import" href="../core-input/core-input.html">
- <link rel="import" href="../paper-checkbox/paper-checkbox.html">
- <link rel="import" href="../core-field/core-field.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- top: 0px;
- left: 0px;
- }
- #paper_button {
- left: 710px;
- top: 180px;
- position: absolute;
- background-color: rgb(117, 177, 252);
- }
- #google_map {
- width: 910px;
- height: 520px;
- display: block;
- left: 290px;
- top: 230px;
- position: absolute;
- }
- #core_menu {
- font-size: 16px;
- left: 70px;
- top: 50px;
- }
- #core_toolbar {
- right: 0px;
- left: 0px;
- color: rgb(255, 255, 255);
- fill: rgb(255, 255, 255);
- top: 0px;
- position: absolute;
- background-color: rgb(79, 125, 201);
- }
- #core_card {
- position: absolute;
- width: 300px;
- height: 300px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 1230px;
- top: 250px;
- background-color: rgb(255, 255, 255);
- }
- #input {
- padding: 15px;
- }
- #core_icon {
- left: 870px;
- top: 180px;
- position: absolute;
- }
- #paper_checkbox {
- left: 380px;
- top: 120px;
- position: absolute;
- }
- #core_field {
- left: 140px;
- top: 230px;
- position: absolute;
- }
- </style>
- <google-map latitude="37.63477040615048" longitude="-121.01591658203125" id="google_map"></google-map>
- <paper-button raised id="paper_button">Search</paper-button>
- <core-toolbar id="core_toolbar">
- <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
- <div id="div" flex>Toolbar</div>
- </core-toolbar>
- <core-icon icon="alarm" id="core_icon"></core-icon>
- <core-card id="core_card" layout vertical>
- <input id="input" placeholder="type something..." is="core-input">
- </core-card>
- <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
- <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
- <core-icon icon="search" id="core_icon1"></core-icon>
- <core-input id="core_input" flex></core-input>
- </core-field>
- </template>
- <script>
- Polymer({
- search: 'search'
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement