feat: add local hardware approval leases

This commit is contained in:
vee
2026-08-03 10:20:55 +08:00
parent 85b4740d29
commit a952f37ceb
14 changed files with 1089 additions and 25 deletions
+48
View File
@@ -4357,6 +4357,54 @@ pre {
}
}
.hardware-access-field {
padding: 12px;
border: 1px solid rgba(38, 102, 159, 0.24);
border-radius: 7px;
background: rgba(38, 102, 159, 0.055);
}
.hardware-access-field input {
width: 100%;
min-height: 40px;
margin-top: 8px;
padding: 9px 11px;
color: var(--ink);
background: white;
border: 1px solid var(--line-strong);
border-radius: 6px;
font: inherit;
}
.hardware-access-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 8px;
}
.hardware-access-actions button {
min-height: 38px;
border: 0;
border-radius: 5px;
color: white;
background: var(--blue);
font: inherit;
font-size: 12px;
font-weight: 800;
cursor: pointer;
}
.hardware-access-actions button.secondary {
color: var(--ink);
background: white;
border: 1px solid var(--line-strong);
}
.hardware-access-status[data-state="approved"] { color: var(--teal); font-weight: 750; }
.hardware-access-status[data-state="pending"] { color: #9a6800; font-weight: 750; }
.hardware-access-status[data-state="expired"] { color: var(--danger); font-weight: 750; }
/* Android PAD, touch and installable-app refinements ---------------------- */
.execution-mode-options {
grid-template-columns: repeat(3, minmax(0, 1fr));