From de62a5da0225b79fcf2460727bb7d765f8be2426 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 12 Apr 2026 16:48:43 +0200 Subject: Initial implementation --- client/causalloop.css | 31 +++++++++++++++++++++++++++++++ client/dialog/index.html | 12 ++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 client/causalloop.css create mode 100644 client/dialog/index.html (limited to 'client') diff --git a/client/causalloop.css b/client/causalloop.css new file mode 100644 index 0000000..fbd6660 --- /dev/null +++ b/client/causalloop.css @@ -0,0 +1,31 @@ +.causalloop { + position: relative; +} +.causalloop .actions { + background-color: #fff; + opacity: 0; + transition: all 300ms; + position: absolute; + bottom: 0; + right: 0; + padding: 0 2px; +} +.causalloop .actions img { + height: 18px; + width: 18px; +} +.causalloop menu { + list-style: none; + padding: 0; +} +.causalloop menu li { display: inline-block; } +.causalloop:hover .actions { + opacity: 1; +} +.causalloop img { + width: 100%; +} + +.causalloop.thumbnail text:nth-of-type(n + 7) { + cursor: pointer; +} diff --git a/client/dialog/index.html b/client/dialog/index.html new file mode 100644 index 0000000..cd8443f --- /dev/null +++ b/client/dialog/index.html @@ -0,0 +1,12 @@ + + + + + + + Causal Loop Diagram + + +
+ + -- cgit