mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-30 16:56:26 +01:00
push
This commit is contained in:
@@ -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]")
|
||||
|
||||
..()
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user