Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. <link href="../core-icon-button/core-icon-button.html" rel="import">
  2. <link href="../core-toolbar/core-toolbar.html" rel="import">
  3. <link href="../core-header-panel/core-header-panel.html" rel="import">
  4. <link href="../paper-button/paper-button.html" rel="import">
  5. <link href="../core-input/core-input.html" rel="import">
  6. <link href="../paper-checkbox/paper-checkbox.html" rel="import">
  7.  
  8. <polymer-element name="my-element">
  9.  
  10. <template>
  11. <style>
  12. #design_host {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. box-sizing: border-box;
  17. }
  18. #core_header_panel {
  19. width: 100%;
  20. height: 100%;
  21. left: 0px;
  22. top: 0px;
  23. position: absolute;
  24. }
  25. #core_toolbar {
  26. background-color: rgb(79, 125, 201);
  27. color: rgb(255, 255, 255);
  28. }
  29. #section {
  30. height: 1000px;
  31. background: linear-gradient(rgb(214, 227, 231), lightblue) repeat scroll 0% 0% transparent;
  32. }
  33. #paper_button {
  34. left: 543px;
  35. top: 206px;
  36. position: absolute;
  37. }
  38. #input {
  39. padding: 15px;
  40. left: 20px;
  41. top: 30px;
  42. position: absolute;
  43. }
  44. #input1 {
  45. padding: 15px;
  46. left: 20px;
  47. top: 60px;
  48. position: absolute;
  49. }
  50. #paper_checkbox {
  51. left: 830px;
  52. top: 446px;
  53. position: absolute;
  54. }
  55. </style>
  56. <core-header-panel mode="standard" id="core_header_panel">
  57. <core-toolbar id="core_toolbar">
  58. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  59. <div id="div">Header</div>
  60. </core-toolbar>
  61. <section id="section">
  62. <paper-button id="paper_button">button</paper-button>
  63. <input id="input" placeholder="type something..." is="core-input">
  64. <input id="input1" placeholder="type something..." is="core-input">
  65. <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
  66. </section>
  67. </core-header-panel>
  68. </template>
  69.  
  70. <script>
  71.  
  72. Polymer({
  73.  
  74. });
  75.  
  76. </script>
  77.  
  78. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement