login.component.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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: 400px;
  13. height: auto;
  14. margin-left: 130px;
  15. .card {
  16. padding: 25px;
  17. }
  18. }
  19. .auth-main::before {
  20. content: "";
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. width: 600px;
  25. height: 100%;
  26. z-index: -1;
  27. background: url("/assets/img/test1.png") no-repeat left top;
  28. background-color: #4f3683; //#223d7d;
  29. background-size: cover;
  30. background-position: 10%;
  31. }
  32. .auth-main:after {
  33. content: "";
  34. position: absolute;
  35. right: 0;
  36. top: 0;
  37. width: 80%;
  38. height: 100%;
  39. z-index: -2;
  40. background: url("/assets/img/inversys.png") no-repeat 70% center;
  41. background-color: #fff;
  42. //background: url(../../assets/images/auth_bg.jpg) no-repeat top left fixed;
  43. }
  44. .logo-box {
  45. width: 400px;
  46. float: right;
  47. margin-right: 150px;
  48. }
  49. .card {
  50. background: #fff;
  51. transition: 0.5s;
  52. border: 0;
  53. margin-bottom: 30px;
  54. border-radius: 0.55rem;
  55. position: relative;
  56. width: 100%;
  57. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  58. }
  59. @media screen and (max-width: 1200px) {
  60. .auth-main:after {
  61. background: url("/assets/img/inverlec_logo.png") no-repeat 85% center;
  62. background-color: #fff;
  63. }
  64. }
  65. @media screen and (max-width: 1024px) {
  66. .auth-box {
  67. width: 80%;
  68. margin: 0 auto;
  69. }
  70. .auth-main:before {
  71. width: 100%;
  72. //background-image: url("/assets/img/login-bg.png");
  73. }
  74. .top {
  75. margin: 0 auto 20px;
  76. text-align: center;
  77. img {
  78. width: 100%;
  79. max-width: 350px;
  80. }
  81. }
  82. }
  83. @media screen and (max-width: 768px) {
  84. .auth-main:before,
  85. .auth-main:after {
  86. background-color: #4f3683; //#223d7d;
  87. }
  88. .top {
  89. margin: 0 auto 20px;
  90. text-align: center;
  91. img {
  92. width: 100%;
  93. max-width: 350px;
  94. }
  95. }
  96. }
  97. @media screen and (max-width: 640px) {
  98. .auth-box {
  99. width: 90%;
  100. border: 0;
  101. .card {
  102. box-shadow: none;
  103. }
  104. }
  105. .auth-main:before,
  106. .auth-main:after {
  107. background-image: none;
  108. background-color: #fff;
  109. }
  110. .top {
  111. margin: 0 auto 20px;
  112. text-align: center;
  113. img {
  114. width: 100%;
  115. max-width: 300px;
  116. }
  117. }
  118. }