Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

quickshell/nuguland/.system/specs/NL-SPEC-8EQ0TRBZ-nuguland-vault-widget/vault-unlock.html

Raw
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>nuguland vault unlock</title>
<style>
* { box-sizing: border-box; }
body { margin: 0; background: #121212; }
.vault {
  --bg: #121212;
  --panel: #242424;
  --panel2: #303030;
  --text: #ededed;
  --muted: #9d9d9d;
  --line: #ffffff38;
  --accent: #d86dd8;
  --focus: #9aabae;
  width: min(920px, 96vw);
  height: 580px;
  margin: 14px auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  font: 14px/1.25 "IBM Plex Sans", sans-serif;
  display: grid;
  grid-template-columns: 335px 1fr;
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.browser { padding-right: 14px; border-right: 1px solid var(--line); min-width: 0; }
.search { height: 44px; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 0 13px; font-family: "IBM Plex Mono", monospace; font-size: 16px; color: var(--muted); }
.lockedlist { height: 450px; display: grid; place-items: center; color: var(--muted); font: 12px "IBM Plex Mono", monospace; }
.detail { display: grid; place-items: center; padding: 24px; }
.unlock { width: min(390px, 100%); text-align: center; }
.lock { width: 66px; height: 66px; margin: 0 auto 18px; border: 1px solid #d86dd870; border-radius: 18px; background: #d86dd810; display: grid; place-items: center; color: var(--accent); }
.lock svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.unlock h1 { font-size: 25px; margin: 0 0 7px; }
.account { color: var(--muted); font: 12px/1.5 "IBM Plex Mono", monospace; margin-bottom: 24px; }
.pwrow { height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); display: grid; grid-template-columns: 1fr auto auto; align-items: center; padding-left: 13px; gap: 6px; }
.pw { width: 100%; border: 0; outline: 0; background: transparent; font: 15px "IBM Plex Mono", monospace; }
.iconbtn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); cursor: pointer; margin-right: 5px; }
.iconbtn:hover { border-color: var(--accent); color: var(--accent); }
.go { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.go:hover { color: var(--bg); filter: brightness(1.1); }
.svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hint { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.status { margin-top: 27px; padding-top: 13px; border-top: 1px solid #ffffff20; color: var(--muted); font: 11px "IBM Plex Mono", monospace; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
</style>
</head>
<body>
<main class="vault">
  <section class="browser">
    <input class="search" aria-label="search vault" placeholder="search vault" disabled>
    <div class="lockedlist">unlock to search vault</div>
  </section>
  <section class="detail">
    <div class="unlock">
      <div class="lock"><svg viewBox="0 0 24 24"><rect x="4" y="10" width="16" height="11" rx="3"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/></svg></div>
      <h1>unlock vault</h1>
      <div class="account">vault.bugabinga.net<br>personal account</div>
      <div class="pwrow">
        <input class="pw" type="password" aria-label="master password" placeholder="master password" autofocus>
        <button class="iconbtn" aria-label="show master password" title="show master password"><svg class="svg" viewBox="0 0 24 24"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z"/><circle cx="12" cy="12" r="3"/></svg></button>
        <button class="iconbtn go" aria-label="unlock vault" title="unlock vault"><svg class="svg" viewBox="0 0 24 24"><path d="m9 18 6-6-6-6"/></svg></button>
      </div>
      <div class="hint">the password is sent once to the isolated native vault process, then cleared from the widget</div>
      <div class="status"><span class="dot"></span>encrypted cache ready · last sync 8m ago</div>
    </div>
  </section>
</main>
</body>
</html>