forked from github/dataease
perf: 优化数字输入框样式
This commit is contained in:
parent
64dba996fe
commit
9341d63914
@ -257,6 +257,14 @@ export default {
|
||||
value: val
|
||||
})
|
||||
}
|
||||
|
||||
if (this.uiInfo['ui.themeStr'] && this.uiInfo['ui.themeStr'].paramValue) {
|
||||
if (this.uiInfo['ui.themeStr'].paramValue === 'dark') {
|
||||
document.body.className = 'blackTheme'
|
||||
} else if (this.uiInfo['ui.themeStr'].paramValue === 'light') {
|
||||
document.body.className = ''
|
||||
}
|
||||
}
|
||||
this.axiosFinished = true
|
||||
})
|
||||
},
|
||||
|
@ -386,15 +386,31 @@ div:focus {
|
||||
}
|
||||
}
|
||||
|
||||
.blackTheme .el-textarea__inner {
|
||||
background-color: var(--MainBG) !important;
|
||||
}
|
||||
.blackTheme .el-textarea__inner:not(:focus) {
|
||||
|
||||
border-color: var(--border-color-input) !important;
|
||||
}
|
||||
|
||||
.blackTheme .el-input__inner {
|
||||
background-color: var(--MainBG) !important;
|
||||
}
|
||||
.blackTheme .el-input__inner:not(:focus) {
|
||||
|
||||
// border: none !important;
|
||||
border-color: var(--border-color-input) !important;
|
||||
}
|
||||
|
||||
.blackTheme .el-input-number__decrease {
|
||||
background-color: var(--MainBG) !important;
|
||||
border: none !important;
|
||||
}
|
||||
.blackTheme .el-input-number__increase {
|
||||
background-color: var(--MainBG) !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
|
||||
.el-pagination {
|
||||
button:disabled {
|
||||
|
Loading…
Reference in New Issue
Block a user