File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 154154 <a-tab-pane key =" oauth" :disabled =" !socialLogin" >
155155 <template #tab >
156156 <span style =" display : inline-flex ; align-items : center ; gap : 4px ; color : inherit ;" >
157- <img src =" /assets/github.svg" alt =" GitHub" style =" width : 16px ; height : 16px ; display : block ;" />
158- <img src =" /assets/google.svg" alt =" Google" style =" width : 16px ; height : 16px ; display : block ;" />
157+ <img src =" /assets/github.svg" alt =" GitHub" class = " oauth-tab-icon " :class = " { 'oauth-tab-icon--disabled': !socialLogin } " style =" width : 16px ; height : 16px ; display : block ;" />
158+ <img src =" /assets/google.svg" alt =" Google" class = " oauth-tab-icon " :class = " { 'oauth-tab-icon--disabled': !socialLogin } " style =" width : 16px ; height : 16px ; display : block ;" />
159159 <span >{{ $t('label.login.external') }}</span >
160160 </span >
161161 </template >
@@ -694,6 +694,11 @@ export default {
694694 margin: 0 16px 0 0 ;
695695 }
696696
697+ .oauth - tab- icon-- disabled {
698+ filter: grayscale (100 % );
699+ opacity: 0.45 ;
700+ }
701+
697702 .mobile & {
698703 max- width: 500px ;
699704 width: 98 % ;
You can’t perform that action at this time.
0 commit comments