From 5173ba066ad7f40671c4a6c86896f07f24420754 Mon Sep 17 00:00:00 2001 From: neCo <50079394+neCo2@users.noreply.github.com> Date: Mon, 6 May 2024 10:19:25 +0200 Subject: [PATCH 1/7] initial commit --- mikupad.html | 307 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 250 insertions(+), 57 deletions(-) diff --git a/mikupad.html b/mikupad.html index 07e1ea1..f7d4024 100644 --- a/mikupad.html +++ b/mikupad.html @@ -683,6 +683,9 @@ html.nockoffAI .SelectBox > select:disabled { background: var(--color-disabled); } +.relative { + position: relative; +} .Checkbox { user-select: none; @@ -780,6 +783,17 @@ top: 1.45em; right: 5px; } +.token-counter { + pointer-events: none; + position:absolute; + bottom:0; + right:0; + transform: translate(0%,-50%); + color: var(--color-base-50); + background: color-mix(in srgb, var(--color-base-30), transparent 50%); +}.token-counter::after { + content:" Tokens"; +} button:hover { background: var(--color-base-40); } @@ -1930,14 +1944,19 @@ <${InputBox} label="Suffix" type="text" placeholder="[/INST]" readOnly=${!!cancel} value=${memoryTokens.suffix} onValueChange=${(value) => handleMemoryTokensChange("suffix", value)}/> -