mirror of
https://github.com/andwati/kget-capture.git
synced 2026-10-18 03:02:56 +00:00
Add install-remote.sh, which fetches the latest release and runs its install.sh so setup no longer needs a git clone. The popup now probes the native host with a "ping" action on open and, if it's not registered yet, shows the one-liner (with copy-to-clipboard) instead of the auto-capture toggle -- so a Web Store install can be completed end-to-end by clicking the extension icon and pasting one command.
74 lines
999 B
CSS
74 lines
999 B
CSS
body {
|
|
width: 320px;
|
|
padding: 12px;
|
|
font-family: system-ui, sans-serif;
|
|
font-size: 13px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 14px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.status {
|
|
margin: 8px 0 0;
|
|
color: #555;
|
|
}
|
|
|
|
.hint {
|
|
margin: 10px 0 0;
|
|
color: #777;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.hint button {
|
|
display: block;
|
|
margin-top: 6px;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cmd-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.cmd-row code {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
background: #f0f0f0;
|
|
padding: 4px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.cmd-row button {
|
|
flex: none;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#recheck-setup {
|
|
display: block;
|
|
margin-top: 10px;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|