summaryrefslogtreecommitdiffhomepage
path: root/style.css
blob: 362bba59fb538ea4ff3b58c35569ecaaa2ab1c9f (plain)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
body {
	margin: 0;
}

.wreck {
	width: 16px;
	height: 16px;
	cursor: pointer;
	background-image: url('/media/brackets/wreck.png');
	background-position: 50% 50%;
	background-repeat: no-repeat;
	padding: 2px;
}

.wreck[data-group="Assault Frigate"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Attack Battlecruiser"] { background-image: url('/media/brackets/battleCruiser_16.png'); }
.wreck[data-group="Battleship"] { background-image: url('/media/brackets/battleship_16.png'); }
.wreck[data-group="Black Ops"] { background-image: url('/media/brackets/battleship_16.png'); }
.wreck[data-group="Blockade Runner"] { background-image: url('/media/brackets/industrial_16.png'); }
.wreck[data-group="Capital Industrial Ship"] { background-image: url('/media/brackets/freighter_16.png'); }
.wreck[data-group="Capsule"] { background-image: url('/media/brackets/frozenCorpse.png'); }
.wreck[data-group="Carrier"] { background-image: url('/media/brackets/carrier_16.png'); }
.wreck[data-group="Combat Battlecruiser"] { background-image: url('/media/brackets/battleCruiser_16.png'); }
.wreck[data-group="Combat Recon Ship"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Command Destroyer"] { background-image: url('/media/brackets/destroyer_16.png'); }
.wreck[data-group="Command Ship"] { background-image: url('/media/brackets/battleCruiser_16.png'); }
.wreck[data-group="Corvette"] { background-image: url('/media/brackets/rookie_16.png'); }
.wreck[data-group="Covert Ops"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Cruiser"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Deep Space Transport"] { background-image: url('/media/brackets/industrial_16.png'); }
.wreck[data-group="Destroyer"] { background-image: url('/media/brackets/destroyer_16.png'); }
.wreck[data-group="Dreadnought"] { background-image: url('/media/brackets/dreadnought_16.png'); }
.wreck[data-group="Electronic Attack Ship"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Exhumer"] { background-image: url('/media/brackets/miningBarge_16.png'); }
.wreck[data-group="Expedition Frigate"] { background-image: url('/media/brackets/miningFrigate_16.png'); }
.wreck[data-group="Force Auxiliary"] { background-image: url('/media/brackets/forceAuxiliary_16.png'); }
.wreck[data-group="Force Recon Ship"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Freighter"] { background-image: url('/media/brackets/freighter_16.png'); }
.wreck[data-group="Frigate"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Frigate"][data-type="Venture"] { background-image: url('/media/brackets/miningFrigate_16.png'); }
.wreck[data-group="Heavy Assault Cruiser"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Heavy Fighter"] { background-image: url('/media/brackets/fighterSquadH_16.png'); }
.wreck[data-group="Heavy Interdiction Cruiser"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Industrial"] { background-image: url('/media/brackets/industrial_16.png'); }
.wreck[data-group="Industrial Command Ship"] { background-image: url('/media/brackets/industrialCommand_16.png'); }
.wreck[data-group="Interceptor"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Interdictor"] { background-image: url('/media/brackets/destroyer_16.png'); }
.wreck[data-group="Jump Freighter"] { background-image: url('/media/brackets/freighter_16.png'); }
.wreck[data-group="Light Fighter"] { background-image: url('/media/brackets/fighterSquad_16.png'); }
.wreck[data-group="Logistics"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Logistics Frigate"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Marauder"] { background-image: url('/media/brackets/battleship_16.png'); }
.wreck[data-group="Mining Barge"] { background-image: url('/media/brackets/miningBarge_16.png'); }
.wreck[data-group="Shuttle"] { background-image: url('/media/brackets/shuttle_16.png'); }
.wreck[data-group="Stealth Bomber"] { background-image: url('/media/brackets/frigate_16.png'); }
.wreck[data-group="Strategic Cruiser"] { background-image: url('/media/brackets/cruiser_16.png'); }
.wreck[data-group="Supercarrier"] { background-image: url('/media/brackets/supercarrier_16.png'); }
.wreck[data-group="Support Fighter"] { background-image: url('/media/brackets/fighterSquadM_16.png'); }
.wreck[data-group="Tactical Destroyer"] { background-image: url('/media/brackets/destroyer_16.png'); }
.wreck[data-group="Titan"] { background-image: url('/media/brackets/titan_16.png'); }
.wreck[data-type="Mobile Cynosural Inhibitor"] { background-image: url('/media/brackets/mobileCynosuralInhibitor.png'); }
.wreck[data-type="Mobile Depot"] { background-image: url('/media/brackets/mobileStorage.png'); }
.wreck[data-type="Mobile Tractor Unit"] { background-image: url('/media/brackets/mobileTractorUnit.png'); }

.label {
	color: #eee;
	background: #000b;
	border: 1px solid #333;
	font-family: sans-serif;
	font-size: 12px;
	position: absolute;
	top: 50%;
	left: calc(100% + 0.2em);
	padding: 0.2em 0.4em;
	border-radius: 0.6em;
	width: max-content;
	pointer-events: none;
	transform: translateY(-50%);
}

.future {
	opacity: 0.3;
}

.killed {
	opacity: 1;
}

.expired {
	opacity: 0.3;
}

.wreck:hover {
	opacity: 1;
	border: 3px solid #ff6a00;
	border-radius: 0.5em;
}

.wreck .label {
	display: none;
}

.wreck:hover .label {
	display: block;
}

.wreck::before {
	display: block;
	content: '';
	position: absolute;
	bottom: 1px;
	right: 1px;
	width: 6px;
	height: 6px;
	overflow: hidden;
}

.teamA::before {
	background: #cc0899;
}

.teamB::before {
	background: #14ea6a;
}

#container {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	max-width: unset;
}

.toolbar-wrap {
	max-width: 26em;
	position: absolute;
	width: 100%;
	left: max(-100%, -26em);
	top: 0;
	transition: left 0.3s;
	z-index: 10000;
}

.toolbar-wrap.enabled {
	left: 0;
}

.toolbar-wrap button {
	position: absolute;
	top: 1em;
	right: -7em;
	background: #282828;
	border: 1px solid #504945;
	color: #ebdbd2;
	width: 6em;
	padding: 0.5em;
	transition: right 0.3s;
}

.toolbar-wrap.enabled button {
	right: 1em;
}

.toolbar-wrap button:hover {
	background: #504945;
}

.toolbar-wrap button:active {
	background: #665c54;
}

.toolbar-wrap button:focus,
.toolbar-wrap button:active {
	outline: none;
}

#toolbar {
	background: #282828;
	padding: 0em 1em;
	width: 100%;
	max-width: 100%;
	border-right: 1px solid #504945;
	overflow: auto;
	height: 100vh;
	box-sizing: border-box;
}