mapillary-js/styles/mapillary-js.css
Kamil Nikel 3cf96922d7 Disable accidental attribution selection
Adding user-select property set to none to the whole container prevents
the accidental selection of the text when panning the panorama
photo. It is a reasonable choice ince we're opening the links to the
user's profile and to mapillary.com in new tabs.

Fixes mapillary/mapillary-js#54
2016-02-03 10:43:57 +01:00

40 lines
525 B
CSS

.mapillary-js {
background-color: #000;
width: 320px;
height: 240px;
position: relative;
user-select: none;
}
/*
.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;
}