Browse Source

Pull request #2261: 无JIRA任务 修改list-item-select的:active特效

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'ebf81f9a7eb90b43c40041a211d80727562ace7f':
  修改list-item-select的:active特效
es6
guy 3 years ago
parent
commit
c08a7bf1bf
  1. 24
      src/less/core/utils/list-item.less

24
src/less/core/utils/list-item.less

@ -343,7 +343,17 @@
&:hover, &.hover { &:hover, &.hover {
.background-color(@color-bi-background-highlight, 10%); .background-color(@color-bi-background-highlight, 10%);
} }
&:active, &.active { &:active {
color: @color-bi-text-highlight;
& .bi-input {
color: @color-bi-text-highlight;
}
& .bi-textarea {
color: @color-bi-text-highlight;
}
.background-color(@color-bi-background-highlight, 15%);
}
&.active {
color: @color-bi-text; color: @color-bi-text;
& .bi-input { & .bi-input {
color: @color-bi-text; color: @color-bi-text;
@ -471,7 +481,17 @@
} }
.background-color(@color-bi-background-default, 5%); .background-color(@color-bi-background-default, 5%);
} }
&:active, &.active { &:active {
color: @color-bi-text;
& .bi-input {
color: @color-bi-text;
}
& .bi-textarea {
color: @color-bi-text;
}
.background-color(@color-bi-background-default, 5%);
}
&.active {
color: @color-bi-text; color: @color-bi-text;
& .bi-input { & .bi-input {
color: @color-bi-text; color: @color-bi-text;

Loading…
Cancel
Save