Advertisement
Guest User

Untitled

a guest
May 28th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 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="../paper-button/paper-button.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_ajax {
  17. left: 1570px;
  18. top: 500px;
  19. }
  20. #core_header_panel {
  21. width: 100%;
  22. height: 100%;
  23. left: 0px;
  24. top: 0px;
  25. position: absolute;
  26. }
  27. #core_toolbar {
  28. color: rgb(255, 255, 255);
  29. background-color: rgb(79, 125, 201);
  30. }
  31. #section {
  32. height: 1000px;
  33. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  34. }
  35. #section1 {
  36. box-sizing: border-box;
  37. width: 420px;
  38. height: 582px;
  39. left: 1540px;
  40. top: 590px;
  41. }
  42. #core_drawer_panel {
  43. position: absolute;
  44. top: 600px;
  45. right: 0px;
  46. bottom: 0px;
  47. left: 1460px;
  48. }
  49. #core_field {
  50. left: 1460px;
  51. top: 570px;
  52. }
  53. #core_menu_button {
  54. left: 1350px;
  55. top: 540px;
  56. }
  57. #core_pages {
  58. width: 400px;
  59. height: 400px;
  60. border: 1px solid silver;
  61. left: 1380px;
  62. top: 560px;
  63. }
  64. #core_scaffold {
  65. position: absolute;
  66. top: 610px;
  67. right: 0px;
  68. bottom: 0px;
  69. left: 1350px;
  70. }
  71. #core_menu {
  72. font-size: 16px;
  73. left: 1360px;
  74. top: 580px;
  75. }
  76. #core_selector {
  77. width: 100%;
  78. height: 50px;
  79. left: 1440px;
  80. top: 570px;
  81. }
  82. #paper_ripple {
  83. width: 300px;
  84. height: 300px;
  85. left: 1570px;
  86. top: 610px;
  87. }
  88. #core_card {
  89. position: absolute;
  90. width: 300px;
  91. height: 300px;
  92. border-radius: 2px;
  93. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  94. left: 10px;
  95. top: 343px;
  96. background-color: rgb(255, 255, 255);
  97. }
  98. #paper_button {
  99. left: -100px;
  100. top: 650px;
  101. }
  102. </style>
  103. <core-header-panel mode="standard" id="core_header_panel">
  104. <core-toolbar id="core_toolbar">
  105. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  106. <div id="div">Header</div>
  107. </core-toolbar>
  108. <section id="section" class="drop-target">
  109. <core-card id="core_card" layout vertical></core-card>
  110. </section>
  111. </core-header-panel>
  112. </template>
  113.  
  114. <script>
  115.  
  116. Polymer({
  117.  
  118. });
  119.  
  120. </script>
  121.  
  122. </polymer-element><paper-button active pressed id="paper_button" class="drag-element">button</paper-button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement