This commit is contained in:
SandPoot
2025-03-10 16:11:56 -03:00
parent 2b89062c10
commit 054716857f
88 changed files with 179 additions and 60 deletions
+7 -1
View File
@@ -44,7 +44,13 @@ Notes:
owner = C
var/datum/asset/stuff = get_asset_datum(/datum/asset/simple/jquery)
stuff.send(owner)
owner << browse(file2text('code/modules/tooltip/tooltip.html'), "window=[control]")
var/datum/asset/simple/namespaced/fonts/fonts = get_asset_datum(/datum/asset/simple/namespaced/fonts)
fonts.send(owner)
var/static/file2send
if(!file2send)
file2send = replacetext(file2text('code/modules/tooltip/tooltip.html'), "THE_FONT_GOES_HERE!!!!!!!!!!!!!!!", SSassets.transport.get_asset_url("fonts.css"))
owner << browse(file2send, "window=[control]")
..()
+8
View File
@@ -4,6 +4,7 @@
<title>Tooltip</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel='stylesheet' href='THE_FONT_GOES_HERE!!!!!!!!!!!!!!!' >
<style type="text/css">
body, html {
margin: 0;
@@ -104,6 +105,13 @@
#1b1d1a 4px
); background-size: 100% 4px;}
.corru .wrap {border: 2px dashed #FFFF00; background-color: #000000;}
.corru .content {color: #FFFFFF; border-color: #000000; background-color: #000000; font-family: "Space Mono";}
.corru .content h1::before {content: "NOTE::'"; display: inline;}
.corru .content h1::after {content: "'"; display: inline;}
.corru .content p::before {content: "INHERITED CONTEXT::'"; display: inline;}
.corru .content p::after {content: "'"; display: inline;}
</style>
</head>
<body>