feat(flow): stabilize step7-9, expand HeroSMS, and update usage tutorial

This commit is contained in:
daniellee2015
2026-04-29 00:51:05 +08:00
parent 9e26b16f20
commit 4c091a3d32
21 changed files with 5265 additions and 1021 deletions
+378 -23
View File
@@ -607,7 +607,12 @@ header {
Data Card
============================================================ */
#data-section { margin-bottom: 14px; }
#data-section {
margin-bottom: 14px;
display: flex;
flex-direction: column;
gap: 12px;
}
.data-card {
background: var(--bg-surface);
@@ -769,6 +774,21 @@ header {
gap: 8px;
}
#settings-card .data-row.module-divider-start {
position: relative;
margin-top: 10px;
padding-top: 12px;
}
#settings-card .data-row.module-divider-start::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
border-top: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
}
.data-check-row {
align-items: flex-start;
}
@@ -798,24 +818,6 @@ header {
white-space: nowrap;
}
.section-collapse-body {
display: flex;
flex-direction: column;
gap: 9px;
}
.section-collapse-body[hidden] {
display: none;
}
#btn-toggle-hotmail-section {
white-space: nowrap;
}
#btn-toggle-cloudflare-temp-email-section {
white-space: nowrap;
}
.ip-proxy-fold {
width: 100%;
border: none;
@@ -832,6 +834,39 @@ header {
padding-top: 0;
}
.phone-verification-card {
margin-top: 10px;
}
.phone-verification-header-actions {
flex: 0 0 auto;
align-items: center;
}
#btn-toggle-phone-verification-section {
white-space: nowrap;
}
.phone-verification-fold-row {
display: block;
}
.phone-verification-fold {
width: 100%;
border: none;
border-radius: 0;
background: transparent;
padding: 0;
}
.phone-verification-fold-body {
display: flex;
flex-direction: column;
gap: 8px;
border-top: none;
padding-top: 0;
}
.ip-proxy-layout-row {
display: block;
}
@@ -891,10 +926,18 @@ header {
.ip-proxy-actions-inline {
flex-wrap: wrap;
align-items: center;
align-items: flex-start;
row-gap: 6px;
}
#row-ip-proxy-actions {
align-items: flex-start;
}
#row-ip-proxy-actions > .data-label {
padding-top: 9px;
}
.ip-proxy-action-grid {
width: 100%;
display: flex;
@@ -936,19 +979,25 @@ header {
.ip-proxy-runtime-main {
min-width: 0;
font-size: 12px;
line-height: 1.45;
}
.ip-proxy-runtime-meta {
display: flex;
align-items: center;
justify-content: space-between;
justify-content: flex-start;
gap: 8px;
}
.ip-proxy-check-ip-btn {
min-width: 64px;
padding-inline: 10px;
min-width: 0;
padding-inline: 8px;
flex-shrink: 0;
margin-left: 0;
position: absolute;
top: 0;
right: 0;
}
.ip-proxy-runtime-current {
@@ -962,6 +1011,14 @@ header {
color: var(--text-primary);
}
#row-ip-proxy-runtime-status {
align-items: flex-start;
}
#row-ip-proxy-runtime-status > .data-label {
padding-top: 9px;
}
.ip-proxy-runtime-dot {
width: 8px;
height: 8px;
@@ -990,20 +1047,53 @@ header {
.ip-proxy-runtime-details {
margin: 0;
padding: 0;
min-width: 0;
width: 100%;
padding-right: 84px;
}
.ip-proxy-runtime-details-row {
position: relative;
min-width: 0;
width: 100%;
min-height: 24px;
}
.ip-proxy-runtime-details summary {
display: inline-flex;
align-items: center;
gap: 4px;
min-height: 24px;
cursor: pointer;
user-select: none;
color: var(--text-secondary);
font-size: 11px;
line-height: 1.4;
list-style: none;
}
.ip-proxy-runtime-details summary::-webkit-details-marker {
display: none;
}
.ip-proxy-runtime-details summary::after {
content: '▾';
font-size: 10px;
line-height: 1;
color: inherit;
transform: rotate(-90deg);
transform-origin: center;
transition: transform var(--transition);
}
.ip-proxy-runtime-details[open] summary {
color: var(--text-primary);
}
.ip-proxy-runtime-details[open] summary::after {
transform: rotate(0deg);
}
.ip-proxy-runtime-details-text {
margin-top: 4px;
font-size: 11px;
@@ -1859,6 +1949,271 @@ header {
text-align: center;
}
.hero-sms-country-stack {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 6px;
}
.hero-sms-country-mainline {
width: 100%;
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
}
.hero-sms-country-note {
font-size: 12px;
color: var(--text-muted);
}
.hero-sms-reuse-max-inline {
width: 100%;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: nowrap;
}
.hero-sms-reuse-max-left {
flex: 1 1 auto;
min-width: 0;
display: flex;
align-items: center;
}
.hero-sms-reuse-max-right {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 8px;
margin-left: auto;
}
.hero-sms-max-price-input {
width: 72px;
text-align: center;
}
.hero-sms-country-menu {
position: relative;
flex: 1;
min-width: 260px;
}
.hero-sms-country-menu-btn {
width: 100%;
height: 33px;
min-height: 33px;
padding-top: 0;
padding-bottom: 0;
justify-content: flex-start;
overflow: hidden;
text-overflow: ellipsis;
}
.hero-sms-country-menu-btn[aria-expanded="true"] {
border-color: var(--blue);
color: var(--blue);
background: var(--blue-soft);
}
.hero-sms-country-menu-dropdown {
position: absolute;
top: calc(100% + 6px);
left: 0;
right: 0;
z-index: 1200;
display: flex;
flex-direction: column;
gap: 4px;
padding: 6px;
max-height: 180px;
overflow-y: auto;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
box-shadow: var(--shadow-md);
}
.hero-sms-country-menu-search {
padding-bottom: 6px;
border-bottom: 1px solid var(--border-subtle);
}
.hero-sms-country-menu-search-input {
width: 100%;
}
.hero-sms-country-menu-dropdown[hidden] {
display: none !important;
}
.hero-sms-country-menu-item {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
text-align: left;
}
.hero-sms-country-menu-item-label {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hero-sms-country-menu-item-badge {
flex: 0 0 auto;
min-width: 42px;
text-align: right;
color: var(--brand);
font-weight: 700;
}
.hero-sms-runtime-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px 12px;
}
.hero-sms-runtime-cell {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.hero-sms-runtime-cell-span2 {
grid-column: 1 / -1;
}
.hero-sms-runtime-key {
flex: 0 0 auto;
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
white-space: nowrap;
}
.hero-sms-runtime-value {
flex: 1 1 auto;
min-width: 0;
}
.hero-sms-price-preview-stack {
width: 100%;
display: flex;
flex-direction: column;
gap: 6px;
}
.hero-sms-price-preview-head {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: nowrap;
gap: 8px;
}
#btn-hero-sms-price-preview {
height: 33px;
min-height: 33px;
padding-top: 0;
padding-bottom: 0;
align-self: flex-start;
}
.hero-sms-price-controls-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px 12px;
}
.hero-sms-price-control {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-width: 0;
}
.hero-sms-price-control .setting-controls {
margin-left: auto;
width: 104px;
justify-content: flex-start;
}
.hero-sms-price-control-reuse {
justify-content: space-between;
}
#row-hero-sms-max-price,
#row-phone-code-settings-group {
align-items: flex-start;
}
#row-hero-sms-max-price > .data-label,
#row-phone-code-settings-group > .data-label {
padding-top: 9px;
}
.hero-sms-toggle-controls {
width: 104px;
justify-content: flex-start;
}
.hero-sms-price-preview-result {
width: 100%;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-sm);
background: var(--bg-surface);
padding: 6px 8px;
}
.hero-sms-price-preview-text {
display: block;
white-space: pre-line;
line-height: 1.45;
}
.hero-sms-settings-grid {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px 12px;
}
.hero-sms-settings-cell {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
min-width: 0;
}
.hero-sms-settings-cell .setting-controls {
margin-left: auto;
}
.hero-sms-settings-caption {
flex: 0 0 auto;
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
white-space: nowrap;
}
.data-unit {
font-size: 12px;
font-weight: 600;