Browse Source

💄 fix Slider handler focus style (#22161)

like 3.x
pull/22165/head
偏右 5 years ago
committed by GitHub
parent
commit
10f4454536
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/slider/style/index.less
  2. 2
      components/style/themes/default.less

2
components/slider/style/index.less

@ -59,7 +59,9 @@
}
&:focus {
border-color: @slider-handle-color-focus;
outline: none;
box-shadow: 0 0 0 5px @slider-handle-color-focus-shadow;
}
&.@{ant-prefix}-tooltip-open {

2
components/style/themes/default.less

@ -695,7 +695,7 @@
@slider-handle-color: @primary-3;
@slider-handle-color-hover: @primary-4;
@slider-handle-color-focus: tint(@primary-color, 20%);
@slider-handle-color-focus-shadow: fade(@primary-color, 20%);
@slider-handle-color-focus-shadow: fade(@primary-color, 12%);
@slider-handle-color-tooltip-open: @primary-color;
@slider-handle-shadow: 0;
@slider-dot-border-color: @border-color-split;

Loading…
Cancel
Save