mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
增加更多样式
This commit is contained in:
parent
677cfc4317
commit
02a1b5ae70
@ -35,11 +35,13 @@ class Config extends Controller
|
||||
{
|
||||
const themes = [
|
||||
'default' => '默认色',
|
||||
'white' => '简约白1',
|
||||
'red-1' => '玫瑰红1',
|
||||
'blue-1' => '天空蓝1',
|
||||
'black-1' => '精典黑1',
|
||||
'white-1' => '简约白1',
|
||||
'red-2' => '玫瑰红2',
|
||||
'blue-2' => '天空蓝2',
|
||||
'black-2' => '精典黑2',
|
||||
'green-2' => '小草绿2',
|
||||
];
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
<dd lay-unselect><a data-load="{:sysuri('admin/api.runtime/push')}"><i class="layui-icon layui-icon-template-1"></i> 缓存加速</a></dd>
|
||||
<dd lay-unselect><a data-load="{:sysuri('admin/api.runtime/clear')}"><i class="layui-icon layui-icon-fonts-clear"></i> 清理缓存</a></dd>
|
||||
{/if}
|
||||
<dd lay-unselect><a data-modal="{:sysuri('admin/index/theme')}"><i class="layui-icon layui-icon-theme"></i> 配色方案</a></dd>
|
||||
<dd lay-unselect><a data-width="520px" data-modal="{:sysuri('admin/index/theme')}"><i class="layui-icon layui-icon-theme"></i> 配色方案</a></dd>
|
||||
<dd lay-unselect><a data-load="{:sysuri('admin/login/out')}" data-confirm="确定要退出登录吗?"><i class="layui-icon layui-icon-release"></i> 退出登录</a></dd>
|
||||
</dl>
|
||||
<a class="layui-elip">
|
||||
|
10
public/static/theme/css/_layout_2_black.less
Normal file
10
public/static/theme/css/_layout_2_black.less
Normal file
@ -0,0 +1,10 @@
|
||||
@charset "UTF-8";
|
||||
@import "_config.less";
|
||||
|
||||
.layui-layout-theme-black-2 {
|
||||
|
||||
@iconWidth: 100px !important;
|
||||
@mainColor: #393D49 !important;
|
||||
|
||||
@import (multiple)"_layout_2.less";
|
||||
}
|
10
public/static/theme/css/_layout_2_red.less
Normal file
10
public/static/theme/css/_layout_2_red.less
Normal file
@ -0,0 +1,10 @@
|
||||
@charset "UTF-8";
|
||||
@import "_config.less";
|
||||
|
||||
.layui-layout-theme-red-2 {
|
||||
|
||||
@iconWidth: 100px !important;
|
||||
@mainColor: #AA3130 !important;
|
||||
|
||||
@import (multiple)"_layout_2.less";
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -71,7 +71,9 @@ body {
|
||||
@import '_layout_1_blue.less';
|
||||
@import '_layout_1_black.less';
|
||||
|
||||
@import '_layout_2_green.less';
|
||||
@import '_layout_2_red.less';
|
||||
@import '_layout_2_blue.less';
|
||||
@import '_layout_2_black.less';
|
||||
@import '_layout_2_green.less';
|
||||
|
||||
@import '_layout_white.less';
|
Loading…
x
Reference in New Issue
Block a user