mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
811fed2fc2
* chore: Update rc-slider version * chore: bump * chore: update sty;e * fix: style * test: update snapshot * test: all fixed * fix lint
50 lines
815 B
Plaintext
50 lines
815 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@slider-prefix-cls: ~'@{ant-prefix}-slider';
|
|
|
|
.@{slider-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
&-mark {
|
|
.@{slider-prefix-cls}-rtl & {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.vertical() {
|
|
&-vertical {
|
|
.@{slider-prefix-cls}-handle {
|
|
.@{slider-prefix-cls}-rtl& {
|
|
margin-right: -5px;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.@{slider-prefix-cls}-mark {
|
|
.@{slider-prefix-cls}-rtl& {
|
|
right: 12px;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
.@{slider-prefix-cls}-mark-text {
|
|
.@{slider-prefix-cls}-rtl& {
|
|
right: 4px;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
.@{slider-prefix-cls}-dot {
|
|
.@{slider-prefix-cls}-rtl& {
|
|
right: 2px;
|
|
left: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|