Advertisement
Guest User

Untitled

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