Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. <link rel="import" href="../core-menu/core-submenu.html">
  2. <link rel="import" href="../core-tooltip/core-tooltip.html">
  3. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  4. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  5. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  6. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  7. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  8. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  9. <link rel="import" href="../topeka-elements/category-images.html">
  10. <link rel="import" href="../core-icon/core-icon.html">
  11. <link rel="import" href="../core-icons/core-icons.html">
  12. <link rel="import" href="../core-icons/av-icons.html">
  13. <link rel="import" href="../paper-fab/paper-fab.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_menu {
  26. font-size: 16px;
  27. left: 700px;
  28. top: 280px;
  29. position: absolute;
  30. }
  31. #core_animated_pages {
  32. width: 420px;
  33. height: 582px;
  34. overflow: hidden;
  35. left: 890px;
  36. top: 170px;
  37. position: absolute;
  38. background-color: rgb(238, 238, 238);
  39. }
  40. #core_card {
  41. width: 300px;
  42. height: 300px;
  43. border-radius: 2px;
  44. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  45. padding: 10px;
  46. background-color: rgb(255, 255, 255);
  47. }
  48. #core_tooltip {
  49. left: 740px;
  50. top: 240px;
  51. position: absolute;
  52. }
  53. #section3 {
  54. box-sizing: border-box;
  55. width: 420px;
  56. height: 582px;
  57. left: 310px;
  58. top: 100px;
  59. position: absolute;
  60. }
  61. #section4 {
  62. background-color: rgb(255, 255, 141);
  63. }
  64. #core_icon {
  65. height: 256px;
  66. width: 256px;
  67. z-index: 100;
  68. }
  69. #div {
  70. box-sizing: border-box;
  71. position: relative;
  72. height: 80px;
  73. padding: 24px;
  74. color: rgb(255, 255, 255);
  75. font-size: 32px;
  76. background-color: rgb(255, 235, 59);
  77. }
  78. #div2 {
  79. position: absolute;
  80. color: rgb(255, 255, 255);
  81. bottom: 50px;
  82. right: 24px;
  83. }
  84. #paper_fab {
  85. background-color: rgb(255, 64, 129);
  86. }
  87. </style>
  88. <core-menu selected="0" id="core_menu">
  89. </core-menu>
  90. <core-tooltip label="I'm a tooltip" active pressed id="core_tooltip">
  91. </core-tooltip>
  92. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  93. <section id="section" layout horizontal center center-justified active>
  94. <core-card id="core_card" layout vertical>
  95. </core-card>
  96. </section>
  97. <section id="section1">
  98. </section>
  99. <section id="section2">
  100. </section>
  101. </core-animated-pages>
  102. <section id="section3" layout vertical>
  103. <section id="section4" class="top" flex layout horizontal center center-justified hero hero-id="top">
  104. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  105. </section>
  106. <div id="div" class="bottom" hero hero-id="bottom">
  107. <span id="span">General Knowledge</span>
  108. </div>
  109. <div id="div1" hero class="dummy"></div>
  110. <div id="div2" class="fab fab-0">
  111. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  112. </div>
  113. </section>
  114. </template>
  115.  
  116. <script>
  117.  
  118. Polymer({
  119.  
  120. });
  121.  
  122. </script>
  123.  
  124. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement