⚡ 初始提交 - FutureOSS v1.0 插件化运行时框架
一切皆为插件的开发者工具运行时框架
🧩 核心特性:
- 插件热插拔 (importlib 动态加载)
- 依赖自动解析 (拓扑排序 + 循环检测)
- 企业级稳定 (熔断/降级/重试/隔离)
- 事件驱动 (发布/订阅事件总线)
- 完整配置 (YAML 配置 + 热重载)
This commit is contained in:
110
website/css/architecture.css
Normal file
110
website/css/architecture.css
Normal file
@@ -0,0 +1,110 @@
|
||||
/* ===== 架构图 ===== */
|
||||
#architecture {
|
||||
padding: 120px 0;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.arch-diagram {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.arch-layer {
|
||||
border-radius: 16px;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.arch-core {
|
||||
background: rgba(6, 182, 212, 0.05);
|
||||
border-color: rgba(6, 182, 212, 0.2);
|
||||
}
|
||||
|
||||
.arch-label {
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 16px;
|
||||
color: var(--cyan-light);
|
||||
}
|
||||
|
||||
.arch-modules {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.arch-module {
|
||||
padding: 10px 20px;
|
||||
background: rgba(6, 182, 212, 0.1);
|
||||
border: 1px solid rgba(6, 182, 212, 0.2);
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.arch-connector {
|
||||
height: 40px;
|
||||
width: 2px;
|
||||
background: linear-gradient(to bottom, var(--cyan), var(--blue));
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.arch-connector::before,
|
||||
.arch-connector::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: var(--cyan);
|
||||
}
|
||||
|
||||
.arch-connector::before { top: -6px; }
|
||||
.arch-connector::after { bottom: -6px; }
|
||||
|
||||
.arch-plugins {
|
||||
background: var(--bg-glass);
|
||||
}
|
||||
|
||||
.arch-plugin-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.arch-plugin {
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.arch-plugin:hover {
|
||||
border-color: var(--border-hover);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.arch-plugin-title {
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
margin-bottom: 12px;
|
||||
color: var(--cyan-light);
|
||||
}
|
||||
|
||||
.arch-plugin-items {
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.arch-plugin-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
Reference in New Issue
Block a user