Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. <link rel="import" href="../ace-element/ace-element.html">
  2. <link rel="import" href="../chart-js/chart-js.html">
  3. <link rel="import" href="../google-map/google-map-directions.html">
  4. <link rel="import" href="../google-map/google-map-search.html">
  5. <link rel="import" href="../cool-clock/cool-clock.html">
  6. <link rel="import" href="../notification-elements/notification-alert.html">
  7. <link rel="import" href="../paper-tabs/paper-tabs.html">
  8. <link rel="import" href="../paper-tabs/paper-tab.html">
  9. <link rel="import" href="../paper-button/paper-button.html">
  10.  
  11. <polymer-element name="my-element">
  12.  
  13. <template>
  14. <style>
  15. :host {
  16. position: absolute;
  17. width: 100%;
  18. height: 100%;
  19. box-sizing: border-box;
  20. }
  21. #ace_element {
  22. width: 400px;
  23. height: 300px;
  24. left: 640px;
  25. top: 300px;
  26. position: absolute;
  27. }
  28. #chart_js {
  29. width: 300px;
  30. height: 200px;
  31. left: 810px;
  32. top: 360px;
  33. position: absolute;
  34. }
  35. #google_map_directions {
  36. left: 780px;
  37. top: 410px;
  38. position: absolute;
  39. }
  40. #google_map_directions1 {
  41. left: 1170px;
  42. top: 480px;
  43. position: absolute;
  44. }
  45. #google_map_search {
  46. left: 910px;
  47. top: 170px;
  48. position: absolute;
  49. }
  50. #cool_clock {
  51. width: 400px;
  52. height: 300px;
  53. left: 630px;
  54. top: 610px;
  55. position: absolute;
  56. }
  57. #notification_alert {
  58. left: 810px;
  59. top: 690px;
  60. position: absolute;
  61. }
  62. #notification_alert1 {
  63. left: 980px;
  64. top: 410px;
  65. position: absolute;
  66. }
  67. #notification_alert2 {
  68. left: 670px;
  69. top: 20px;
  70. position: absolute;
  71. }
  72. #section {
  73. width: 420px;
  74. height: 630px;
  75. border: 5px solid rgb(204, 204, 204);
  76. left: 1040px;
  77. top: 140px;
  78. position: absolute;
  79. }
  80. #paper_tabs {
  81. color: rgb(255, 255, 255);
  82. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  83. background-color: rgb(0, 188, 212);
  84. }
  85. #paper_button {
  86. left: 68px;
  87. top: 47px;
  88. position: absolute;
  89. opacity: 1;
  90. background-color: rgb(0, 128, 192);
  91. }
  92. #chart_js1 {
  93. width: 100%;
  94. height: 100%;
  95. left: 0px;
  96. top: 0px;
  97. position: absolute;
  98. }
  99. </style>
  100. <ace-element id="ace_element">function test() {
  101. var x = true;
  102. }</ace-element>
  103. <chart-js id="chart_js"></chart-js>
  104. <google-map-directions id="google_map_directions"></google-map-directions>
  105. <google-map-directions id="google_map_directions1"></google-map-directions>
  106. <google-map-search id="google_map_search"></google-map-search>
  107. <cool-clock id="cool_clock"></cool-clock>
  108. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
  109. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
  110. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert2"></notification-alert>
  111. <section id="section" layout vertical>
  112. <paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout>
  113. <paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
  114. <paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
  115. </paper-tabs>
  116. <section id="section1" flex relative>
  117. <paper-button raised id="paper_button">button</paper-button>
  118. <chart-js id="chart_js1"></chart-js>
  119. </section>
  120. </section>
  121. </template>
  122.  
  123. <script>
  124.  
  125. Polymer({
  126.  
  127. });
  128.  
  129. </script>
  130.  
  131. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement