Skip to content

Commit

Permalink
https://github.com/tgstation/tgstation/pull/66304
Browse files Browse the repository at this point in the history
  • Loading branch information
SplinterGP committed Jul 1, 2022
1 parent 119cdc4 commit 0285d79
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tgui/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ declare module '*.svg' {
export default content;
}

namespace JSX {
interface IntrinsicElements {
marquee: any;
blink: any;
}
}

type TguiMessage = {
type: string;
payload?: any;
Expand Down
11 changes: 11 additions & 0 deletions tgui/public/tgui.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,17 @@
</script>

<style>
/* Blink polyfill, originally authored on /tg/ by @iamgoofball */
blink {
animation: 1s linear infinite condemned-blink-effect;
}

@keyframes condemned-blink-effect {
0% { visibility: hidden; }
50% { visibility: hidden; }
100% { visibility: visible; }
}

.FatalError {
display: none;
position: absolute;
Expand Down

0 comments on commit 0285d79

Please sign in to comment.