Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 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="../topeka-elements/category-images.html">
  9. <link rel="import" href="../core-icon/core-icon.html">
  10. <link rel="import" href="../core-icons/core-icons.html">
  11. <link rel="import" href="../core-icons/av-icons.html">
  12. <link rel="import" href="../paper-fab/paper-fab.html">
  13.  
  14. <polymer-element name="my-element">
  15.  
  16. <template>
  17. <style>
  18. :host {
  19. position: absolute;
  20. width: 100%;
  21. height: 100%;
  22. box-sizing: border-box;
  23. top: 0px;
  24. left: 0px;
  25. }
  26. #core_scaffold {
  27. position: absolute;
  28. top: 0px;
  29. right: 0px;
  30. bottom: 0px;
  31. left: 0px;
  32. width: 100%;
  33. height: 100%;
  34. }
  35. #core_header_panel {
  36. background-color: rgb(255, 255, 255);
  37. }
  38. #core_toolbar {
  39. color: rgb(255, 255, 255);
  40. background-color: rgb(79, 125, 201);
  41. }
  42. #core_menu {
  43. font-size: 16px;
  44. }
  45. #section {
  46. box-sizing: border-box;
  47. width: 420px;
  48. height: 582px;
  49. left: 260px;
  50. top: 70px;
  51. position: absolute;
  52. }
  53. #section1 {
  54. background-color: rgb(255, 255, 141);
  55. }
  56. #core_icon {
  57. height: 256px;
  58. width: 256px;
  59. z-index: 100;
  60. opacity: 0.5;
  61. }
  62. #div1 {
  63. box-sizing: border-box;
  64. position: relative;
  65. height: 80px;
  66. padding: 24px;
  67. color: rgb(255, 255, 255);
  68. font-size: 32px;
  69. background-color: rgb(255, 235, 59);
  70. }
  71. #div3 {
  72. position: absolute;
  73. color: rgb(255, 255, 255);
  74. bottom: 50px;
  75. right: 24px;
  76. }
  77. #paper_fab {
  78. background-color: rgb(255, 64, 129);
  79. }
  80. </style>
  81. <core-scaffold id="core_scaffold" end-justified>
  82. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  83. <core-toolbar id="core_toolbar"></core-toolbar>
  84. <core-menu valueattr="label" id="core_menu" theme="core-light-theme">
  85. <core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
  86. <core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
  87. </core-menu>
  88. </core-header-panel>
  89. <div id="div" tool>Title</div>
  90. <section id="section" layout vertical>
  91. <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
  92. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  93. </section>
  94. <div id="div1" class="bottom" hero hero-id="bottom">
  95. <span id="span">General Knowledge</span>
  96. </div>
  97. <div id="div2" hero class="dummy"></div>
  98. <div id="div3" class="fab fab-0">
  99. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  100. </div>
  101. </section>
  102. </core-scaffold>
  103. </template>
  104.  
  105. <script>
  106.  
  107. Polymer({
  108.  
  109. });
  110.  
  111. </script>
  112.  
  113. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement