Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 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: 750px;
  49. top: 300px;
  50. position: absolute;
  51. background-color: rgb(238, 238, 238);
  52. }
  53. #section1 {
  54. left: 690px;
  55. top: 170px;
  56. position: absolute;
  57. }
  58. #paper_input {
  59. left: 500px;
  60. top: 330px;
  61. position: absolute;
  62. }
  63. </style>
  64. <core-scaffold id="core_scaffold">
  65. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  66. <core-toolbar id="core_toolbar"></core-toolbar>
  67. <core-menu selected="0" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
  68. <core-item id="core_item" icon="settings" horizontal center layout active>Search</core-item>
  69. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  70. </core-menu>
  71. </core-header-panel>
  72. <div id="div" tool>Title</div>
  73. <div id="div1" layout horizontal center-center fit>
  74. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  75. <section id="section" layout horizontal center center-justified active>
  76. <div id="div2">TEST</div>
  77. </section>
  78. <section id="section1" layout vertical center-center>
  79. </section>
  80. <section id="section2">
  81. </section>
  82. </core-animated-pages>
  83. </div>
  84. </core-scaffold>
  85. </template>
  86.  
  87. <script>
  88.  
  89. Polymer({
  90.  
  91. });
  92.  
  93. </script>
  94.  
  95. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement