113 lines
2.7 KiB
Stylus
113 lines
2.7 KiB
Stylus
.imageControls
|
|
position: absolute
|
|
top: 0
|
|
right: 0
|
|
height: 100%
|
|
padding: 5px
|
|
|
|
#scrollbar
|
|
margin-top: 5px
|
|
width: 31px
|
|
|
|
#imageSlider
|
|
position: absolute
|
|
left: 20px
|
|
|
|
-webkit-appearance: none
|
|
|
|
transform: rotate(90deg)
|
|
-webkit-transform: rotate(90deg)
|
|
-moz-transform :rotate(90deg)
|
|
-o-transform: rotate(90deg)
|
|
-ms-transform: rotate(90deg)
|
|
|
|
transform-origin: top left
|
|
-webkit-transform-origin: top left
|
|
-moz-transform-origin: top left
|
|
-o-transform-origin: top left
|
|
-ms-transform-origin: top left
|
|
|
|
// Remove focus highlights on range input
|
|
&:focus
|
|
outline: none
|
|
-moz-box-shadow: none
|
|
-webkit-box-shadow: none
|
|
box-shadow: none
|
|
|
|
// Remove focus border in Firefox
|
|
&::-moz-focus-outer
|
|
border: none
|
|
|
|
// --- Style the range track --- //
|
|
&::-webkit-slider-runnable-track
|
|
height: 2px
|
|
border: 2px solid #bdc3c7
|
|
background-color: darkgrey
|
|
z-index: 6
|
|
|
|
&::-moz-range-track
|
|
height: 1px
|
|
border: 1px solid #bdc3c7
|
|
background-color: darkgrey
|
|
z-index: 6
|
|
|
|
&::-ms-track
|
|
width: 100%
|
|
height: 2px
|
|
cursor: pointer
|
|
animate: 0.2s
|
|
background: transparent
|
|
border-color: transparent
|
|
border-width: 15px 0
|
|
color: transparent
|
|
|
|
// Hide any fill IE tries to add
|
|
&::-ms-fill-lower
|
|
background: darkgrey
|
|
|
|
&::-ms-fill-upper
|
|
background: darkgrey
|
|
|
|
// --- Style the range thumb --- //
|
|
&::-webkit-slider-thumb
|
|
-webkit-appearance: none !important
|
|
background-color: rgb(169, 169, 169)
|
|
border: 2px solid rgb(169, 169, 169)
|
|
border-radius: 2px
|
|
height: 15px
|
|
width: 25px
|
|
cursor: pointer
|
|
margin-top: -7px
|
|
|
|
&:active
|
|
background-color: rgb(34, 126, 163)
|
|
|
|
&::-moz-range-thumb
|
|
background-color: rgb(169, 169, 169)
|
|
border: 2px solid rgb(169, 169, 169)
|
|
border-radius: 2px
|
|
height: 11px
|
|
width: 20px
|
|
cursor: pointer
|
|
z-index: 7
|
|
|
|
&:active
|
|
background-color: rgb(34, 126, 163)
|
|
|
|
&::-ms-thumb
|
|
background-color: rgb(169, 169, 169)
|
|
border: 2px solid rgb(169, 169, 169)
|
|
border-radius: 2px
|
|
height: 11px
|
|
width: 20px
|
|
cursor: pointer
|
|
|
|
&:active
|
|
background-color: rgb(34, 126, 163)
|
|
|
|
// Set left position in IE, border-width attribute breaks left position of imageSlider
|
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
#imageSlider {
|
|
left: 50px
|
|
}
|
|
} |