Globe: Reset sizes and spacing
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Temp fix
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 10000;
|
z-index: 400;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -14,16 +14,7 @@
|
|||||||
|
|
||||||
// Globe
|
// Globe
|
||||||
.globe {
|
.globe {
|
||||||
margin-top: -96px;
|
|
||||||
margin-bottom: -160px;
|
|
||||||
|
|
||||||
@include breakpoint (sm) {
|
|
||||||
margin-bottom: calc(-120px - 6vw);
|
|
||||||
}
|
|
||||||
@include breakpoint (xl) {
|
|
||||||
margin-top: -176px;
|
|
||||||
margin-bottom: -240px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Browse
|
// Browse
|
||||||
|
|||||||
@@ -3,18 +3,12 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 1040px;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
// pointer-events: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
@include breakpoint (sm) {
|
|
||||||
height: 140vw;
|
|
||||||
}
|
|
||||||
@include breakpoint (xl) {
|
|
||||||
height: 2000px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Cut
|
// Cut
|
||||||
&__cut {
|
&__cut {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
@@ -23,11 +17,6 @@
|
|||||||
height: 35vw;
|
height: 35vw;
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
// Partial globe
|
|
||||||
.globe {
|
|
||||||
margin-top: -18vw;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Marker
|
// Marker
|
||||||
@@ -42,10 +31,12 @@
|
|||||||
height: 8px;
|
height: 8px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
pointer-events: auto;
|
||||||
background: #ff6c89;
|
background: #ff6c89;
|
||||||
will-change: transform;
|
will-change: transform;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
pointer-events: auto;
|
||||||
transition: color 0.4s $ease-quart;
|
transition: color 0.4s $ease-quart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,14 +80,7 @@
|
|||||||
|
|
||||||
// Globe
|
// Globe
|
||||||
.globe {
|
.globe {
|
||||||
margin-bottom: calc(-200px - 8vw);
|
|
||||||
|
|
||||||
@include breakpoint (sm) {
|
|
||||||
margin-bottom: calc(-100px - 28vw);
|
|
||||||
}
|
|
||||||
@include breakpoint (xl) {
|
|
||||||
margin-bottom: -550px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Browse
|
// Browse
|
||||||
|
|||||||
@@ -93,6 +93,6 @@
|
|||||||
|
|
||||||
// Globe
|
// Globe
|
||||||
.globe__cut {
|
.globe__cut {
|
||||||
margin-top: 8vw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user