mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-11 21:27:31 +08:00
style: customize scroller range
This commit is contained in:
@@ -280,9 +280,42 @@ export default {
|
|||||||
.scroller-range {
|
.scroller-range {
|
||||||
writing-mode: vertical-rl;
|
writing-mode: vertical-rl;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
width: 2px;
|
|
||||||
-webkit-appearance: slider-vertical;
|
|
||||||
height: 300px;
|
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 {
|
.scroller-index {
|
||||||
|
|||||||
Reference in New Issue
Block a user