login - 1.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. /*
  2. Project Name: WFM
  3. Date : 05-11-2020
  4. Author: Amar Kholambe (amar.kholambe@luminad.com)
  5. */
  6. body {
  7. background: rgb(239, 138, 227);
  8. background: url('./45.jpg') no-repeat center center fixed;
  9. -webkit-background-size: cover;
  10. -moz-background-size: cover;
  11. -o-background-size: cover;
  12. background-size: cover;
  13. }
  14. .login {
  15. position: absolute;
  16. left: 50%;
  17. top: 50%;
  18. transform: translate(-50%, -50%);
  19. background: #fff;
  20. }
  21. .login-container {
  22. width: 800px;
  23. margin: 0 auto;
  24. height: 430px;
  25. box-shadow: 0 0 178px #9b9b9b;
  26. border: 1px solid #d1d1d1;
  27. background: #f2f2f2;
  28. }
  29. .login-left {
  30. /* background: #0070CD; */
  31. background: url(left.png);
  32. float: left;
  33. width: 60%;
  34. padding: 2 5px 30px 0;
  35. height: 100%;
  36. position: relative;
  37. /* border-right: 1px solid #ddd; */
  38. overflow: hidden;
  39. background-size: cover;
  40. }
  41. .login-right {
  42. float: left;
  43. width: 48%;
  44. padding: 45px 30px 0;
  45. height: 100%;
  46. position: absolute;
  47. top:0;
  48. right: 0;
  49. bottom: 0;
  50. }
  51. .form-signin,
  52. .form-reset-password {
  53. padding: 0 30px 0 0;
  54. overflow: auto;
  55. height: 410px;
  56. }
  57. .lbox {
  58. width: 100%;
  59. display: block;
  60. }
  61. .clogo {
  62. /* width: 200px; */
  63. margin: 50px 120px;
  64. display: block;
  65. /* text-align: center; */
  66. font-size: 40px;
  67. color: #424242;
  68. z-index: 1;
  69. position: relative;
  70. }
  71. .llogo {
  72. width: 115px;
  73. position: absolute;
  74. bottom: 10px;
  75. right: 90px;
  76. }
  77. .lbox p {
  78. margin: 320px auto auto;
  79. color: #424242;
  80. font-size: 12px;
  81. text-align: right;
  82. }
  83. .form-signin-heading {
  84. padding-bottom: 30px;
  85. text-align: center;
  86. color: #0070CD;
  87. margin: 0;
  88. }
  89. .lang_label {
  90. position: initial !important;
  91. display: inline-block;
  92. margin-right: 5px;
  93. }
  94. select {
  95. width: 70px !important;
  96. display: inline-block !important;
  97. }
  98. /* form starting stylings ------------------------------- */
  99. .login .group {
  100. position: relative;
  101. margin-bottom: 55px;
  102. }
  103. .login input {
  104. padding: 5px;
  105. display: block;
  106. width: 100%;
  107. border: none;
  108. border-bottom: 1px solid #0070CD;
  109. background-color: transparent;
  110. }
  111. .login input:focus {
  112. outline: none;
  113. }
  114. /* LABEL ======================================= */
  115. .login label {
  116. color: #999;
  117. /* font-size: 18px; */
  118. font-weight: normal;
  119. position: absolute;
  120. pointer-events: none;
  121. left: 5px;
  122. top: 15px;
  123. transition: 0.2s ease all;
  124. -moz-transition: 0.2s ease all;
  125. -webkit-transition: 0.2s ease all;
  126. }
  127. /* active state */
  128. .login input:focus~label,
  129. .login input:valid~label {
  130. top: -20px;
  131. font-size: 14px;
  132. color: #5264AE;
  133. }
  134. /* active state */
  135. .login input:focus~.highlight {
  136. -webkit-animation: inputHighlighter 0.3s ease;
  137. -moz-animation: inputHighlighter 0.3s ease;
  138. animation: inputHighlighter 0.3s ease;
  139. }
  140. /* ANIMATIONS ================ */
  141. @-webkit-keyframes inputHighlighter {
  142. from {
  143. background: #5264AE;
  144. }
  145. to {
  146. width: 0;
  147. background: transparent;
  148. }
  149. }
  150. @-moz-keyframes inputHighlighter {
  151. from {
  152. background: #5264AE;
  153. }
  154. to {
  155. width: 0;
  156. background: transparent;
  157. }
  158. }
  159. @keyframes inputHighlighter {
  160. from {
  161. background: #5264AE;
  162. }
  163. to {
  164. width: 0;
  165. background: transparent;
  166. }
  167. }
  168. .login button {
  169. border-color: #0070CD;
  170. color: #0070CD;
  171. font-size: 18px;
  172. }
  173. .login button:hover,
  174. .login button:active,
  175. .login button:focus {
  176. background-color: #0070CD !important;
  177. color: #ffffff !important;
  178. }
  179. .forgotPass {
  180. color: #55729c;
  181. margin-top: 25px;
  182. display: block;
  183. }
  184. .form-reset-password input {
  185. padding: 8px 8px 8px 5px;
  186. }
  187. .form-reset-password label {
  188. top: 10px;
  189. }
  190. .form-reset-password .group {
  191. margin-bottom: 40px;
  192. }
  193. .header {
  194. height: 200px;
  195. background: #425464;
  196. }
  197. .footer {
  198. height: 50px;
  199. background: #425464;
  200. }
  201. @media only screen and (max-width: 900px) {
  202. .login,
  203. .login-container {
  204. width: 100%;
  205. }
  206. }
  207. @media only screen and (max-width: 768px) {
  208. .login {
  209. top: 150px;
  210. }
  211. .login-left,
  212. .login-right {
  213. width: 100%;
  214. float: none;
  215. }
  216. .form-signin,
  217. .form-reset-password {
  218. height: 100%;
  219. display: initial;
  220. }
  221. }
  222. /* width */
  223. ::-webkit-scrollbar {
  224. width: 5px;
  225. }
  226. /* Track */
  227. ::-webkit-scrollbar-track {
  228. box-shadow: inset 0 0 5px grey;
  229. border-radius: 2px;
  230. }
  231. /* Handle */
  232. ::-webkit-scrollbar-thumb {
  233. background: #444;
  234. border-radius: 2px;
  235. }
  236. /* Handle on hover */
  237. ::-webkit-scrollbar-thumb:hover {
  238. background: #333333;
  239. }
  240. .alert {
  241. display: none;
  242. }
  243. .alert {
  244. z-index: 9999;
  245. position: fixed;
  246. top: 10px;
  247. width: auto;
  248. left: 50%;
  249. transform: translateX(-50%);
  250. }
  251. #triangle-topleft {
  252. clip-path: polygon(0 0, 0% 100%, 100% 0);
  253. background: #C4161C;
  254. width: 100%;
  255. height: 430px;
  256. }