Skip to content

Commit

Permalink
fix(slider): handle active style
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoidjk committed May 5, 2017
1 parent 75ad3a8 commit 5a012ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/slider/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@
background: #000;
}

&-active {
&:active {
background-color: tint(@brand-primary, 20%);
box-shadow: 0 0 5px tint(@brand-primary, 20%);
}
&:active {
background-color: tint(@brand-primary, 20%);
box-shadow: 0 0 5px tint(@brand-primary, 20%);
}
}

Expand Down Expand Up @@ -117,6 +115,7 @@
.@{sliderPrefixCls}-mark-text,
.@{sliderPrefixCls}-dot {
cursor: not-allowed;
box-shadow: none;
}
}
}

0 comments on commit 5a012ea

Please sign in to comment.