169 lines
3.6 KiB
CSS
169 lines
3.6 KiB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
/* stylelint-disable no-duplicate-selectors */
|
|
/* stylelint-disable */
|
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
.ant-slider {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
font-size: 14px;
|
|
font-variant: tabular-nums;
|
|
line-height: 1.5;
|
|
list-style: none;
|
|
font-feature-settings: 'tnum';
|
|
position: relative;
|
|
height: 12px;
|
|
margin: 14px 6px 10px;
|
|
padding: 4px 0;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
}
|
|
.ant-slider-vertical {
|
|
width: 12px;
|
|
height: 100%;
|
|
margin: 6px 10px;
|
|
padding: 0 4px;
|
|
}
|
|
.ant-slider-vertical .ant-slider-rail {
|
|
width: 4px;
|
|
height: 100%;
|
|
}
|
|
.ant-slider-vertical .ant-slider-track {
|
|
width: 4px;
|
|
}
|
|
.ant-slider-vertical .ant-slider-handle {
|
|
margin-top: -6px;
|
|
margin-left: -5px;
|
|
}
|
|
.ant-slider-vertical .ant-slider-mark {
|
|
top: 0;
|
|
left: 12px;
|
|
width: 18px;
|
|
height: 100%;
|
|
}
|
|
.ant-slider-vertical .ant-slider-mark-text {
|
|
left: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
.ant-slider-vertical .ant-slider-step {
|
|
width: 4px;
|
|
height: 100%;
|
|
}
|
|
.ant-slider-vertical .ant-slider-dot {
|
|
top: auto;
|
|
left: 2px;
|
|
margin-bottom: -4px;
|
|
}
|
|
.ant-slider-tooltip .ant-tooltip-inner {
|
|
min-width: unset;
|
|
}
|
|
.ant-slider-with-marks {
|
|
margin-bottom: 28px;
|
|
}
|
|
.ant-slider-rail {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 4px;
|
|
background-color: #f5f5f5;
|
|
border-radius: 2px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
.ant-slider-track {
|
|
position: absolute;
|
|
height: 4px;
|
|
background-color: #91d5ff;
|
|
border-radius: 4px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
.ant-slider-handle {
|
|
position: absolute;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -5px;
|
|
background-color: #fff;
|
|
border: solid 2px #91d5ff;
|
|
border-radius: 50%;
|
|
box-shadow: 0;
|
|
cursor: pointer;
|
|
transition: border-color 0.3s, box-shadow 0.6s, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
|
}
|
|
.ant-slider-handle:focus {
|
|
border-color: #46a6ff;
|
|
outline: none;
|
|
box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.2);
|
|
}
|
|
.ant-slider-handle.ant-tooltip-open {
|
|
border-color: #1890ff;
|
|
}
|
|
.ant-slider:hover .ant-slider-rail {
|
|
background-color: #e1e1e1;
|
|
}
|
|
.ant-slider:hover .ant-slider-track {
|
|
background-color: #69c0ff;
|
|
}
|
|
.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
|
|
border-color: #69c0ff;
|
|
}
|
|
.ant-slider-mark {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 0;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
}
|
|
.ant-slider-mark-text {
|
|
position: absolute;
|
|
display: inline-block;
|
|
color: rgba(0, 0, 0, 0.45);
|
|
text-align: center;
|
|
word-break: keep-all;
|
|
cursor: pointer;
|
|
}
|
|
.ant-slider-mark-text-active {
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
.ant-slider-step {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: transparent;
|
|
}
|
|
.ant-slider-dot {
|
|
position: absolute;
|
|
top: -2px;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-left: -4px;
|
|
background-color: #fff;
|
|
border: 2px solid #e8e8e8;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
}
|
|
.ant-slider-dot:first-child {
|
|
margin-left: -4px;
|
|
}
|
|
.ant-slider-dot:last-child {
|
|
margin-left: -4px;
|
|
}
|
|
.ant-slider-dot-active {
|
|
border-color: #8cc8ff;
|
|
}
|
|
.ant-slider-disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
.ant-slider-disabled .ant-slider-track {
|
|
background-color: rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
.ant-slider-disabled .ant-slider-handle,
|
|
.ant-slider-disabled .ant-slider-dot {
|
|
background-color: #fff;
|
|
border-color: rgba(0, 0, 0, 0.25) !important;
|
|
box-shadow: none;
|
|
cursor: not-allowed;
|
|
}
|
|
.ant-slider-disabled .ant-slider-mark-text,
|
|
.ant-slider-disabled .ant-slider-dot {
|
|
cursor: not-allowed !important;
|
|
}
|