Protect CMS deploy password field

This commit is contained in:
DCCONSTRUCTIONS
2026-07-06 13:22:44 +03:00
parent dc49acaa43
commit cfee9d0c19
3 changed files with 92 additions and 4 deletions
+40
View File
@@ -970,6 +970,46 @@ body:not([data-admin-mode="knowledge"]) #knowledge-form {
grid-column: 1 / -1;
}
.secret-input-wrap {
position: relative;
display: grid;
min-width: 0;
}
.secret-input-wrap input {
padding-right: 3rem;
}
.secret-toggle-button {
position: absolute;
top: 50%;
right: 0.42rem;
display: grid;
width: 2.1rem;
height: 2.1rem;
place-items: center;
border: 0;
border-radius: var(--launcher-radius-circle);
background: rgba(255, 255, 255, 0.065);
color: rgba(255, 255, 255, 0.72);
transform: translateY(-50%);
}
.secret-toggle-button:hover {
background: rgba(255, 255, 255, 0.12);
color: var(--text-primary);
}
.secret-toggle-button svg {
width: 1rem;
height: 1rem;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.field-label-row {
display: flex;
min-width: 0;