merge: integrate hotmail邮箱支持 into dev

This commit is contained in:
QLHazyCoder
2026-04-12 20:10:17 +08:00
16 changed files with 3312 additions and 90 deletions
+227
View File
@@ -238,6 +238,33 @@ header {
box-shadow: var(--shadow-sm);
}
.section-mini-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.section-mini-copy {
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.section-mini-actions {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
justify-content: flex-end;
}
.section-hint {
color: var(--text-muted);
font-size: 12px;
}
.data-row {
display: flex;
align-items: center;
@@ -309,6 +336,23 @@ header {
.data-input::placeholder { color: var(--text-muted); }
.data-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.data-textarea {
width: 100%;
min-height: 88px;
resize: vertical;
padding: 8px 10px;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
outline: none;
transition: border-color var(--transition), box-shadow var(--transition);
}
.data-textarea::placeholder { color: var(--text-muted); }
.data-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.data-input-with-icon {
padding-right: 38px;
}
@@ -340,6 +384,189 @@ header {
flex-shrink: 0;
}
.hotmail-card {
margin-top: 10px;
}
.hotmail-actions-row .data-label {
visibility: hidden;
}
.hotmail-import-row {
align-items: flex-start;
}
.hotmail-import-box {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}
.hotmail-list-shell {
border: 1px solid var(--border-subtle);
border-radius: var(--radius-sm);
background: color-mix(in srgb, var(--bg-base) 82%, transparent);
overflow-y: auto;
overflow-x: hidden;
padding: 2px;
transition: max-height var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.hotmail-list-shell.is-collapsed {
max-height: 236px;
}
.hotmail-list-shell.is-expanded {
max-height: 440px;
}
.hotmail-list-shell::-webkit-scrollbar {
width: 8px;
}
.hotmail-list-shell::-webkit-scrollbar-track {
background: transparent;
}
.hotmail-list-shell::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 999px;
}
.hotmail-list-shell::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.hotmail-accounts-list {
display: flex;
flex-direction: column;
gap: 8px;
padding-right: 4px;
}
.hotmail-account-item {
border: 1px solid var(--border);
background: var(--bg-base);
border-radius: var(--radius-sm);
padding: 10px;
display: flex;
flex-direction: column;
gap: 8px;
}
.hotmail-account-item.is-current {
border-color: var(--blue);
box-shadow: 0 0 0 1px var(--blue-glow);
}
.hotmail-account-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.hotmail-account-title-row {
min-width: 0;
display: flex;
align-items: center;
gap: 6px;
}
.hotmail-account-email {
font-weight: 600;
color: var(--text-primary);
word-break: break-all;
}
.hotmail-copy-btn {
width: 24px;
height: 24px;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 999px;
background: transparent;
color: var(--text-muted);
cursor: pointer;
transition: background var(--transition), color var(--transition), transform var(--transition);
}
.hotmail-copy-btn:hover {
background: var(--bg-hover);
color: var(--text-primary);
}
.hotmail-copy-btn:active {
transform: scale(0.96);
}
.hotmail-status-chip {
padding: 2px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.02em;
}
.hotmail-status-chip.status-authorized {
background: var(--green-soft);
color: var(--green);
}
.hotmail-status-chip.status-used {
background: var(--orange-soft);
color: var(--orange);
}
.hotmail-status-chip.status-disabled {
background: var(--bg-surface);
color: var(--text-secondary);
}
.hotmail-status-chip.status-pending {
background: var(--orange-soft);
color: var(--orange);
}
.hotmail-status-chip.status-error {
background: var(--red-soft);
color: var(--red);
}
.hotmail-account-meta {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px 10px;
color: var(--text-secondary);
font-size: 12px;
}
.hotmail-account-error {
font-size: 12px;
color: var(--red);
word-break: break-word;
}
.hotmail-account-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.hotmail-empty {
color: var(--text-muted);
font-size: 12px;
border: 1px dashed var(--border);
border-radius: var(--radius-sm);
padding: 10px;
text-align: center;
}
.data-select {
flex: 1;
padding: 7px 10px;