Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 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-field/core-field.html">
  5. <link rel="import" href="../core-icon/core-icon.html">
  6. <link rel="import" href="../core-input/core-input.html">
  7. <link rel="import" href="../core-icons/core-icons.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. #core_header_panel {
  20. width: 950px;
  21. height: 840px;
  22. left: 0px;
  23. top: 0px;
  24. position: absolute;
  25. }
  26. #core_toolbar {
  27. background-color: rgb(79, 125, 201);
  28. color: rgb(255, 255, 255);
  29. }
  30. #section {
  31. height: 1000px;
  32. background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  33. }
  34. #core_card {
  35. position: absolute;
  36. width: 300px;
  37. height: 300px;
  38. background-color: rgb(255, 255, 255);
  39. border-top-left-radius: 2px;
  40. border-top-right-radius: 2px;
  41. border-bottom-right-radius: 2px;
  42. border-bottom-left-radius: 2px;
  43. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  44. left: 30px;
  45. top: 26px;
  46. }
  47. #core_card1 {
  48. position: absolute;
  49. width: 300px;
  50. height: 300px;
  51. background-color: rgb(255, 255, 255);
  52. border-top-left-radius: 2px;
  53. border-top-right-radius: 2px;
  54. border-bottom-right-radius: 2px;
  55. border-bottom-left-radius: 2px;
  56. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  57. left: 470px;
  58. top: 26px;
  59. }
  60. #core_field {
  61. left: 608px;
  62. top: 10px;
  63. position: absolute;
  64. }
  65. </style>
  66. <core-header-panel mode="standard" id="core_header_panel">
  67. <core-toolbar id="core_toolbar">
  68. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  69. <div id="div">Header</div>
  70. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  71. <core-icon icon="search" id="core_icon"></core-icon>
  72. <core-input id="core_input" flex></core-input>
  73. </core-field>
  74. </core-toolbar>
  75. <section id="section">
  76. <core-card id="core_card" layout vertical></core-card>
  77. <core-card id="core_card1" layout vertical></core-card>
  78. </section>
  79. </core-header-panel>
  80. </template>
  81.  
  82. <script>
  83.  
  84. Polymer({
  85.  
  86. });
  87.  
  88. </script>
  89.  
  90. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement