mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-21 05:10:41 +00:00
feat: add TOTP QR code scanning functionality and related UI components
This commit is contained in:
@@ -74,6 +74,29 @@ input[type='file'].input::file-selector-button:hover {
|
||||
@apply pr-11;
|
||||
}
|
||||
|
||||
.input-action-wrap {
|
||||
@apply relative;
|
||||
}
|
||||
|
||||
.input-action-wrap .input {
|
||||
@apply pr-12;
|
||||
}
|
||||
|
||||
.input-icon-btn {
|
||||
@apply absolute right-2 top-1/2 grid h-8 w-8 cursor-pointer place-items-center rounded-full border-0 bg-transparent text-slate-700 transition;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.input-icon-btn:hover:not(:disabled) {
|
||||
color: var(--primary);
|
||||
background: rgba(37, 99, 235, 0.08);
|
||||
transform: translateY(-50%) scale(1.04);
|
||||
}
|
||||
|
||||
.input-icon-btn:disabled {
|
||||
@apply cursor-not-allowed text-slate-400;
|
||||
}
|
||||
|
||||
.password-toggle {
|
||||
@apply absolute right-2 top-1/2 grid cursor-pointer place-items-center border-0 bg-transparent text-blue-700 transition;
|
||||
transform: translateY(-50%);
|
||||
|
||||
Reference in New Issue
Block a user