ThinkAdmin/public/static/theme/css/_layout_white.less
Anyon 27ad3ff7ce feat(static): 同步 v8 前端静态资源
同步 v8 运行所需的公开静态资源与主题样式,保留目标仓库中需要跟踪的发布产物。

主要内容:

- 更新登录页、控制台主题、布局变量和短工具类样式。

- 同步 layui、ckeditor、editor、jquery area 等前端依赖文件。

- 移除 v6 admin/require 静态入口,改为 v8 static/system 资源组织。

- 保留测试依赖的 public/static/theme 编译结果,确保目标仓库可直接验证。
2026-05-08 15:30:57 +08:00

124 lines
2.4 KiB
Plaintext

@charset "UTF-8";
@import "_config.less";
// +----------------------------------------------------------------------
@accentColor: #16A34A;
.layui-layout-theme-white {
#themePalette(@accentColor, #F8FAFC, #FFFFFF, #F8FAFC, #E2E8F0, #0F172A, #64748B, rgba(15, 23, 42, 0.08));
}
.layui-layout-theme-white > .layui-layout-admin {
> .layui-side {
box-shadow: none;
background-color: #fff !important;
.layui-logo {
color: #333;
box-shadow: none;
font-weight: bold;
}
.layui-side-scroll {
display: flex !important;
box-sizing: border-box;
.layui-nav-child {
background: none !important;
}
.layui-side-icon {
width: 60px;
display: none;
background: #fff;
a {
height: 60px;
display: block;
text-align: center;
line-height: 60px;
}
.layui-icon {
color: #999;
}
> .layui-this {
background: #fff;
.layui-icon {
color: @accentColor !important;
}
}
}
.layui-side-tree {
flex: 1;
.layui-nav-item {
background: none !important;
border-bottom-color: #fff;
a {
color: #333 !important;
background: none !important;
border-bottom: none !important;
&:hover {
color: @accentColor !important;
}
}
.layui-this, &.layui-this {
> a {
color: @accentColor !important;
background: none !important;
font-weight: bold !important;
&:hover {
background: none !important;
}
}
}
&ed > a {
color: #999 !important;
}
}
}
}
}
> .layui-body > .think-page-body > .layui-card {
&:before {
display: none;
}
> .layui-card-header {
border-left: none;
}
}
> .layui-header {
background: #fff !important;
.layui-nav-item {
&.layui-this > a {
color: @accentColor !important;
font-weight: bold;
background: none !important;
}
> a {
color: #333 !important;
&:hover {
color: @accentColor !important;
background: none !important;
}
}
}
}
}