- 新增「简记memo」一体化小程序产品原型设计文档 - 新增简记memo完整版UI视觉设计规范和界面细节 - 添加IDEA项目配置文件.gitignore - 创建404页面HTML文件,包含响应式布局和错误提示 - 添加关于页面HTML文件,展示品牌介绍和团队信息 - 实现AES加解密工具函数,支持请求体加密 - 添加用户协议页面基础框架
1242 lines
24 KiB
CSS
1242 lines
24 KiB
CSS
/* ===================================
|
|
简记 · 事与钱 - 公共样式
|
|
清新美观 · 响应式设计
|
|
=================================== */
|
|
|
|
/* CSS Variables */
|
|
:root {
|
|
/* 主色调 - 清新蓝色渐变 */
|
|
--primary-color: #4F9EDE;
|
|
--primary-light: #67B8E3;
|
|
--primary-dark: #3A8BC9;
|
|
|
|
/* 渐变色 */
|
|
--gradient-primary: linear-gradient(135deg, #4F9EDE 0%, #3A8BC9 100%);
|
|
--gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
|
--gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
|
|
--gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
|
--gradient-info: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
|
|
|
|
/* 中性色 */
|
|
--white: #ffffff;
|
|
--gray-50: #f7fafc;
|
|
--gray-100: #edf2f7;
|
|
--gray-200: #e2e8f0;
|
|
--gray-300: #cbd5e0;
|
|
--gray-400: #a0aec0;
|
|
--gray-500: #718096;
|
|
--gray-600: #4a5568;
|
|
--gray-700: #2d3748;
|
|
--gray-800: #1a202c;
|
|
--gray-900: #171923;
|
|
|
|
/* 文字颜色 */
|
|
--text-primary: #2d3748;
|
|
--text-secondary: #718096;
|
|
--text-muted: #a0aec0;
|
|
|
|
/* 阴影 */
|
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
--shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
|
|
/* 圆角 */
|
|
--radius-sm: 0.375rem;
|
|
--radius: 0.5rem;
|
|
--radius-md: 0.75rem;
|
|
--radius-lg: 1rem;
|
|
--radius-xl: 1.5rem;
|
|
--radius-full: 9999px;
|
|
|
|
/* 间距 */
|
|
--spacing-xs: 0.25rem;
|
|
--spacing-sm: 0.5rem;
|
|
--spacing: 1rem;
|
|
--spacing-md: 1.5rem;
|
|
--spacing-lg: 2rem;
|
|
--spacing-xl: 3rem;
|
|
--spacing-2xl: 4rem;
|
|
|
|
/* 过渡 */
|
|
--transition-fast: all 0.15s ease-in-out;
|
|
--transition: all 0.3s ease-in-out;
|
|
--transition-slow: all 0.5s ease-in-out;
|
|
}
|
|
|
|
/* Reset & Base */
|
|
*, *::before, *::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-primary);
|
|
background: var(--gray-50);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--spacing-lg);
|
|
}
|
|
|
|
.container-sm {
|
|
max-width: 800px;
|
|
}
|
|
|
|
.container-lg {
|
|
max-width: 1400px;
|
|
}
|
|
|
|
/* ===================================
|
|
Header & Navigation
|
|
=================================== */
|
|
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
box-shadow: var(--shadow-sm);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.header-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 72px;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.login-btn,
|
|
.profile-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
border-radius: var(--radius-full);
|
|
text-decoration: none;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.login-btn:hover,
|
|
.profile-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.login-icon,
|
|
.profile-icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--gradient-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--white);
|
|
font-size: 1.25rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.logo-icon img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-xl);
|
|
}
|
|
|
|
.nav-link {
|
|
position: relative;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
padding: var(--spacing-sm) 0;
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link.active {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--gradient-primary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-link:hover::after,
|
|
.nav-link.active::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
padding: var(--spacing-sm);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-menu-btn span {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--text-primary);
|
|
margin: 6px 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
/* ===================================
|
|
Hero Section
|
|
=================================== */
|
|
|
|
.hero {
|
|
padding: 140px 0 80px;
|
|
background: var(--gradient-primary);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
text-align: center;
|
|
color: var(--white);
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
margin-bottom: var(--spacing-lg);
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.25rem;
|
|
line-height: 1.8;
|
|
opacity: 0.95;
|
|
margin-bottom: var(--spacing-xl);
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* ===================================
|
|
Buttons
|
|
=================================== */
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--spacing-sm);
|
|
padding: 14px 32px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-full);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--white);
|
|
color: var(--primary-color);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: var(--white);
|
|
border: 2px solid var(--white);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.btn-gradient {
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.btn-gradient:hover {
|
|
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 10px 20px;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 18px 40px;
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
/* ===================================
|
|
Cards
|
|
=================================== */
|
|
|
|
.card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--spacing-xl);
|
|
box-shadow: var(--shadow);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.card-header {
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.card-subtitle {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.card-body {
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* Feature Card */
|
|
.feature-card {
|
|
text-align: center;
|
|
padding: var(--spacing-xl);
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto var(--spacing-lg);
|
|
border-radius: var(--radius-xl);
|
|
background: var(--gradient-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.feature-card h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Level Card */
|
|
.level-card {
|
|
text-align: center;
|
|
padding: var(--spacing-xl);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.level-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: var(--gradient-primary);
|
|
}
|
|
|
|
.level-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 0 auto var(--spacing-lg);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 3rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.level-card h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.level-exp {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.level-badge {
|
|
display: inline-block;
|
|
padding: 6px 16px;
|
|
background: var(--gray-100);
|
|
color: var(--primary-color);
|
|
border-radius: var(--radius-full);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Achievement Card */
|
|
.achievement-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-md);
|
|
padding: var(--spacing-lg);
|
|
background: var(--gray-50);
|
|
border-radius: var(--radius-lg);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.achievement-card:hover {
|
|
background: var(--gray-100);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.achievement-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: var(--radius-lg);
|
|
background: var(--gradient-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.achievement-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.achievement-info h4 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.achievement-info p {
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.achievement-reward {
|
|
font-size: 0.75rem;
|
|
color: var(--primary-color);
|
|
font-weight: 600;
|
|
background: rgba(102, 126, 234, 0.1);
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
/* ===================================
|
|
Sections
|
|
=================================== */
|
|
|
|
.section {
|
|
padding: var(--spacing-2xl) 0;
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 1.125rem;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-light {
|
|
background: var(--white);
|
|
}
|
|
|
|
.section-gray {
|
|
background: var(--gray-50);
|
|
}
|
|
|
|
.section-gradient {
|
|
background: var(--gradient-primary);
|
|
color: var(--white);
|
|
}
|
|
|
|
.section-gradient .section-title {
|
|
color: var(--white);
|
|
}
|
|
|
|
.section-gradient .section-subtitle {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
/* ===================================
|
|
Grid Layouts
|
|
=================================== */
|
|
|
|
.grid {
|
|
display: grid;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.grid-2 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.grid-3 {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.grid-4 {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.grid-auto {
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
}
|
|
|
|
/* ===================================
|
|
Stats
|
|
=================================== */
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 3rem;
|
|
font-weight: 800;
|
|
color: var(--primary-color);
|
|
line-height: 1;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* ===================================
|
|
Progress Bar
|
|
=================================== */
|
|
|
|
.progress {
|
|
width: 100%;
|
|
height: 12px;
|
|
background: var(--gray-200);
|
|
border-radius: var(--radius-full);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: var(--gradient-primary);
|
|
border-radius: var(--radius-full);
|
|
transition: width 0.5s ease-out;
|
|
}
|
|
|
|
.progress-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--spacing-sm);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* ===================================
|
|
Footer
|
|
=================================== */
|
|
|
|
.footer {
|
|
background: var(--gray-800);
|
|
color: var(--white);
|
|
padding: var(--spacing-2xl) 0 var(--spacing-lg);
|
|
}
|
|
|
|
.footer-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr 1fr 1fr;
|
|
gap: var(--spacing-2xl);
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.footer-brand h3 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.footer-brand p {
|
|
color: var(--gray-400);
|
|
line-height: 1.7;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.footer-title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin-bottom: var(--spacing-lg);
|
|
color: var(--white);
|
|
}
|
|
|
|
.footer-links li {
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--gray-400);
|
|
transition: var(--transition-fast);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--white);
|
|
}
|
|
|
|
.footer-bottom {
|
|
padding-top: var(--spacing-lg);
|
|
border-top: 1px solid var(--gray-700);
|
|
text-align: center;
|
|
color: var(--gray-500);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* ===================================
|
|
Page Footer (Simple)
|
|
=================================== */
|
|
|
|
.page-footer {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
z-index: 100;
|
|
padding: 0 20px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.page-footer a {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.page-footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-divider {
|
|
margin: 0 8px;
|
|
color: var(--gray-400);
|
|
}
|
|
|
|
/* ===================================
|
|
Tabs
|
|
=================================== */
|
|
|
|
.tabs {
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
margin-bottom: var(--spacing-xl);
|
|
border-bottom: 2px solid var(--gray-200);
|
|
}
|
|
|
|
.tab {
|
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.tab:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.tab.active {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.tab.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--gradient-primary);
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
/* ===================================
|
|
Badges
|
|
=================================== */
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 12px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
.badge-primary {
|
|
background: rgba(102, 126, 234, 0.1);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.badge-success {
|
|
background: rgba(72, 187, 120, 0.1);
|
|
color: #48bb78;
|
|
}
|
|
|
|
.badge-warning {
|
|
background: rgba(237, 137, 54, 0.1);
|
|
color: #ed8936;
|
|
}
|
|
|
|
.badge-danger {
|
|
background: rgba(252, 129, 129, 0.1);
|
|
color: #fc8181;
|
|
}
|
|
|
|
/* ===================================
|
|
Empty State
|
|
=================================== */
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: var(--spacing-2xl);
|
|
}
|
|
|
|
.empty-state-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: var(--spacing-lg);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.empty-state p {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* ===================================
|
|
Utilities
|
|
=================================== */
|
|
|
|
.text-center { text-align: center; }
|
|
.text-left { text-align: left; }
|
|
.text-right { text-align: right; }
|
|
|
|
.text-primary { color: var(--primary-color); }
|
|
.text-secondary { color: var(--text-secondary); }
|
|
.text-muted { color: var(--text-muted); }
|
|
.text-white { color: var(--white); }
|
|
|
|
.font-bold { font-weight: 700; }
|
|
.font-semibold { font-weight: 600; }
|
|
.font-medium { font-weight: 500; }
|
|
|
|
.mt-sm { margin-top: var(--spacing-sm); }
|
|
.mt { margin-top: var(--spacing); }
|
|
.mt-lg { margin-top: var(--spacing-lg); }
|
|
.mt-xl { margin-top: var(--spacing-xl); }
|
|
|
|
.mb-sm { margin-bottom: var(--spacing-sm); }
|
|
.mb { margin-bottom: var(--spacing); }
|
|
.mb-lg { margin-bottom: var(--spacing-lg); }
|
|
.mb-xl { margin-bottom: var(--spacing-xl); }
|
|
|
|
.flex { display: flex; }
|
|
.flex-center { display: flex; align-items: center; justify-content: center; }
|
|
.flex-between { display: flex; align-items: center; justify-content: space-between; }
|
|
.flex-wrap { flex-wrap: wrap; }
|
|
.gap-sm { gap: var(--spacing-sm); }
|
|
.gap { gap: var(--spacing); }
|
|
.gap-lg { gap: var(--spacing-lg); }
|
|
|
|
.hidden { display: none; }
|
|
.visible { visibility: visible; }
|
|
.invisible { visibility: hidden; }
|
|
|
|
.opacity-50 { opacity: 0.5; }
|
|
.opacity-75 { opacity: 0.75; }
|
|
|
|
/* ===================================
|
|
Responsive Design
|
|
=================================== */
|
|
|
|
@media (max-width: 1024px) {
|
|
.grid-4 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.footer-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.container {
|
|
padding: 0 var(--spacing);
|
|
}
|
|
|
|
.header-inner {
|
|
height: 64px;
|
|
}
|
|
|
|
.nav {
|
|
display: none;
|
|
position: absolute;
|
|
top: 64px;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--white);
|
|
flex-direction: column;
|
|
padding: var(--spacing-lg);
|
|
box-shadow: var(--shadow-md);
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.nav.active {
|
|
display: flex;
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: block;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(6px, 6px);
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu-btn.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(6px, -6px);
|
|
}
|
|
|
|
.hero {
|
|
padding: 120px 0 60px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.section {
|
|
padding: var(--spacing-xl) 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.grid-2,
|
|
.grid-3,
|
|
.grid-4 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.footer-grid {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.tabs {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tab {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: var(--spacing-sm) var(--spacing);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-buttons {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
max-width: 280px;
|
|
}
|
|
|
|
.card {
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ===================================
|
|
Animations
|
|
=================================== */
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.animate-fadeIn {
|
|
animation: fadeIn 0.6s ease-out;
|
|
}
|
|
|
|
.animate-float {
|
|
animation: float 3s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-pulse {
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Scroll Animation */
|
|
.fade-in-up {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
|
|
}
|
|
|
|
.fade-in-up.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Safe Area */
|
|
.safe-area-bottom {
|
|
height: env(safe-area-inset-bottom);
|
|
}
|
|
0
|
|
/* Mini Program Link */
|
|
.minipro-link {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.minipro-link:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.minipro-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
|
|
color: white;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-full);
|
|
margin-left: 4px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Mini Program Modal */
|
|
.minipro-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.minipro-modal-overlay.active {
|
|
display: flex;
|
|
}
|
|
|
|
.minipro-modal {
|
|
background: var(--white);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--spacing-xl);
|
|
max-width: 400px;
|
|
width: 100%;
|
|
box-shadow: var(--shadow-xl);
|
|
animation: slideUp 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.minipro-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.minipro-modal-title {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.minipro-modal-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: var(--gray-100);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.25rem;
|
|
color: var(--text-secondary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.minipro-modal-close:hover {
|
|
background: var(--gray-200);
|
|
}
|
|
|
|
.minipro-modal-body {
|
|
text-align: center;
|
|
margin-bottom: var(--spacing-xl);
|
|
}
|
|
|
|
.minipro-modal-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto var(--spacing-lg);
|
|
border-radius: var(--radius-xl);
|
|
background: var(--gradient-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.minipro-modal-body h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.minipro-modal-body p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.minipro-modal-footer {
|
|
display: flex;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.minipro-modal-footer .btn {
|
|
flex: 1;
|
|
}
|