Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 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="../paper-tabs/paper-tabs.html">
  4. <link rel="import" href="../paper-tabs/paper-tab.html">
  5.  
  6. <polymer-element name="my-element">
  7.  
  8. <template>
  9. <style>
  10. :host {
  11. position: absolute;
  12. width: 100%;
  13. height: 100%;
  14. box-sizing: border-box;
  15. top: 0px;
  16. left: 0px;
  17. }
  18. #core_toolbar {
  19. right: 0px;
  20. left: 0px;
  21. color: rgb(255, 255, 255);
  22. fill: rgb(255, 255, 255);
  23. top: 0px;
  24. position: absolute;
  25. background-color: rgb(79, 125, 201);
  26. }
  27. #paper_tabs {
  28. width: 100%;
  29. color: rgb(255, 255, 255);
  30. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  31. top: 70px;
  32. position: relative;
  33. height: 70px;
  34. background-color: rgb(210, 130, 200);
  35. }
  36. #section {
  37. width: 1040px;
  38. height: 650px;
  39. border: 5px solid rgb(204, 204, 204);
  40. left: 100px;
  41. top: 160px;
  42. position: absolute;
  43. }
  44. #paper_tabs1 {
  45. color: rgb(255, 255, 255);
  46. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  47. background-color: rgb(0, 188, 212);
  48. }
  49. </style>
  50. <core-toolbar id="core_toolbar">
  51. <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
  52. <div id="div" flex>Figaro Backoffice</div>
  53. </core-toolbar>
  54. <paper-tabs selected="4" selectedindex="4" id="paper_tabs" horizontal center layout>
  55. <paper-tab id="paper_tab" inline flex center-center horizontal layout>Accueil</paper-tab>
  56. <paper-tab id="paper_tab1" inline flex center-center horizontal layout>Mes contenus</paper-tab>
  57. <paper-tab id="paper_tab2" inline flex center-center horizontal layout>Stats</paper-tab>
  58. <paper-tab id="paper_tab3" inline flex center-center horizontal layout>Tendances</paper-tab>
  59. <paper-tab id="paper_tab4" inline flex center-center horizontal layout active>Préférences</paper-tab>
  60. </paper-tabs>
  61. <section id="section" layout vertical>
  62. <paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs1" horizontal center layout>
  63. <paper-tab id="paper_tab5" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  64. <paper-tab id="paper_tab6" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  65. </paper-tabs>
  66. <section id="section1" flex relative>
  67. </section>
  68. </section>
  69. </template>
  70.  
  71. <script>
  72.  
  73. Polymer({
  74.  
  75. });
  76.  
  77. </script>
  78.  
  79. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement