Advertisement
Guest User

Untitled

a guest
May 27th, 2015
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 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="../core-drawer-panel/core-drawer-panel.html">
  5. <link rel="import" href="../core-menu/core-submenu.html">
  6. <link rel="import" href="../core-item/core-item.html">
  7. <link rel="import" href="../paper-button/paper-button.html">
  8.  
  9. <polymer-element name="my-element">
  10.  
  11. <template>
  12. <style>
  13. :host {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. box-sizing: border-box;
  18. top: 0px;
  19. left: 0px;
  20. background-color: rgb(233, 233, 233);
  21. }
  22. #core_header_panel {
  23. width: 100%;
  24. height: 100%;
  25. left: 0px;
  26. top: 0px;
  27. position: absolute;
  28. }
  29. #core_toolbar {
  30. color: rgb(255, 255, 255);
  31. background-color: rgb(0, 150, 136);
  32. }
  33. colorprimary {
  34. color: rgb(0, 150, 136);
  35. }
  36. coloraccent {
  37. color: rgb(255, 82, 82);
  38. }
  39. #section2 {
  40. box-sizing: border-box;
  41. width: 100%;
  42. height: 100%;
  43. padding-left: 20px;
  44. padding-right: 40px;
  45. padding-bottom: 40px;
  46. }
  47. #core_menu {
  48. font-family: 'Roboto Slab', serif;
  49. font-weight: 400;
  50. font-size: 18px;
  51. }
  52. #logo_title {
  53. font-family: 'Roboto Slab', serif;
  54. font-weight: 700;
  55. font-size: 28px;
  56. }
  57. #core-item {
  58. padding: 5px;
  59. }
  60. #pedidos_button, #precios_button, #clientes_button {
  61. text-transform: none;
  62. margin-bottom: 10px;
  63. width: 100%;
  64. height: 100%;
  65. }
  66. #pedidos_button {
  67. background-color: rgb(255, 255, 255);
  68. }
  69. #precios_button {
  70. background-color: rgb(255, 255, 255);
  71. }
  72. #clientes_button {
  73. background-color: rgb(255, 255, 255);
  74. }
  75. #group_recibidos, #group_procesados, #group_despachados {
  76. width: 30%;
  77. height: 100%;
  78. }
  79. #sub_header {
  80. color: rgb(0, 121, 107);
  81. font-family: 'Roboto Slab', serif;
  82. font-weight: 400;
  83. font-size: 18px;
  84. padding: 15px;
  85. }
  86. #div {
  87. width: 100%;
  88. height: 100%;
  89. }
  90. .shadow_list {
  91. position: relative;
  92. width: 100%;
  93. height: 100%;
  94. }
  95. .pedidos_list {
  96. width: 100%;
  97. height: 100%;
  98. background-color: rgb(250, 250, 250);
  99. }
  100. </style>
  101. <core-header-panel mode="standard" shadow id="core_header_panel" vertical layout>
  102. <core-toolbar id="core_toolbar" class="tall" horizontal layout center center-justified>
  103. <core-icon-button icon="menu" id="core_icon_button" class="bottom" onclick="openDrawer()" on-tap="openDrawer()"></core-icon-button>
  104. <div id="logo_title">
  105. <header id="header_txt">
  106. <span id="span">Fast Food </span>
  107. <coloraccent id="coloraccent">&</coloraccent>
  108. <span id="span1"> Delivery</span>
  109. </header>
  110. </div>
  111. </core-toolbar>
  112. <section id="section">
  113. <core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
  114. <section id="section1" drawer>
  115. <core-menu selected="0" selectedindex="0" id="core_menu" fit>
  116. <core-item id="core_item" horizontal center layout active>
  117. <paper-button raised id="pedidos_button">Pedidos</paper-button>
  118. </core-item>
  119. <core-item id="core_item1" horizontal center layout>
  120. <paper-button raised id="precios_button">Precios</paper-button>
  121. </core-item>
  122. <core-item id="core_item2" horizontal center layout>
  123. <paper-button raised id="clientes_button">Clientes</paper-button>
  124. </core-item>
  125. </core-menu>
  126. </section>
  127. <section id="section2" main horizontal justified layout>
  128. <div id="group_recibidos" vertical layout center>
  129. <sub_header id="sub_header">Pedidos Recibidos</sub_header>
  130. <paper-shadow z="2" id="paper_shadow2" class="shadow_list" vertical layout>
  131. <core-list id="recibidos" class="pedidos_list" vertical layout></core-list>
  132. </paper-shadow>
  133. </div>
  134. <div id="group_procesados" vertical layout center>
  135. <sub_header id="sub_header">Pedidos Procesados</sub_header>
  136. <paper-shadow z="2" id="paper_shadow" class="shadow_list" vertical layout>
  137. <core-list id="procesados" class="pedidos_list" vertical layout></core-list>
  138. </paper-shadow>
  139. </div>
  140. <div id="group_despachados" vertical layout center>
  141. <sub_header id="sub_header">Pedidos Despachados</sub_header>
  142. <paper-shadow z="2" id="paper_shadow1" class="shadow_list" vertical layout>
  143. <core-list id="despachados" class="pedidos_list" vertical layout></core-list>
  144. </paper-shadow>
  145. </div>
  146. </section>
  147. </core-drawer-panel>
  148. </section>
  149. </core-header-panel>
  150. </template>
  151.  
  152. <script>
  153.  
  154. Polymer({
  155. over: 'seamed'
  156. });
  157.  
  158. </script>
  159.  
  160. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement