Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. <link rel="import" href="../paper-button/paper-button.html">
  2. <link rel="import" href="../paper-checkbox/paper-checkbox.html">
  3. <link rel="import" href="../core-icons/core-icons.html">
  4. <link rel="import" href="../paper-icon-button/paper-icon-button.html">
  5. <link rel="import" href="../paper-item/paper-item.html">
  6. <link rel="import" href="../paper-tabs/paper-tab.html">
  7. <link rel="import" href="../paper-toast/paper-toast.html">
  8. <link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
  9. <link rel="import" href="../paper-progress/paper-progress.html">
  10. <link rel="import" href="../paper-input/paper-input.html">
  11. <link rel="import" href="../core-icons/av-icons.html">
  12. <link rel="import" href="../paper-fab/paper-fab.html">
  13. <link rel="import" href="../paper-slider/paper-slider.html">
  14. <link rel="import" href="../chart-js/chart-js.html">
  15. <link rel="import" href="../ace-element/ace-element.html">
  16. <link rel="import" href="../speech-mic/speech-mic.html">
  17. <link rel="import" href="../core-icon/core-icon.html">
  18. <link rel="import" href="../core-icon-button/core-icon-button.html">
  19. <link rel="import" href="../core-tooltip/core-tooltip.html">
  20. <link rel="import" href="../core-toolbar/core-toolbar.html">
  21. <link rel="import" href="../core-header-panel/core-header-panel.html">
  22. <link rel="import" href="../core-menu/core-submenu.html">
  23. <link rel="import" href="../core-item/core-item.html">
  24. <link rel="import" href="../paper-ripple/paper-ripple.html">
  25.  
  26. <polymer-element name="my-element">
  27.  
  28. <template>
  29. <style>
  30. :host {
  31. position: absolute;
  32. width: 100%;
  33. height: 100%;
  34. box-sizing: border-box;
  35. }
  36. #paper_button {
  37. left: 650px;
  38. top: 120px;
  39. position: absolute;
  40. }
  41. #paper_checkbox {
  42. left: 780px;
  43. top: 190px;
  44. position: absolute;
  45. }
  46. #paper_fab {
  47. left: 500px;
  48. top: 30px;
  49. position: absolute;
  50. }
  51. #div {
  52. left: 580px;
  53. top: 30px;
  54. position: absolute;
  55. }
  56. #paper_icon_button {
  57. left: 850px;
  58. top: 290px;
  59. position: absolute;
  60. }
  61. #paper_item {
  62. left: 890px;
  63. top: 390px;
  64. position: absolute;
  65. }
  66. #paper_input {
  67. left: 910px;
  68. top: 220px;
  69. position: absolute;
  70. }
  71. #paper_item1 {
  72. left: 860px;
  73. top: 490px;
  74. position: absolute;
  75. }
  76. #section {
  77. width: 420px;
  78. height: 630px;
  79. border: 5px solid rgb(204, 204, 204);
  80. left: 50px;
  81. top: 0px;
  82. position: absolute;
  83. }
  84. #paper_tabs {
  85. color: rgb(255, 255, 255);
  86. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  87. background-color: rgb(0, 188, 212);
  88. }
  89. #paper_progress {
  90. left: 820px;
  91. top: 40px;
  92. position: absolute;
  93. }
  94. #paper_item2 {
  95. left: 870px;
  96. top: 140px;
  97. position: absolute;
  98. }
  99. #paper_tab2 {
  100. width: 120px;
  101. height: 40px;
  102. left: 640px;
  103. top: 240px;
  104. position: absolute;
  105. }
  106. #paper_tabs1 {
  107. width: 480px;
  108. color: rgb(255, 255, 255);
  109. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  110. left: 45.5555534362793px;
  111. top: 124.444443702698px;
  112. position: absolute;
  113. background-color: rgb(0, 188, 212);
  114. }
  115. #paper_toast {
  116. left: 940px;
  117. top: 580px;
  118. position: absolute;
  119. }
  120. #paper_toggle_button {
  121. left: 880px;
  122. top: 150px;
  123. position: absolute;
  124. }
  125. #topeka_categories {
  126. width: 100%;
  127. height: 600px;
  128. left: 55.5555534362793px;
  129. top: 254.444443702698px;
  130. position: static;
  131. }
  132. #section2 {
  133. box-sizing: border-box;
  134. width: 420px;
  135. height: 582px;
  136. left: 1240px;
  137. top: 480px;
  138. }
  139. #paper_slider {
  140. left: 770px;
  141. top: 60px;
  142. position: absolute;
  143. }
  144. #chart_js {
  145. width: 300px;
  146. height: 200px;
  147. left: 600px;
  148. top: 320px;
  149. position: absolute;
  150. }
  151. #ace_element {
  152. width: 400px;
  153. height: 300px;
  154. left: 480px;
  155. top: 270px;
  156. position: absolute;
  157. }
  158. #speech_mic {
  159. left: 960px;
  160. top: 140px;
  161. position: absolute;
  162. }
  163. #core_card {
  164. position: absolute;
  165. width: 300px;
  166. height: 300px;
  167. border-radius: 2px;
  168. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  169. left: -44.4444465637207px;
  170. top: 264.444443702698px;
  171. background-color: rgb(255, 255, 255);
  172. }
  173. #core_header_panel {
  174. width: 300px;
  175. height: 400px;
  176. left: 330px;
  177. top: 150px;
  178. position: absolute;
  179. }
  180. #core_toolbar {
  181. color: rgb(255, 255, 255);
  182. background-color: rgb(79, 125, 201);
  183. }
  184. #core_icon {
  185. left: 730px;
  186. top: 260px;
  187. position: absolute;
  188. }
  189. #core_icon_button1 {
  190. left: 930px;
  191. top: 290px;
  192. position: absolute;
  193. }
  194. #core_scroll_header_panel {
  195. width: 380px;
  196. height: 460px;
  197. left: 255.555553436279px;
  198. top: 134.444443702698px;
  199. position: absolute;
  200. }
  201. #core_toolbar1 {
  202. color: rgb(241, 241, 241);
  203. fill: rgb(241, 241, 241);
  204. background-color: rgb(66, 133, 244);
  205. }
  206. #section3 {
  207. height: 5000px;
  208. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  209. }
  210. #section4 {
  211. left: 730px;
  212. top: 90px;
  213. position: absolute;
  214. }
  215. #core_submenu {
  216. left: 20px;
  217. top: -13.9930725097656px;
  218. position: absolute;
  219. }
  220. #core_tooltip {
  221. left: 790px;
  222. top: 110px;
  223. position: absolute;
  224. }
  225. #paper_ripple {
  226. width: 300px;
  227. height: 300px;
  228. left: 200px;
  229. top: 280px;
  230. position: absolute;
  231. }
  232. #core_scaffold {
  233. position: absolute;
  234. top: 450px;
  235. right: 0px;
  236. bottom: 0px;
  237. left: 1240px;
  238. }
  239. </style>
  240. <paper-button id="paper_button">button</paper-button>
  241. <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
  242. <paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
  243. <paper-item id="paper_item" icon="settings" label="Item"></paper-item>
  244. <paper-item id="paper_item1" icon="settings" label="Item"></paper-item>
  245. <paper-item id="paper_item2" icon="settings" label="Item"></paper-item>
  246. <paper-tab id="paper_tab2" inline flex center-center horizontal layout>TAB</paper-tab>
  247. <paper-toast text="Toast!" id="paper_toast" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  248. <paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
  249. <paper-progress id="paper_progress"></paper-progress>
  250. <paper-input label="Type something..." id="paper_input"></paper-input>
  251. <paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
  252. <div id="div" layout horizontal>
  253. <paper-fab icon="check" id="paper_fab1"></paper-fab>
  254. </div>
  255. <paper-slider id="paper_slider"></paper-slider>
  256. <chart-js id="chart_js"></chart-js>
  257. <ace-element id="ace_element">function test() {
  258. var x = true;
  259. }</ace-element>
  260. <speech-mic id="speech_mic"></speech-mic>
  261. <core-icon icon="search" id="core_icon"></core-icon>
  262. <core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
  263. <section id="section4"></section>
  264. <core-tooltip label="I'm a tooltip" id="core_tooltip">
  265. <span id="span">Hover over me.</span>
  266. </core-tooltip>
  267. <core-header-panel id="core_header_panel">
  268. <core-toolbar id="core_toolbar">
  269. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  270. <div id="div1">Header</div>
  271. </core-toolbar>
  272. <section id="section2">
  273. <core-submenu id="core_submenu" icon="settings" label="Topics">
  274. <core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
  275. <core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
  276. </core-submenu>
  277. </section>
  278. </core-header-panel>
  279. <paper-ripple id="paper_ripple"></paper-ripple>
  280. </template>
  281.  
  282. <script>
  283.  
  284. Polymer({
  285.  
  286. });
  287.  
  288. </script>
  289.  
  290. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement