Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. <link rel="import" href="../paper-button/paper-button.html">
  2. <link rel="import" href="../core-icons/core-icons.html">
  3. <link rel="import" href="../paper-item/paper-item.html">
  4. <link rel="import" href="../paper-tabs/paper-tabs.html">
  5. <link rel="import" href="../paper-tabs/paper-tab.html">
  6. <link rel="import" href="../core-icons/av-icons.html">
  7. <link rel="import" href="../paper-fab/paper-fab.html">
  8.  
  9. <polymer-element name="my-element">
  10.  
  11. <template>
  12. <style>
  13. :host {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. box-sizing: border-box;
  18. }
  19. #paper_button {
  20. left: 620px;
  21. top: 320px;
  22. position: absolute;
  23. background-color: rgb(255, 255, 128);
  24. }
  25. #paper_fab {
  26. left: 95px;
  27. top: 457px;
  28. position: absolute;
  29. }
  30. #div {
  31. left: 295px;
  32. top: 467px;
  33. position: absolute;
  34. }
  35. #paper_input {
  36. left: 1580px;
  37. top: 670px;
  38. }
  39. #paper_input1 {
  40. left: 1600px;
  41. top: 570px;
  42. }
  43. #paper_item {
  44. left: 1020px;
  45. top: 340px;
  46. position: absolute;
  47. }
  48. #paper_item1 {
  49. left: 840px;
  50. top: 410px;
  51. position: absolute;
  52. }
  53. #section {
  54. width: 420px;
  55. height: 630px;
  56. border: 5px solid rgb(204, 204, 204);
  57. left: 400px;
  58. top: 70px;
  59. position: absolute;
  60. }
  61. #paper_tabs {
  62. background-color: rgb(0, 188, 212);
  63. color: rgb(255, 255, 255);
  64. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  65. }
  66. </style>
  67. <paper-button raised id="paper_button">button</paper-button>
  68. <paper-item id="paper_item" icon="settings" label="Item"></paper-item>
  69. <paper-item id="paper_item1" icon="settings" label="Item"></paper-item>
  70. <section id="section" layout vertical>
  71. <paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout>
  72. <paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
  73. <paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
  74. </paper-tabs>
  75. <section id="section1" flex relative>
  76. <div id="div" layout horizontal>
  77. <paper-fab icon="check" id="paper_fab1"></paper-fab>
  78. </div>
  79. <paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
  80. </section>
  81. </section>
  82. </template>
  83.  
  84. <script>
  85.  
  86. Polymer({
  87.  
  88. });
  89.  
  90. </script>
  91.  
  92. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement