Compare commits
No commits in common. "f8c3a0db9811638a2f59bf46a6df76b22ed241fd" and "f91d727c99e79839241abb3948f8039e9b6959eb" have entirely different histories.
f8c3a0db98
...
f91d727c99
@ -7,7 +7,6 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
border-radius:1.75em;
|
border-radius:1.75em;
|
||||||
padding:0;
|
padding:0;
|
||||||
margin-top:0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#north {
|
#north {
|
||||||
@ -51,6 +50,8 @@ div.compass:hover #north {
|
|||||||
fill:$white;
|
fill:$white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.compass-n {
|
.compass-n {
|
||||||
transition: opacity 1s ease-out 2s,height 1s ease-out 3s,margin-top 1s ease-out 3s;
|
transition: opacity 1s ease-out 2s,height 1s ease-out 3s,margin-top 1s ease-out 3s;
|
||||||
opacity:0;
|
opacity:0;
|
||||||
|
@ -22,7 +22,7 @@ export class ZoomToExtentComponent implements OnChanges {
|
|||||||
var options = { padding: [0, 0, 0, 0],minResolution:1 };
|
var options = { padding: [0, 0, 0, 0],minResolution:1 };
|
||||||
let size = this.map.instance.getSize();
|
let size = this.map.instance.getSize();
|
||||||
let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
||||||
let threshold = 40 * rem;
|
let threshold = 44 * rem;
|
||||||
var left = 1 * rem;
|
var left = 1 * rem;
|
||||||
var right = 1 * rem;
|
var right = 1 * rem;
|
||||||
var bottom = Math.round(size[1] / 2);
|
var bottom = Math.round(size[1] / 2);
|
||||||
|
@ -83,7 +83,7 @@ div.resizegrip > span {
|
|||||||
top:-1rem;
|
top:-1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width:40rem) {
|
@media screen and (min-width:44rem) {
|
||||||
.side-panel {
|
.side-panel {
|
||||||
top:0px;
|
top:0px;
|
||||||
width: 22rem;
|
width: 22rem;
|
||||||
@ -108,11 +108,11 @@ div.resizegrip > span {
|
|||||||
|
|
||||||
.side-panel.left.hidden {
|
.side-panel.left.hidden {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
left:-80%;
|
left:-24rem;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width:40rem) {
|
@media screen and (min-width:44rem) {
|
||||||
.side-panel.left {
|
.side-panel.left {
|
||||||
width:22rem;
|
width:22rem;
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ export class SidePanelComponent implements OnChanges {
|
|||||||
checkMobile():boolean {
|
checkMobile():boolean {
|
||||||
let size = parseFloat(getComputedStyle(document.documentElement).width);
|
let size = parseFloat(getComputedStyle(document.documentElement).width);
|
||||||
let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
let rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
||||||
let threshold = 40 * rem;
|
let threshold = 44 * rem;
|
||||||
return !(size>threshold);
|
return !(size>threshold);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user