Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 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_scaffold {
  26. position: absolute;
  27. top: 0px;
  28. right: 0px;
  29. bottom: 0px;
  30. left: 0px;
  31. width: 100%;
  32. height: 100%;
  33. }
  34. #core_header_panel {
  35. background-color: rgb(255, 255, 255);
  36. }
  37. #core_toolbar {
  38. color: rgb(255, 255, 255);
  39. background-color: rgb(79, 125, 201);
  40. }
  41. #core_menu {
  42. font-size: 16px;
  43. }
  44. #core_animated_pages {
  45. width: 420px;
  46. height: 582px;
  47. overflow: hidden;
  48. left: 480px;
  49. top: 50px;
  50. position: absolute;
  51. opacity: 0.4;
  52. background-color: rgb(238, 206, 200);
  53. }
  54. </style>
  55. <core-scaffold id="core_scaffold">
  56. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  57. <core-toolbar id="core_toolbar"></core-toolbar>
  58. <core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu" theme="core-light-theme">
  59. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  60. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout active></core-item>
  61. </core-menu>
  62. </core-header-panel>
  63. <div id="div" tool>Title</div>
  64. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  65. <section id="section" layout horizontal center center-justified active>
  66. </section>
  67. <section id="section1">
  68. </section>
  69. <section id="section2">
  70. </section>
  71. </core-animated-pages>
  72. </core-scaffold>
  73. </template>
  74.  
  75. <script>
  76.  
  77. Polymer({
  78.  
  79. });
  80.  
  81. </script>
  82.  
  83. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement