mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Testing new tooltip format
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<div class="setting_container">
|
||||
<!---Top Row---->
|
||||
<span class="setting_label">
|
||||
<span>{{ item['label'] }}: </span><span class="helpicon material-icons-outlined" title="{{ item['tooltip'] }}">help_icon</span>
|
||||
<span>{{ item['label'] }}: </span><span class="helpicon material-icons-outlined" tooltip="{{ item['tooltip'] }}">help_icon</span>
|
||||
</span>
|
||||
{% 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"
|
||||
|
Reference in New Issue
Block a user