|
|
@@ -118,7 +118,8 @@ html, body {
|
|
|
|
|
|
.history-section .ai-history-container {
|
|
|
flex: 1;
|
|
|
- overflow: hidden;
|
|
|
+ overflow-y: auto;
|
|
|
+ overflow-x: hidden;
|
|
|
min-height: 0;
|
|
|
}
|
|
|
|
|
|
@@ -266,47 +267,96 @@ html, body {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- flex-wrap: wrap;
|
|
|
- gap: 14px;
|
|
|
+ padding: 20px 24px;
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
+ border-radius: 16px;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.points-section::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: -50%;
|
|
|
+ right: -20%;
|
|
|
+ width: 200px;
|
|
|
+ height: 200px;
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 50%;
|
|
|
+}
|
|
|
+
|
|
|
+.points-section::after {
|
|
|
+ content: '💰';
|
|
|
+ position: absolute;
|
|
|
+ right: 100px;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ font-size: 48px;
|
|
|
+ opacity: 0.15;
|
|
|
+}
|
|
|
+
|
|
|
+.points-card {
|
|
|
+ padding: 0 !important;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.points-display {
|
|
|
display: flex;
|
|
|
- align-items: baseline;
|
|
|
- gap: 8px;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 6px;
|
|
|
+}
|
|
|
+
|
|
|
+.points-value-row {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 2px;
|
|
|
+}
|
|
|
+
|
|
|
+.points-section .recharge-btn {
|
|
|
+ flex-shrink: 0;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
|
|
|
.points-label {
|
|
|
- font-size: 14px;
|
|
|
- color: #6b7280;
|
|
|
+ font-size: 13px;
|
|
|
+ color: rgba(255, 255, 255, 0.8);
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
|
|
|
.points-value {
|
|
|
- font-size: 28px;
|
|
|
- font-weight: 700;
|
|
|
- color: #667eea;
|
|
|
+ font-size: 36px;
|
|
|
+ font-weight: 800;
|
|
|
+ color: white;
|
|
|
+ text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
|
|
|
+ line-height: 1;
|
|
|
}
|
|
|
|
|
|
.points-unit {
|
|
|
font-size: 14px;
|
|
|
- color: #6b7280;
|
|
|
+ color: rgba(255, 255, 255, 0.75);
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
|
|
|
.recharge-btn {
|
|
|
- padding: 8px 20px;
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
- color: white;
|
|
|
+ padding: 12px 28px;
|
|
|
+ background: white;
|
|
|
+ color: #667eea;
|
|
|
border: none;
|
|
|
- border-radius: 8px;
|
|
|
- font-size: 13px;
|
|
|
- font-weight: 600;
|
|
|
+ border-radius: 25px;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 700;
|
|
|
cursor: pointer;
|
|
|
- transition: all 0.2s;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
|
|
|
}
|
|
|
|
|
|
.recharge-btn:hover {
|
|
|
- transform: translateY(-1px);
|
|
|
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
|
|
+ transform: translateY(-2px) scale(1.02);
|
|
|
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+.recharge-btn:active {
|
|
|
+ transform: translateY(0) scale(0.98);
|
|
|
}
|
|
|
|
|
|
.ai-history-container {
|
|
|
@@ -326,33 +376,37 @@ html, body {
|
|
|
|
|
|
.history-grid {
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
|
- gap: 12px;
|
|
|
- padding: 4px;
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
|
+ gap: 16px;
|
|
|
+ padding: 8px;
|
|
|
overflow: visible;
|
|
|
}
|
|
|
|
|
|
.history-item {
|
|
|
position: relative;
|
|
|
- border-radius: 12px;
|
|
|
+ border-radius: 16px;
|
|
|
overflow: hidden;
|
|
|
- background: #f9fafb;
|
|
|
+ background: white;
|
|
|
aspect-ratio: 1;
|
|
|
- border: 2px solid #e5e5e5;
|
|
|
- transition: all 0.3s ease;
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
+ transition: all 0.25s ease;
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
|
}
|
|
|
|
|
|
.history-item:hover {
|
|
|
border-color: #667eea;
|
|
|
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
|
|
|
- transform: translateY(-2px);
|
|
|
+ box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
|
|
|
+ transform: translateY(-4px);
|
|
|
+}
|
|
|
+
|
|
|
+.history-item.completed {
|
|
|
+ cursor: zoom-in;
|
|
|
}
|
|
|
|
|
|
.history-item.rendering {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
|
|
|
}
|
|
|
|
|
|
.history-item.rendering .rendering-content {
|
|
|
@@ -424,12 +478,12 @@ html, body {
|
|
|
.history-item.rendering,
|
|
|
.history-item.queued {
|
|
|
overflow: hidden;
|
|
|
- background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
|
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
}
|
|
|
|
|
|
.history-item.failed {
|
|
|
overflow: hidden;
|
|
|
- background: linear-gradient(135deg, #2d1b1b 0%, #1a1a1a 100%);
|
|
|
+ background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
|
|
|
}
|
|
|
|
|
|
.history-item.failed .failed-content {
|
|
|
@@ -458,14 +512,14 @@ html, body {
|
|
|
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
|
|
|
-/* 重新生图按钮 */
|
|
|
-.history-item.failed .retry-btn {
|
|
|
+/* 删除按钮 */
|
|
|
+.history-item.failed .delete-btn {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: 6px;
|
|
|
margin-top: 8px;
|
|
|
padding: 8px 16px;
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
+ background: rgba(239, 68, 68, 0.8);
|
|
|
color: white;
|
|
|
border: none;
|
|
|
border-radius: 20px;
|
|
|
@@ -473,47 +527,33 @@ html, body {
|
|
|
font-weight: 600;
|
|
|
cursor: pointer;
|
|
|
transition: all 0.3s ease;
|
|
|
- box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
|
}
|
|
|
|
|
|
-.history-item.failed .retry-btn:hover {
|
|
|
+.history-item.failed .delete-btn:hover {
|
|
|
+ background: rgba(239, 68, 68, 1);
|
|
|
transform: translateY(-2px);
|
|
|
- box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
|
|
|
}
|
|
|
|
|
|
-.history-item.failed .retry-btn:active {
|
|
|
+.history-item.failed .delete-btn:active {
|
|
|
transform: translateY(0);
|
|
|
}
|
|
|
|
|
|
-.history-item.failed .retry-btn svg {
|
|
|
+.history-item.failed .delete-btn svg {
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
-/* 已重试标记 */
|
|
|
-.history-item.failed .retried-badge {
|
|
|
- margin-top: 8px;
|
|
|
- padding: 4px 12px;
|
|
|
- background: rgba(100, 100, 100, 0.6);
|
|
|
- color: #999;
|
|
|
- border-radius: 12px;
|
|
|
- font-size: 11px;
|
|
|
- font-weight: 500;
|
|
|
-}
|
|
|
-
|
|
|
.history-item-time {
|
|
|
position: absolute;
|
|
|
- bottom: 4px;
|
|
|
- left: 4px;
|
|
|
- right: 4px;
|
|
|
- font-size: 10px;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ font-size: 11px;
|
|
|
color: #fff;
|
|
|
- background: rgba(0, 0, 0, 0.6);
|
|
|
- padding: 2px 6px;
|
|
|
- border-radius: 4px;
|
|
|
+ background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
|
+ padding: 20px 10px 8px;
|
|
|
text-align: center;
|
|
|
font-weight: 500;
|
|
|
z-index: 3;
|
|
|
- backdrop-filter: blur(4px);
|
|
|
}
|
|
|
|
|
|
@keyframes spin {
|
|
|
@@ -523,73 +563,15 @@ html, body {
|
|
|
.history-item-image {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- object-fit: cover;
|
|
|
-}
|
|
|
-
|
|
|
-.history-item-overlay {
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- background: rgba(0, 0, 0, 0.5);
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- opacity: 0;
|
|
|
- transition: opacity 0.3s;
|
|
|
-}
|
|
|
-
|
|
|
-.history-item:hover .history-item-overlay {
|
|
|
- opacity: 1;
|
|
|
-}
|
|
|
-
|
|
|
-/* 操作按钮组 */
|
|
|
-.history-item-actions {
|
|
|
- display: flex;
|
|
|
- gap: 12px;
|
|
|
-}
|
|
|
-
|
|
|
-.history-action-btn {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- gap: 6px;
|
|
|
- padding: 12px 20px;
|
|
|
- background: rgba(255, 255, 255, 0.95);
|
|
|
- color: #667eea;
|
|
|
- border: none;
|
|
|
- border-radius: 12px;
|
|
|
- cursor: pointer;
|
|
|
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
- box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
|
- transform: translateY(10px);
|
|
|
- opacity: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.history-item:hover .history-action-btn {
|
|
|
- transform: translateY(0);
|
|
|
- opacity: 1;
|
|
|
-}
|
|
|
-
|
|
|
-.history-item:hover .history-action-btn:nth-child(2) {
|
|
|
- transition-delay: 0.05s;
|
|
|
-}
|
|
|
-
|
|
|
-.history-action-btn span {
|
|
|
- font-size: 12px;
|
|
|
- font-weight: 600;
|
|
|
-}
|
|
|
-
|
|
|
-.history-action-btn:hover {
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
- color: white;
|
|
|
- transform: translateY(-2px) scale(1.05) !important;
|
|
|
- box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
|
|
|
+ object-fit: contain;
|
|
|
+ background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
|
|
+ padding: 12px;
|
|
|
+ cursor: zoom-in;
|
|
|
+ transition: transform 0.25s ease;
|
|
|
}
|
|
|
|
|
|
-.history-action-btn:active {
|
|
|
- transform: translateY(0) scale(0.98) !important;
|
|
|
+.history-item:hover .history-item-image {
|
|
|
+ transform: scale(1.03);
|
|
|
}
|
|
|
|
|
|
/* 图片预览弹窗 */
|
|
|
@@ -735,76 +717,29 @@ html, body {
|
|
|
/* 购买记录样式 */
|
|
|
.purchase-grid {
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
|
|
|
- gap: 20px;
|
|
|
- padding: 12px;
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
|
+ gap: 16px;
|
|
|
+ padding: 8px;
|
|
|
overflow-y: auto;
|
|
|
max-height: 100%;
|
|
|
}
|
|
|
|
|
|
.purchase-item {
|
|
|
position: relative;
|
|
|
- border-radius: 20px;
|
|
|
+ border-radius: 16px;
|
|
|
overflow: hidden;
|
|
|
background: white;
|
|
|
- aspect-ratio: 0.82;
|
|
|
- border: 1px solid rgba(102, 126, 234, 0.08);
|
|
|
- transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
+ transition: all 0.25s ease;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- box-shadow:
|
|
|
- 0 4px 20px rgba(102, 126, 234, 0.08),
|
|
|
- 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-item::before {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- height: 4px;
|
|
|
- background: linear-gradient(90deg, #667eea 0%, #764ba2 40%, #f093fb 70%, #667eea 100%);
|
|
|
- background-size: 200% 100%;
|
|
|
- opacity: 0;
|
|
|
- transition: opacity 0.3s ease;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-item::after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- top: 8px;
|
|
|
- right: 8px;
|
|
|
- width: 28px;
|
|
|
- height: 28px;
|
|
|
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
|
|
|
- border-radius: 50%;
|
|
|
- opacity: 0;
|
|
|
- transition: all 0.3s ease;
|
|
|
- z-index: 1;
|
|
|
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
|
}
|
|
|
|
|
|
.purchase-item:hover {
|
|
|
- transform: translateY(-8px);
|
|
|
- border-color: rgba(102, 126, 234, 0.2);
|
|
|
- box-shadow:
|
|
|
- 0 24px 48px rgba(102, 126, 234, 0.18),
|
|
|
- 0 12px 24px rgba(0, 0, 0, 0.06);
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-item:hover::before {
|
|
|
- opacity: 1;
|
|
|
- animation: shimmer 2s ease-in-out infinite;
|
|
|
-}
|
|
|
-
|
|
|
-.purchase-item:hover::after {
|
|
|
- opacity: 1;
|
|
|
- transform: scale(1.2);
|
|
|
-}
|
|
|
-
|
|
|
-@keyframes shimmer {
|
|
|
- 0% { background-position: 200% 0; }
|
|
|
- 100% { background-position: -200% 0; }
|
|
|
+ transform: translateY(-4px);
|
|
|
+ border-color: #667eea;
|
|
|
+ box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
|
|
|
}
|
|
|
|
|
|
.purchase-item.deleted {
|
|
|
@@ -814,39 +749,34 @@ html, body {
|
|
|
|
|
|
.purchase-item-image {
|
|
|
width: 100%;
|
|
|
- height: 62%;
|
|
|
+ height: 140px;
|
|
|
object-fit: contain;
|
|
|
- background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 50%, #e8ecf2 100%);
|
|
|
- padding: 16px;
|
|
|
- transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
- position: relative;
|
|
|
+ background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
|
|
+ padding: 20px;
|
|
|
+ transition: transform 0.3s ease;
|
|
|
}
|
|
|
|
|
|
.purchase-item:hover .purchase-item-image {
|
|
|
- transform: scale(1.08);
|
|
|
- filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
|
|
|
+ transform: scale(1.05);
|
|
|
}
|
|
|
|
|
|
.purchase-item-placeholder {
|
|
|
width: 100%;
|
|
|
- height: 62%;
|
|
|
+ height: 140px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
|
|
|
+ background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
|
|
color: #9ca3af;
|
|
|
font-size: 32px;
|
|
|
}
|
|
|
|
|
|
.purchase-item-info {
|
|
|
- padding: 14px 16px;
|
|
|
- flex: 1;
|
|
|
+ padding: 14px 16px 16px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
|
|
|
- border-top: 1px solid rgba(102, 126, 234, 0.06);
|
|
|
- position: relative;
|
|
|
+ gap: 8px;
|
|
|
+ border-top: 1px solid #f1f5f9;
|
|
|
}
|
|
|
|
|
|
.purchase-item-overlay {
|
|
|
@@ -911,55 +841,48 @@ html, body {
|
|
|
|
|
|
.purchase-item-name {
|
|
|
font-size: 14px;
|
|
|
- font-weight: 700;
|
|
|
+ font-weight: 600;
|
|
|
color: #1f2937;
|
|
|
- margin-bottom: 6px;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
- letter-spacing: -0.2px;
|
|
|
- line-height: 1.3;
|
|
|
+ line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.purchase-item-category {
|
|
|
font-size: 11px;
|
|
|
- color: #6b7280;
|
|
|
- margin-bottom: 8px;
|
|
|
+ color: #667eea;
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
- gap: 6px;
|
|
|
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
|
|
|
- padding: 3px 10px;
|
|
|
- border-radius: 12px;
|
|
|
+ gap: 4px;
|
|
|
+ background: rgba(102, 126, 234, 0.1);
|
|
|
+ padding: 3px 8px;
|
|
|
+ border-radius: 4px;
|
|
|
width: fit-content;
|
|
|
}
|
|
|
|
|
|
.purchase-item-category::before {
|
|
|
content: '';
|
|
|
display: inline-block;
|
|
|
- width: 5px;
|
|
|
- height: 5px;
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
+ width: 4px;
|
|
|
+ height: 4px;
|
|
|
+ background: #667eea;
|
|
|
border-radius: 50%;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.purchase-item-price {
|
|
|
- font-size: 13px;
|
|
|
- font-weight: 800;
|
|
|
- color: transparent;
|
|
|
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
|
- -webkit-background-clip: text;
|
|
|
- background-clip: text;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: #10b981;
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
- gap: 3px;
|
|
|
- letter-spacing: -0.3px;
|
|
|
+ gap: 2px;
|
|
|
}
|
|
|
|
|
|
.purchase-item-price::before {
|
|
|
- content: '💎';
|
|
|
- font-size: 11px;
|
|
|
+ content: '💰';
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.purchase-item-deleted-badge {
|
|
|
@@ -1012,3 +935,168 @@ html, body {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+/* 下载确认对话框 */
|
|
|
+.download-confirm-overlay {
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgba(0, 0, 0, 0.7);
|
|
|
+ display: none;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ z-index: 10000000;
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
+ animation: overlayFadeIn 0.3s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes overlayFadeIn {
|
|
|
+ from {
|
|
|
+ background: rgba(0, 0, 0, 0);
|
|
|
+ backdrop-filter: blur(0);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ background: rgba(0, 0, 0, 0.7);
|
|
|
+ backdrop-filter: blur(4px);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-modal {
|
|
|
+ background: white;
|
|
|
+ border-radius: 16px;
|
|
|
+ padding: 0;
|
|
|
+ max-width: 600px;
|
|
|
+ width: 90%;
|
|
|
+ max-height: 90vh;
|
|
|
+ overflow: hidden;
|
|
|
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
|
+ animation: modalSlideIn 0.3s ease-out;
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes modalSlideIn {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(-30px) scale(0.95);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0) scale(1);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-header {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 24px;
|
|
|
+ border-bottom: 1px solid #e5e7eb;
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-header h3 {
|
|
|
+ margin: 0;
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #111827;
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-close {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: #f3f4f6;
|
|
|
+ border: none;
|
|
|
+ color: #6b7280;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ transition: all 0.2s;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-close:hover {
|
|
|
+ background: #e5e7eb;
|
|
|
+ color: #374151;
|
|
|
+}
|
|
|
+
|
|
|
+.download-confirm-content {
|
|
|
+ padding: 24px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 16px;
|
|
|
+ padding: 20px;
|
|
|
+ border: 2px solid #e5e7eb;
|
|
|
+ border-radius: 12px;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s;
|
|
|
+ background: #f9fafb;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option:hover {
|
|
|
+ border-color: #667eea;
|
|
|
+ background: #f0f4ff;
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-icon {
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ flex-shrink: 0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: #667eea;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-icon svg {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-info {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #111827;
|
|
|
+ margin-bottom: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-desc {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #6b7280;
|
|
|
+ line-height: 1.5;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option-price {
|
|
|
+ margin-top: 8px;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: #667eea;
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
|
|
|
+ padding: 6px 12px;
|
|
|
+ border-radius: 8px;
|
|
|
+ display: inline-block;
|
|
|
+ border: 2px solid rgba(102, 126, 234, 0.3);
|
|
|
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+}
|
|
|
+
|
|
|
+.download-option:hover .download-option-price {
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
|
|
|
+ border-color: rgba(102, 126, 234, 0.5);
|
|
|
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
|
|
|
+ transform: scale(1.05);
|
|
|
+}
|