Skip to content

Commit 052969e

Browse files
committed
v14.0-G6: inline send button inside code input field (blue text, no bg)
1 parent 7dfe265 commit 052969e

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

extension/src/sidebarProvider.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,16 +1702,15 @@ ${commonRules}`;
17021702
}
17031703
.sdrop-eye-btn:hover { opacity: 1; }
17041704
.sdrop-eye-btn:focus { outline: none; }
1705-
/* 发送验证码按钮 */
1706-
.sdrop-code-row { display: flex; gap: 4px; margin-bottom: 5px; }
1707-
.sdrop-code-row input { flex: 1; min-width: 0; width: auto; margin-bottom: 0; }
1705+
/* 发送验证码 — 嵌入式蓝字按钮 */
17081706
.sdrop-send-code-btn {
1709-
flex-shrink: 0; height: 28px; padding: 0 8px; font-size: 10px; font-weight: 600;
1710-
background: var(--btn-bg); color: var(--btn-fg);
1711-
border: none; border-radius: 3px; cursor: pointer;
1712-
white-space: nowrap; line-height: 28px;
1707+
flex-shrink: 0; padding: 0 8px; height: 100%;
1708+
background: none; border: none; cursor: pointer;
1709+
font-size: 11px; font-weight: 600; color: var(--btn-bg);
1710+
white-space: nowrap; outline: none;
17131711
}
17141712
.sdrop-send-code-btn:disabled { opacity: 0.4; cursor: not-allowed; }
1713+
.sdrop-send-code-btn:hover:not(:disabled) { opacity: 0.75; }
17151714
.sdrop-login-btn {
17161715
width: 100%; height: 28px; padding: 0 6px; font-size: 11px; font-weight: 600;
17171716
background: var(--btn-bg); color: var(--btn-fg);
@@ -1783,7 +1782,7 @@ ${commonRules}`;
17831782
<div id="registerForm" style="display:none">
17841783
<div id="regError" class="auth-error"></div>
17851784
<input id="regEmail" type="email" placeholder="邮箱地址" autocomplete="email" />
1786-
<div class="sdrop-code-row">
1785+
<div class="sdrop-pass-wrap">
17871786
<input id="regCode" type="text" placeholder="邮箱验证码(6位)" autocomplete="off" maxlength="6" />
17881787
<button class="sdrop-send-code-btn" id="btnSendCode">发送</button>
17891788
</div>

0 commit comments

Comments
 (0)