Files
dickloads/data/units.json
Falkan 6a9ecf9d46 fix: custom tooltip (no wiggle required), add ⓘ indicator for described units
- Replace native title-based tooltip with custom positioned div
  Native title only renders on mousemove; custom div fires on mouseenter
  after 500ms delay as intended
- Tooltip styled dark with fade-in; Dan Mode gets yellow-on-black with magenta glow
- Units with descriptions show a small superscript ⓘ on the result label
2026-03-18 19:33:14 -04:00

103 lines
2.1 KiB
JSON

{
"units": [
{
"id": "pound",
"label": "Pound",
"labelPlural": "Pounds",
"symbol": "lb",
"group": "dickloads",
"toBase": 0.038
},
{
"id": "dickload",
"label": "Dickload",
"labelPlural": "Dickloads",
"symbol": "dl",
"group": "dickloads",
"toBase": 1
},
{
"id": "barrel",
"label": "Barrel",
"labelPlural": "Barrels",
"symbol": "bbl",
"group": "dickloads",
"toBase": 19
},
{
"id": "hogshead",
"label": "Hogshead",
"labelPlural": "Hogsheads",
"symbol": "hhd",
"group": "dickloads",
"toBase": 38
},
{
"id": "short-ton",
"label": "Short ton",
"labelPlural": "Short tons",
"symbol": "t",
"group": "dickloads",
"toBase": 76
},
{
"id": "fuckton",
"label": "Fuck ton",
"labelPlural": "Fucktons",
"symbol": "fcktn",
"group": "dickloads",
"toBase": 152
},
{
"id": "long-ton",
"label": "Long ton",
"labelPlural": "Long tons",
"symbol": "long tn",
"group": "dickloads",
"toBase": 85.1199999999
},
{
"id": "metric-fuckton",
"label": "Metric fuckton",
"labelPlural": "Metric fucktons",
"symbol": "mfcktn",
"group": "dickloads",
"toBase": 170.2399999998,
"description": "Trivia: although the name is \"metric fuckton,\" it is actually equal to two long tons!",
"hidden": false
},
{
"id": "assload",
"label": "Assload",
"labelPlural": "Assloads",
"symbol": "assl",
"group": "dickloads",
"toBase": 2
},
{
"id": "shitload",
"label": "Shitload",
"labelPlural": "Shitloads",
"symbol": "shtld",
"group": "dickloads",
"toBase": 12.6666666667
},
{
"id": "shit-ton",
"label": "Shit ton",
"labelPlural": "Shit tons",
"symbol": "shttn",
"group": "dickloads",
"toBase": 38
}
],
"groups": [
{
"id": "dickloads",
"label": "Dickloads",
"baseUnitId": "",
"toUniversal": 1
}
]
}