@authing/react-ui-components 3.0.1-beta.0 → 3.0.1-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/index.min.js +1 -1
  2. package/es/AuthingGuard/AppMFALayout/index.js +1 -1
  3. package/es/AuthingGuard/Forms/ADLoginForm/index.js +1 -1
  4. package/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  5. package/es/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +1 -1
  6. package/es/AuthingGuard/Forms/EmailRegisterForm/index.js +2 -2
  7. package/es/AuthingGuard/Forms/LdapLoginForm/index.d.ts +1 -1
  8. package/es/AuthingGuard/Forms/LdapLoginForm/index.js +3 -3
  9. package/es/AuthingGuard/Forms/LoginFormFooter/index.js +1 -1
  10. package/es/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +1 -1
  11. package/es/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +1 -1
  12. package/es/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +1 -1
  13. package/es/AuthingGuard/Forms/PasswordLoginForm/index.js +3 -3
  14. package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +1 -1
  15. package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +3 -3
  16. package/es/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +1 -1
  17. package/es/AuthingGuard/Forms/PhoneRegisterForm/index.js +3 -3
  18. package/es/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +1 -1
  19. package/es/AuthingGuard/Forms/QrCodeLoginForm/index.js +1 -1
  20. package/es/AuthingGuard/Forms/RegisterFormFooter/index.js +1 -1
  21. package/es/AuthingGuard/Forms/ResetPwdForm/Footer.js +1 -1
  22. package/es/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +1 -1
  23. package/es/AuthingGuard/Forms/ResetPwdForm/Step1.js +1 -1
  24. package/es/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +1 -1
  25. package/es/AuthingGuard/Forms/ResetPwdForm/Step2.js +1 -1
  26. package/es/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +1 -1
  27. package/es/AuthingGuard/Forms/ResetPwdForm/Step4.js +1 -1
  28. package/es/AuthingGuard/Forms/ResetPwdForm/index.d.ts +1 -1
  29. package/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  30. package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +1 -1
  31. package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.js +2 -2
  32. package/es/AuthingGuard/GuardLayout/index.d.ts +1 -1
  33. package/es/AuthingGuard/GuardLayout/index.js +8 -8
  34. package/es/AuthingGuard/LoginLayout/index.js +3 -3
  35. package/es/AuthingGuard/MfaLayout/index.js +1 -1
  36. package/es/AuthingGuard/RegisterLayout/index.js +3 -3
  37. package/es/AuthingGuard/ResetPwdLayout/index.js +1 -1
  38. package/es/AuthingGuard/api/appConfig.d.ts +1 -1
  39. package/es/AuthingGuard/constants.d.ts +1 -1
  40. package/es/AuthingGuard/constants.js +1 -1
  41. package/es/AuthingGuard/types/GuardConfig.d.ts +1 -1
  42. package/es/Error/ErrorSVG.d.ts +2 -0
  43. package/es/Error/ErrorSVG.js +9 -0
  44. package/es/Error/index.js +2 -8
  45. package/es/ShieldSpin/LoadingSVG.d.ts +2 -0
  46. package/es/ShieldSpin/LoadingSVG.js +9 -0
  47. package/es/ShieldSpin/index.js +3 -4
  48. package/es/version/version.d.ts +1 -1
  49. package/es/version/version.js +1 -1
  50. package/lib/AuthingGuard/AppMFALayout/index.js +1 -1
  51. package/lib/AuthingGuard/Forms/ADLoginForm/index.js +1 -1
  52. package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  53. package/lib/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +1 -1
  54. package/lib/AuthingGuard/Forms/EmailRegisterForm/index.js +2 -2
  55. package/lib/AuthingGuard/Forms/LdapLoginForm/index.d.ts +1 -1
  56. package/lib/AuthingGuard/Forms/LdapLoginForm/index.js +3 -3
  57. package/lib/AuthingGuard/Forms/LoginFormFooter/index.js +1 -1
  58. package/lib/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +1 -1
  59. package/lib/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +1 -1
  60. package/lib/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +1 -1
  61. package/lib/AuthingGuard/Forms/PasswordLoginForm/index.js +3 -3
  62. package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +1 -1
  63. package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +3 -3
  64. package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +1 -1
  65. package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.js +3 -3
  66. package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +1 -1
  67. package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.js +1 -1
  68. package/lib/AuthingGuard/Forms/RegisterFormFooter/index.js +1 -1
  69. package/lib/AuthingGuard/Forms/ResetPwdForm/Footer.js +1 -1
  70. package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +1 -1
  71. package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.js +1 -1
  72. package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +1 -1
  73. package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.js +1 -1
  74. package/lib/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +1 -1
  75. package/lib/AuthingGuard/Forms/ResetPwdForm/Step4.js +1 -1
  76. package/lib/AuthingGuard/Forms/ResetPwdForm/index.d.ts +1 -1
  77. package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  78. package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +1 -1
  79. package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.js +2 -2
  80. package/lib/AuthingGuard/GuardLayout/index.d.ts +1 -1
  81. package/lib/AuthingGuard/GuardLayout/index.js +8 -8
  82. package/lib/AuthingGuard/LoginLayout/index.js +3 -3
  83. package/lib/AuthingGuard/MfaLayout/index.js +1 -1
  84. package/lib/AuthingGuard/RegisterLayout/index.js +3 -3
  85. package/lib/AuthingGuard/ResetPwdLayout/index.js +1 -1
  86. package/lib/AuthingGuard/api/appConfig.d.ts +1 -1
  87. package/lib/AuthingGuard/constants.d.ts +1 -1
  88. package/lib/AuthingGuard/constants.js +1 -1
  89. package/lib/AuthingGuard/types/GuardConfig.d.ts +1 -1
  90. package/lib/Error/ErrorSVG.d.ts +2 -0
  91. package/lib/Error/ErrorSVG.js +21 -0
  92. package/lib/Error/index.js +2 -8
  93. package/lib/ShieldSpin/LoadingSVG.d.ts +2 -0
  94. package/lib/ShieldSpin/LoadingSVG.js +21 -0
  95. package/lib/ShieldSpin/index.js +2 -3
  96. package/lib/index.css +253 -253
  97. package/lib/index.min.css +1 -1
  98. package/lib/version/version.d.ts +1 -1
  99. package/lib/version/version.js +1 -1
  100. package/package.json +9 -8
  101. package/dist/static/media/loading.4a67a5f3.svg +0 -29
  102. package/es/ShieldSpin/loading.svg +0 -29
  103. package/lib/ShieldSpin/loading.svg +0 -29
