Testing new tooltip format

This commit is contained in:
ebolam
2022-10-11 14:12:45 -04:00
parent d1e65237bb
commit 0c6f0ef51c
2 changed files with 3 additions and 3 deletions

View File

@@ -1892,12 +1892,12 @@ body {
[tooltip]:hover::after { [tooltip]:hover::after {
content: attr(tooltip); content: attr(tooltip);
position: fixed; position: fixed;
transition: opacity 0s linear 0.5s;
top: calc(var(--mouse-y) * 100vh - 30px); top: calc(var(--mouse-y) * 100vh - 30px);
left: calc(var(--mouse-x) * 100vw); left: calc(var(--mouse-x) * 100vw);
transition: opacity 0s linear 0.5s;
transform: translate(var(--tooltip_x), var(--tooltip_y)); transform: translate(var(--tooltip_x), var(--tooltip_y));
/*transform: translate(-100%, -100%);*/
opacity: 1; opacity: 1;

View File

@@ -3,7 +3,7 @@
<div class="setting_container"> <div class="setting_container">
<!---Top Row----> <!---Top Row---->
<span class="setting_label"> <span class="setting_label">
<span>{{ item['label'] }}:&nbsp;</span><span class="helpicon material-icons-outlined" title="{{ item['tooltip'] }}">help_icon</span> <span>{{ item['label'] }}:&nbsp;</span><span class="helpicon material-icons-outlined" tooltip="{{ item['tooltip'] }}">help_icon</span>
</span> </span>
{% if (item['unit'] != 'bool') and (item['unit'] != 'text') %} {% if (item['unit'] != 'bool') and (item['unit'] != 'text') %}
<input autocomplete="off" class="setting_value var_sync_{{ item['classname'] }}_{{ item['name'] }}" id="{{ item['classname'] }}_{{ item['name'] }}_cur" <input autocomplete="off" class="setting_value var_sync_{{ item['classname'] }}_{{ item['name'] }}" id="{{ item['classname'] }}_{{ item['name'] }}_cur"