Advertisement
Guest User

Untitled

a guest
May 30th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. <link rel="import" href="../core-icon-button/core-icon-button.html">
  2. <link rel="import" href="../core-toolbar/core-toolbar.html">
  3. <link rel="import" href="../core-header-panel/core-header-panel.html">
  4. <link rel="import" href="../topeka-elements/category-images.html">
  5. <link rel="import" href="../core-icon/core-icon.html">
  6. <link rel="import" href="../core-icons/core-icons.html">
  7. <link rel="import" href="../core-icons/av-icons.html">
  8. <link rel="import" href="../paper-fab/paper-fab.html">
  9.  
  10. <polymer-element name="my-element">
  11.  
  12. <template>
  13. <style>
  14. :host {
  15. position: absolute;
  16. width: 100%;
  17. height: 100%;
  18. box-sizing: border-box;
  19. }
  20. #core_header_panel {
  21. width: 300px;
  22. height: 400px;
  23. left: 20px;
  24. top: 10px;
  25. position: absolute;
  26. }
  27. #core_toolbar {
  28. color: rgb(255, 255, 255);
  29. background-color: rgb(79, 125, 201);
  30. }
  31. #section {
  32. height: 1000px;
  33. background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
  34. }
  35. #section1 {
  36. box-sizing: border-box;
  37. width: 420px;
  38. height: 582px;
  39. left: 360px;
  40. top: 30px;
  41. position: absolute;
  42. }
  43. #section2 {
  44. background-color: rgb(255, 255, 141);
  45. }
  46. #core_icon {
  47. height: 256px;
  48. width: 256px;
  49. z-index: 100;
  50. }
  51. #div1 {
  52. box-sizing: border-box;
  53. position: relative;
  54. height: 80px;
  55. padding: 24px;
  56. color: rgb(255, 255, 255);
  57. font-size: 32px;
  58. background-color: rgb(255, 235, 59);
  59. }
  60. #div3 {
  61. position: absolute;
  62. color: rgb(255, 255, 255);
  63. bottom: 50px;
  64. right: 24px;
  65. }
  66. #paper_fab {
  67. background-color: rgb(255, 64, 129);
  68. }
  69. </style>
  70. <core-header-panel mode="standard" id="core_header_panel">
  71. <core-toolbar id="core_toolbar">
  72. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  73. <div id="div">Nóticias</div>
  74. </core-toolbar>
  75. <section id="section"></section>
  76. </core-header-panel>
  77. <section id="section1" layout vertical>
  78. <section id="section2" class="top" flex layout horizontal center center-justified hero hero-id="top">
  79. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  80. </section>
  81. <div id="div1" class="bottom" hero hero-id="bottom">
  82. <span id="span">General Knowledge</span>
  83. </div>
  84. <div id="div2" hero class="dummy"></div>
  85. <div id="div3" class="fab fab-0">
  86. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  87. </div>
  88. </section>
  89. </template>
  90.  
  91. <script>
  92.  
  93. Polymer({
  94.  
  95. });
  96.  
  97. </script>
  98.  
  99. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement