修改后台样式

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) {
transition: all @time linear;
-o-transition: all @time linear;
-moz-transition: all @time linear;
-webkit-transition: all @time linear;
#defaTransition(@time:0.2s,@type:all) {
transition: @type @time linear;
-o-transition: @type @time linear;
-moz-transition: @type @time linear;
-webkit-transition: @type @time linear;
}
// 内容主体布局

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long