修改样式

This commit is contained in:
Anyon 2022-01-18 16:06:34 +08:00
parent 1b472c3452
commit 29185e9875
3 changed files with 11 additions and 11 deletions

View File

@ -10,7 +10,7 @@
{foreach $menus as $one} {foreach $menus as $one}
<div> <div>
<a data-menu-node="m-{$one.id}" data-open="{$one.url}" data-target-tips="{$one.title|default=''}"> <a data-menu-node="m-{$one.id}" data-open="{$one.url}" data-target-tips="{$one.title|default=''}">
<i class="layui-icon layui-icon-ie font-s20"></i> <i class="{$one.icon|default='layui-icon layui-icon-ie'} font-s20"></i>
</a> </a>
</div> </div>
{/foreach} {/foreach}

View File

@ -23,30 +23,30 @@
@InputBorderActiveColor: #DDD; @InputBorderActiveColor: #DDD;
// 基础阴影配置 // 基础阴影配置
@ShadowMinOuter: 0 0 4px 0 rgba(0, 0, 0, .20); @ShadowMinOuter: 0 0 4px 0 rgba(0, 0, 0, 0.20);
@ShadowMaxOuter: 0 0 6px 0 rgba(0, 0, 0, .20); @ShadowMaxOuter: 0 0 6px 0 rgba(0, 0, 0, 0.20);
@ShadowMaxInset: 0 1px 20px 0 rgba(0, 0, 0, .10) inset; @ShadowMaxInset: 0 1px 20px 0 rgba(0, 0, 0, 0.10) inset;
@ShadowDownInset: 0 1px 6px 0 rgba(0, 0, 0, .10) inset; @ShadowDownInset: 0 1px 6px 0 rgba(0, 0, 0, 0.10) inset;
// 导航条颜色配置 // 导航条颜色配置
@TopHeaderTextColor: #333; @TopHeaderTextColor: #333;
@TopHeaderBackColor: #FFF; @TopHeaderBackColor: #FFF;
@TopHeaderBottomLine: 1px solid rgba(0, 0, 0, .16); @TopHeaderBottomLine: 1px solid rgba(0, 0, 0, 0.16);
@TopHeaderNavNormalTextColor: @TopHeaderTextColor; @TopHeaderNavNormalTextColor: @TopHeaderTextColor;
@TopHeaderNavNormalBackColor: @TopHeaderBackColor; @TopHeaderNavNormalBackColor: @TopHeaderBackColor;
// 导航条按钮颜色 // 导航条按钮颜色
@TopHeaderHeight: 50px; @TopHeaderHeight: 50px;
@TopHeaderNavHoverTextColor: #000; @TopHeaderNavHoverTextColor: #000;
@TopHeaderNavHoverBackColor: rgba(0, 0, 0, .05); @TopHeaderNavHoverBackColor: rgba(0, 0, 0, 0.05);
@TopHeaderNavActiveTextColor: #000; @TopHeaderNavActiveTextColor: #000;
@TopHeaderNavActiveBackColor: rgba(0, 0, 0, .10); @TopHeaderNavActiveBackColor: rgba(0, 0, 0, 0.10);
// 左侧菜单布局颜色 // 左侧菜单布局颜色
@LeftMainBackColor: #393D49 !important; @LeftMainBackColor: #393D49 !important;
@LeftMainSubBackColor: rgba(0, 0, 0, .3) !important; @LeftMainSubsBackColor: rgba(0, 0, 0, 0.3) !important;
@LeftMainNavHoverBackColor: rgba(99, 99, 99, .2); @LeftMainNavHoverBackColor: rgba(99, 99, 99, 0.2);
@LeftMainNavHoverTextColor: #FFF; @LeftMainNavHoverTextColor: #FFF;
@LeftMainNavNormalBackColor: none; @LeftMainNavNormalBackColor: none;

View File

@ -218,7 +218,7 @@
.layui-nav-child { .layui-nav-child {
padding: 0; padding: 0;
// background-color: @LeftMainSubBackColor; // background-color: @LeftMainSubsBackColor;
background-color: unset !important; background-color: unset !important;
} }