- 新增5张CMS表的模型定义(models/)和CRUD定义(json/) - 新增17个.dspy API端点(create/update/delete + search) - 新增load_path.py RBAC权限注册脚本 - xls2crud生成5个CRUD管理页面目录 - 修复bricks默认灰色背景覆盖暗色主题(.site-root全局override) - user_menu.ui添加管理后台入口(按权限显示) - 初始化CMS种子数据(栏目/分类/内容)
1062 lines
21 KiB
CSS
1062 lines
21 KiB
CSS
/* ===== 开元云科技 官网样式系统 ===== */
|
|
/* 设计参考: OpenAI风格, 极简科技感 */
|
|
|
|
/* === CSS Variables === */
|
|
:root {
|
|
--brand-primary: #6C5CE7;
|
|
--brand-light: #A29BFE;
|
|
--brand-sky: #74B9FF;
|
|
--brand-gradient: linear-gradient(135deg, #6C5CE7, #A29BFE, #74B9FF);
|
|
--bg-dark: #0a0a0a;
|
|
--bg-card: #1A1A1A;
|
|
--bg-card-hover: #222222;
|
|
--border-dark: #222;
|
|
--border-active: #6C5CE7;
|
|
--text-primary: #FFFFFF;
|
|
--text-secondary: #999999;
|
|
--text-muted: #666666;
|
|
--max-width: 1100px;
|
|
--font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
/* === Reset & Base === */
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body, html {
|
|
font-family: var(--font-family);
|
|
background: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
a { color: inherit; text-decoration: none; }
|
|
|
|
/* === Navigation === */
|
|
.nav-bar {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0;
|
|
z-index: 100;
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
background: rgba(10, 10, 10, 0.8);
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
padding: 0 48px;
|
|
height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-logo {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
background: var(--brand-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 32px;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-links a:hover { color: var(--text-primary); }
|
|
|
|
.nav-cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 20px;
|
|
background: var(--brand-primary);
|
|
color: white;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-cta:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
|
|
}
|
|
|
|
/* === Bricks Widget Overrides for Portal === */
|
|
|
|
/* Root container */
|
|
.site-root {
|
|
font-family: var(--font-family);
|
|
background: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Nav buttons — reset bricks button defaults */
|
|
.nav-bar .bricks-button {
|
|
background: none;
|
|
border: none;
|
|
color: inherit;
|
|
font-family: var(--font-family);
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: inherit;
|
|
outline: none;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 14px !important;
|
|
color: var(--text-secondary) !important;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.nav-cta {
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
padding: 8px 20px !important;
|
|
background: var(--brand-primary) !important;
|
|
color: white !important;
|
|
border-radius: 8px !important;
|
|
font-size: 14px !important;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-cta:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
|
|
}
|
|
|
|
.nav-login {
|
|
font-size: 14px !important;
|
|
color: var(--text-secondary) !important;
|
|
background: rgba(255,255,255,0.08) !important;
|
|
padding: 6px 16px !important;
|
|
border-radius: 6px !important;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-login:hover {
|
|
color: var(--text-primary) !important;
|
|
background: rgba(255,255,255,0.15) !important;
|
|
}
|
|
|
|
.nav-register {
|
|
font-size: 14px !important;
|
|
color: white !important;
|
|
background: var(--brand-primary) !important;
|
|
padding: 6px 16px !important;
|
|
border-radius: 6px !important;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-register:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 16px rgba(108, 92, 231, 0.4);
|
|
}
|
|
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-right-btns {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.nav-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
background: rgba(255,255,255,0.08);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-user:hover {
|
|
background: rgba(255,255,255,0.15);
|
|
}
|
|
|
|
.nav-avatar {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.nav-username {
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
max-width: 100px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Hero section bricks overrides */
|
|
.hero-section.bricks-vbox {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 120px 48px 80px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-subtitle.bricks-text {
|
|
font-size: 18px;
|
|
color: var(--text-secondary);
|
|
font-weight: 300;
|
|
max-width: 600px;
|
|
margin-bottom: 40px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.hero-buttons.bricks-hbox {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.hero-buttons .bricks-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 12px 28px;
|
|
border-radius: 10px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
font-family: var(--font-family);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
line-height: 1;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--brand-primary) !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 24px rgba(108, 92, 231, 0.4);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent !important;
|
|
color: var(--text-primary) !important;
|
|
border: 1px solid rgba(255,255,255,0.2) !important;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--brand-primary) !important;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Section VBox bricks overrides */
|
|
.section.bricks-vbox {
|
|
padding: 80px 48px;
|
|
max-width: var(--max-width);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-title.bricks-title2 {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.section-desc.bricks-text {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 48px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
/* Products grid — override bricks HBox to CSS grid */
|
|
.products-grid.bricks-hbox {
|
|
display: grid !important;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
flex-direction: unset;
|
|
}
|
|
|
|
.product-card.bricks-vbox {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
padding: 32px 24px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: translateX(4px);
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.product-card .card-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.product-card .card-desc {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.product-card .product-detail {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border-dark);
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.product-card:hover .product-detail,
|
|
.product-card.active .product-detail {
|
|
display: block;
|
|
}
|
|
|
|
/* Cases grid */
|
|
.cases-grid.bricks-hbox {
|
|
display: grid !important;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
margin-bottom: 40px;
|
|
flex-direction: unset;
|
|
}
|
|
|
|
.case-card.bricks-vbox {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.case-card:hover {
|
|
transform: translateY(-4px);
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.case-tag {
|
|
font-size: 11px !important;
|
|
color: var(--brand-light) !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.case-title {
|
|
font-size: 17px !important;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.case-desc {
|
|
font-size: 13px !important;
|
|
color: var(--text-secondary) !important;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Section header */
|
|
.section-header.bricks-hbox {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.section-header .section-desc {
|
|
margin-bottom: 0;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* CTA Banner */
|
|
.cta-banner.bricks-hbox {
|
|
background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(116, 185, 255, 0.1));
|
|
border: 1px solid rgba(108, 92, 231, 0.2);
|
|
border-radius: 16px;
|
|
padding: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.cta-text {
|
|
font-size: 20px !important;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* News section */
|
|
.news-header.bricks-hbox {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.news-view-all {
|
|
font-size: 14px !important;
|
|
color: var(--brand-light) !important;
|
|
background: none !important;
|
|
border: none !important;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.news-view-all:hover {
|
|
color: var(--brand-primary) !important;
|
|
}
|
|
|
|
.news-list.bricks-vbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.news-item.bricks-hbox {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.news-item:hover {
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.news-date {
|
|
font-size: 12px !important;
|
|
color: var(--text-muted) !important;
|
|
white-space: nowrap;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.news-title {
|
|
font-size: 14px !important;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Footer */
|
|
.site-footer.bricks-vbox {
|
|
border-top: 1px solid rgba(255,255,255,0.06);
|
|
padding: 40px 48px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Clickable utility */
|
|
.clickable { cursor: pointer; }
|
|
|
|
/* === Hero Section === */
|
|
.hero-section {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 120px 48px 80px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-bg-glow {
|
|
position: absolute;
|
|
width: 800px;
|
|
height: 800px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: var(--max-width);
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 16px;
|
|
background: rgba(108, 92, 231, 0.15);
|
|
border: 1px solid rgba(108, 92, 231, 0.3);
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
color: var(--brand-light);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero-tag .pulse-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--brand-primary);
|
|
border-radius: 50%;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.4; }
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 56px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-title .gradient-text {
|
|
background: var(--brand-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 18px;
|
|
color: var(--text-secondary);
|
|
font-weight: 300;
|
|
max-width: 600px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 12px 28px;
|
|
background: var(--brand-primary);
|
|
color: white;
|
|
border-radius: 10px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 24px rgba(108, 92, 231, 0.4);
|
|
}
|
|
|
|
.btn-outline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 12px 28px;
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
border-radius: 10px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--brand-primary);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.hero-mascot {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 10%;
|
|
opacity: 0.12;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* === Section Common === */
|
|
.section {
|
|
padding: 80px 48px;
|
|
max-width: var(--max-width);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-desc {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 48px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
/* === Products (1+N+X) === */
|
|
.products-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.product-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
padding: 32px 24px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; top: 0; bottom: 0;
|
|
width: 3px;
|
|
background: transparent;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: translateX(4px);
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.product-card:hover::before {
|
|
background: var(--brand-primary);
|
|
}
|
|
|
|
.product-card.active {
|
|
background: rgba(108, 92, 231, 0.1);
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.product-card.active::before {
|
|
background: var(--brand-primary);
|
|
}
|
|
|
|
.product-card .card-icon {
|
|
font-size: 32px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.product-card .card-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.product-card .card-desc {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.product-detail {
|
|
display: none;
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border-dark);
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.product-card.active .product-detail {
|
|
display: block;
|
|
}
|
|
|
|
/* === Cases === */
|
|
.cases-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.case-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.case-card:hover {
|
|
transform: translateY(-4px);
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.case-tag {
|
|
font-size: 11px;
|
|
color: var(--brand-light);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.case-title {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.case-desc {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* === CTA Banner === */
|
|
.cta-banner {
|
|
background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(116, 185, 255, 0.1));
|
|
border: 1px solid rgba(108, 92, 231, 0.2);
|
|
border-radius: 16px;
|
|
padding: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.cta-text {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* === News === */
|
|
.news-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.news-view-all {
|
|
font-size: 14px;
|
|
color: var(--brand-light);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.news-view-all:hover { color: var(--brand-primary); }
|
|
|
|
.news-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.news-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-dark);
|
|
border-radius: 12px;
|
|
transition: var(--transition);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.news-item:hover {
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.news-date {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.news-title {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* === Footer === */
|
|
.site-footer {
|
|
border-top: 1px solid rgba(255,255,255,0.06);
|
|
padding: 40px 48px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* === Floating Contact Widget === */
|
|
.float-contact {
|
|
position: fixed;
|
|
right: 24px;
|
|
bottom: 24px;
|
|
z-index: 200;
|
|
}
|
|
|
|
.float-avatar {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 50%;
|
|
background: var(--brand-gradient);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.float-avatar:hover {
|
|
transform: translateY(-3px) scale(1.05);
|
|
}
|
|
|
|
.float-avatar svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.float-bubble {
|
|
position: absolute;
|
|
right: 68px;
|
|
bottom: 12px;
|
|
background: white;
|
|
color: #333;
|
|
padding: 10px 16px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
|
opacity: 0;
|
|
transform: translateX(10px);
|
|
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.float-contact:hover .float-bubble {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.float-panel {
|
|
position: absolute;
|
|
bottom: 70px;
|
|
right: 0;
|
|
width: 300px;
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 40px rgba(0,0,0,0.2);
|
|
overflow: hidden;
|
|
display: none;
|
|
animation: panelSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.float-panel.active { display: block; }
|
|
|
|
@keyframes panelSlideUp {
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.panel-header {
|
|
background: var(--brand-gradient);
|
|
padding: 20px;
|
|
color: white;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.panel-body {
|
|
padding: 16px;
|
|
}
|
|
|
|
.panel-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
background: #f5f5f5;
|
|
border-radius: 10px;
|
|
margin-bottom: 8px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
color: #333;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.panel-option:hover {
|
|
background: var(--brand-primary);
|
|
color: white;
|
|
}
|
|
|
|
.panel-option svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.panel-form {
|
|
padding: 16px;
|
|
display: none;
|
|
}
|
|
|
|
.panel-form.active { display: block; }
|
|
|
|
.panel-form input,
|
|
.panel-form textarea {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
margin-bottom: 10px;
|
|
font-family: var(--font-family);
|
|
outline: none;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.panel-form input:focus,
|
|
.panel-form textarea:focus {
|
|
border-color: var(--brand-primary);
|
|
}
|
|
|
|
.panel-form textarea { resize: vertical; min-height: 60px; }
|
|
|
|
.panel-form .submit-btn {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: var(--brand-primary);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.panel-form .submit-btn:hover {
|
|
background: #5a4bd1;
|
|
}
|
|
|
|
.panel-form .back-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--brand-primary);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
margin-bottom: 12px;
|
|
padding: 0;
|
|
}
|
|
|
|
/* === Responsive === */
|
|
@media (max-width: 768px) {
|
|
.nav-bar { padding: 0 20px; }
|
|
.nav-links { display: none; }
|
|
|
|
.hero-section { padding: 100px 20px 60px; }
|
|
.hero-title { font-size: 32px; }
|
|
.hero-subtitle { font-size: 16px; }
|
|
.hero-buttons { flex-direction: column; }
|
|
|
|
.section { padding: 60px 20px; }
|
|
.section-title { font-size: 28px; }
|
|
|
|
.products-grid { grid-template-columns: 1fr; }
|
|
.cases-grid { grid-template-columns: 1fr; }
|
|
|
|
.cta-banner {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.news-item { flex-direction: column; gap: 8px; }
|
|
|
|
.site-footer { padding: 30px 20px; }
|
|
|
|
.float-panel { width: 280px; right: -8px; }
|
|
}
|
|
|
|
/* === Scroll Animations === */
|
|
.fade-in {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.6s ease, transform 0.6s ease;
|
|
}
|
|
|
|
.fade-in.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* === Global bricks widget background reset for dark theme === */
|
|
.site-root .bricks-vbox,
|
|
.site-root .bricks-hbox,
|
|
.site-root .bricks-text,
|
|
.site-root .bricks-title2,
|
|
.site-root .bricks-title3,
|
|
.site-root .bricks-title4,
|
|
.site-root .bricks-filler,
|
|
.site-root .bricks-html {
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.site-root .bricks-button {
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Clickable utility */
|
|
.clickable { cursor: pointer; }
|