Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. <link rel="import" href="../topeka-elements/topeka-datasource.html">
  2. <link rel="import" href="../paper-tabs/paper-tabs.html">
  3. <link rel="import" href="../paper-tabs/paper-tab.html">
  4. <link rel="import" href="../topeka-elements/avatars.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="../paper-item/paper-item.html">
  8. <link rel="import" href="../notification-elements/notification-alert.html">
  9.  
  10. <polymer-element name="my-element">
  11.  
  12. <template>
  13. <style>
  14. :host {
  15. position: relative;
  16. width: 100%;
  17. height: 100%;
  18. box-sizing: border-box;
  19. }
  20. #section {
  21. width: 420px;
  22. height: 630px;
  23. border: 5px solid rgb(204, 204, 204);
  24. left: 390px;
  25. top: 70px;
  26. position: absolute;
  27. }
  28. #paper_tabs {
  29. color: rgb(255, 255, 255);
  30. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  31. background-color: rgb(0, 188, 212);
  32. }
  33. #section2 {
  34. box-sizing: border-box;
  35. width: 420px;
  36. height: 630px;
  37. left: 1200px;
  38. top: 630px;
  39. }
  40. #core_card {
  41. position: absolute;
  42. width: 410px;
  43. height: 100px;
  44. border-radius: 2px;
  45. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  46. left: 5px;
  47. top: 7px;
  48. background-color: rgb(255, 255, 255);
  49. }
  50. #core_icon {
  51. height: 64px;
  52. width: 64px;
  53. margin: 10px;
  54. }
  55. #topeka_app {
  56. width: 300px;
  57. height: 300px;
  58. min-height: 450px;
  59. left: 1260px;
  60. top: 530px;
  61. }
  62. #core_icon1 {
  63. height: 256px;
  64. width: 256px;
  65. left: 1190px;
  66. top: 580px;
  67. }
  68. #topeka_datasource {
  69. left: 950px;
  70. top: 540px;
  71. position: absolute;
  72. }
  73. #div {
  74. height: 100%;
  75. width: 100%;
  76. overflow: hidden;
  77. left: 1310px;
  78. top: 580px;
  79. }
  80. #cool_clock {
  81. width: 400px;
  82. height: 300px;
  83. left: 1160px;
  84. top: 630px;
  85. }
  86. #notification_alert {
  87. left: 205px;
  88. top: 267px;
  89. position: absolute;
  90. }
  91. #paper_item {
  92. position: relative;
  93. left: 70px;
  94. top: -60px;
  95. }
  96. </style>
  97. <topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
  98. <section id="section" layout vertical>
  99. <paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
  100. <paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  101. <paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  102. </paper-tabs>
  103. <section id="section1" flex relative>
  104. <core-card id="core_card" layout vertical>
  105. <core-icon icon="avatars:avatar-2" id="core_icon" designmeta="topeka-avatar" start></core-icon>
  106. <paper-item id="paper_item" icon="settings" label="Item" style="font-weight:500;">Fio And</paper-item>
  107. </core-card>
  108. <notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
  109. </section>
  110. </section>
  111. </template>
  112.  
  113. <script>
  114.  
  115. Polymer({
  116.  
  117. });
  118.  
  119. </script>
  120.  
  121. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement