Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. <link rel="import" href="../paper-tabs/paper-tabs.html">
  2. <link rel="import" href="../paper-tabs/paper-tab.html">
  3. <link rel="import" href="../core-icons/core-icons.html">
  4. <link rel="import" href="../paper-item/paper-item.html">
  5.  
  6. <polymer-element name="my-element">
  7.  
  8. <template>
  9. <style>
  10. #section {
  11. width: 100%;
  12. height: 100%;
  13. border: 5px solid rgb(204, 204, 204);
  14. left: 0px;
  15. top: 0px;
  16. position: absolute;
  17. }
  18. #paper_tabs {
  19. color: rgb(255, 255, 255);
  20. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  21. background-color: rgb(0, 188, 212);
  22. }
  23. #core_item {
  24. left: 5px;
  25. top: 7px;
  26. position: absolute;
  27. }
  28. #core_card {
  29. width: 300px;
  30. height: 300px;
  31. border-radius: 2px;
  32. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  33. background-color: rgb(255, 255, 255);
  34. }
  35. :host {
  36. position: absolute;
  37. top: 0px;
  38. left: 0px;
  39. width: 100%;
  40. height: 100%;
  41. }
  42. #Område a {
  43. position: absolute;
  44. top: 0px;
  45. left: 0px;
  46. width: 100%;
  47. height: 100%;
  48. }
  49. </style>
  50. <section id="section" layout vertical>
  51. <paper-tabs noink nobar selected="2" selectedindex="2" id="paper_tabs" center horizontal layout>
  52. <paper-tab id="Oversikt" inline flex center-center layout horizontal>Översikt</paper-tab>
  53. <paper-tab id="Område A" inline flex center-center horizontal layout>Område A</paper-tab>
  54. <paper-tab id="Område B" inline flex center-center horizontal layout active>Område B</paper-tab>
  55. </paper-tabs>
  56. <core-card id="core_card" layout vertical>
  57. <paper-item id="paper_item" icon="settings" label="Item">Översikt</paper-item>
  58. </core-card>
  59. </section>
  60. </template>
  61.  
  62. <script>
  63.  
  64. Polymer({
  65.  
  66. });
  67.  
  68. </script>
  69.  
  70. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement