Browse Source

Pull request #2322: 无JIRA任务 统一处理:active的样式之switch样式

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

* commit 'e4e18b4df99f4f9d5587a56dae1caf41d17db658':
  统一处理:active的样式之switch样式
es6
guy 3 years ago
parent
commit
8af9f686be
  1. 10
      src/less/base/single/button/switch.less

10
src/less/base/single/button/switch.less

@ -3,7 +3,7 @@
.bi-switch{
.border-radius(40px 40px 40px 40px);
background-color: @color-bi-background-dark-gray;
&:active, &.active {
&.active {
background-color: @color-bi-background-highlight;
}
& .circle-button{
@ -11,23 +11,17 @@
}
&.disabled {
background-color: @color-bi-background-disabled;
&:active {
background-color: @color-bi-background-disabled;
}
}
}
.bi-theme-dark {
.bi-switch{
background-color: @color-bi-background-dark-gray-theme-dark;
&:active, &.active {
&.active {
background-color: @color-bi-background-highlight;
}
&.disabled {
background-color: @color-bi-background-disabled-theme-dark;
&:active {
background-color: @color-bi-background-disabled-theme-dark;
}
}
}
}
Loading…
Cancel
Save