From 81c366411f7ea089e535eb6abaaa4ae6530a31a6 Mon Sep 17 00:00:00 2001 From: lmg-anon <139719567+lmg-anon@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:39:21 -0300 Subject: [PATCH] Implement sampler toggle menu --- mikupad.html | 251 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 202 insertions(+), 49 deletions(-) diff --git a/mikupad.html b/mikupad.html index 244573e..8293460 100644 --- a/mikupad.html +++ b/mikupad.html @@ -1317,6 +1317,28 @@ } } +.floating-menu { + position: absolute; + top: 30px; + right: 0px; + background-color: var(--color-base-40); + border: 1px solid var(--color-base-30); + border-radius: 4px; + box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); + padding: 10px; + z-index: 1000; + display: flex; + flex-direction: column; + cursor: default; +} +html.monospace-dark .floating-menu { + background: var(--color-base-20); + border: 1px solid var(--color-base-10); +} +html.nockoffAI .floating-menu { + background: var(--color-input); +} +