style: customize scroller range

This commit is contained in:
Tim
2025-07-03 19:41:43 +08:00
parent 97b7a791e3
commit 8150c87fa2

View File

@@ -280,9 +280,42 @@ export default {
.scroller-range {
writing-mode: vertical-rl;
direction: ltr;
width: 2px;
-webkit-appearance: slider-vertical;
height: 300px;
width: 2px;
-webkit-appearance: none;
background: transparent;
}
.scroller-range::-webkit-slider-runnable-track {
width: 2px;
height: 100%;
background-color: #ccc;
border-radius: 1px;
}
.scroller-range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 10px;
background-color: #333;
border-radius: 50%;
cursor: pointer;
margin-top: -4px;
}
.scroller-range::-moz-range-track {
width: 2px;
height: 100%;
background-color: #ccc;
border-radius: 1px;
}
.scroller-range::-moz-range-thumb {
width: 10px;
height: 10px;
background-color: #333;
border-radius: 50%;
cursor: pointer;
}
.scroller-index {