mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
113 lines
1.7 KiB
CSS
113 lines
1.7 KiB
CSS
.mapillary-js {
|
|
background-color: #000;
|
|
width: 320px;
|
|
height: 240px;
|
|
position: relative;
|
|
}
|
|
|
|
/*
|
|
.mapillary-js {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
padding-bottom: 75%;
|
|
}
|
|
|
|
.mapillary-js > canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
*/
|
|
|
|
.rectContainer {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
|
|
.Rect {
|
|
position: absolute;
|
|
outline: 2px solid lime;
|
|
}
|
|
|
|
.Cover {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 100;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: visibility linear 500ms;
|
|
}
|
|
|
|
.CoverBackground {
|
|
transition: all ease-in-out 250ms, filter ease-in-out 100ms;
|
|
filter: blur(3px);
|
|
position: absolute;
|
|
top: -50px;
|
|
right: -50px;
|
|
bottom: -50px;
|
|
left: -50px;
|
|
background-size: cover;
|
|
z-index: -11;
|
|
|
|
}
|
|
|
|
.Cover:hover .CoverBackground {
|
|
filter: blur(0);
|
|
}
|
|
|
|
.Cover.CoverDone > .CoverBackground {
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.CoverDone {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.CoverButton {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 80px;
|
|
height: 70px;
|
|
margin-left: -40px;
|
|
margin-top: -35px;
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
color: white;
|
|
|
|
border-radius: 6px;
|
|
border: none;
|
|
padding: 5px;
|
|
}
|
|
|
|
.CoverButtonIcon {
|
|
display: inline-block;
|
|
height: 60px;
|
|
width: 60px;
|
|
background: url(./pano.svg);
|
|
background-size: contain;
|
|
}
|
|
|
|
.CoverButton:hover {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
cursor: pointer;
|
|
}
|