Add theme_3d_systems/static/src/scss/snippets.scss

This commit is contained in:
Huzaifa Inam 2026-08-22 21:25:25 +00:00
parent 17eadd6a57
commit 13cfdd2ab5

View file

@ -0,0 +1,140 @@
// Custom Snippets Styling
@import 'variables';
@import 'mixins';
// 3D Hero Snippet
.s_3d_hero {
position: relative;
min-height: 85vh;
display: flex;
align-items: center;
overflow: hidden;
background-color: $theme-bg-darkest;
.hero-canvas-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: auto;
}
.hero-content-wrapper {
position: relative;
z-index: 2;
pointer-events: auto;
}
.hero-lead {
font-size: 1.25rem;
line-height: 1.6;
color: $text-light-muted;
max-width: 620px;
}
}
// System Architecture Pipeline Snippet
.s_system_architecture {
position: relative;
background-color: $theme-bg-dark;
.arch-pipeline-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
position: relative;
@media (min-width: 992px) {
flex-direction: row;
justify-content: space-between;
}
}
.arch-node-card {
@include glass-panel;
padding: 1.5rem;
text-align: center;
min-width: 200px;
z-index: 2;
transition: $trans-smooth;
&:hover {
border-color: $theme-cyan;
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}
.node-icon-box {
width: 54px;
height: 54px;
border-radius: 14px;
margin: 0 auto 1rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
background: rgba(0, 242, 254, 0.1);
color: $theme-cyan;
border: 1px solid rgba(0, 242, 254, 0.3);
}
}
.arch-connector-line {
display: flex;
align-items: center;
justify-content: center;
color: $theme-cyan;
font-size: 1.5rem;
opacity: 0.8;
}
}
// Statistics Matrix
.s_stats_matrix {
border-top: 1px solid rgba(255, 255, 255, 0.05);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
background: rgba(10, 15, 29, 0.6);
.stat-number {
font-family: $font-display;
font-size: 3rem;
font-weight: 800;
@include text-gradient($theme-cyan, $theme-blue);
}
}
// Odoo ERP Modules Grid
.s_odoo_modules_grid {
.odoo-module-card {
@include glass-panel;
padding: 1.75rem;
transition: $trans-smooth;
height: 100%;
display: flex;
flex-direction: column;
border-radius: 16px;
&:hover {
border-color: $theme-purple;
transform: translateY(-4px);
box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
}
.module-icon-circle {
width: 48px;
height: 48px;
border-radius: 12px;
background: rgba(121, 40, 202, 0.15);
border: 1px solid rgba(157, 78, 221, 0.4);
color: #d8b4fe;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
margin-bottom: 1.25rem;
}
}
}