Browse Source

移动端适配

es6
guy 4 years ago
parent
commit
232d64e4e6
  1. 24
      src/less/core/utils/common.less

24
src/less/core/utils/common.less

@ -1,17 +1,5 @@
@import "../../index"; @import "../../index";
input,
textarea {
border: 1px solid @color-bi-border-line;
}
.bi-theme-dark {
input,
textarea {
border: 1px solid @color-bi-border-line-theme-dark;
}
}
.base-disabled { .base-disabled {
cursor: not-allowed !important; cursor: not-allowed !important;
color: @color-bi-text-disabled !important; color: @color-bi-text-disabled !important;
@ -41,6 +29,11 @@ textarea {
} }
} }
.base-invalid {
cursor: default !important;
}
//focus时边框高亮
.bi-focus-shadow { .bi-focus-shadow {
&:focus, &:hover { &:focus, &:hover {
border-color: @color-bi-border-highlight; border-color: @color-bi-border-highlight;
@ -66,15 +59,11 @@ textarea {
} }
} }
.base-invalid {
cursor: default !important;
}
.clearfix { .clearfix {
.clearfix(); .clearfix();
} }
//基本背景 //基本背景
.bi-background { .bi-background {
background-color: @color-bi-background-normal; background-color: @color-bi-background-normal;
color: @color-bi-text-normal; color: @color-bi-text-normal;
@ -148,6 +137,7 @@ textarea {
} }
} }
//灰化
.bi-disabled { .bi-disabled {
color: @color-bi-text-disabled; color: @color-bi-text-disabled;
& .bi-input { & .bi-input {

Loading…
Cancel
Save