Advertisement
Guest User

Untitled

a guest
May 30th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. <link rel="import" href="../core-scaffold/core-scaffold.html">
  2. <link rel="import" href="../core-header-panel/core-header-panel.html">
  3. <link rel="import" href="../core-menu/core-menu.html">
  4. <link rel="import" href="../core-item/core-item.html">
  5. <link rel="import" href="../core-icon-button/core-icon-button.html">
  6. <link rel="import" href="../core-toolbar/core-toolbar.html">
  7. <link rel="import" href="../core-menu/core-submenu.html">
  8. <link rel="import" href="../core-animated-pages/core-animated-pages.html">
  9. <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
  10. <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
  11. <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
  12. <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
  13. <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
  14. <link rel="import" href="../paper-button/paper-button.html">
  15. <link rel="import" href="../paper-input/paper-input.html">
  16.  
  17. <polymer-element name="my-element">
  18.  
  19. <template>
  20. <style>
  21. :host {
  22. position: absolute;
  23. width: 100%;
  24. height: 100%;
  25. box-sizing: border-box;
  26. }
  27. #core_pages {
  28. width: 400px;
  29. height: 400px;
  30. border: 1px solid silver;
  31. left: 1420px;
  32. top: 540px;
  33. }
  34. #core_scaffold {
  35. right: 0px;
  36. bottom: 0px;
  37. width: 100%;
  38. height: 100%;
  39. left: 0px;
  40. top: 0px;
  41. position: absolute;
  42. }
  43. #core_header_panel {
  44. background-color: rgb(255, 255, 255);
  45. }
  46. #core_toolbar {
  47. color: rgb(255, 255, 255);
  48. font-weight: bold;
  49. background-color: rgb(79, 125, 201);
  50. }
  51. #core_menu {
  52. font-size: 16px;
  53. }
  54. .colored {
  55. color: rgb(66, 133, 244);
  56. }
  57. paper-button[raised].colored {
  58. color: rgb(255, 255, 255);
  59. background: rgb(66, 133, 244);
  60. }
  61. #com_buttons {
  62. left: 1810px;
  63. top: 590px;
  64. }
  65. paper-button.colored {
  66. color: rgb(66, 133, 244);
  67. }
  68. paper-button[raised].colored {
  69. color: rgb(255, 255, 255);
  70. background: rgb(66, 133, 244);
  71. }
  72. #core_card {
  73. width: 100%;
  74. height: 100%;
  75. border-radius: 2px;
  76. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  77. position: absolute;
  78. top: 0px;
  79. left: 0px;
  80. background-color: rgb(255, 255, 255);
  81. }
  82. #loginHeader {
  83. padding: 7px;
  84. background-color: rgb(242, 242, 242);
  85. }
  86. #newAccountButton {
  87. margin: 7px;
  88. }
  89. #forgotPassword {
  90. padding: 20px;
  91. }
  92. #forgotPasswordButton {
  93. margin: 10px;
  94. }
  95. #signInButton {
  96. margin: 10px;
  97. }
  98. #loginCard {
  99. width: 340px;
  100. }
  101. #passwordInput {
  102. width: 80%;
  103. }
  104. #emailInput {
  105. width: 80%;
  106. }
  107. #core_animated_pages {
  108. width: 420px;
  109. height: 582px;
  110. overflow: hidden;
  111. background-color: rgb(238, 238, 238);
  112. }
  113. #section {
  114. position: absolute;
  115. top: 0px;
  116. left: 0px;
  117. width: 100%;
  118. height: 100%;
  119. background-color: rgb(255, 255, 255);
  120. }
  121. </style>
  122. <core-scaffold id="core_scaffold" horizontal layout center>
  123. <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
  124. <core-toolbar id="core_toolbar">Gérald Tabone</core-toolbar>
  125. <core-menu selected="0" selectedindex="0" id="core_menu">
  126. <core-submenu active id="core_submenu" icon="home" label="Sign in">
  127. </core-submenu>
  128. <core-submenu id="core_submenu1" icon="wallet-travel" label="View Trip">
  129. <core-item id="core_item2" label="Trip 1" horizontal center layout></core-item>
  130. <core-item id="core_item3" label="Trip 2" horizontal center layout></core-item>
  131. <core-item id="core_item4" label="Trip 3" horizontal center layout></core-item>
  132. </core-submenu>
  133. </core-menu>
  134. </core-header-panel>
  135. <div id="div" tool>Amadeus Mobile</div>
  136. <core-card id="core_card" layout vertical center center-justified>
  137. <core-animated-pages selectedindex="0" notap id="core_animated_pages">
  138. <section id="section" layout horizontal center center-justified active>
  139. <core-card id="loginCard" layout vertical>
  140. <section id="loginHeader" horizontal layout end around-justified>
  141. <div id="identification">
  142. <h3 id="h3">Identification</h3>
  143. </div>
  144. <paper-button id="newAccountButton" end-justified vertical layout>New account</paper-button>
  145. </section>
  146. <section id="loginInputsArea">
  147. <section id="loginInputs" vertical layout center>
  148. <paper-input label="Email" floatinglabel id="emailInput"></paper-input>
  149. <paper-input label="Password" floatinglabel id="passwordInput" type="password"></paper-input>
  150. </section>
  151. <section id="forgotPassword" end horizontal layout end-justified>
  152. <paper-button raised id="forgotPasswordButton">Forgot password?</paper-button>
  153. <paper-button raised id="signInButton" class="colored" horizontal layout center-justified center>Sign in</paper-button>
  154. </section>
  155. </section>
  156. </core-card>
  157. </section>
  158. <section id="section1">Ma section 2
  159. </section>
  160. <section id="section2">Ma section 3
  161. </section>
  162. </core-animated-pages>
  163. </core-card>
  164. </core-scaffold>
  165. </template>
  166.  
  167. <script>
  168.  
  169. Polymer({
  170.  
  171. });
  172.  
  173. </script>
  174.  
  175. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement