forked from webaverse/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.css
More file actions
47 lines (47 loc) · 737 Bytes
/
map.css
File metadata and controls
47 lines (47 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
body {
width: 100vw;
height: 100vh;
margin: 0;
background-color: #000;
overflow: hidden;
}
* {
box-sizing: border-box;
}
.container {
position: absolute;
cursor: grab;
user-select: none;
}
.container.dragging {
cursor: grabbing;
}
.parcel {
position: absolute;
border: 3px solid #000000C0;
text-decoration: none;
opacity: 0.7;
z-index: 1;
}
.parcel:hover {
opacity: 1;
z-index: 2;
}
.parcel:not(:hover) .details {
display: none;
}
.details {
position: absolute;
display: flex;
height: 50px;
left: -3px;
top: -50px;
padding: 10px;
background-color: black;
font-size: 30px;
color: #FFF;
justify-content: center;
align-items: center;
white-space: nowrap;
pointer-events: none;
}