Spaces:
Sleeping
Sleeping
Auto-form: demote login lock icon so it doesn't read as a button
Browse filesFlat peach-tinted tile with an orange glyph (was a solid orange-gradient
tile with a drop shadow, which competed with the real Microsoft CTA).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- auth_gate.py +4 -4
auth_gate.py
CHANGED
|
@@ -72,9 +72,9 @@ _LOGIN_CSS = """
|
|
| 72 |
.login-lock {
|
| 73 |
width: 58px; height: 58px; border-radius: 17px; margin: 0 auto 0.95rem;
|
| 74 |
display: flex; align-items: center; justify-content: center;
|
| 75 |
-
background:
|
| 76 |
-
border:
|
| 77 |
-
box-shadow:
|
| 78 |
animation: loginPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
|
| 79 |
}
|
| 80 |
.login-title {
|
|
@@ -156,7 +156,7 @@ def require_login() -> None:
|
|
| 156 |
<div class="login-body">
|
| 157 |
<div class="login-lock">
|
| 158 |
<svg width="26" height="26" viewBox="0 0 24 24" fill="none"
|
| 159 |
-
stroke="#
|
| 160 |
stroke-linejoin="round" aria-hidden="true">
|
| 161 |
<rect x="4" y="11" width="16" height="9" rx="2"></rect>
|
| 162 |
<path d="M8 11V8a4 4 0 0 1 8 0v3"></path>
|
|
|
|
| 72 |
.login-lock {
|
| 73 |
width: 58px; height: 58px; border-radius: 17px; margin: 0 auto 0.95rem;
|
| 74 |
display: flex; align-items: center; justify-content: center;
|
| 75 |
+
background: rgba(242, 106, 58, 0.12);
|
| 76 |
+
border: 1px solid rgba(242, 106, 58, 0.22);
|
| 77 |
+
box-shadow: none;
|
| 78 |
animation: loginPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
|
| 79 |
}
|
| 80 |
.login-title {
|
|
|
|
| 156 |
<div class="login-body">
|
| 157 |
<div class="login-lock">
|
| 158 |
<svg width="26" height="26" viewBox="0 0 24 24" fill="none"
|
| 159 |
+
stroke="#F26A3A" stroke-width="2" stroke-linecap="round"
|
| 160 |
stroke-linejoin="round" aria-hidden="true">
|
| 161 |
<rect x="4" y="11" width="16" height="9" rx="2"></rect>
|
| 162 |
<path d="M8 11V8a4 4 0 0 1 8 0v3"></path>
|