Skip to content

Commit 9c27810

Browse files
authored
eureka: add support for The Occult Crescent North Horn (#1127)
Added support for Occult Crescent: North Horn to Eureka Overlay
1 parent 0e81fe0 commit 9c27810

5 files changed

Lines changed: 752 additions & 4 deletions

File tree

ui/eureka/eureka.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@
6262
padding-bottom: 100%;
6363
}
6464

65+
.aspect-ratio-northhorn {
66+
width: 100%;
67+
height: 0;
68+
position: relative;
69+
padding-bottom: 100%;
70+
}
71+
6572
.inner-container {
6673
position: absolute;
6774
top: 0;
@@ -230,13 +237,15 @@
230237
/* non-critical bozja fates are less important, so make smaller */
231238
.bozjasouthern > .nm,
232239
.zadnor > .nm,
233-
.southhorn > .nm {
240+
.southhorn > .nm,
241+
.northhorn > .nm {
234242
font-size: 10px;
235243
}
236244

237245
.bozjasouthern > .nm-pop .nm-name,
238246
.zadnor > .nm-pop .nm-name,
239-
.southhorn > .nm-pop .nm-name {
247+
.southhorn > .nm-pop .nm-name,
248+
.northhorn > .nm-pop .nm-name {
240249
font-size: 12px;
241250
}
242251

@@ -245,7 +254,9 @@
245254
.zadnor > .nm-down .nm-name,
246255
.zadnor > .nm-down .nm-time,
247256
.southhorn > .nm-down .nm-name,
248-
.southhorn > .nm-down .nm-time {
257+
.southhorn > .nm-down .nm-time,
258+
.northhorn > .nm-down .nm-name,
259+
.northhorn > .nm-down .nm-time {
249260
font-size: 8px;
250261
}
251262

@@ -308,6 +319,10 @@
308319
bottom: 0;
309320
}
310321

322+
.aspect-ratio-northhorn #label-container {
323+
bottom: 0;
324+
}
325+
311326
.aspect-ratio-hydatos #portal-timer-container {
312327
top: 90%;
313328
}

ui/eureka/eureka.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { timeStrings } from './eureka_translations';
2424
import { zoneInfoAnemos } from './zone_anemos';
2525
import { zoneInfoBozjaSouthern } from './zone_bozja_southern';
2626
import { zoneInfoHydatos } from './zone_hydatos';
27+
import { zoneInfoNorthHorn } from './zone_north_horn';
2728
import { zoneInfoPagos } from './zone_pagos';
2829
import { zoneInfoPyros } from './zone_pyros';
2930
import { zoneInfoSouthHorn } from './zone_south_horn';
@@ -44,6 +45,7 @@ const areaNames = [
4445
'Bozjan Southern Front',
4546
'Zadnor',
4647
'South Horn',
48+
'North Horn',
4749
].join('|');
4850

4951
const numWeatherElem = 5;
@@ -205,6 +207,7 @@ const defaultOptions: EurekaOptions = {
205207
[ZoneId.TheBozjanSouthernFront]: zoneInfoBozjaSouthern,
206208
[ZoneId.Zadnor]: zoneInfoZadnor,
207209
[ZoneId.TheOccultCrescentSouthHorn]: zoneInfoSouthHorn,
210+
[ZoneId.TheOccultCrescentNorthHorn]: zoneInfoNorthHorn,
208211
},
209212
};
210213

ui/eureka/northhorn.png

199 KB
Loading

0 commit comments

Comments
 (0)