修改后台样式

This commit is contained in:
Anyon 2022-04-18 16:25:03 +08:00
parent 3cef4f83c4
commit 5530384e49
9 changed files with 31 additions and 16 deletions

View File

@ -86,11 +86,11 @@
} }
// 通用延时动态 // 通用延时动态
#defaTransition(@time:0.2s) { #defaTransition(@time:0.2s,@type:all) {
transition: all @time linear; transition: @type @time linear;
-o-transition: all @time linear; -o-transition: @type @time linear;
-moz-transition: all @time linear; -moz-transition: @type @time linear;
-webkit-transition: all @time linear; -webkit-transition: @type @time linear;
} }
// 内容主体布局 // 内容主体布局

View File

@ -1,16 +1,27 @@
@charset "UTF-8";
@import "_config.less";
> .layui-layout-admin { > .layui-layout-admin {
> .layui-side { > .layui-side {
background-color: @leftBackColor; background: @leftBackColor;
#leftBackColor() {
background-color: rgba(0, 0, 0, 0.6);
}
.layui-logo { .layui-logo {
#leftBackColor();
.headtxt { .headtxt {
text-shadow: rgba(0, 0, 0, .5) 1px 2px 2px; text-shadow: rgba(0, 0, 0, 0.5) 1px 2px 2px;
} }
} }
.layui-side-scroll { .layui-side-scroll {
display: flex !important; display: flex !important;
box-sizing: border-box; box-sizing: border-box;
#leftBackColor();
#defaTransition(0.2s, 'background-color');
.layui-side-icon { .layui-side-icon {
display: none; display: none;
@ -47,6 +58,7 @@
> .layui-header { > .layui-header {
background: @headNormalBackColor; background: @headNormalBackColor;
#defaTransition(0.2s, 'background-color');
.layui-nav-item { .layui-nav-item {
&.layui-this > a { &.layui-this > a {
@ -65,9 +77,9 @@
} }
} }
//.help-label b { .help-label b {
// color: @mainActiveBack color: @mainActiveBack
//} }
.layui-btn-group { .layui-btn-group {
border-color: @mainActiveBack; border-color: @mainActiveBack;

View File

@ -17,7 +17,7 @@
@leftNormalTextColor: @mainNormalText; @leftNormalTextColor: @mainNormalText;
@leftActiveTextColor: @mainActionText; @leftActiveTextColor: @mainActionText;
@leftBackColor: #20222A !important; @leftBackColor: @mainActiveBack;
@leftNormalBackColor: @mainNormalBack; @leftNormalBackColor: @mainNormalBack;
@leftActiveBackColor: #098 !important; @leftActiveBackColor: #098 !important;

View File

@ -17,7 +17,7 @@
@leftNormalTextColor: @mainNormalText; @leftNormalTextColor: @mainNormalText;
@leftActiveTextColor: @mainActionText; @leftActiveTextColor: @mainActionText;
@leftBackColor: #344058 !important; @leftBackColor: @mainActiveBack;
@leftNormalBackColor: @mainNormalBack; @leftNormalBackColor: @mainNormalBack;
@leftActiveBackColor: @mainActiveBack; @leftActiveBackColor: @mainActiveBack;

View File

@ -17,7 +17,7 @@
@leftNormalTextColor: @mainNormalText; @leftNormalTextColor: @mainNormalText;
@leftActiveTextColor: @mainActionText; @leftActiveTextColor: @mainActionText;
@leftBackColor: #344058 !important; @leftBackColor: @mainActiveBack;
@leftNormalBackColor: @mainNormalBack; @leftNormalBackColor: @mainNormalBack;
@leftActiveBackColor: @mainActiveBack; @leftActiveBackColor: @mainActiveBack;

View File

@ -17,7 +17,7 @@
@leftNormalTextColor: @mainNormalText; @leftNormalTextColor: @mainNormalText;
@leftActiveTextColor: @mainActionText; @leftActiveTextColor: @mainActionText;
@leftBackColor: #344058 !important; @leftBackColor: @mainActiveBack;
@leftNormalBackColor: @mainNormalBack; @leftNormalBackColor: @mainNormalBack;
@leftActiveBackColor: @mainActiveBack; @leftActiveBackColor: @mainActiveBack;

View File

@ -1,3 +1,6 @@
@charset "UTF-8";
@import "_config.less";
> .layui-layout-admin { > .layui-layout-admin {
> .layui-side { > .layui-side {
width: 260px; width: 260px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long