Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. <link rel="import" href="../paper-toast/paper-toast.html">
  2. <link rel="import" href="../core-icon-button/core-icon-button.html">
  3. <link rel="import" href="../core-toolbar/core-toolbar.html">
  4. <link rel="import" href="../paper-checkbox/paper-checkbox.html">
  5. <link rel="import" href="../core-icons/core-icons.html">
  6. <link rel="import" href="../core-icons/av-icons.html">
  7. <link rel="import" href="../paper-fab/paper-fab.html">
  8. <link rel="import" href="../core-menu/core-submenu.html">
  9. <link rel="import" href="../core-item/core-item.html">
  10. <link rel="import" href="../ace-element/ace-element.html">
  11. <link rel="import" href="../paper-radio-group/paper-radio-group.html">
  12. <link rel="import" href="../paper-radio-button/paper-radio-button.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. opacity: 0.8;
  24. }
  25. #chart_js {
  26. width: 300px;
  27. height: 200px;
  28. left: 340px;
  29. top: 160px;
  30. position: absolute;
  31. }
  32. #code_mirror {
  33. width: 400px;
  34. height: 300px;
  35. left: 290px;
  36. top: 110px;
  37. position: absolute;
  38. }
  39. #paper_button1 {
  40. left: 1060px;
  41. top: 340px;
  42. }
  43. #paper_toast {
  44. left: 660px;
  45. top: 430px;
  46. position: absolute;
  47. }
  48. #paper_toast3 {
  49. left: 1050px;
  50. top: 420px;
  51. }
  52. #topeka_profile {
  53. width: 300px;
  54. height: 300px;
  55. left: 1000px;
  56. top: 340px;
  57. }
  58. #topeka_leaderboard {
  59. width: 300px;
  60. height: 300px;
  61. left: 1040px;
  62. top: 290px;
  63. }
  64. #core_toolbar {
  65. right: 0px;
  66. left: -20px;
  67. color: rgb(255, 255, 255);
  68. fill: rgb(255, 255, 255);
  69. top: -10px;
  70. position: absolute;
  71. background-color: rgb(79, 125, 201);
  72. }
  73. #core_card {
  74. position: relative;
  75. width: 300px;
  76. height: 300px;
  77. border-radius: 2px;
  78. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  79. left: 270px;
  80. top: 120px;
  81. background-color: rgb(255, 255, 255);
  82. }
  83. #core_card1 {
  84. position: absolute;
  85. width: 300px;
  86. height: 300px;
  87. border-radius: 2px;
  88. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  89. left: 670px;
  90. top: 120px;
  91. background-color: rgb(255, 255, 255);
  92. }
  93. #core_menu {
  94. font-size: 16px;
  95. left: 0px;
  96. top: 100px;
  97. position: absolute;
  98. }
  99. #section {
  100. left: 80px;
  101. top: 430px;
  102. position: absolute;
  103. }
  104. #paper_checkbox {
  105. width: 150px;
  106. height: 50px;
  107. top: 40px;
  108. }
  109. #ace_element {
  110. width: 400px;
  111. height: 300px;
  112. left: 720px;
  113. top: 160px;
  114. position: absolute;
  115. }
  116. #topeka_datasource {
  117. left: 1230px;
  118. top: 380px;
  119. }
  120. #paper_radio_group {
  121. left: 690px;
  122. top: 190px;
  123. position: absolute;
  124. }
  125. </style>
  126. <paper-toast text="Toast!" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none"></paper-toast>
  127. <core-toolbar id="core_toolbar">
  128. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  129. <div id="div" flex>Toolbar</div>
  130. </core-toolbar>
  131. <core-card id="core_card" layout vertical>
  132. <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
  133. <paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
  134. </core-card>
  135. <core-card id="core_card1" layout vertical></core-card>
  136. <core-menu selected="0" selectedindex="0" id="core_menu">
  137. <core-submenu opened active id="core_submenu" icon="settings" label="Topics">
  138. <core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
  139. <core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
  140. </core-submenu>
  141. <core-submenu id="core_submenu1" icon="settings" label="Favorites">
  142. <core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
  143. <core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
  144. <core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
  145. </core-submenu>
  146. </core-menu>
  147. <section id="section" layout horizontal center center-justified>
  148. </section>
  149. <ace-element id="ace_element">function test() {
  150. var x = true;
  151. }</ace-element>
  152. <paper-radio-group selected="Large" valueattr="label" selectedindex="2" id="paper_radio_group">
  153. <paper-radio-button label="Small" id="paper_radio_button"></paper-radio-button>
  154. <paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
  155. <paper-radio-button checked label="Large" id="paper_radio_button2"></paper-radio-button>
  156. </paper-radio-group>
  157. </template>
  158.  
  159. <script>
  160.  
  161. Polymer({
  162.  
  163. });
  164.  
  165. </script>
  166.  
  167. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement