Browse Source

BI-77335 修改通用悬浮背景色

es6
windy 4 years ago
parent
commit
cd26026503
  1. 4
      src/less/base/single/button/button.less
  2. 4
      src/less/core/utils/common.less

4
src/less/base/single/button/button.less

@ -228,7 +228,7 @@ body .bi-button, #body .bi-button {
.transition(@activeStopVal) .transition(@activeStopVal)
} }
&:hover{ &:hover{
background-color: @color-bi-blue-5; background-color: @color-bi-blue-10;
.transition(@hoverVal); .transition(@hoverVal);
} }
} }
@ -256,7 +256,7 @@ body .bi-button, #body .bi-button {
} }
&.button-ignore { &.button-ignore {
&:hover{ &:hover{
background-color: @color-bi-blue-5; background-color: @color-bi-blue-10;
} }
&:active{ &:active{
background-color: @color-bi-blue-10; background-color: @color-bi-blue-10;

4
src/less/core/utils/common.less

@ -519,7 +519,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-black; color: @color-bi-text-black;
} }
.background-color(@color-bi-background-highlight, 5%); .background-color(@color-bi-background-highlight, 10%);
} }
&.disabled { &.disabled {
&, &:hover, &:active { &, &:hover, &:active {
@ -548,7 +548,7 @@ textarea {
& .bi-textarea { & .bi-textarea {
color: @color-bi-text; color: @color-bi-text;
} }
.background-color(@color-bi-background-highlight, 5%); .background-color(@color-bi-background-highlight, 10%);
} }
&.disabled { &.disabled {
&, &:hover, &:active { &, &:hover, &:active {

Loading…
Cancel
Save