Advertisement
Guest User

Untitled

a guest
May 7th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. <link rel="import" href="../core-ajax/core-ajax.html">
  2. <link rel="import" href="../core-field/core-field.html">
  3. <link rel="import" href="../core-icon/core-icon.html">
  4. <link rel="import" href="../core-input/core-input.html">
  5. <link rel="import" href="../paper-radio-group/paper-radio-group.html">
  6. <link rel="import" href="../paper-radio-button/paper-radio-button.html">
  7. <link rel="import" href="../paper-toast/paper-toast.html">
  8. <link rel="import" href="../paper-tabs/paper-tab.html">
  9. <link rel="import" href="../paper-tabs/paper-tabs.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. top: 0px;
  21. left: 0px;
  22. }
  23. #core_ajax {
  24. left: 890px;
  25. top: 380px;
  26. position: absolute;
  27. }
  28. #core_field {
  29. left: 810px;
  30. top: 330px;
  31. position: absolute;
  32. }
  33. #post_card {
  34. left: 100px;
  35. top: 120px;
  36. position: absolute;
  37. }
  38. #paper_radio_group {
  39. left: 660px;
  40. top: 460px;
  41. position: absolute;
  42. }
  43. #paper_toast {
  44. left: 700px;
  45. top: 420px;
  46. position: absolute;
  47. }
  48. #paper_toast1 {
  49. left: 660px;
  50. top: 390px;
  51. position: absolute;
  52. }
  53. #paper_toast2 {
  54. left: 700px;
  55. top: 410px;
  56. position: absolute;
  57. }
  58. #paper_toast3 {
  59. left: 660px;
  60. top: 390px;
  61. position: absolute;
  62. }
  63. #paper_toast4 {
  64. left: 730px;
  65. top: 420px;
  66. position: absolute;
  67. }
  68. #paper_toast5 {
  69. left: 750px;
  70. top: 410px;
  71. position: absolute;
  72. }
  73. #paper_tab {
  74. width: 120px;
  75. height: 40px;
  76. left: 610px;
  77. top: 340px;
  78. position: absolute;
  79. }
  80. #paper_tabs {
  81. width: 480px;
  82. color: rgb(255, 255, 255);
  83. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  84. left: 390px;
  85. top: 170px;
  86. position: absolute;
  87. background-color: rgb(0, 188, 212);
  88. }
  89. #section {
  90. width: 420px;
  91. height: 630px;
  92. border: 5px solid rgb(204, 204, 204);
  93. left: 470px;
  94. top: 50px;
  95. position: absolute;
  96. }
  97. #paper_tabs1 {
  98. color: rgb(255, 255, 255);
  99. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  100. background-color: rgb(0, 188, 212);
  101. }
  102. #paper_toast6 {
  103. left: -474.800018310547px;
  104. top: -102.800003051758px;
  105. position: absolute;
  106. }
  107. </style>
  108. <core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
  109. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  110. <core-input id="core_input" flex></core-input>
  111. </core-field>
  112. <post-card id="post_card">
  113. </post-card>
  114. <paper-radio-group selected="Large" valueattr="label" id="paper_radio_group">
  115. </paper-radio-group>
  116. <paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
  117. <paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  118. <paper-toast text="Toast!" id="paper_toast2" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  119. <paper-toast text="Toast!" id="paper_toast3" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  120. <paper-toast text="Toast!" id="paper_toast4" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  121. <paper-toast text="Toast!" id="paper_toast5" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  122. <paper-tab id="paper_tab" inline flex center-center horizontal layout>TAB</paper-tab>
  123. <paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
  124. <paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  125. <paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  126. <paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM THREE</paper-tab>
  127. <paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
  128. <paper-tab id="paper_tab5" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
  129. </paper-tabs>
  130. <section id="section" layout vertical>
  131. <paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs1" horizontal center layout>
  132. <paper-tab id="paper_tab6" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  133. <paper-tab id="paper_tab7" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  134. </paper-tabs>
  135. <section id="section1" flex relative>
  136. <paper-toast text="Toast!" id="paper_toast6" touch-action="none" class="core-transition core-transition-bottom"></paper-toast>
  137. </section>
  138. </section>
  139. </template>
  140.  
  141. <script>
  142.  
  143. Polymer({
  144.  
  145. });
  146.  
  147. </script>
  148.  
  149. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement