LoginForm.module.scss 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @use '@growi/core-styles/scss/bootstrap/init' as bs;
  2. @use 'styles/atoms/placeholders/buttons';
  3. .login-form :global {
  4. //
  5. // deactivated in order to fix https://redmine.weseek.co.jp/issues/143531 -- 2024.04.02 Yuki Takei
  6. //
  7. // // To adjust the behavior, this problem is not solved.
  8. // // See https://github.com/AaronCCWong/react-card-flip/issues/56
  9. // .react-card-front,
  10. // .react-card-back {
  11. // height: 0% !important;
  12. // }
  13. .collapse-external-auth {
  14. overflow: hidden;
  15. }
  16. .link-growi-org {
  17. position: absolute;
  18. bottom: 9px;
  19. z-index: 3;
  20. }
  21. .text-line {
  22. &::before,
  23. &::after {
  24. flex-grow: 1;
  25. height: 1px;
  26. margin:0 1em;
  27. content: '';
  28. background: rgba(white,0.5);
  29. }
  30. }
  31. .ldap-space {
  32. padding-right: 76px;
  33. }
  34. .input-ldap {
  35. position: absolute;
  36. top: 4px;
  37. right: 5px;
  38. }
  39. }
  40. // Button colors
  41. :root {
  42. .login-form :global {
  43. .btn {
  44. @extend %btn-nologin;
  45. }
  46. .btn-register {
  47. @extend %btn-register;
  48. }
  49. .btn-login {
  50. --bs-btn-bg: #{rgba(#204986, 0.6)};
  51. --bs-btn-hover-bg: #{rgba(#204986, 0.8)};
  52. --bs-btn-active-bg: #{rgba(#204986, 0.8)};
  53. }
  54. .btn-function {
  55. --bs-btn-bg: #{rgba(bs.$gray-800, 0.8)};
  56. --bs-btn-hover-bg: #{rgba(bs.$gray-800, 0.5)};
  57. --bs-btn-active-bg: #{rgba(bs.$gray-800, 0.5)};
  58. }
  59. .btn-auth-google {
  60. --bs-btn-bg: #{rgba(#4285F4, 0.4)};
  61. --bs-btn-hover-bg: #{rgba(#4285F4, 0.8)};
  62. --bs-btn-active-bg: #{rgba(#4285F4, 0.8)};
  63. }
  64. .btn-auth-github {
  65. --bs-btn-bg: #{rgba(#403D3E, 0.4)};
  66. --bs-btn-hover-bg: #{rgba(#403D3E, 0.7)};
  67. --bs-btn-active-bg: #{rgba(#403D3E, 0.7)};
  68. }
  69. .btn-auth-oidc {
  70. --bs-btn-bg: #{rgba(#835B1A, 0.4)};
  71. --bs-btn-hover-bg: #{rgba(#835B1A, 0.8)};
  72. --bs-btn-active-bg: #{rgba(#835B1A, 0.8)};
  73. }
  74. .btn-auth-saml {
  75. --bs-btn-bg: #{rgba(#138957, 0.4)};
  76. --bs-btn-hover-bg: #{rgba(#138957, 0.7)};
  77. --bs-btn-active-bg: #{rgba(#138957, 0.7)};
  78. }
  79. }
  80. }