添加 IntelliJ IDEA 项目配置文件

This commit is contained in:
ylweng
2025-09-02 21:59:27 +08:00
parent 59cfe620fe
commit 501c218a83
56 changed files with 11886 additions and 126 deletions

View File

@@ -32,11 +32,630 @@
body {
font-family: var(--font-family-base);
line-height: 1.6;
color: var(--text-light);
background-color: var(--dark-color);
color: var(--text-dark);
background-color: #ffffff;
overflow-x: hidden;
}
/* 顶部联系栏 */
.top-bar {
font-size: 0.875rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a:hover {
text-decoration: underline !important;
}
/* 导航栏样式增强 */
.navbar {
padding: 0.5rem 0;
transition: var(--transition);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.95) !important;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
/* 品牌logo样式 */
.logo-container {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
border-radius: 12px;
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}
.brand-text .brand-name {
font-size: 1.25rem;
color: var(--text-light);
margin-bottom: -2px;
}
.brand-text .brand-subtitle {
font-size: 0.75rem;
color: rgba(248, 249, 250, 0.8);
font-weight: 400;
}
/* 导航链接增强 */
.navbar-nav .nav-link {
font-weight: 500;
color: var(--text-light) !important;
transition: var(--transition);
padding: 0.75rem 1rem;
border-radius: 8px;
position: relative;
margin: 0 0.25rem;
}
.navbar-nav .nav-link:hover {
color: var(--primary-color) !important;
background: rgba(76, 175, 80, 0.1);
transform: translateY(-2px);
}
.navbar-nav .nav-link.active {
color: var(--primary-color) !important;
background: rgba(76, 175, 80, 0.15);
box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}
/* 下拉菜单 */
.dropdown-menu {
border: none;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
padding: 0.5rem 0;
margin-top: 0.5rem;
}
.dropdown-item {
padding: 0.75rem 1.5rem;
transition: var(--transition);
border-radius: 8px;
margin: 0 0.5rem;
}
.dropdown-item:hover {
background: rgba(76, 175, 80, 0.1);
color: var(--primary-color);
transform: translateX(5px);
}
/* 英雄区域现代化设计 */
.hero-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
z-index: 1;
}
.hero-section .container {
position: relative;
z-index: 2;
}
/* 英雄区域动画元素 */
.hero-bg-animation {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.floating-element {
position: absolute;
font-size: 2rem;
animation: float 6s ease-in-out infinite;
animation-delay: var(--delay);
left: var(--x);
top: var(--y);
}
@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(5deg); }
}
/* 英雄内容样式 */
.hero-content {
color: white;
}
.hero-badge .badge {
border-radius: 25px;
font-weight: 500;
letter-spacing: 0.5px;
}
.hero-title {
font-weight: 800;
line-height: 1.2;
margin-bottom: 1.5rem;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
font-size: 1.25rem;
line-height: 1.6;
color: rgba(255, 255, 255, 0.9);
max-width: 600px;
}
/* 英雄区域功能特性 */
.hero-features .feature-item {
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: var(--transition);
}
.hero-features .feature-item:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.2);
}
/* 按钮增强样式 */
.btn {
border-radius: 12px;
font-weight: 600;
padding: 0.875rem 2rem;
transition: var(--transition);
border: none;
position: relative;
overflow: hidden;
text-decoration: none;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}
.btn-outline-secondary {
border: 2px solid rgba(255, 255, 255, 0.3);
color: white;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.btn-outline-secondary:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-3px);
color: white;
}
/* 英雄视觉区域 */
.hero-visual {
perspective: 1000px;
}
.hero-image-container {
transform-style: preserve-3d;
}
.dashboard-mockup {
transform: rotateY(-5deg) rotateX(5deg);
transition: var(--transition);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.dashboard-mockup:hover {
transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}
.floating-card {
animation: floatCard 4s ease-in-out infinite;
}
.floating-card:nth-child(2) {
animation-delay: 2s;
}
@keyframes floatCard {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
/* 滚动指示器 */
.scroll-indicator {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-10px); }
60% { transform: translateY(-5px); }
}
.animate-bounce {
animation: bounce 2s infinite;
}
/* 统计数据样式 */
.stat-item {
text-align: center;
}
.stat-number {
font-size: 2rem;
font-weight: 700;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* 响应式设计优化 */
@media (max-width: 768px) {
.top-bar {
display: none;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.hero-actions .btn {
width: 100%;
margin-bottom: 0.75rem;
}
.dashboard-mockup {
transform: none;
}
.floating-card {
display: none;
}
}
@media (max-width: 576px) {
.hero-features .col-6 {
margin-bottom: 1rem;
}
.hero-stats .col-4 {
margin-bottom: 1rem;
}
.brand-text .brand-name {
font-size: 1rem;
}
.brand-text .brand-subtitle {
font-size: 0.7rem;
}
}
/* 工具类 */
.text-shadow {
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.backdrop-blur {
backdrop-filter: blur(10px);
}
/* 加载动画 */
.loading-spinner {
display: inline-block;
width: 1rem;
height: 1rem;
vertical-align: text-bottom;
border: 0.2em solid currentColor;
border-right-color: transparent;
border-radius: 50%;
animation: spinner-border 0.75s linear infinite;
}
@keyframes spinner-border {
to { transform: rotate(360deg); }
}
/* 动画效果增强 */
.fade-in-up {
animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 图片优化 */
img {
max-width: 100%;
height: auto;
}
/* 滚动条样式 */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-dark);
}
/* 返回顶部按钮 */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
border-radius: 50%;
display: none;
z-index: 1000;
transition: var(--transition);
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}
.back-to-top:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}
/* 导航栏动画 */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideUp {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(-20px);
}
}
/* 按钮点击效果 */
.btn:active {
transform: scale(0.95);
}
/* 卡片悬停增强 */
.card {
transition: var(--transition);
border: none;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* 进度条样式 */
.progress {
height: 8px;
border-radius: 10px;
background: rgba(76, 175, 80, 0.1);
}
.progress-bar {
border-radius: 10px;
background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}
/* 数字统计增强 */
.count-up {
font-weight: 700;
color: var(--primary-color);
text-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}
/* 模态框动画 */
.modal-dialog {
transition: all 0.3s ease;
}
/* 懒加载图片 */
img.lazy {
opacity: 0;
transition: opacity 0.3s;
}
img.lazy.loaded {
opacity: 1;
}
/* 表单增强样式 */
.form-control:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}
.form-control.is-valid {
border-color: var(--success-color);
}
.form-control.is-invalid {
border-color: var(--danger-color);
}
/* 提示框样式 */
.alert {
border: none;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* 打字机效果 */
.typewriter {
font-family: 'Courier New', monospace;
}
/* 粒子效果容器 */
.particles-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}
/* 移动端优化 */
@media (max-width: 768px) {
.back-to-top {
bottom: 20px;
right: 20px;
width: 45px;
height: 45px;
}
.floating-element {
display: none;
}
}
/* 页面切换动画 */
.page-transition {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}
.page-transition.loaded {
opacity: 1;
transform: translateY(0);
}
/* 高级动画效果 */
@keyframes pulseGlow {
0%, 100% {
box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
50% {
box-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
}
}
.pulse-glow {
animation: pulseGlow 2s infinite;
}
/* 文字渐变效果 */
.gradient-text {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* 毛玻璃效果 */
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* 3D变换效果 */
.transform-3d {
transform-style: preserve-3d;
perspective: 1000px;
}
.transform-3d:hover {
transform: rotateY(5deg) rotateX(5deg);
}
/* 无障碍优化 */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* 焦点可见性 */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
}
/* 打印样式 */
@media print {
.navbar,
.back-to-top,
.floating-element {
display: none !important;
}
.hero-section {
background: white !important;
color: black !important;
}
}
/* 导航栏样式 */
.navbar {
padding: 1rem 0;

438
website/css/responsive.css Normal file
View File

@@ -0,0 +1,438 @@
/* 移动端响应式优化样式 */
/* 移动设备优先设计 */
@media (max-width: 767.98px) {
/* 导航栏优化 */
.navbar {
padding: 0.5rem 0;
}
.navbar-brand .brand-text .brand-name {
font-size: 1rem;
}
.navbar-brand .brand-text .brand-subtitle {
font-size: 0.65rem;
}
.logo-container {
width: 40px;
height: 40px;
}
.navbar-nav .nav-link {
padding: 0.75rem 1rem;
margin: 0.25rem 0;
border-radius: 8px;
}
/* 英雄区域移动端优化 */
.hero-section {
min-height: 90vh;
padding: 100px 0 50px;
}
.hero-title {
font-size: 2rem;
line-height: 1.2;
}
.hero-subtitle {
font-size: 1rem;
margin-bottom: 2rem;
}
.hero-features .col-6 {
margin-bottom: 1rem;
}
.hero-features .feature-item {
padding: 0.75rem;
}
.hero-actions .btn {
width: 100%;
margin-bottom: 0.75rem;
}
/* 隐藏复杂动画元素 */
.floating-element,
.floating-card,
.particles-container {
display: none !important;
}
.dashboard-mockup {
transform: none !important;
}
/* 统计数据移动端优化 */
.hero-stats .col-4 {
margin-bottom: 1rem;
}
.stat-number {
font-size: 1.5rem;
}
/* 卡片组件优化 */
.card {
margin-bottom: 1.5rem;
}
.card-body {
padding: 1.25rem;
}
/* 按钮优化 */
.btn {
padding: 0.75rem 1.5rem;
}
.btn-lg {
padding: 1rem 2rem;
}
/* 表单优化 */
.form-control {
padding: 0.75rem;
font-size: 1rem;
}
/* 模态框优化 */
.modal-dialog {
margin: 1rem;
}
/* 演示页面移动端优化 */
.demo-sidebar {
margin-bottom: 2rem;
position: static;
}
.demo-nav-item {
padding: 1rem;
font-size: 0.9rem;
}
.demo-content {
padding: 1.5rem;
}
.dashboard-card {
padding: 1rem;
margin-bottom: 1rem;
}
.metric-number {
font-size: 2rem;
}
.chart-container {
height: 250px;
}
}
/* 平板设备优化 */
@media (min-width: 768px) and (max-width: 991.98px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.hero-actions .btn {
margin-bottom: 0.5rem;
}
.floating-card {
transform: scale(0.8);
}
.demo-sidebar {
margin-bottom: 2rem;
}
}
/* 大屏幕优化 */
@media (min-width: 1200px) {
.container {
max-width: 1200px;
}
.hero-title {
font-size: 4rem;
}
.hero-subtitle {
font-size: 1.4rem;
}
.dashboard-card {
padding: 2rem;
}
.metric-number {
font-size: 3rem;
}
}
/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
/* 移除悬停效果 */
.card:hover,
.btn:hover,
.nav-link:hover,
.dashboard-card:hover {
transform: none !important;
box-shadow: inherit !important;
}
/* 增大点击区域 */
.btn {
min-height: 44px;
}
.nav-link {
min-height: 44px;
display: flex;
align-items: center;
}
/* 优化表单控件 */
.form-control,
.form-select {
min-height: 44px;
}
}
/* 高对比度模式 */
@media (prefers-contrast: high) {
.hero-section {
background: #000;
color: #fff;
}
.btn-primary {
background: #000;
border-color: #fff;
color: #fff;
}
.card {
border: 2px solid #000;
}
}
/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #121212;
--text-color: #ffffff;
--card-bg: #1e1e1e;
--border-color: #333;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
}
.card {
background-color: var(--card-bg);
border-color: var(--border-color);
}
.navbar {
background-color: rgba(0, 0, 0, 0.9) !important;
}
.demo-sidebar,
.demo-content,
.dashboard-card {
background-color: var(--card-bg);
border-color: var(--border-color);
}
}
/* 减少动画效果 */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
.floating-element,
.floating-card {
animation: none !important;
}
}
/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
.hero-section {
min-height: 100vh;
padding: 80px 0 20px;
}
.hero-title {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero-subtitle {
margin-bottom: 1.5rem;
}
.hero-features {
margin-bottom: 1.5rem;
}
}
/* 超小屏幕设备 */
@media (max-width: 575.98px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
.hero-section {
padding: 80px 0 30px;
}
.hero-title {
font-size: 1.75rem;
}
.hero-features .col-6 {
flex: 0 0 50%;
max-width: 50%;
}
.hero-stats .col-4 {
flex: 0 0 50%;
max-width: 50%;
}
.hero-stats .col-4:nth-child(3) {
flex: 0 0 100%;
max-width: 100%;
margin-top: 0.5rem;
}
.btn {
font-size: 0.9rem;
padding: 0.6rem 1.2rem;
}
.modal-dialog {
margin: 0.5rem;
}
.demo-header {
padding: 2rem 0;
padding-top: 120px;
}
.demo-header h1 {
font-size: 2rem;
}
.demo-nav-item {
font-size: 0.85rem;
padding: 0.75rem;
}
.metric-number {
font-size: 1.75rem;
}
.chart-container {
height: 200px;
}
}
/* 打印样式优化 */
@media print {
.navbar,
.back-to-top,
.floating-element,
.demo-sidebar,
.hero-bg-animation {
display: none !important;
}
.hero-section {
background: white !important;
color: black !important;
page-break-inside: avoid;
}
.demo-content,
.dashboard-card {
background: white !important;
box-shadow: none !important;
border: 1px solid #ddd !important;
}
body {
font-size: 12pt;
line-height: 1.4;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
.card {
page-break-inside: avoid;
border: 1px solid #ddd !important;
box-shadow: none !important;
}
}
/* 可访问性增强 */
@media (prefers-reduced-motion: no-preference) {
.smooth-scroll {
scroll-behavior: smooth;
}
}
/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.logo-container i {
transform: scale(1.1);
}
.metric-number {
text-rendering: optimizeLegibility;
}
}
/* 键盘导航优化 */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible,
.demo-nav-item:focus-visible {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25);
}
/* 错误状态优化 */
.is-invalid:focus {
border-color: var(--danger-color);
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
/* 成功状态优化 */
.is-valid:focus {
border-color: var(--success-color);
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}