Signed-off-by: 南通一次元科技有限公司 <guwangtu@icimeta.com>
This commit is contained in:
commit
b91954df4a
106 files changed
+43359
No files matched your search
@@ -0,0 +1,32 @@
|
||||
/* shared/embed_theme.css — 统一平台外壳嵌入主题(唯一来源)
|
||||
* 由 deploy/同步统一主题.py 注入到各业务页面的 <style id="platform-embed-style">。
|
||||
* 规则:只隐藏子系统顶栏,保留业务侧栏(项目树/风险菜单/合同功能/知识库分类)。
|
||||
*/
|
||||
body.embedded .app-header,
|
||||
body.embedded .topbar { display:none !important; }
|
||||
body.embedded { background:#0a1622 !important; }
|
||||
body.embedded #portalBackBtn,
|
||||
body.embedded #portalTopBack { display:none !important; }
|
||||
body.embedded .main-content,
|
||||
body.embedded .main-area,
|
||||
body.embedded .main { background:transparent !important; }
|
||||
body.embedded iframe { border:0; }
|
||||
body.embedded .sidebar { height:100vh !important; top:0 !important; }
|
||||
body.embedded .main-content,
|
||||
body.embedded .main-area { height:100vh !important; }
|
||||
body.embedded .app-body { min-height:100vh !important; }
|
||||
body.embedded .layout { min-height:100vh !important; }
|
||||
|
||||
/* ===== 统一组件细节(颜色跟随各页面主题,不改变原有配色) ===== */
|
||||
body.embedded button,
|
||||
body.embedded .btn { border-radius:8px; transition:background .15s ease, border-color .15s ease, transform .1s ease; }
|
||||
body.embedded button:active,
|
||||
body.embedded .btn:active { transform:translateY(1px); }
|
||||
body.embedded button:focus-visible,
|
||||
body.embedded .btn:focus-visible,
|
||||
body.embedded a:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
|
||||
body.embedded input:focus,
|
||||
body.embedded select:focus,
|
||||
body.embedded textarea:focus { outline:2px solid rgba(79,209,255,.5); outline-offset:1px; }
|
||||
body.embedded table tbody tr { transition:background .12s ease; }
|
||||
body.embedded .empty { padding:26px 12px; text-align:center; border-radius:10px; }
|
||||
Reference in new issue
Block a user