Advertisement
Guest User

Untitled

a guest
May 24th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. <link rel="import" href="../core-drawer-panel/core-drawer-panel.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="../core-menu/core-submenu.html">
  5. <link rel="import" href="../core-item/core-item.html">
  6. <link rel="import" href="../paper-input/paper-input.html">
  7. <link rel="import" href="../paper-button/paper-button.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_calculator {
  20. width: 400px;
  21. height: 560px;
  22. left: 1280px;
  23. top: 590px;
  24. }
  25. #core_drawer_panel {
  26. position: absolute;
  27. top: 0px;
  28. right: 0px;
  29. bottom: 0px;
  30. left: -20px;
  31. }
  32. #section {
  33. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  34. background-color: rgb(250, 250, 250);
  35. }
  36. #section2 {
  37. height: 100%;
  38. box-sizing: border-box;
  39. background-color: rgb(221, 221, 221);
  40. }
  41. #core_toolbar {
  42. right: 0px;
  43. left: -6px;
  44. color: rgb(255, 255, 255);
  45. fill: rgb(255, 255, 255);
  46. top: 0px;
  47. position: absolute;
  48. background-color: rgb(79, 125, 201);
  49. }
  50. #core_drawer_panel1 {
  51. position: absolute;
  52. top: 560px;
  53. right: 0px;
  54. bottom: 0px;
  55. left: 1290px;
  56. }
  57. #core_selector {
  58. width: 100%;
  59. height: 50px;
  60. left: 1220px;
  61. top: 520px;
  62. }
  63. #core_card {
  64. border-radius: 2px;
  65. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  66. position: relative;
  67. padding: 10px;
  68. margin: 10px;
  69. top: 70px;
  70. background-color: rgb(255, 255, 255);
  71. }
  72. #paper_button {
  73. margin: 10px 0px;
  74. background-color: rgb(159, 167, 255);
  75. }
  76. #core_toolbar1 {
  77. right: 0px;
  78. left: 10px;
  79. color: rgb(255, 255, 255);
  80. fill: rgb(255, 255, 255);
  81. top: 0px;
  82. position: absolute;
  83. background-color: rgb(255, 72, 77);
  84. }
  85. #core_menu {
  86. font-size: 16px;
  87. left: 22px;
  88. top: 62px;
  89. position: absolute;
  90. }
  91. </style>
  92. <core-drawer-panel transition id="core_drawer_panel" touch-action>
  93. <section id="section" drawer>
  94. <core-toolbar id="core_toolbar1">
  95. <core-icon-button icon="menu" id="core_icon_button1"></core-icon-button>
  96. <div id="div1" flex>Menu</div>
  97. </core-toolbar>
  98. <core-menu selected="0" selectedindex="0" id="core_menu">
  99. <core-item id="core_item1" icon="settings" label="item1" horizontal center layout active></core-item>
  100. <core-item id="core_item" icon="settings" label="item2" horizontal center layout></core-item>
  101. </core-menu>
  102. </section>
  103. <section id="section2" main>
  104. <core-toolbar id="core_toolbar">
  105. <core-icon-button active icon="menu" id="core_icon_button" class="selected"></core-icon-button>
  106. <div id="div" flex>Voinovich Fish Finder</div>
  107. </core-toolbar>
  108. <core-card id="core_card" vertical layout>
  109. <paper-input label="Name" id="userName" three flex></paper-input>
  110. <paper-input label="Email" id="userEmail" vertical layout three flex></paper-input>
  111. <paper-button id="paper_button" three flex>Submit</paper-button>
  112. </core-card>
  113. </section>
  114. </core-drawer-panel>
  115. </template>
  116.  
  117. <script>
  118.  
  119. Polymer({
  120.  
  121. });
  122.  
  123. </script>
  124.  
  125. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement