Spaces:
Running
Running
I still can't press the button while the maid with deep sight is still there can you just create me a shortcut where I just press Q
a63efb1 verified Download components/taskbar.js from idhyksi097/quantumos-hypervisor: direct link, hf CLI and curl.
- Browser
- Download file 2.39 kB
-
https://huggingface.co/spaces/idhyksi097/quantumos-hypervisor/resolve/main/components/taskbar.js
- Command line
-
hf download hf://spaces/idhyksi097/quantumos-hypervisor/components/taskbar.js
-
curl -L -o taskbar.js https://huggingface.co/spaces/idhyksi097/quantumos-hypervisor/resolve/main/components/taskbar.js
2.39 kB
| class QuantumTaskbar extends HTMLElement { | |
| constructor() { | |
| super(); | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| position: fixed; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| height: 48px; | |
| background: rgba(0, 0, 0, 0.7); | |
| backdrop-filter: blur(10px); | |
| display: flex; | |
| align-items: center; | |
| padding: 0 10px; | |
| z-index: 1000; | |
| } | |
| .start-button { | |
| height: 36px; | |
| padding: 0 12px; | |
| background: linear-gradient(to right, #4a00e0, #8e2de2); | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| display: flex; | |
| align-items: center; | |
| cursor: pointer; | |
| } | |
| .tray { | |
| margin-left: auto; | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| } | |
| .window-list { | |
| display: flex; | |
| align-items: center; | |
| gap: 5px; | |
| margin-left: 20px; | |
| } | |
| .window-button { | |
| height: 36px; | |
| padding: 0 12px; | |
| background: rgba(255, 255, 255, 0.1); | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| display: flex; | |
| align-items: center; | |
| cursor: pointer; | |
| } | |
| </style> | |
| <button class="start-button"> | |
| <slot name="start-icon"></slot> | |
| <span>Start</span> | |
| <span class="shortcut-hint">(Q)</span> | |
| </button> | |
| <div class="window-list" id="window-list"></div> | |
| <div class="tray"> | |
| <slot name="tray-items"></slot> | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('quantum-taskbar', QuantumTaskbar); |