From 3f96c9c6502243b06efd4bb34a189e72e3a5557c Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期一, 28 九月 2026 19:24:55 +0800
Subject: [PATCH] 复制项目
---
frontend/src/layout/MainLayout.css | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 108 insertions(+), 0 deletions(-)
diff --git a/frontend/src/layout/MainLayout.css b/frontend/src/layout/MainLayout.css
new file mode 100644
index 0000000..ed0f885
--- /dev/null
+++ b/frontend/src/layout/MainLayout.css
@@ -0,0 +1,108 @@
+.app-header {
+ display: flex;
+ align-items: center;
+ padding: 0 16px;
+ flex-shrink: 0;
+ background: #fff !important;
+ border-bottom: 1px solid #e8e8e8;
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
+ z-index: 10;
+}
+
+.app-sider.ant-layout-sider-light {
+ background: #eef3f9 !important;
+ border-right: 1px solid #dde5ef;
+}
+
+.app-sider .ant-layout-sider-children {
+ display: flex;
+ flex-direction: column;
+}
+
+.app-sider-menu.ant-menu-light {
+ flex: 1;
+ background: transparent !important;
+ border-inline-end: none !important;
+ padding: 8px 6px;
+}
+
+.app-sider-menu.ant-menu-light .ant-menu-item {
+ margin: 4px 0;
+ border-radius: 6px;
+ width: 100%;
+}
+
+.app-sider-menu.ant-menu-light .ant-menu-item-selected {
+ background: #fff !important;
+ font-weight: 600;
+ box-shadow: 0 1px 3px rgba(22, 119, 255, 0.12);
+}
+
+.app-shell-body.ant-layout {
+ display: flex;
+ flex: 1;
+ min-height: 0;
+}
+
+.main-layout__content.ant-layout-content {
+ flex: 1;
+ min-height: 0;
+ display: flex;
+ flex-direction: column;
+}
+
+.main-layout__content--attempt,
+.main-layout__content--scores {
+ overflow: hidden !important;
+}
+
+.main-layout__content--attempt .main-layout__content-inner,
+.main-layout__content--scores .main-layout__content-inner {
+ flex: 1 1 0;
+ min-height: 0;
+ overflow: hidden;
+}
+
+.main-layout__content {
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+}
+
+.main-layout__content-inner {
+ flex: 1;
+ min-height: 0;
+ display: flex;
+ flex-direction: column;
+}
+
+.app-breadcrumb-row {
+ flex-shrink: 0;
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ margin-bottom: 12px;
+ padding: 6px 14px;
+ background: #fff;
+ border-radius: 8px;
+ border: 1px solid #f0f0f0;
+}
+
+.app-breadcrumb__back {
+ flex-shrink: 0;
+ padding-left: 0;
+ padding-right: 8px;
+ border-right: 1px solid #f0f0f0;
+ margin-right: 4px;
+ height: auto;
+}
+
+.app-breadcrumb {
+ flex: 1;
+ min-width: 0;
+ margin-bottom: 0;
+ padding: 4px 0;
+ background: transparent;
+ border: none;
+ border-radius: 0;
+}
--
Gitblit v1.8.0