_login_and_register.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. //
  2. // Pages: Login & Register
  3. //
  4. .login-logo,
  5. .register-logo {
  6. font-size: 2.1rem;
  7. font-weight: 300;
  8. margin-bottom: .9rem;
  9. text-align: center;
  10. a {
  11. color: $gray-700;
  12. }
  13. }
  14. .login-page,
  15. .register-page {
  16. align-items: center;
  17. background: $gray-200;
  18. display: flex;
  19. flex-direction: column;
  20. height: 100vh;
  21. justify-content: center;
  22. }
  23. .login-box,
  24. .register-box {
  25. width: 360px;
  26. @media (max-width: map-get($grid-breakpoints, sm)) {
  27. margin-top: .5rem;
  28. width: 90%;
  29. }
  30. }
  31. .login-card-body,
  32. .register-card-body {
  33. background: $white;
  34. border-top: 0;
  35. color: #666;
  36. padding: 20px;
  37. .input-group {
  38. .form-control {
  39. border-right: 0;
  40. &:focus {
  41. box-shadow: none;
  42. & ~ .input-group-append .input-group-text {
  43. border-color: $input-focus-border-color;
  44. }
  45. }
  46. &.is-valid {
  47. &:focus {
  48. box-shadow: none;
  49. }
  50. & ~ .input-group-append .input-group-text {
  51. border-color: $success;
  52. }
  53. }
  54. &.is-invalid {
  55. &:focus {
  56. box-shadow: none;
  57. }
  58. & ~ .input-group-append .input-group-text {
  59. border-color: $danger;
  60. }
  61. }
  62. }
  63. .input-group-text {
  64. background-color: transparent;
  65. border-bottom-right-radius: $border-radius;
  66. border-left: 0;
  67. border-top-right-radius: $border-radius;
  68. color: #777;
  69. transition: $input-transition;
  70. }
  71. }
  72. }
  73. .login-box-msg,
  74. .register-box-msg {
  75. margin: 0;
  76. padding: 0 20px 20px;
  77. text-align: center;
  78. }
  79. .social-auth-links {
  80. margin: 10px 0;
  81. }