Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. <link rel="import" href="../core-scaffold/core-scaffold.html">
  2. <link rel="import" href="../core-header-panel/core-header-panel.html">
  3. <link rel="import" href="../core-menu/core-menu.html">
  4. <link rel="import" href="../core-item/core-item.html">
  5. <link rel="import" href="../core-icon-button/core-icon-button.html">
  6. <link rel="import" href="../core-toolbar/core-toolbar.html">
  7. <link rel="import" href="../core-menu/core-submenu.html">
  8. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  9. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  10. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  11. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  12. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  13. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  14.  
  15. <polymer-element name="my-element">
  16.  
  17. <template>
  18. <style>
  19. :host {
  20. position: absolute;
  21. width: 100%;
  22. height: 100%;
  23. box-sizing: border-box;
  24. }
  25. #core_animated_pages {
  26. width: 100%;
  27. height: 100%;
  28. overflow: hidden;
  29. left: 0px;
  30. top: 0px;
  31. position: absolute;
  32. background-color: rgb(238, 238, 238);
  33. }
  34. #core_drawer_panel {
  35. position: absolute;
  36. top: 680px;
  37. right: 0px;
  38. bottom: 0px;
  39. left: 1640px;
  40. }
  41. #core_scaffold {
  42. position: absolute;
  43. top: 0px;
  44. right: 0px;
  45. bottom: 0px;
  46. left: 0px;
  47. width: 100%;
  48. height: 100%;
  49. }
  50. #core_header_panel {
  51. background-color: rgb(255, 255, 255);
  52. }
  53. #core_toolbar {
  54. color: rgb(255, 255, 255);
  55. background-color: rgb(79, 125, 201);
  56. }
  57. #core_menu {
  58. font-size: 16px;
  59. }
  60. #section {
  61. position: absolute;
  62. top: 0px;
  63. left: 0px;
  64. width: 100%;
  65. height: 100%;
  66. }
  67. #section1 {
  68. position: absolute;
  69. top: 0px;
  70. left: 0px;
  71. width: 100%;
  72. height: 100%;
  73. }
  74. #section2 {
  75. position: absolute;
  76. top: 0px;
  77. left: 0px;
  78. width: 100%;
  79. height: 100%;
  80. }
  81. </style>
  82. <core-scaffold id="core_scaffold">
  83. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  84. <core-toolbar id="core_toolbar"></core-toolbar>
  85. <core-menu selected="Home" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
  86. <core-item id="core_item" label="Home" horizontal center layout active></core-item>
  87. <core-item id="core_item1" label="About" horizontal center layout></core-item>
  88. </core-menu>
  89. </core-header-panel>
  90. <div id="div" tool>Title</div>
  91. <core-animated-pages transitions="cross-fade" selectedindex="0" notap id="core_animated_pages">
  92. <section id="section" layout horizontal center center-justified active>
  93. <div id="HomeContent">This is where the content goes for Home.</div>
  94. </section>
  95. <section id="section1">
  96. <div id="AboutContent">This is where the content goes for About.</div>
  97. </section>
  98. </core-animated-pages>
  99. </core-scaffold>
  100. </template>
  101.  
  102. <script>
  103.  
  104. Polymer({
  105.  
  106. });
  107.  
  108. </script>
  109.  
  110. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement