mapillary-js/styles/SliderComponent.css
2019-03-13 15:42:31 +01:00

164 lines
2.9 KiB
CSS

.SliderContainer {
position: absolute;
bottom: 40px;
height: 30px;
left: 50%;
padding-left: 5px;
pointer-events: none;
transform: translate(-50%, 0);
z-index: 10;
}
.SliderBorder {
display: inline-block;
width: 8px;
height: 100%;
border-bottom-left-radius: 8px;
border-top-left-radius: 8px;
pointer-events: auto;
cursor: default;
background: rgba(0, 0, 0, 0.5);
}
.SliderModeButton,
.SliderModeButton2d,
.SliderModeButtonDisabled,
.SliderModeButton2dDisabled {
width: 26px;
height: 100%;
display: inline-block;
pointer-events: auto;
background: rgba(0, 0, 0, 0.5);
}
.SliderModeButton,
.SliderModeButton2d {
cursor: default;
}
.SliderModeButtonDisabled,
.SliderModeButton2dDisabled {
cursor: pointer;
}
.SliderModeIcon,
.SliderModeIcon2d {
position: relative;
top: 50%;
transform: translate(0, -50%);
background-size: contain;
background-repeat: no-repeat;
opacity: 1;
width: 18px;
height: 18px;
margin-left: 4px;
}
.SliderModeIcon {
background-image: url('./3D.svg');
}
.SliderModeIcon2d {
background-image: url('./2D.svg');
}
.SliderModeButtonDisabled .SliderModeIcon {
opacity: 0.35;
}
.SliderModeButton2dDisabled .SliderModeIcon2d {
opacity: 0.35;
}
.SliderPositionContainer {
display: inline-block;
height: 100%;
vertical-align: top;
background: rgba(0, 0, 0, 0.5);
pointer-events: auto;
padding-right: 16px;
border-bottom-right-radius: 8px;
border-top-right-radius: 8px;
padding-left: 8px;
}
.SliderPosition {
pointer-events: auto;
margin: 0;
padding: 0;
margin-top: 7px;
height: 16px;
cursor: pointer;
outline: none;
background: none;
-webkit-appearance: none;
}
.SliderPosition::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
border: 2px solid white;
background: white;
cursor: pointer;
margin-top: -6px;
}
.SliderPosition::-webkit-slider-runnable-track {
height: 4px;
border-radius: 2px;
background-color: white;
}
.SliderPosition::-moz-focus-outer {
border: 0;
}
.SliderPosition::-moz-range-track {
height: 4px;
border-radius: 2px;
background-color: white;
}
.SliderPosition::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
border: 2px solid white;
background: white;
cursor: pointer;
margin-top: -6px;
}
.SliderPosition::-ms-track {
height: 2px;
border-radius: 2px;
background-color: white;
}
.SliderPosition::-ms-fill-lower {
height: 0;
background: none;
}
.SliderPosition::-ms-fill-upper {
height: 0;
background: none;
}
.SliderPosition::-ms-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
border: 2px solid white;
background: white;
cursor: pointer;
margin-top: 0;
}
.SliderPosition::-ms-tooltip {
display: none;
}