login.component.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .vertical-align-wrap {
  2. position: absolute;
  3. width: 100%;
  4. height: 100%;
  5. display: table;
  6. }
  7. .vertical-align-middle {
  8. display: table-cell;
  9. vertical-align: middle;
  10. }
  11. .auth-box {
  12. width: 450px;
  13. height: auto;
  14. margin-left: 115px;
  15. .card {
  16. padding: 25px;
  17. }
  18. }
  19. .top {
  20. height: 110px;
  21. img {
  22. width: 100%;
  23. max-width: 380px;
  24. }
  25. }
  26. .auth-main::before {
  27. content: "";
  28. position: absolute;
  29. left: 0;
  30. top: 0;
  31. width: 500px;
  32. height: 100%;
  33. z-index: -1;
  34. background: #f0f0f0;
  35. }
  36. .auth-main:after {
  37. content: "";
  38. position: absolute;
  39. right: 0;
  40. top: 0;
  41. width: 100%;
  42. height: 100%;
  43. z-index: -2;
  44. background: #0b4583;
  45. //background: url(../../assets/images/auth_bg.jpg) no-repeat top left fixed;
  46. }
  47. .card {
  48. background: #fff;
  49. transition: 0.5s;
  50. border: 0;
  51. margin-bottom: 30px;
  52. border-radius: 0.55rem;
  53. position: relative;
  54. width: 100%;
  55. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  56. }
  57. @media screen and (max-width: 640px) {
  58. .auth-box {
  59. width: 90%;
  60. }
  61. .top {
  62. img {
  63. width: 100%;
  64. max-width: 300px;
  65. }
  66. }
  67. }
  68. @media screen and (max-width: 992px) {
  69. .auth-box {
  70. width: 80%;
  71. margin: 0 auto;
  72. }
  73. }