login-register.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .login-register-or-text-container {
  2. padding: var(--spacing-08) 0 var(--spacing-05) 0;
  3. margin: 0;
  4. line-height: 1;
  5. position: relative;
  6. font-size: var(--font-size-02);
  7. &::before {
  8. content: '';
  9. position: absolute;
  10. height: 1px;
  11. background-color: var(--neutral-20);
  12. left: 0;
  13. right: 0;
  14. top: calc(var(--spacing-08) + var(--spacing-08) / 4);
  15. }
  16. .login-register-or-text {
  17. position: relative;
  18. background-color: #fff;
  19. padding: 0 var(--spacing-05);
  20. }
  21. }
  22. .login-register-form {
  23. padding: var(--spacing-08) var(--spacing-08) 0 var(--spacing-08);
  24. border-bottom: solid 1px var(--border-divider);
  25. &:last-child {
  26. border-bottom-width: 0;
  27. }
  28. }
  29. .form-group-password {
  30. display: flex;
  31. position: relative;
  32. flex-direction: column;
  33. .form-group-password-input {
  34. input.form-control {
  35. padding-right: 35px;
  36. }
  37. }
  38. .visibility-toggle {
  39. position: absolute;
  40. right: 0;
  41. top: 0;
  42. width: 35px; // TODO: Should this be calculated ?
  43. height: 35px; // TODO: Should this be calculated ?
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. border: unset;
  48. background-color: unset;
  49. #visibility-icon-off {
  50. margin-top: 2px; // workaround for the icon not having the same center as the non-slashed one
  51. }
  52. }
  53. }