Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../ace-element/ace-element.html">
- <link rel="import" href="../chart-js/chart-js.html">
- <link rel="import" href="../google-map/google-map-directions.html">
- <link rel="import" href="../google-map/google-map-search.html">
- <link rel="import" href="../cool-clock/cool-clock.html">
- <link rel="import" href="../notification-elements/notification-alert.html">
- <link rel="import" href="../paper-tabs/paper-tabs.html">
- <link rel="import" href="../paper-tabs/paper-tab.html">
- <link rel="import" href="../paper-button/paper-button.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #ace_element {
- width: 400px;
- height: 300px;
- left: 640px;
- top: 300px;
- position: absolute;
- }
- #chart_js {
- width: 300px;
- height: 200px;
- left: 810px;
- top: 360px;
- position: absolute;
- }
- #google_map_directions {
- left: 780px;
- top: 410px;
- position: absolute;
- }
- #google_map_directions1 {
- left: 1170px;
- top: 480px;
- position: absolute;
- }
- #google_map_search {
- left: 910px;
- top: 170px;
- position: absolute;
- }
- #cool_clock {
- width: 400px;
- height: 300px;
- left: 630px;
- top: 610px;
- position: absolute;
- }
- #notification_alert {
- left: 810px;
- top: 690px;
- position: absolute;
- }
- #notification_alert1 {
- left: 980px;
- top: 410px;
- position: absolute;
- }
- #notification_alert2 {
- left: 670px;
- top: 20px;
- position: absolute;
- }
- #section {
- width: 420px;
- height: 630px;
- border: 5px solid rgb(204, 204, 204);
- left: 1040px;
- top: 140px;
- position: absolute;
- }
- #paper_tabs {
- color: rgb(255, 255, 255);
- box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
- background-color: rgb(0, 188, 212);
- }
- #paper_button {
- left: 68px;
- top: 47px;
- position: absolute;
- opacity: 1;
- background-color: rgb(0, 128, 192);
- }
- #chart_js1 {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- </style>
- <ace-element id="ace_element">function test() {
- var x = true;
- }</ace-element>
- <chart-js id="chart_js"></chart-js>
- <google-map-directions id="google_map_directions"></google-map-directions>
- <google-map-directions id="google_map_directions1"></google-map-directions>
- <google-map-search id="google_map_search"></google-map-search>
- <cool-clock id="cool_clock"></cool-clock>
- <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
- <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
- <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert2"></notification-alert>
- <section id="section" layout vertical>
- <paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout>
- <paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
- <paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
- </paper-tabs>
- <section id="section1" flex relative>
- <paper-button raised id="paper_button">button</paper-button>
- <chart-js id="chart_js1"></chart-js>
- </section>
- </section>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement