Advertisement
Guest User

Untitled

a guest
May 20th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans:400,300,600);
  2.  
  3. *{box-sizing:border-box;}
  4.  
  5. body {
  6. font-family: 'open sans', helvetica, arial, sans;
  7. background:url(http://farm8.staticflickr.com/7064/6858179818_5d652f531c_h.jpg) no-repeat center center fixed;
  8. -webkit-background-size: cover;
  9. -moz-background-size: cover;
  10. -o-background-size: cover;
  11. background-size: cover;
  12. }
  13.  
  14. @grey:#2a2a2a;
  15. @blue:#1fb5bf;
  16. .log-form {
  17. width: 40%;
  18. min-width: 320px;
  19. max-width: 475px;
  20. background: #fff;
  21. position: absolute;
  22. top: 50%;
  23. left: 50%;
  24. -webkit-transform: translate(-50%,-50%);
  25. -moz-transform: translate(-50%,-50%);
  26. -o-transform: translate(-50%,-50%);
  27. -ms-transform: translate(-50%,-50%);
  28. transform: translate(-50%,-50%);
  29.  
  30. box-shadow: 0px 2px 5px rgba(0,0,0,.25);
  31.  
  32. @media(max-width: 40em){
  33. width: 95%;
  34. position: relative;
  35. margin: 2.5% auto 0 auto;
  36. left: 0%;
  37. -webkit-transform: translate(0%,0%);
  38. -moz-transform: translate(0%,0%);
  39. -o-transform: translate(0%,0%);
  40. -ms-transform: translate(0%,0%);
  41. transform: translate(0%,0%);
  42. }
  43.  
  44. form {
  45. display: block;
  46. width: 100%;
  47. padding: 2em;
  48. }
  49.  
  50. h2 {
  51. width: 100%;
  52. color: lighten(@grey, 20%);
  53. font-family: 'open sans condensed';
  54. font-size: 1.35em;
  55. display: block;
  56. background:@grey;
  57. width: 100%;
  58. text-transform: uppercase;
  59. padding: .75em 1em .75em 1.5em;
  60. box-shadow:inset 0px 1px 1px fadeout(white, 95%);
  61. border: 1px solid darken(@grey, 5%);
  62. //text-shadow: 0px 1px 1px darken(@grey, 5%);
  63. margin: 0;
  64. font-weight: 200;
  65. }
  66.  
  67. input {
  68. display: block;
  69. margin: auto auto;
  70. width: 100%;
  71. margin-bottom: 2em;
  72. padding: .5em 0;
  73. border: none;
  74. border-bottom: 1px solid #eaeaea;
  75. padding-bottom: 1.25em;
  76. color: #757575;
  77. &:focus {
  78. outline: none;
  79. }
  80. }
  81.  
  82. .btn {
  83. display: inline-block;
  84. background: @blue;
  85. border: 1px solid darken(@blue, 5%);
  86. padding: .5em 2em;
  87. color: white;
  88. margin-right: .5em;
  89. box-shadow: inset 0px 1px 0px fadeout(white, 80%);
  90. &:hover {
  91. background: lighten(@blue, 5%);
  92. }
  93. &:active {
  94. background: @blue;
  95. box-shadow: inset 0px 1px 1px fadeout(black, 90%);
  96. }
  97. &:focus {
  98. outline: none;
  99. }
  100. }
  101.  
  102. .forgot {
  103. color: lighten(@blue, 10%);
  104. line-height: .5em;
  105. position: relative;
  106. top: 2.5em;
  107. text-decoration: none;
  108. font-size: .75em;
  109. margin:0;
  110. padding: 0;
  111. float: right;
  112.  
  113. &:hover {
  114. color:darken(@blue, 5%);
  115. }
  116. &:active{
  117. }
  118. }
  119.  
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement