From 0d2c9e890a07f6ea706b5ee1d17d549a3561c34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Fri, 7 Aug 2026 18:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- college/views/menus.xml | 10 +++---- yuthon_login_theme/static/src/css/login.css | 29 ++++++++++++++------ yuthon_login_theme/views/login_templates.xml | 2 +- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/college/views/menus.xml b/college/views/menus.xml index 0aff696..5de7054 100644 --- a/college/views/menus.xml +++ b/college/views/menus.xml @@ -22,7 +22,7 @@ + sequence="4"/> @@ -59,7 +59,7 @@ name="课程学习" web_icon="college,static/src/img/course_study.png" action="action_yuthon_school_course_study" - sequence="19" + sequence="3" groups="college.group_student"/> @@ -157,11 +157,11 @@ current - + ,内嵌
+ udoo_om_ux/style_login_page.scss: + - line 12-14: .o_database_list { border-radius: 16px !important; border; box-shadow } + - line 16-17: .card-body { border-radius: 16px !important } + 两层都有 border-radius + padding → 视觉"壳子"。 + 修复策略:让 .o_database_list 完全透明(无 border/box-shadow/bg),所有视觉 + 样式给 .card-body,card 与 card-body 融为一体。 */ html body.light-dm main:has(.o_database_list) .o_database_list, html body.light-dm .oe_login_form, .edu-login-card { position: relative !important; z-index: 10 !important; max-width: 420px !important; - margin: 0 auto; + margin: 0 auto !important; + margin-top: 0 !important; + background-color: transparent !important; + border: none !important; + box-shadow: none !important; +} + +/* 所有视觉样式集中在 .card-body:白底 + 圆角 + 阴影 + padding */ +html body.light-dm main:has(.o_database_list) .o_database_list > .card-body { + background-color: #ffffff !important; border-radius: 22px !important; border: 1px solid rgba(226, 232, 240, 0.8) !important; box-shadow: 0 24px 70px rgba(79, 70, 229, 0.22) !important; - background-color: #ffffff !important; + padding: 2rem 1.5rem !important; overflow: hidden; } -/* 数据库选择卡片内部 .card-body 也强制白底,防止透出背景图 */ -html body.light-dm main:has(.o_database_list) .o_database_list > .card-body { - background-color: #ffffff !important; -} - /* 品牌标题区(我们注入的内容,不受主题作用域影响) */ .edu-login-head { text-align: center; diff --git a/yuthon_login_theme/views/login_templates.xml b/yuthon_login_theme/views/login_templates.xml index a6063c7..bd4a9f6 100644 --- a/yuthon_login_theme/views/login_templates.xml +++ b/yuthon_login_theme/views/login_templates.xml @@ -3,7 +3,7 @@ -- 2.34.1