Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 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="../cool-clock/cool-clock.html">
  4. <link rel="import" href="../paper-button/paper-button.html">
  5. <link rel="import" href="../google-map/google-map.html">
  6. <link rel="import" href="../core-ajax/core-ajax.html">
  7. <link rel="import" href="../core-menu/core-submenu.html">
  8. <link rel="import" href="../core-item/core-item.html">
  9.  
  10. <polymer-element name="my-element">
  11.  
  12. <template>
  13. <style>
  14. :host {
  15. position: absolute;
  16. width: 100%;
  17. height: 100%;
  18. box-sizing: border-box;
  19. }
  20. #ace_element {
  21. width: 400px;
  22. height: 300px;
  23. left: 680px;
  24. top: 250px;
  25. position: absolute;
  26. }
  27. #ace_element1 {
  28. width: 100%;
  29. height: 100%;
  30. left: 0px;
  31. top: 0px;
  32. position: absolute;
  33. }
  34. #chart_js {
  35. width: 300px;
  36. height: 200px;
  37. left: 880px;
  38. top: 320px;
  39. position: absolute;
  40. }
  41. #cool_clock {
  42. width: 400px;
  43. height: 300px;
  44. left: 720px;
  45. top: 380px;
  46. position: absolute;
  47. }
  48. #ace_element2 {
  49. width: 400px;
  50. height: 300px;
  51. left: 710px;
  52. top: 340px;
  53. position: absolute;
  54. }
  55. #paper_button {
  56. left: 720px;
  57. top: 200px;
  58. position: absolute;
  59. }
  60. #google_map {
  61. width: 400px;
  62. height: 400px;
  63. display: block;
  64. left: 490px;
  65. top: 320px;
  66. position: absolute;
  67. }
  68. #core_ajax {
  69. left: 1040px;
  70. top: 330px;
  71. position: absolute;
  72. }
  73. #core_ajax1 {
  74. left: 1110px;
  75. top: 360px;
  76. position: absolute;
  77. }
  78. #chart_js1 {
  79. width: 300px;
  80. height: 200px;
  81. left: 960px;
  82. top: 180px;
  83. position: absolute;
  84. }
  85. #chart_js2 {
  86. width: 300px;
  87. height: 200px;
  88. left: 950px;
  89. top: 120px;
  90. position: absolute;
  91. }
  92. #core_menu {
  93. font-size: 16px;
  94. left: 200px;
  95. top: 60px;
  96. position: absolute;
  97. }
  98. #section {
  99. left: 540px;
  100. top: 100px;
  101. position: absolute;
  102. }
  103. #core_animated_pages {
  104. width: 420px;
  105. height: 582px;
  106. overflow: hidden;
  107. left: 1420px;
  108. top: 510px;
  109. background-color: rgb(238, 238, 238);
  110. }
  111. #core_card {
  112. position: absolute;
  113. width: 300px;
  114. height: 300px;
  115. border-radius: 2px;
  116. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  117. left: 900px;
  118. top: 130px;
  119. background-color: rgb(255, 255, 255);
  120. }
  121. </style>
  122. <ace-element id="ace_element">function test() {
  123. var x = true;
  124. }</ace-element>
  125. <ace-element id="ace_element1" horizontal layout start>function test() {
  126. var x = true;
  127. }</ace-element>
  128. <chart-js id="chart_js"></chart-js>
  129. <cool-clock id="cool_clock"></cool-clock>
  130. <ace-element id="ace_element2">function test() {
  131. var x = true;
  132. }</ace-element>
  133. <paper-button id="paper_button">button</paper-button>
  134. <google-map id="google_map"></google-map>
  135. <core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
  136. <core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax>
  137. <chart-js id="chart_js1">dd</chart-js>
  138. <chart-js id="chart_js2"></chart-js>
  139. <core-menu selected="0" selectedindex="0" id="core_menu">
  140. <core-submenu opened active id="core_submenu" icon="settings" label="Topics">
  141. <core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
  142. <core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
  143. </core-submenu>
  144. <core-submenu id="core_submenu1" icon="settings" label="Favorites">
  145. <core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
  146. <core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
  147. <core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
  148. </core-submenu>
  149. </core-menu>
  150. <section id="section"></section>
  151. <core-card id="core_card" layout vertical></core-card>
  152. </template>
  153.  
  154. <script>
  155.  
  156. Polymer({
  157.  
  158. });
  159.  
  160. </script>
  161.  
  162. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement