Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. <link rel="import" href="../code-mirror/code-mirror.html">
  2. <link rel="import" href="../cool-clock/cool-clock.html">
  3. <link rel="import" href="../google-map/google-map.html">
  4. <link rel="import" href="../yt-video/yt-search-video.html">
  5. <link rel="import" href="../speech-mic/speech-mic.html">
  6. <link rel="import" href="../core-icon-button/core-icon-button.html">
  7. <link rel="import" href="../core-toolbar/core-toolbar.html">
  8. <link rel="import" href="../core-header-panel/core-header-panel.html">
  9. <link rel="import" href="../core-field/core-field.html">
  10. <link rel="import" href="../core-icon/core-icon.html">
  11. <link rel="import" href="../core-input/core-input.html">
  12. <link rel="import" href="../core-icons/core-icons.html">
  13.  
  14. <polymer-element name="my-element">
  15.  
  16. <template>
  17. <style>
  18. :host {
  19. position: absolute;
  20. width: 100%;
  21. height: 100%;
  22. box-sizing: border-box;
  23. }
  24. #code_mirror {
  25. width: 400px;
  26. height: 300px;
  27. left: 560px;
  28. top: 160px;
  29. position: absolute;
  30. }
  31. #cool_clock {
  32. width: 400px;
  33. height: 300px;
  34. left: 990px;
  35. top: 350px;
  36. position: absolute;
  37. }
  38. #google_map {
  39. width: 400px;
  40. height: 400px;
  41. display: block;
  42. left: 990px;
  43. top: 140px;
  44. position: absolute;
  45. }
  46. #yt_search_video {
  47. width: 300px;
  48. height: 300px;
  49. left: 990px;
  50. top: 540px;
  51. position: absolute;
  52. }
  53. #speech_mic {
  54. left: 750px;
  55. top: 520px;
  56. position: absolute;
  57. }
  58. #core_field {
  59. left: 230px;
  60. top: 16px;
  61. position: absolute;
  62. }
  63. #core_icon {
  64. left: 240px;
  65. top: 26px;
  66. position: absolute;
  67. }
  68. #core_header_panel {
  69. width: 300px;
  70. height: 400px;
  71. left: 150px;
  72. top: 360px;
  73. position: absolute;
  74. }
  75. #core_toolbar {
  76. color: rgb(255, 255, 255);
  77. background-color: rgb(79, 125, 201);
  78. }
  79. #section {
  80. height: 1000px;
  81. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  82. }
  83. #input {
  84. padding: 15px;
  85. left: 10px;
  86. top: 16px;
  87. position: absolute;
  88. }
  89. </style>
  90. <code-mirror value="<polymer-element name='my-element'>
  91. <template></template>
  92. <script>
  93. Polymer('my-element', {});
  94. </script>
  95. </polymer-element>" id="code_mirror"><polymer-element name='my-element'>
  96. <template></template>
  97. <script>
  98. Polymer('my-element', {});
  99. </script>
  100. </polymer-element></code-mirror>
  101. <cool-clock id="cool_clock"></cool-clock>
  102. <google-map latitude="37.341647980360804" longitude="-121.91130232421875" id="google_map"></google-map>
  103. <yt-search-video id="yt_search_video"></yt-search-video>
  104. <speech-mic id="speech_mic"></speech-mic>
  105. <core-header-panel mode="standard" id="core_header_panel">
  106. <core-toolbar id="core_toolbar">
  107. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  108. <div id="div">Header</div>
  109. </core-toolbar>
  110. <section id="section">
  111. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  112. <core-input id="core_input" flex></core-input>
  113. </core-field>
  114. <core-icon icon="search" id="core_icon"></core-icon>
  115. <input id="input" placeholder="type something..." is="core-input">
  116. </section>
  117. </core-header-panel>
  118. </template>
  119.  
  120. <script>
  121.  
  122. Polymer({
  123.  
  124. });
  125.  
  126. </script>
  127.  
  128. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement