Advertisement
Guest User

Untitled

a guest
Dec 29th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. <link rel="import" href="../topeka-elements/category-images.html">
  2. <link rel="import" href="../core-icon/core-icon.html">
  3. <link rel="import" href="../paper-radio-group/paper-radio-group.html">
  4. <link rel="import" href="../paper-radio-button/paper-radio-button.html">
  5. <link rel="import" href="../topeka-elements/avatars.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. #section {
  21. box-sizing: border-box;
  22. width: 420px;
  23. height: 582px;
  24. left: 220px;
  25. top: 30px;
  26. position: absolute;
  27. }
  28. #section1 {
  29. background-color: rgb(255, 255, 141);
  30. }
  31. #core_icon {
  32. height: 256px;
  33. width: 256px;
  34. z-index: 100;
  35. }
  36. #div {
  37. box-sizing: border-box;
  38. position: relative;
  39. height: 80px;
  40. padding: 24px;
  41. color: rgb(255, 255, 255);
  42. font-size: 32px;
  43. background-color: rgb(255, 235, 59);
  44. }
  45. #div2 {
  46. position: absolute;
  47. color: rgb(255, 255, 255);
  48. bottom: 50px;
  49. right: 24px;
  50. }
  51. #paper_fab {
  52. background-color: rgb(255, 64, 129);
  53. }
  54. #paper_radio_group {
  55. width: 100px;
  56. }
  57. #core_selector {
  58. left: 100px;
  59. top: 280px;
  60. position: absolute;
  61. }
  62. #core_icon1 {
  63. height: 64px;
  64. width: 64px;
  65. border-radius: 50%;
  66. overflow: hidden;
  67. }
  68. #core_icon2 {
  69. height: 64px;
  70. width: 64px;
  71. margin: 0px 8px;
  72. border-radius: 50%;
  73. overflow: hidden;
  74. }
  75. #core_icon3 {
  76. height: 64px;
  77. width: 64px;
  78. border-radius: 50%;
  79. overflow: hidden;
  80. }
  81. </style>
  82. <section id="section" layout vertical>
  83. <section id="section1" class="top" flex center center-justified hero hero-id="top">
  84. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  85. <paper-radio-group selected="Large" valueattr="label" selectedindex="2" id="paper_radio_group">
  86. <paper-radio-button label="Small" id="paper_radio_button"></paper-radio-button>
  87. <paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
  88. <paper-radio-button checked label="Large" id="paper_radio_button2"></paper-radio-button>
  89. </paper-radio-group>
  90. <core-selector selected="1" selectedindex="1" id="core_selector" flex layout horizontal>
  91. <core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
  92. <core-icon icon="avatars:avatar-2" id="core_icon2" designmeta="topeka-avatar" active></core-icon>
  93. <core-icon icon="avatars:avatar-3" id="core_icon3" designmeta="topeka-avatar"></core-icon>
  94. </core-selector>
  95. </section>
  96. <div id="div" class="bottom" hero hero-id="bottom">
  97. <span id="span">General Knowledge</span>
  98. </div>
  99. <div id="div1" hero class="dummy"></div>
  100. <div id="div2" class="fab fab-0">
  101. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  102. </div>
  103. </section>
  104. </template>
  105.  
  106. <script>
  107.  
  108. Polymer({
  109.  
  110. });
  111.  
  112. </script>
  113.  
  114. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement