style(autofill): 修复深色模式输入框自动填充后样式异常; 修正登录页不恰当全局样式 (#3435)
* fix(autofill): 修复深色模式输入框自动填充后样式异常 * perf(Login): 去除登录页重复autofill样式;ant-divider-inner-text样式改为仅对登录页深色模式生效 --------- Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
This commit is contained in:
parent
089a98953e
commit
2bc8981b4f
|
|
@ -6,7 +6,8 @@
|
||||||
@import './entry.css';
|
@import './entry.css';
|
||||||
|
|
||||||
input:-webkit-autofill {
|
input:-webkit-autofill {
|
||||||
box-shadow: 0 0 0 1000px white inset !important;
|
box-shadow: 0 0 0 1000px transparent inset;
|
||||||
|
-webkit-text-fill-color: @text-color-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
:-webkit-autofill {
|
:-webkit-autofill {
|
||||||
|
|
|
||||||
|
|
@ -48,17 +48,17 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { AppDarkModeToggle, AppLocalePicker, AppLogo } from '@/components/Application';
|
||||||
|
import { useGlobSetting } from '@/hooks/setting';
|
||||||
|
import { useDesign } from '@/hooks/web/useDesign';
|
||||||
|
import { useI18n } from '@/hooks/web/useI18n';
|
||||||
|
import { useLocaleStore } from '@/store/modules/locale';
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { AppLogo, AppLocalePicker, AppDarkModeToggle } from '@/components/Application';
|
|
||||||
import LoginForm from './LoginForm.vue';
|
|
||||||
import ForgetPasswordForm from './ForgetPasswordForm.vue';
|
import ForgetPasswordForm from './ForgetPasswordForm.vue';
|
||||||
import RegisterForm from './RegisterForm.vue';
|
import LoginForm from './LoginForm.vue';
|
||||||
import MobileForm from './MobileForm.vue';
|
import MobileForm from './MobileForm.vue';
|
||||||
import QrCodeForm from './QrCodeForm.vue';
|
import QrCodeForm from './QrCodeForm.vue';
|
||||||
import { useGlobSetting } from '@/hooks/setting';
|
import RegisterForm from './RegisterForm.vue';
|
||||||
import { useI18n } from '@/hooks/web/useI18n';
|
|
||||||
import { useDesign } from '@/hooks/web/useDesign';
|
|
||||||
import { useLocaleStore } from '@/store/modules/locale';
|
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
sessionTimeout: {
|
sessionTimeout: {
|
||||||
|
|
@ -103,17 +103,10 @@
|
||||||
.app-iconify {
|
.app-iconify {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
input.fix-auto-fill,
|
|
||||||
.fix-auto-fill input {
|
|
||||||
-webkit-text-fill-color: #c9d1d9 !important;
|
|
||||||
box-shadow: inherit !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-divider-inner-text {
|
.ant-divider-inner-text {
|
||||||
color: @text-color-secondary;
|
color: @text-color-secondary;
|
||||||
font-size: 12px;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue