From 0c6f0ef51c75727792e38d510cda91583ad035ef Mon Sep 17 00:00:00 2001 From: ebolam Date: Tue, 11 Oct 2022 14:12:45 -0400 Subject: [PATCH] Testing new tooltip format --- static/koboldai.css | 4 ++-- templates/settings item.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/koboldai.css b/static/koboldai.css index b914a3f4..57cb24b6 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -1892,12 +1892,12 @@ body { [tooltip]:hover::after { content: attr(tooltip); position: fixed; + transition: opacity 0s linear 0.5s; + top: calc(var(--mouse-y) * 100vh - 30px); left: calc(var(--mouse-x) * 100vw); - transition: opacity 0s linear 0.5s; transform: translate(var(--tooltip_x), var(--tooltip_y)); - /*transform: translate(-100%, -100%);*/ opacity: 1; diff --git a/templates/settings item.html b/templates/settings item.html index ba6934e1..ac22d9ea 100644 --- a/templates/settings item.html +++ b/templates/settings item.html @@ -3,7 +3,7 @@
- {{ item['label'] }}: help_icon + {{ item['label'] }}: help_icon {% if (item['unit'] != 'bool') and (item['unit'] != 'text') %}