Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 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-animated-pages/core-animated-pages.html">
  5. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  6. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  7. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  8. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  9. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  10.  
  11. <polymer-element name="my-element">
  12.  
  13. <template>
  14. <style>
  15. :host {
  16. position: absolute;
  17. width: 100%;
  18. height: 100%;
  19. box-sizing: border-box;
  20. }
  21. #core_header_panel {
  22. width: 100%;
  23. height: 100%;
  24. left: 0px;
  25. top: 0px;
  26. position: absolute;
  27. }
  28. #core_toolbar {
  29. color: rgb(255, 255, 255);
  30. background-color: rgb(79, 125, 201);
  31. }
  32. #section {
  33. height: 100%;
  34. position: absolute;
  35. top: 0px;
  36. left: 0px;
  37. width: 100%;
  38. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  39. }
  40. #core_animated_pages {
  41. width: 420px;
  42. height: 582px;
  43. overflow: hidden;
  44. left: 260px;
  45. top: 70px;
  46. position: absolute;
  47. background-color: rgb(238, 238, 238);
  48. }
  49. </style>
  50. <core-header-panel mode="cover" id="core_header_panel">
  51. <core-toolbar id="core_toolbar">
  52. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  53. <div id="div">Header</div>
  54. </core-toolbar>
  55. <section id="section">
  56. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  57. <section id="section1" layout horizontal center center-justified active>
  58. </section>
  59. <section id="section2">
  60. </section>
  61. <section id="section3">
  62. </section>
  63. </core-animated-pages>
  64. </section>
  65. </core-header-panel>
  66. </template>
  67.  
  68. <script>
  69.  
  70. Polymer({
  71.  
  72. });
  73.  
  74. </script>
  75.  
  76. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement