style: slider & space

feat-css-var
tangjinzhou 2022-03-06 21:32:41 +08:00
parent 93a06a45f5
commit 524135ce56
5 changed files with 13 additions and 1 deletions

View File

@ -32,6 +32,8 @@ To input a value in a range.
| tooltipPlacement | Set Tooltip display position. Ref [`Tooltip`](/components/tooltip/). | string | | 1.5.0 |
| tooltipVisible | If true, Tooltip will show always, or it will not show anyway, even if dragging or hovering. | Boolean | | |
| getTooltipPopupContainer | The DOM container of the Tooltip, the default behavior is to create a div element in body. | Function | () => document.body | 1.5.0 |
| trackStyle | The style of slider track | CSSProperties | - | |
| handleStyle | The style of slider handle | CSSProperties | - | |
### events

View File

@ -120,9 +120,11 @@
&:first-child {
margin-left: -4px;
}
&:last-child {
margin-left: -4px;
}
&-active {
border-color: @slider-dot-border-color-active;
}
@ -131,6 +133,10 @@
&-disabled {
cursor: not-allowed;
.@{slider-prefix-cls}-rail {
background-color: @slider-rail-background-color !important;
}
.@{slider-prefix-cls}-track {
background-color: @slider-disabled-color !important;
}

View File

@ -15,7 +15,7 @@ title:
## en-US
Crowded components vertical spacing.
Can set `width: 100%` fill a row.
Can set `width: 100%` to fill a row.
</docs>

View File

@ -6,6 +6,7 @@
.@{space-prefix-cls} {
display: inline-flex;
&-vertical {
flex-direction: column;
}
@ -14,12 +15,15 @@
&-center {
align-items: center;
}
&-start {
align-items: flex-start;
}
&-end {
align-items: flex-end;
}
&-baseline {
align-items: baseline;
}