Skip to content

Commit

Permalink
expand slider handle area
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Sep 23, 2015
1 parent 8a45fe3 commit abf2bbd
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions style/components/slider.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@

.@{slider-prefix-cls} {
position: relative;
margin: 12px 0;
margin-left: 7px;
height: 8px;
width: auto;
border-radius: @border-radius-base;
margin: 10px 0px 10px 7px;
height: 12px;
border-radius: 5px;
background-color: #e9e9e9;
cursor: pointer;
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
border-top: 4px solid #fff;
border-bottom: 4px solid #fff;
transition: background-color 0.3s ease;

&-track {
Expand All @@ -34,6 +32,9 @@

&:hover {
background-color: #e1e1e1;
.@{slider-prefix-cls}-handle {
border-color: tint(@primary-color, 20%);
}
}

&:hover &-track {
Expand Down

0 comments on commit abf2bbd

Please sign in to comment.