Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 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.  
  5. <polymer-element name="my-element">
  6.  
  7. <template>
  8. <style>
  9. :host {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. box-sizing: border-box;
  14. }
  15. #core_header_panel {
  16. width: 100%;
  17. height: 100%;
  18. left: 0px;
  19. top: 0px;
  20. position: absolute;
  21. }
  22. #core_toolbar {
  23. color: rgb(255, 255, 255);
  24. background-color: rgb(79, 125, 201);
  25. }
  26. #section {
  27. height: 1000px;
  28. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  29. }
  30. #core_card {
  31. position: absolute;
  32. width: 1450px;
  33. height: 140px;
  34. border-radius: 2px;
  35. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  36. left: 10px;
  37. top: 36.0044631958008px;
  38. background-color: rgb(255, 255, 255);
  39. }
  40. #core_card1 {
  41. position: absolute;
  42. width: 600px;
  43. height: 240px;
  44. border-radius: 2px;
  45. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  46. left: 20px;
  47. top: 196.004463195801px;
  48. background-color: rgb(255, 255, 255);
  49. }
  50. #core_card2 {
  51. position: absolute;
  52. width: 210px;
  53. height: 550px;
  54. border-radius: 2px;
  55. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  56. left: 20px;
  57. top: 470.290176391602px;
  58. background-color: rgb(255, 255, 255);
  59. }
  60. </style>
  61. <core-header-panel mode="waterfall" id="core_header_panel">
  62. <core-toolbar id="core_toolbar">
  63. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  64. <div id="div">Header</div>
  65. </core-toolbar>
  66. <section id="section">
  67. <core-card id="core_card" layout vertical></core-card>
  68. <core-card id="core_card1" layout vertical></core-card>
  69. <core-card id="core_card2" layout vertical></core-card>
  70. </section>
  71. </core-header-panel>
  72. </template>
  73.  
  74. <script>
  75.  
  76. Polymer({
  77.  
  78. });
  79.  
  80. </script>
  81.  
  82. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement