/* personalSubpage.css - 现代化设计 */ | |
/* 上传记录表格样式 */ | |
.uploads-table { | |
width: 100%; | |
border-collapse: separate; | |
border-spacing: 0; | |
margin-top: 25px; | |
background: white; | |
border-radius: 12px; | |
overflow: hidden; | |
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); | |
} | |
.uploads-table th, .uploads-table td { | |
padding: 15px; | |
text-align: left; | |
border-bottom: 1px solid #f0f2f5; | |
} | |
.uploads-table th { | |
background-color: #1e3c72; | |
color: white; | |
font-weight: 600; | |
text-transform: uppercase; | |
font-size: 14px; | |
} | |
.uploads-table tr:last-child td { | |
border-bottom: none; | |
} | |
.uploads-table tr:hover td { | |
background-color: #f9fafc; | |
} | |
/* 操作按钮样式 */ | |
.action-btn { | |
padding: 8px 16px; | |
border: none; | |
border-radius: 6px; | |
cursor: pointer; | |
font-size: 14px; | |
font-weight: 600; | |
transition: all 0.3s; | |
display: inline-flex; | |
align-items: center; | |
gap: 5px; | |
} | |
.delete-btn { | |
background: linear-gradient(135deg, #ff4d4f 0%, #f5222d 100%); | |
color: white; | |
} | |
.delete-btn:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3); | |
} | |
/* 分页控件样式 */ | |
.pagination { | |
margin-top: 30px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
gap: 10px; | |
flex-wrap: wrap; | |
} | |
.page-nav, .page-number { | |
padding: 8px 16px; | |
border: 1px solid #d9d9d9; | |
background-color: white; | |
color:#333; | |
border-radius: 6px; | |
cursor: pointer; | |
min-width: 40px; | |
text-align: center; | |
transition: all 0.3s; | |
font-weight: 600; | |
} | |
.page-nav:disabled, .page-number:disabled { | |
color: #070202; | |
cursor: not-allowed; | |
} | |
.page-nav:not(:disabled):hover, | |
.page-number:not(:disabled):hover { | |
border-color: #1e3c72; | |
color: #1e3c72; | |
transform: translateY(-2px); | |
} | |
.page-number.active { | |
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
color: white; | |
border-color: #1e3c72; | |
} | |
.ellipsis { | |
padding: 0 12px; | |
} | |
.page-info { | |
display: flex; | |
align-items: center; | |
gap: 10px; | |
margin-left: 20px; | |
} | |
.page-info input { | |
width: 60px; | |
padding: 8px; | |
border: 1px solid #d9d9d9; | |
border-radius: 6px; | |
text-align: center; | |
font-weight: 600; | |
} | |
.page-info input:focus { | |
outline: none; | |
border-color: #1e3c72; | |
box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2); | |
} | |
/* 兑换区样式 */ | |
.exchange-section { | |
margin-top: 30px; | |
padding: 25px; | |
background: white; | |
border-radius: 12px; | |
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); | |
} | |
.exchange-card { | |
margin-bottom: 25px; | |
padding: 20px; | |
background: #f9fafc; | |
border-radius: 10px; | |
border: 1px solid #f0f2f5; | |
transition: all 0.3s; | |
} | |
.exchange-card:hover { | |
transform: translateY(-3px); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
} | |
.exchange-card h4 { | |
margin-top: 0; | |
color: #1e3c72; | |
font-size: 18px; | |
} | |
.exchange-card p { | |
color: #666; | |
margin-bottom: 20px; | |
font-size: 15px; | |
} | |
.exchange-btn { | |
padding: 10px 20px; | |
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
color: white; | |
border: none; | |
border-radius: 6px; | |
cursor: pointer; | |
font-weight: 600; | |
transition: all 0.3s; | |
display: inline-flex; | |
align-items: center; | |
gap: 8px; | |
} | |
.exchange-btn:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3); | |
} | |
.exchange-btn:disabled { | |
background: #d9d9d9; | |
cursor: not-allowed; | |
transform: none; | |
box-shadow: none; | |
} | |
.exchange-input-group { | |
display: flex; | |
gap: 15px; | |
margin-top: 15px; | |
} | |
.exchange-input-group input { | |
flex: 1; | |
padding: 10px; | |
border: 1px solid #d9d9d9; | |
border-radius: 6px; | |
font-size: 15px; | |
} | |
.exchange-input-group input:focus { | |
outline: none; | |
border-color: #1e3c72; | |
box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2); | |
} | |
.invite-code-list { | |
margin-top: 25px; | |
} | |
.invite-code-list ul { | |
list-style: none; | |
padding: 0; | |
margin: 0; | |
} | |
.invite-code-list li { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
padding: 15px; | |
border-bottom: 1px solid #f0f2f5; | |
transition: all 0.3s; | |
} | |
.invite-code-list li:hover { | |
background-color: #f9fafc; | |
} | |
.invite-code-list .code { | |
font-family: monospace; | |
font-size: 16px; | |
color: #1e3c72; | |
} | |
.invite-code-list .status { | |
padding: 4px 12px; | |
border-radius: 20px; | |
font-size: 13px; | |
font-weight: 600; | |
} | |
.invite-code-list .status.available { | |
background: linear-gradient(135deg, #52c41a 0%, #a0d911 100%); | |
color: white; | |
} | |
.invite-code-list .status.used { | |
background: linear-gradient(135deg, #ff4d4f 0%, #f5222d 100%); | |
color: white; | |
} | |
/* 设置页面样式 */ | |
.setting-section { | |
max-width: 800px; | |
margin: 0 auto; | |
padding: 25px; | |
background: white; | |
border-radius: 12px; | |
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); | |
} | |
.user-info-card, .password-form-card { | |
background: #f9fafc; | |
border-radius: 10px; | |
padding: 25px; | |
margin-bottom: 25px; | |
border: 1px solid #f0f2f5; | |
} | |
.info-item { | |
display: flex; | |
margin-bottom: 15px; | |
align-items: center; | |
} | |
.info-item label { | |
font-weight: 600; | |
width: 150px; | |
color: #1e3c72; | |
} | |
.info-item span { | |
flex: 1; | |
color: #333; | |
} | |
.info-note { | |
color: #666; | |
font-size: 14px; | |
margin-top: 15px; | |
line-height: 1.6; | |
} | |
.form-group { | |
margin-bottom: 20px; | |
} | |
.form-group label { | |
display: block; | |
margin-bottom: 8px; | |
font-weight: 600; | |
color: #1e3c72; | |
} | |
.form-group input { | |
width: 100%; | |
padding: 12px; | |
border: 1px solid #d9d9d9; | |
border-radius: 6px; | |
box-sizing: border-box; | |
font-size: 15px; | |
transition: all 0.3s; | |
} | |
.form-group input:focus { | |
outline: none; | |
border-color: #1e3c72; | |
box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2); | |
} | |
.submit-button { | |
padding: 12px 24px; | |
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
color: white; | |
border: none; | |
border-radius: 6px; | |
cursor: pointer; | |
font-size: 16px; | |
font-weight: 600; | |
transition: all 0.3s; | |
} | |
.submit-button:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3); | |
} | |
.submit-button:disabled { | |
background: #d9d9d9; | |
cursor: not-allowed; | |
transform: none; | |
box-shadow: none; | |
} | |
.error-message { | |
color: #ff4d4f; | |
margin-bottom: 20px; | |
padding: 10px; | |
background: #fff2f0; | |
border-radius: 6px; | |
border: 1px solid #ffccc7; | |
} | |
.success-message { | |
color: #52c41a; | |
margin-bottom: 20px; | |
padding: 10px; | |
background: #f6ffed; | |
border-radius: 6px; | |
border: 1px solid #b7eb8f; | |
} | |
.subpage-container { | |
max-width: 800px; | |
margin: 0 auto; | |
padding: 25px; | |
animation: fadeIn 0.5s ease-out forwards; | |
} | |
.back-button { | |
display: inline-flex; | |
align-items: center; | |
gap: 8px; | |
padding: 8px 16px; | |
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
color: white; | |
border: none; | |
border-radius: 6px; | |
font-weight: 600; | |
cursor: pointer; | |
transition: all 0.3s; | |
margin-bottom: 30px; | |
box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2); | |
} | |
.back-button:hover { | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3); | |
} | |
.back-button::before { | |
content: "←"; | |
} | |
.page-title { | |
font-size: 24px; | |
margin: 0 0 25px; | |
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
font-weight: 800; | |
padding-bottom: 10px; | |
border-bottom: 2px solid #f0f2f5; | |
} | |
.loading-message, .error-message { | |
padding: 15px; | |
border-radius: 8px; | |
margin-bottom: 20px; | |
text-align: center; | |
} | |
.loading-message { | |
background-color: #f5f5f5; | |
color: #666; | |
} | |
.error-message { | |
background-color: #fff2f0; | |
color: #ff4d4f; | |
border: 1px solid #ffccc7; | |
} | |
.notice-list { | |
background: white; | |
border-radius: 12px; | |
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); | |
overflow: hidden; | |
} | |
.empty-notice { | |
text-align: center; | |
padding: 50px 20px; | |
color: #666; | |
font-size: 16px; | |
} | |
.list-item { | |
padding: 20px; | |
border-bottom: 1px solid #f0f2f5; | |
transition: all 0.3s; | |
cursor: pointer; | |
} | |
.list-item:last-child { | |
border-bottom: none; | |
} | |
.list-item:hover { | |
background-color: #f9fafc; | |
transform: translateX(5px); | |
} | |
.list-item.unread { | |
background-color: #f0f7ff; | |
} | |
.notice-header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 10px; | |
} | |
.notice-header h3 { | |
margin: 0; | |
font-size: 18px; | |
color: #1e3c72; | |
font-weight: 600; | |
} | |
.notice-date { | |
font-size: 14px; | |
color: #888; | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
} | |
.unread-badge { | |
background: #ff4d4f; | |
color: white; | |
font-size: 12px; | |
padding: 2px 8px; | |
border-radius: 10px; | |
font-weight: 500; | |
} | |
.notice-content { | |
margin: 0; | |
color: #333; | |
line-height: 1.6; | |
font-size: 15px; | |
} | |
/* 动画效果 */ | |
@keyframes fadeIn { | |
from { opacity: 0; transform: translateY(10px); } | |
to { opacity: 1; transform: translateY(0); } | |
} | |
/* 响应式设计 */ | |
@media (max-width: 768px) { | |
} | |
/* 响应式设计 */ | |
@media (max-width: 768px) { | |
.uploads-table { | |
display: block; | |
overflow-x: auto; | |
} | |
.exchange-input-group { | |
flex-direction: column; | |
} | |
.info-item { | |
flex-direction: column; | |
align-items: flex-start; | |
} | |
.info-item label { | |
width: 100%; | |
margin-bottom: 5px; | |
} | |
.pagination { | |
flex-direction: column; | |
align-items: center; | |
} | |
.page-info { | |
margin-left: 0; | |
margin-top: 15px; | |
} | |
.subpage-container { | |
padding: 15px; | |
} | |
.notice-header { | |
flex-direction: column; | |
align-items: flex-start; | |
gap: 5px; | |
} | |
.list-item:hover { | |
transform: none; | |
} | |
} |