1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/gallery/lightbox/inputrange.css

69 lines
1.2 KiB
CSS
Raw Normal View History

2018-11-12 02:22:46 +08:00
input[type="range"] {
margin: auto;
-webkit-appearance: none;
position: relative;
overflow: hidden;
height: 8px;
cursor: pointer;
border-radius: 0; /* iOS */
}
input[type="range"]::-webkit-slider-runnable-track {
background: #6c757d;
}
/*
* 1. Set to 0 width and remove border for a slider without a thumb
*/
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
2018-11-18 03:15:48 +08:00
width: 1px; /* 1 */
2018-11-12 02:22:46 +08:00
height: 10px;
background: #fff;
box-shadow: -100vw 0 0 100vw white;
}
input[type="range"]::-moz-range-track {
height: 8px;
background: #6c757d;
}
input[type="range"]::-moz-range-thumb {
background: #fff;
height: 10px;
2018-11-18 03:15:48 +08:00
width: 1px;
2018-11-12 02:22:46 +08:00
box-shadow: -100vw 0 0 100vw white;
box-sizing: border-box;
}
input[type="range"]::-ms-fill-lower {
background: white;
}
input[type="range"]::-ms-thumb {
background: #fff;
height: 10px;
2018-11-18 03:15:48 +08:00
width: 1px;
2018-11-12 02:22:46 +08:00
box-sizing: border-box;
}
input[type="range"]::-ms-ticks-after {
display: none;
}
input[type="range"]::-ms-ticks-before {
display: none;
}
input[type="range"]::-ms-track {
background: #6c757d;
color: transparent;
height: 8px;
border: none;
}
input[type="range"]::-ms-tooltip {
display: none;
}