Advertisement
Guest User

Untitled

a guest
May 24th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. <link rel="import" href="../paper-input/paper-input.html">
  2. <link rel="import" href="../paper-button/paper-button.html">
  3.  
  4. <polymer-element name="my-element">
  5.  
  6. <template>
  7. <style>
  8. :host {
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. position: absolute;
  13. background-color: rgb(84, 247, 156);
  14. }
  15. #core_card {
  16. position: relative;
  17. width: 300px;
  18. height: 400px;
  19. border-radius: 2px;
  20. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  21. margin: auto;
  22. top: 150px;
  23. background-color: rgb(255, 255, 255);
  24. }
  25. #core_animated_pages3 {
  26. width: 420px;
  27. height: 582px;
  28. overflow: hidden;
  29. left: 1330px;
  30. top: 450px;
  31. background-color: rgb(238, 238, 238);
  32. }
  33. #paper_button {
  34. top: 20px;
  35. background-color: rgb(33, 88, 242);
  36. }
  37. #core_toolbar {
  38. right: 0px;
  39. left: 1240px;
  40. color: rgb(255, 255, 255);
  41. fill: rgb(255, 255, 255);
  42. top: 530px;
  43. background-color: rgb(79, 125, 201);
  44. }
  45. #div1 {
  46. height: 200px;
  47. padding: 30px;
  48. background-color: rgb(255, 233, 76);
  49. }
  50. #div {
  51. position: relative;
  52. height: 100%;
  53. padding: 30px;
  54. }
  55. #span {
  56. color: rgb(255, 255, 255);
  57. font-size: 30px;
  58. }
  59. </style>
  60. <core-card id="core_card" layout vertical>
  61. <div id="div1" hero>
  62. <span id="span">Login</span>
  63. </div>
  64. <div id="div" vertical layout>
  65. <paper-input label="Username" floatinglabel id="paper_input"></paper-input>
  66. <paper-input label="Password" floatinglabel id="paper_input1"></paper-input>
  67. <paper-button recenteringtouch id="paper_button">Sign</paper-button>
  68. </div>
  69. </core-card>
  70. </template>
  71.  
  72. <script>
  73.  
  74. Polymer({
  75.  
  76. });
  77.  
  78. </script>
  79.  
  80. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement