meshviewer/scss/modules/_map.scss

60 lines
1.1 KiB
SCSS
Raw Normal View History

.content {
height: 100vh;
position: fixed;
width: 100%;
.buttons {
direction: rtl;
position: absolute;
2016-06-19 11:14:13 +00:00
right: $button-distance;
top: $button-distance;
unicode-bidi: bidi-override;
z-index: 100;
button {
2016-06-19 11:14:13 +00:00
margin-left: $button-distance;
}
2016-06-19 11:14:13 +00:00
@media screen and (max-width: $min-screen-width) {
2016-05-29 18:11:05 +00:00
right: -1rem;
top: 0;
transform: scale(.8);
}
}
2016-06-19 11:14:13 +00:00
@media screen and (max-width: $min-screen-width) {
height: calc(100vh - 150px);
min-height: 240px;
position: relative;
width: auto;
}
2016-06-13 23:35:41 +00:00
@media all and (device-height: 1024px) and (orientation: portrait) {
height: 800px;
}
2016-06-13 23:35:41 +00:00
@media all and (device-width: 768px) and (orientation: landscape) {
height: 400px;
}
2016-06-13 23:35:41 +00:00
@media only screen and (device-height: 568px) and (orientation: portrait) {
height: 320px;
}
@media only screen and (device-width: 320px) and (orientation: landscape) {
height: 240px;
}
}
.stroke-first {
paint-order: stroke;
}
.pick-coordinates {
cursor: crosshair;
}
.map {
height: 100%;
width: 100%;
}