Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -533,7 +533,7 @@ async def predict(image):
|
|
533 |
display: inline-flex;
|
534 |
align-items: center;
|
535 |
padding: 12px 24px;
|
536 |
-
background
|
537 |
color: white;
|
538 |
border-radius: 8px;
|
539 |
text-decoration: none;
|
@@ -541,12 +541,18 @@ async def predict(image):
|
|
541 |
transition: all 0.3s ease;
|
542 |
font-weight: 600;
|
543 |
font-size: 1.1em;
|
|
|
|
|
|
|
544 |
}}
|
545 |
|
546 |
.akc-button:hover {{
|
547 |
-
background
|
548 |
transform: translateY(-1px);
|
549 |
color: white;
|
|
|
|
|
|
|
550 |
}}
|
551 |
|
552 |
.warning-message {{
|
|
|
533 |
display: inline-flex;
|
534 |
align-items: center;
|
535 |
padding: 12px 24px;
|
536 |
+
background: linear-gradient(145deg, #00509E, #003F7F);
|
537 |
color: white;
|
538 |
border-radius: 8px;
|
539 |
text-decoration: none;
|
|
|
541 |
transition: all 0.3s ease;
|
542 |
font-weight: 600;
|
543 |
font-size: 1.1em;
|
544 |
+
box-shadow:
|
545 |
+
0 2px 4px rgba(0,0,0,0.1),
|
546 |
+
inset 0 1px 1px rgba(255,255,255,0.1);
|
547 |
}}
|
548 |
|
549 |
.akc-button:hover {{
|
550 |
+
background: linear-gradient(145deg, #003F7F, #00509E); /* 懸停時反轉漸層方向 */
|
551 |
transform: translateY(-1px);
|
552 |
color: white;
|
553 |
+
box-shadow:
|
554 |
+
0 4px 8px rgba(0,0,0,0.15),
|
555 |
+
inset 0 1px 1px rgba(255,255,255,0.2);
|
556 |
}}
|
557 |
|
558 |
.warning-message {{
|