From 1eac9a9fb266b5dd7fdb063f24eca7326444eb50 Mon Sep 17 00:00:00 2001 From: Leozard Date: Sat, 28 Oct 2023 02:13:43 +0800 Subject: [PATCH] hotfix login --- lib/selectors/selectorPlaceholders.scss | 5 ++++- src/general/input.scss | 3 ++- src/modals/otherModals.scss | 11 +++++++++++ src/pages/login.scss | 13 ++----------- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/lib/selectors/selectorPlaceholders.scss b/lib/selectors/selectorPlaceholders.scss index 2a31c7805..ef15fa591 100644 --- a/lib/selectors/selectorPlaceholders.scss +++ b/lib/selectors/selectorPlaceholders.scss @@ -2243,6 +2243,9 @@ pre { .noBorder_bf418d { @extend %inputNoBorder !optional; } +.inputField__79601 { + @extend %inputField !optional; +} .modal__4f3da { @extend %modal !optional; } @@ -3718,7 +3721,7 @@ pre { .authBox__7196a { @extend %loginAuthBox !optional; } -.list-3-WAYB { +.list__4e6aa { @extend %loginAccountsList !optional; } .navRow_bb8efc { diff --git a/src/general/input.scss b/src/general/input.scss index 2ee8a5f1b..542b2cf95 100644 --- a/src/general/input.scss +++ b/src/general/input.scss @@ -17,7 +17,8 @@ &%inputFocused { box-shadow: 0 0 2px 2px $main-color; } - &%inputNoBorder { + &%inputNoBorder, + &%inputField { border: none; box-shadow: none; background: none; diff --git a/src/modals/otherModals.scss b/src/modals/otherModals.scss index 70b9dcabb..c47772cc5 100644 --- a/src/modals/otherModals.scss +++ b/src/modals/otherModals.scss @@ -156,6 +156,17 @@ .tips-39ZVzW { background-color: hsla(0, 0%, 0%, 0.4); } +// SWITCH ACCOUNTS +.activeIcon_e452f7 > circle:not([fill^='hsl(0']), +.activeIcon_e452f7 > g > path:not([fill^='hsl(0']) { + fill: $main-color; +} +%themeDark %modalRoot { + %loginAuthBox, + %addAccountFooter { + background-color: transparent; + } +} // VERIFY PHONE %phoneVerification %phoneVerificationInput { diff --git a/src/pages/login.scss b/src/pages/login.scss index 9189f06d2..17f31d4b3 100644 --- a/src/pages/login.scss +++ b/src/pages/login.scss @@ -1,16 +1,7 @@ /* LOGIN PAGE */ %themeDark %loginAuthBox { - background-color: rgba(0, 0, 0, .5); + background-color: hsla(0, 0%, 0%, .5); } %loginAccountsList { - background-color: rgba(0, 0, 0, .5); -} - -// SWITCH ACCOUNTS -.activeIcon_e452f7 > circle:not([fill^='hsl(0']), -.activeIcon_e452f7 > g > path:not([fill^='hsl(0']) { - fill: $main-color; -} -%themeDark %addAccountFooter { - background-color: rgba(0, 0, 0, .5); + background-color: hsla(0, 0%, 100%, .15); } \ No newline at end of file