feat(vault): add password exposure check and related UI enhancements

This commit is contained in:
shuaiplus
2026-03-08 19:23:24 +08:00
parent a372b99fc9
commit c8194a04c7
5 changed files with 334 additions and 5 deletions
+41 -1
View File
@@ -875,15 +875,41 @@ input[type='file'].input::file-selector-button:hover {
}
.list-title {
display: block;
display: flex;
align-items: center;
gap: 6px;
color: #175ddc;
font-size: 15px;
font-weight: 700;
min-width: 0;
}
.list-title-text {
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 6px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
line-height: 1;
color: #475569;
background: #e2e8f0;
flex-shrink: 0;
}
.list-badge.danger {
color: #fff;
background: var(--danger);
}
.list-sub {
display: block;
color: #5f6f85;
@@ -1123,6 +1149,14 @@ input[type='file'].input::file-selector-button:hover {
flex-shrink: 0;
}
.exposed-status {
color: #475569;
}
.exposed-status.danger {
color: var(--danger);
}
.attachment-list {
display: grid;
gap: 0;
@@ -1755,6 +1789,12 @@ input[type='file'].input::file-selector-button:hover {
color: #9f1239;
}
.toast-item.warning {
border-color: #f2b8c1;
background: #fde7eb;
color: #9f1239;
}
.toast-text {
font-weight: 700;
padding-right: 10px;