-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
124 lines (110 loc) · 1.78 KB
/
styles.css
File metadata and controls
124 lines (110 loc) · 1.78 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
:root {
--terrain-desert: #dddddd;
--terrain-swamp: #bbbbbb;
--terrain-grassland: #999999;
--terrain-forest: #777777;
--terrain-river: #555555;
--terrain-ocean: #333333;
--terrain-mountain: #111111;
}
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
canvas {
background-color: #ffffff;
display: block;
margin: auto;
}
.legend {
position: absolute;
bottom: 10px;
right: 10px;
display: flex;
gap: 20px;
background: white;
z-index: 1;
}
ul {
padding-left: 0;
margin: 0;
}
ul li {
list-style: none;
display: flex;
align-items: center;
gap: 6px;
}
.swatch {
display: inline-block;
width: 14px;
height: 14px;
border: 1px solid #000;
}
.context-menu {
position: absolute;
display: none;
background-color: white;
border: 1px solid #ccc;
padding: 5px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
z-index: 100;
}
.context-menu-item {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 5px;
cursor: pointer;
}
.context-menu-item:hover {
background-color: #eee;
}
#buttons {
position: absolute;
top: 10px;
z-index: 2;
}
.risks span {
position: relative;
}
.risks span::after {
position: absolute;
top: -15px;
left: 0;
opacity: .15;
font-size: 1.5em;
font-family: 'Courier New', Courier, monospace;
font-weight: bold;
}
.risks span.risk-1::after {
content: "1h";
}
.risks span.risk-2::after {
content: "2h";
}
.risks span.risk-3::after {
content: "3h";
}
.poi-text {
display: inline-block;
min-width: 100px;
padding: 2px 4px;
border: 1px dashed #ccc;
border-radius: 3px;
cursor: text;
}
.poi-text:focus {
outline: none;
border-color: #666;
background: #f8f8f8;
}
@media print {
#buttons {
display: none;
}
.poi-text {
border: none;
padding: inherit;
}
}