_formLogin.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. .formdiv{
  2. width: 100%;
  3. height: 100vh;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. font-size: 20px;
  8. margin: 0 auto ;
  9. background-image: url("../img/depositphotos_80275194-stock-illustration-russian-old-fair-bazaar-vector.jpg");
  10. background-position: center; /* Center the image */
  11. background-repeat: no-repeat; /* Do not repeat the image */
  12. background-size: cover;
  13. }
  14. h1, .input::-webkit-input-placeholder, .button {
  15. font-family: 'roboto', sans-serif;
  16. transition: all 0.3s ease-in-out;
  17. }
  18. h1 {
  19. height: 100px;
  20. width: 100%;
  21. font-size: 18px;
  22. background: darken($el-color, 4%);
  23. color: #fff;
  24. line-height: 150%;
  25. border-radius: 3px 3px 0 0;
  26. box-shadow: 0 2px 5px 1px rgba(0,0,0,0.2);
  27. }
  28. .form {
  29. box-sizing: border-box;
  30. width: 260px;
  31. box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
  32. padding-bottom: 40px;
  33. border-radius: 3px;
  34. background-color: rgba(247, 240, 240, 0.7);;
  35. h1 {
  36. box-sizing: border-box;
  37. padding: 20px;
  38. }
  39. }
  40. .input {
  41. margin: 40px 25px;
  42. width: 200px;
  43. display: block;
  44. border: none;
  45. padding: 10px 0;
  46. border-bottom: solid 1px $el-color;
  47. transition: all 0.3s cubic-bezier(.64,.09,.08,1);
  48. background: linear-gradient(to bottom, rgba(255,255,255,0) 96%, $el-color 4%);
  49. background-position: -200px 0;
  50. background-size: 200px 100%;
  51. background-repeat: no-repeat;
  52. color: darken($el-color, 20%);
  53. &:focus {
  54. box-shadow: none;
  55. outline: none;
  56. background-position: 0 0;
  57. &::-webkit-input-placeholder {
  58. color: $el-color;
  59. font-size: 11px;
  60. transform: translateY(-20px);
  61. visibility: visible !important;
  62. }
  63. }
  64. }
  65. .button {
  66. border: none;
  67. background: $el-color;
  68. cursor: pointer;
  69. border-radius: 3px;
  70. padding: 6px;
  71. width: 200px;
  72. color: white;
  73. margin: 25px auto;
  74. box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  75. &:hover {
  76. transform: translateY(-3px);
  77. box-shadow: 0 6px 6px 0 rgba(0,0,0,0.2);
  78. }
  79. }
  80. h1, .input::-webkit-input-placeholder, .button {
  81. font-family: 'roboto', sans-serif;
  82. transition: all 0.3s ease-in-out;
  83. }
  84. h1 {
  85. height: 100px;
  86. width: 100%;
  87. font-size: 18px;
  88. background: darken($color, 4%);
  89. color: white;
  90. line-height: 150%;
  91. border-radius: 3px 3px 0 0;
  92. box-shadow: 0 2px 5px 1px rgba(0,0,0,0.2);
  93. }
  94. .form {
  95. box-sizing: border-box;
  96. width: 460px;
  97. margin: auto 0;
  98. box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
  99. padding-bottom: 40px;
  100. border-radius: 3px;
  101. }
  102. .input {
  103. margin: 20px 25px;
  104. width: 80%;
  105. display: block;
  106. border: none;
  107. padding: 10px 0;
  108. border-bottom: solid 1px $color;
  109. transition: all 0.3s cubic-bezier(.64,.09,.08,1);
  110. background: linear-gradient(to bottom, rgba(255,255,255,0) 96%, $color 4%);
  111. background-position: -200px 0;
  112. background-size: 200px 100%;
  113. background-repeat: no-repeat;
  114. color: darken($color, 1%);
  115. &:focus {
  116. box-shadow: none;
  117. outline: none;
  118. background-position: 0 0;
  119. &::-webkit-input-placeholder {
  120. color: $color;
  121. font-size: 11px;
  122. transform: translateY(-20px);
  123. visibility: visible !important;
  124. }
  125. }
  126. }
  127. //.input:focus::-webkit-input-placeholder {text-indent: 500px; transition: text-indent 0.5s ease;}
  128. .button {
  129. border: none;
  130. background: $color;
  131. cursor: pointer;
  132. border-radius: 3px;
  133. padding: 6px;
  134. margin-bottom: 10px;
  135. width: 80%;
  136. color: white;
  137. margin-left: 25px;
  138. box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  139. &:hover {
  140. transform: translateY(-3px);
  141. box-shadow: 0 6px 6px 0 rgba(0,0,0,0.2);
  142. }
  143. }
  144. // .allStaffs{
  145. // max-width: 1500px;
  146. // display: flex;
  147. // flex-wrap: wrap;
  148. // justify-content: center;
  149. // align-items: center;
  150. // align-content: center;
  151. // }
  152. // .staffs{
  153. // max-width: 1500px;
  154. // display: flex;
  155. // flex-wrap: wrap;
  156. // justify-content: center;
  157. // align-items: center;
  158. // align-content: center;
  159. // }
  160. // .staff{
  161. // width: 350px;
  162. // }
  163. .main{
  164. display: flex;
  165. }
  166. .sider{
  167. background-color: #FD7F71
  168. }
  169. .auth__button{
  170. width: 100%;
  171. display : flex;
  172. padding-top: 30px;
  173. padding-bottom: 30px;
  174. }
  175. .btn1{
  176. width: 180px;
  177. margin-left: 0px;
  178. border-radius: 0px;
  179. padding-bottom: 10px;
  180. padding-top: 10px;
  181. }
  182. .btn2{
  183. width: 180px;
  184. margin-left: 0px;
  185. border-radius: 0px;
  186. padding-bottom: 10px;
  187. padding-top: 10px;
  188. }