fix: 修复暗黑模式,样式问题
parent
25593cc249
commit
5a25a6d562
|
@ -6,14 +6,26 @@ html[data-theme='dark'] {
|
||||||
border-bottom: none !important;
|
border-bottom: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
||||||
|
border: none !important;
|
||||||
|
&:hover {
|
||||||
|
color: inherit;
|
||||||
|
background-color: rgba(255, 255, 255, 0.5) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme='light'] {
|
html[data-theme='light'] {
|
||||||
.@{prefix-cls} {
|
.@{prefix-cls} {
|
||||||
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
&:hover {
|
||||||
|
color: inherit;
|
||||||
|
background-color: #dee1e6;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{prefix-cls} {
|
.@{prefix-cls} {
|
||||||
|
@ -120,12 +132,7 @@ html[data-theme='light'] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-tabs-tab:not(.ant-tabs-tab-active) {
|
|
||||||
&:hover {
|
|
||||||
color: inherit;
|
|
||||||
background-color: #dee1e6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-tabs-tab-active {
|
.ant-tabs-tab-active {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -14,7 +14,13 @@
|
||||||
<Input size="large" v-model:value="formData.username" :placeholder="t('sys.login.userName')" class="fix-auto-fill" />
|
<Input size="large" v-model:value="formData.username" :placeholder="t('sys.login.userName')" class="fix-auto-fill" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem name="password" class="enter-x">
|
<FormItem name="password" class="enter-x">
|
||||||
<InputPassword size="large" visibilityToggle v-model:value="formData.password" :placeholder="t('sys.login.password')" />
|
<InputPassword
|
||||||
|
size="large"
|
||||||
|
visibilityToggle
|
||||||
|
v-model:value="formData.password"
|
||||||
|
:placeholder="t('sys.login.password')"
|
||||||
|
class="fix-auto-fill"
|
||||||
|
/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<Row class="enter-x">
|
<Row class="enter-x">
|
||||||
|
|
Loading…
Reference in New Issue