From abf2bbddf32d1c9cbfbcf101a7a8b4d8d23d77c7 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 23 Sep 2015 11:35:44 +0800 Subject: [PATCH] expand slider handle area --- style/components/slider.less | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/style/components/slider.less b/style/components/slider.less index 93f29d5739..a203852e9c 100644 --- a/style/components/slider.less +++ b/style/components/slider.less @@ -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 { @@ -34,6 +32,9 @@ &:hover { background-color: #e1e1e1; + .@{slider-prefix-cls}-handle { + border-color: tint(@primary-color, 20%); + } } &:hover &-track { -- GitLab