Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. <link rel="import" href="../cool-clock/cool-clock.html">
  2. <link rel="import" href="../google-map/google-map.html">
  3. <link rel="import" href="../core-menu-button/core-menu-button.html">
  4. <link rel="import" href="../core-icons/core-icons.html">
  5. <link rel="import" href="../core-item/core-item.html">
  6. <link rel="import" href="../core-field/core-field.html">
  7. <link rel="import" href="../core-icon/core-icon.html">
  8. <link rel="import" href="../core-input/core-input.html">
  9. <link rel="import" href="../core-icon-button/core-icon-button.html">
  10. <link rel="import" href="../core-toolbar/core-toolbar.html">
  11. <link rel="import" href="../core-header-panel/core-header-panel.html">
  12. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  13. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  14. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  15. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  16. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  17. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  18.  
  19. <polymer-element name="my-element">
  20.  
  21. <template>
  22. <style>
  23. :host {
  24. position: absolute;
  25. width: 100%;
  26. height: 100%;
  27. box-sizing: border-box;
  28. }
  29. #cool_clock {
  30. width: 400px;
  31. height: 300px;
  32. left: 130px;
  33. top: 90px;
  34. position: absolute;
  35. }
  36. #google_map {
  37. width: 400px;
  38. height: 400px;
  39. display: block;
  40. left: 910px;
  41. top: 360px;
  42. position: absolute;
  43. }
  44. #core_menu_button {
  45. left: 20px;
  46. top: 10px;
  47. position: absolute;
  48. }
  49. #core_drawer_panel {
  50. position: absolute;
  51. top: 680px;
  52. right: 0px;
  53. bottom: 0px;
  54. left: 1610px;
  55. }
  56. #core_field {
  57. left: 490px;
  58. top: 10px;
  59. position: absolute;
  60. }
  61. #core_header_panel {
  62. width: 300px;
  63. height: 400px;
  64. left: 120px;
  65. top: 30px;
  66. position: absolute;
  67. }
  68. #core_toolbar {
  69. color: rgb(255, 255, 255);
  70. background-color: rgb(79, 125, 201);
  71. }
  72. #section {
  73. height: 1000px;
  74. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  75. }
  76. #core_card {
  77. position: absolute;
  78. width: 300px;
  79. height: 300px;
  80. border-radius: 2px;
  81. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  82. left: 120px;
  83. top: 460px;
  84. background-color: rgb(255, 255, 255);
  85. }
  86. #core_icon_button1 {
  87. left: 440px;
  88. top: 20px;
  89. position: absolute;
  90. }
  91. #section1 {
  92. left: 510px;
  93. top: 130px;
  94. position: absolute;
  95. }
  96. #core_header_panel1 {
  97. width: 300px;
  98. height: 400px;
  99. left: 1770px;
  100. top: 580px;
  101. }
  102. #core_animated_pages {
  103. width: 420px;
  104. height: 582px;
  105. overflow: hidden;
  106. left: 460px;
  107. top: 150px;
  108. position: absolute;
  109. background-color: rgb(238, 238, 238);
  110. }
  111. </style>
  112. <cool-clock id="cool_clock"></cool-clock>
  113. <google-map id="google_map"></google-map>
  114. <core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative>
  115. </core-menu-button>
  116. <core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
  117. <core-input id="core_input" flex></core-input>
  118. </core-field>
  119. <core-header-panel mode="standard" id="core_header_panel">
  120. <core-toolbar id="core_toolbar">
  121. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  122. <div id="div">Header</div>
  123. </core-toolbar>
  124. <section id="section"></section>
  125. </core-header-panel>
  126. <core-card id="core_card" layout vertical></core-card>
  127. <core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button>
  128. <section id="section1"></section>
  129. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  130. <section id="section2" layout horizontal center center-justified active>
  131. </section>
  132. <section id="section3">
  133. </section>
  134. <section id="section4">
  135. </section>
  136. </core-animated-pages>
  137. </template>
  138.  
  139. <script>
  140.  
  141. Polymer({
  142.  
  143. });
  144.  
  145. </script>
  146.  
  147. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement