95 lines
1.5 KiB
CSS
95 lines
1.5 KiB
CSS
.totp-settings {
|
|
max-width: 640px;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.totp-settings p {
|
|
color: var(--pm-text-secondary);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.totp-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.totp-heading h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.totp-settings .el-alert {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.totp-enrollment img {
|
|
display: block;
|
|
width: 240px;
|
|
max-width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 1;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.totp-manual {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.totp-manual summary {
|
|
width: fit-content;
|
|
cursor: pointer;
|
|
color: var(--pm-text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.totp-enrollment code {
|
|
display: block;
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
border: 1px solid var(--pm-border-color);
|
|
border-radius: 8px;
|
|
overflow-wrap: anywhere;
|
|
user-select: all;
|
|
}
|
|
|
|
.totp-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.totp-actions .el-button + .el-button {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.totp-enrollment .el-form,
|
|
.totp-disable {
|
|
max-width: 360px;
|
|
}
|
|
|
|
.totp-enrollment :deep(.el-form-item),
|
|
.totp-disable :deep(.el-form-item) {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.totp-enrollment :deep(.el-form-item__label),
|
|
.totp-disable :deep(.el-form-item__label) {
|
|
width: auto !important;
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.totp-enrollment :deep(.el-form-item__content),
|
|
.totp-disable :deep(.el-form-item__content) {
|
|
min-width: 0;
|
|
margin-left: 0 !important;
|
|
}
|