package/lib/index.css CHANGED
@@ -714,6 +714,54 @@
714
714
  }
715
715
 
716
716
 
717
+ .g2-mfa-bindTotp {
718
+ display: flex;
719
+ flex-direction: column;
720
+ align-items: center;
721
+ height: 100%;
722
+ }
723
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret {
724
+ width: 100%;
725
+ height: 48px;
726
+ display: flex;
727
+ justify-content: center;
728
+ align-items: center;
729
+ background: #f5f6f7;
730
+ border-radius: 4px;
731
+ }
732
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography {
733
+ margin: 0;
734
+ }
735
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography svg {
736
+ color: #878a95 !important;
737
+ margin-left: 30px;
738
+ }
739
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-secretSave {
740
+ margin-top: 16px;
741
+ }
742
+ .g2-mfa-bindTotp .g2-mfa-submit-button {
743
+ margin-top: 80px !important;
744
+ }
745
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-qrcode {
746
+ box-shadow: 0px 0px 30px rgba(84, 89, 104, 0.15);
747
+ border-radius: 4px;
748
+ }
749
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form {
750
+ display: flex;
751
+ flex-direction: column;
752
+ align-items: center;
753
+ }
754
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-submit-button {
755
+ margin-top: 64px !important;
756
+ }
757
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-totp-verify-input {
758
+ text-align: center;
759
+ margin-top: 40px !important;
760
+ }
761
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form p {
762
+ color: #878a95;
763
+ }
764
+
717
765
  .authing-tabs {
718
766
  display: flex;
719
767
  margin-bottom: 36px;
@@ -847,59 +895,42 @@
847
895
  }
848
896
  }
849
897
 
