diff options
author | alyx <alyx@aleteoryx.me> | 2022-06-08 17:43:49 +0000 |
---|---|---|
committer | Aleteoryx <alyx@aleteoryx.me> | 2022-06-08 17:43:49 +0000 |
commit | d286258f7c05b1a98f9a9aea388690a85246fd87 (patch) | |
tree | adf06bde381b8839cf1b0ae522f55d9553986a1c /grapher | |
parent | 7f6f5549fe6d1bd03772c13e96f9d92a26660929 (diff) | |
download | RRCUtils-d286258f7c05b1a98f9a9aea388690a85246fd87.tar.gz RRCUtils-d286258f7c05b1a98f9a9aea388690a85246fd87.tar.bz2 RRCUtils-d286258f7c05b1a98f9a9aea388690a85246fd87.zip |
Type intersecting is fully implemented.
Diffstat (limited to 'grapher')
-rw-r--r-- | grapher/index.html | 9 | ||||
-rw-r--r-- | grapher/style.css | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/grapher/index.html b/grapher/index.html index 4a70153..b81b31b 100644 --- a/grapher/index.html +++ b/grapher/index.html @@ -10,17 +10,12 @@ <link crossorigin href="/oi.css" rel="stylesheet" type="text/css"> <link crossorigin href="style.css" rel="stylesheet" type="text/css" /> <link crossorigin href="/lib/chips.css" rel="stylesheet" type="text/css" /> - - <link crossorigin href="/lib/util.js" rel="preload" as="script"/> - <link crossorigin href="/lib/chips.js" rel="preload" as="script"/> - <link crossorigin href="script.js" rel="preload" as="script"/> - <link crossorigin href="/oi.css" rel="preload" as="style"/> - <link crossorigin href="/lib/chips.css" rel="preload" as="style"/> - <link crossorigin href="style.css" rel="preload" as="style"/> + <link crossorigin href="/circuits.json" rel="preload" as="fetch"/> <link crossorigin href="https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json" rel="preload" as="fetch"/> <script crossorigin src="/lib/util.js"></script> + <script crossorigin src="/lib/types.js"></script> <script crossorigin src="/lib/chips.js"></script> <script crossorigin src="script.js"></script> <noscript><style> #searcher, #graph, #canvas { display: none } </style></noscript> diff --git a/grapher/style.css b/grapher/style.css index 7b9f51e..119452c 100644 --- a/grapher/style.css +++ b/grapher/style.css @@ -245,4 +245,8 @@ button:hover { background: var(--foreforeground); } -a {color: white;}
\ No newline at end of file +a {color: white;} + +#searchbox:not([open]) + #graph :is(.exec, .float, .int, .bool, .string, .special, .any):hover + .type { + left: calc(var(--mouse-x) + 10px - (var(--chipOffsetX) * 1px) + 13cm); +}
\ No newline at end of file |