windy 4 years ago
parent
commit
e6b6e9e672
  1. 4
      src/less/base/tree/ztree.less
  2. 14
      src/less/core/utils/common.less

4
src/less/base/tree/ztree.less

@ -35,11 +35,11 @@
vertical-align: top; vertical-align: top;
display: inline-block; display: inline-block;
&:hover { &:hover {
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active { &:active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 15%);
} }
} }

14
src/less/core/utils/common.less

@ -685,7 +685,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-black; color: @color-bi-text-black;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active { &:active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
@ -695,7 +695,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 15%);
} }
&.active { &.active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
@ -773,7 +773,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-black; color: @color-bi-text-black;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active, &.active { &:active, &.active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
@ -783,7 +783,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 15%);
} }
&.disabled { &.disabled {
&, &:hover, &:active { &, &:hover, &:active {
@ -812,7 +812,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text; color: @color-bi-text;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active, &.active { &:active, &.active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
@ -822,7 +822,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;
} }
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 15%);
} }
&.disabled { &.disabled {
&, &:hover, &:active { &, &:hover, &:active {
@ -845,7 +845,7 @@ textarea {
// 激活和选中时背景高亮 // 激活和选中时背景高亮
.bi-list-item-select { .bi-list-item-select {
&:hover, &.hover { &:hover, &.hover {
.background-color(@color-bi-background-highlight, 6%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active, &.active { &:active, &.active {
color: @color-bi-text; color: @color-bi-text;

Loading…
Cancel
Save