850
- .g2-mfa-bindTotp {
851
- display: flex;
852
- flex-direction: column;
853
- align-items: center;
854
- height: 100%;
855
- }
856
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret {
857
- width: 100%;
858
- height: 48px;
859
- display: flex;
860
- justify-content: center;
898
+ .authing-dropdown {
899
+ display: inline-flex;
900
+ position: relative;
861
901
  align-items: center;
862
- background: #f5f6f7;
863
- border-radius: 4px;
864
902
  }
865
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography {
866
- margin: 0;
867
- }
868
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography svg {
869
- color: #878a95 !important;
870
- margin-left: 30px;
871
- }
872
- .g2-mfa-bindTotp .g2-mfa-bindTotp-secretSave {
873
- margin-top: 16px;
874
- }
875
- .g2-mfa-bindTotp .g2-mfa-submit-button {
876
- margin-top: 80px !important;
877
- }
878
- .g2-mfa-bindTotp .g2-mfa-bindTotp-qrcode {
879
- box-shadow: 0px 0px 30px rgba(84, 89, 104, 0.15);
880
- border-radius: 4px;
881
- }
882
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form {
883
- display: flex;
884
- flex-direction: column;
885
- align-items: center;
903
+ .authing-dropdown-trigger {
904
+ cursor: pointer;
886
905
  }
887
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-submit-button {
888
- margin-top: 64px !important;
906
+ .authing-dropdown-menu-container {
907
+ height: 0;
908
+ opacity: 0;
909
+ position: absolute;
910
+ top: 100%;
911
+ left: 0;
912
+ transition: all 0.3s;
913
+ cursor: pointer;
914
+ background-color: #fff;
915
+ padding: 4px 0;
916
+ border-radius: 2px;
917
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
918
+ pointer-events: none;
889
919
  }
890
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-totp-verify-input {
891
- text-align: center;
892
- margin-top: 40px !important;
920
+ .authing-dropdown-menu-container__visible {
921
+ height: auto;
922
+ opacity: 1;
923
+ pointer-events: unset;
893
924
  }
894
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form p {
895
- color: #878a95;
925
+ .authing-dropdown-menu-item {
926
+ padding: 5px 12px;
927
+ transition: all 0.3s;
896
928
  }
897
-
898
- .g2-completeInfo-content {
899
- margin-bottom: 44px;
929
+ .authing-dropdown-menu-item:hover {
930
+ background-color: #f5f5f5;
900
931
  }
901
- .g2-completeInfo-submit {
902
- margin-top: 30px !important;
932
+ .authing-dropdown-icon {
933
+ margin-left: 8px;
903
934
  }
904
935
 
905
936
  .authing-copy-text {
@@ -914,6 +945,18 @@
914
945
  color: #b7eb8f;
915
946
  }
916
947
 
948
+ .g2-error-content {
949
+ display: flex;
950
+ flex-direction: column;
951
+ align-items: center;
952
+ margin: auto 0;
953
+ }
954
+ .g2-error-content span {
955
+ margin-top: 33px;
956
+ color: #545968;
957
+ font-size: 14px;
958
+ }
959
+
917
960
  .g2-view-container-totp-dl {
918
961
  width: 900px;
919
962
  padding: 0;
@@ -964,16 +1007,11 @@
964
1007
  color: #545968;
965
1008
  }
966
1009
 
967
- .g2-error-content {
968
- display: flex;
969
- flex-direction: column;
970
- align-items: center;
971
- margin: auto 0;
1010
+ .g2-completeInfo-content {
1011
+ margin-bottom: 44px;
972
1012
  }
973
- .g2-error-content span {
974
- margin-top: 33px;
975
- color: #545968;
976
- font-size: 14px;
1013
+ .g2-completeInfo-submit {
1014
+ margin-top: 30px !important;
977
1015
  }
978
1016
 
979
1017
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
@@ -1898,166 +1936,6 @@ strong {
1898
1936
  object-fit: cover;
1899
1937
  }
1900
1938
 
1901
- .g2-qrcode-switch {
1902
- position: absolute;
1903
- display: flex;
1904
- right: 16px;
1905
- }
1906
- .g2-qrcode-switch :global(.authing-ant-popover-inner-content) {
1907
- display: flex;
1908
- justify-content: center;
1909
- align-items: center;
1910
- background: rgba(84, 89, 104, 0.1);
1911
- height: 26px;
1912
- margin-right: 4px;
1913
- font-size: 12px;
1914
- padding: 0 12px;
1915
- border-radius: 4px;
1916
- color: #545968;
1917
- }
1918
- @media (any-hover: hover) {
1919
- .g2-qrcode-switch .switch-img:hover .imgae-mask {
1920
- border-width: 0;
1921
- right: 50px;
1922
- top: 50px;
1923
- }
1924
- }
1925
- .g2-qrcode-switch .imgae-mask {
1926
- width: 0;
1927
- height: 0;
1928
- border-style: solid;
1929
- border-width: 50px 0 0 50px;
1930
- border-color: transparent transparent transparent #fff;
1931
- position: absolute;
1932
- right: 0;
1933
- top: 0;
1934
- transition: 0.2s all;
1935
- }
1936
- .g2-qrcode-switch .qrcode-switch-image {
1937
- font-size: 50px;
1938
- color: #396aff;
1939
- cursor: pointer;
1940
- }
1941
- .authing-g2-login-app-qrcode {
1942
- min-height: 288px;
1943
- display: flex;
1944
- justify-content: center;
1945
- align-items: center;
1946
- }
1947
- .authing-g2-login-app-qrcode img {
1948
- width: 200px;
1949
- height: 200px;
1950
- margin-top: 0px !important;
1951
- }
1952
- .authing-g2-login-app-qrcode .__authing__heading-subtitle-style {
1953
- font-size: 14px;
1954
- }
1955
- .authing-g2-login-app-qrcode .__authing-shadow-style {
1956
- width: 200px;
1957
- height: 200px;
1958
- margin-left: -100px;
1959
- line-height: 200px;
1960
- }
1961
- .switch-text {
1962
- left: -80px !important;
1963
- top: 4px !important;
1964
- }
1965
- .switch-text .authing-ant-popover-inner {
1966
- background: rgba(84, 89, 104, 0.1);
1967
- border-radius: 4px;
1968
- box-shadow: none;
1969
- }
1970
- .switch-text .authing-ant-popover-inner-content {
1971
- display: flex;
1972
- justify-content: center;
1973
- align-items: center;
1974
- height: 26px;
1975
- width: 72px;
1976
- white-space: nowrap;
1977
- margin-right: 4px;
1978
- font-size: 12px;
1979
- padding: 0 12px;
1980
- border-radius: 4px;
1981
- color: #545968;
1982
- }
1983
- .switch-text .authing-ant-popover-arrow {
1984
- border-color: rgba(84, 89, 104, 0.1) !important;
1985
- border-width: 3px !important;
1986
- background: #fff !important;
1987
- width: 0px !important;
1988
- height: 0px !important;
1989
- right: 7px !important;
1990
- }
1991
-
1992
- .g2-guard-full-width-space {
1993
- width: 100%;
1994
- }
1995
- .no-login-methods {
1996
- padding: 38px;
1997
- }
1998
- .g2-guard-third-login-btn {
1999
- display: flex !important;
2000
- border: none !important;
2001
- background-color: #f5f6f7 !important;
2002
- border-radius: 4px !important;
2003
- color: #282d3c !important;
2004
- font-size: 14px !important;
2005
- margin-bottom: 8px !important;
2006
- margin-top: 8px !important;
2007
- justify-content: center;
2008
- align-items: center;
2009
- }
2010
- .g2-guard-third-login-btn:last-child {
2011
- margin-bottom: 16px !important;
2012
- }
2013
- .g2-guard-third-login-btn:hover {
2014
- background-color: rgba(84, 89, 104, 0.2) !important;
2015
- }
2016
- .g2-social-login-item {
2017
- display: inline-flex;
2018
- margin: 12px;
2019
- width: 56px;
2020
- height: 48px;
2021
- background-color: #f5f6f7;
2022
- border-radius: 4px;
2023
- justify-content: center;
2024
- align-items: center;
2025
- cursor: pointer;
2026
- -webkit-user-select: none;
2027
- -ms-user-select: none;
2028
- user-select: none;
2029
- }
2030
- .g2-social-login-item .g2-icon {
2031
- font-size: 24px;
2032
- transition: color 0.3s ease-out;
2033
- }
2034
- .g2-social-login-item:hover {
2035
- background: rgba(84, 89, 104, 0.2);
2036
- }
2037
- .g2-social-login-title {
2038
- text-align: center;
2039
- font-size: 14px;
2040
- color: #c8c9cc;
2041
- }
2042
- .g2-social-login-title::before,
2043
- .g2-social-login-title::after {
2044
- content: '——';
2045
- color: #eeeeee;
2046
- margin: 0 11px;
2047
- }
2048
- .g2-social-login-list {
2049
- display: flex;
2050
- flex-wrap: wrap;
2051
- justify-content: center;
2052
- padding: 0 35px;
2053
- }
2054
- .authing-ant-avatar > img {
2055
- display: block;
2056
- width: 100%;
2057
- height: 100%;
2058
- object-fit: cover;
2059
- }
2060
-
2061
1939
  .authing-g2-mfa-title {
2062
1940
  color: #282d3c;
2063
1941
  font-size: 18px;
@@ -2268,6 +2146,166 @@ strong {
2268
2146
  line-height: 23px;
2269
2147
  }
2270
2148
 
2149
+ .g2-qrcode-switch {
2150
+ position: absolute;
2151
+ display: flex;
2152
+ right: 16px;
2153
+ }
2154
+ .g2-qrcode-switch :global(.authing-ant-popover-inner-content) {
2155
+ display: flex;
2156
+ justify-content: center;
2157
+ align-items: center;
2158
+ background: rgba(84, 89, 104, 0.1);
2159
+ height: 26px;
2160
+ margin-right: 4px;
2161
+ font-size: 12px;
2162
+ padding: 0 12px;
2163
+ border-radius: 4px;
2164
+ color: #545968;
2165
+ }
2166
+ @media (any-hover: hover) {
2167
+ .g2-qrcode-switch .switch-img:hover .imgae-mask {
2168
+ border-width: 0;
2169
+ right: 50px;
2170
+ top: 50px;
2171
+ }
2172
+ }
2173
+ .g2-qrcode-switch .imgae-mask {
2174
+ width: 0;
2175
+ height: 0;
2176
+ border-style: solid;
2177
+ border-width: 50px 0 0 50px;
2178
+ border-color: transparent transparent transparent #fff;
2179
+ position: absolute;
2180
+ right: 0;
2181
+ top: 0;
2182
+ transition: 0.2s all;
2183
+ }
2184
+ .g2-qrcode-switch .qrcode-switch-image {
2185
+ font-size: 50px;
2186
+ color: #396aff;
2187
+ cursor: pointer;
2188
+ }
2189
+ .authing-g2-login-app-qrcode {
2190
+ min-height: 288px;
2191
+ display: flex;
2192
+ justify-content: center;
2193
+ align-items: center;
2194
+ }
2195
+ .authing-g2-login-app-qrcode img {
2196
+ width: 200px;
2197
+ height: 200px;
2198
+ margin-top: 0px !important;
2199
+ }
2200
+ .authing-g2-login-app-qrcode .__authing__heading-subtitle-style {
2201
+ font-size: 14px;
2202
+ }
2203
+ .authing-g2-login-app-qrcode .__authing-shadow-style {
2204
+ width: 200px;
2205
+ height: 200px;
2206
+ margin-left: -100px;
2207
+ line-height: 200px;
2208
+ }
2209
+ .switch-text {
2210
+ left: -80px !important;
2211
+ top: 4px !important;
2212
+ }
2213
+ .switch-text .authing-ant-popover-inner {
2214
+ background: rgba(84, 89, 104, 0.1);
2215
+ border-radius: 4px;
2216
+ box-shadow: none;
2217
+ }
2218
+ .switch-text .authing-ant-popover-inner-content {
2219
+ display: flex;
2220
+ justify-content: center;
2221
+ align-items: center;
2222
+ height: 26px;
2223
+ width: 72px;
2224
+ white-space: nowrap;
2225
+ margin-right: 4px;
2226
+ font-size: 12px;
2227
+ padding: 0 12px;
2228
+ border-radius: 4px;
2229
+ color: #545968;
2230
+ }
2231
+ .switch-text .authing-ant-popover-arrow {
2232
+ border-color: rgba(84, 89, 104, 0.1) !important;
2233
+ border-width: 3px !important;
2234
+ background: #fff !important;
2235
+ width: 0px !important;
2236
+ height: 0px !important;
2237
+ right: 7px !important;
2238
+ }
2239
+
2240
+ .g2-guard-full-width-space {
2241
+ width: 100%;
2242
+ }
2243
+ .no-login-methods {
2244
+ padding: 38px;
2245
+ }
2246
+ .g2-guard-third-login-btn {
2247
+ display: flex !important;
2248
+ border: none !important;
2249
+ background-color: #f5f6f7 !important;
2250
+ border-radius: 4px !important;
2251
+ color: #282d3c !important;
2252
+ font-size: 14px !important;
2253
+ margin-bottom: 8px !important;
2254
+ margin-top: 8px !important;
2255
+ justify-content: center;
2256
+ align-items: center;
2257
+ }
2258
+ .g2-guard-third-login-btn:last-child {
2259
+ margin-bottom: 16px !important;
2260
+ }
2261
+ .g2-guard-third-login-btn:hover {
2262
+ background-color: rgba(84, 89, 104, 0.2) !important;
2263
+ }
2264
+ .g2-social-login-item {
2265
+ display: inline-flex;
2266
+ margin: 12px;
2267
+ width: 56px;
2268
+ height: 48px;
2269
+ background-color: #f5f6f7;
2270
+ border-radius: 4px;
2271
+ justify-content: center;
2272
+ align-items: center;
2273
+ cursor: pointer;
2274
+ -webkit-user-select: none;
2275
+ -ms-user-select: none;
2276
+ user-select: none;
2277
+ }
2278
+ .g2-social-login-item .g2-icon {
2279
+ font-size: 24px;
2280
+ transition: color 0.3s ease-out;
2281
+ }
2282
+ .g2-social-login-item:hover {
2283
+ background: rgba(84, 89, 104, 0.2);
2284
+ }
2285
+ .g2-social-login-title {
2286
+ text-align: center;
2287
+ font-size: 14px;
2288
+ color: #c8c9cc;
2289
+ }
2290
+ .g2-social-login-title::before,
2291
+ .g2-social-login-title::after {
2292
+ content: '——';
2293
+ color: #eeeeee;
2294
+ margin: 0 11px;
2295
+ }
2296
+ .g2-social-login-list {
2297
+ display: flex;
2298
+ flex-wrap: wrap;
2299
+ justify-content: center;
2300
+ padding: 0 35px;
2301
+ }
2302
+ .authing-ant-avatar > img {
2303
+ display: block;
2304
+ width: 100%;
2305
+ height: 100%;
2306
+ object-fit: cover;
2307
+ }
2308
+
2271
2309
  .authing-g2-send-code-btn {
2272
2310
  height: 43px;
2273
2311
  width: 100%;
@@ -2318,41 +2356,3 @@ strong {
2318
2356
  display: flex;
2319
2357
  align-items: center;
2320
2358
  }
2321
-
2322
- .authing-dropdown {
2323
- display: inline-flex;
2324
- position: relative;
2325
- align-items: center;
2326
- }
2327
- .authing-dropdown-trigger {
2328
- cursor: pointer;
2329
- }
2330
- .authing-dropdown-menu-container {
2331
- height: 0;
2332
- opacity: 0;
2333
- position: absolute;
2334
- top: 100%;
2335
- left: 0;
2336
- transition: all 0.3s;
2337
- cursor: pointer;
2338
- background-color: #fff;
2339
- padding: 4px 0;
2340
- border-radius: 2px;
2341
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
2342
- pointer-events: none;
2343
- }
2344
- .authing-dropdown-menu-container__visible {
2345
- height: auto;
2346
- opacity: 1;
2347
- pointer-events: unset;
2348
- }
2349
- .authing-dropdown-menu-item {
2350
- padding: 5px 12px;
2351
- transition: all 0.3s;
2352
- }
2353
- .authing-dropdown-menu-item:hover {
2354
- background-color: #f5f5f5;
2355
- }
2356
- .authing-dropdown-icon {
2357
- margin-left: 8px;
2358
- }