Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into warmflow
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
.form-valid-error {
|
||||
/** select 选择器的样式 */
|
||||
|
||||
.ant-select .ant-select-selector {
|
||||
.ant-select:not(.valid-success) .ant-select-selector:not(.valid-success) {
|
||||
border-color: hsl(var(--destructive)) !important;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,10 @@
|
||||
border-color: hsl(var(--destructive));
|
||||
box-shadow: 0 0 0 2px rgb(255 38 5 / 6%);
|
||||
}
|
||||
|
||||
.ant-input:not(.valid-success) {
|
||||
border-color: hsl(var(--destructive)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/** 区间选择器下面来回切换时的样式 */
|
||||
|
20
packages/styles/src/naive/index.css
Normal file
20
packages/styles/src/naive/index.css
Normal file
@@ -0,0 +1,20 @@
|
||||
.form-valid-error {
|
||||
.n-base-selection__state-border,
|
||||
.n-input__state-border,
|
||||
.n-radio-group__splitor {
|
||||
border: var(--n-border-error);
|
||||
}
|
||||
|
||||
.n-radio-group .n-radio-button,
|
||||
.n-radio-group .n-radio-group__splitor {
|
||||
--n-button-border-color: rgb(255 56 96);
|
||||
}
|
||||
|
||||
.n-radio__dot {
|
||||
--n-box-shadow: inset 0 0 0 1px rgb(255 56 96);
|
||||
}
|
||||
|
||||
.n-checkbox-box__border {
|
||||
--n-border: 1px solid rgb(255 56 96);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user