优化后台样式

This commit is contained in:
邹景立 2022-03-06 10:33:30 +08:00
parent 6a01c4d83e
commit 501e98853c
8 changed files with 19 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<div class="layui-side notselect">
<div class="layui-side">
<a class="layui-side-target" data-target-menu-type></a>
<a class="layui-logo layui-elip" href="{:sysuri('@')}" title="{:sysconf('app_name')}">
<span class="headimg headimg-no headimg-xs" data-lazy-src="{:sysconf('site_icon')}"></span>

View File

@ -1,4 +1,4 @@
<div class="layui-header notselect">
<div class="layui-header">
<ul class="layui-nav layui-layout-left">
<li class="layui-nav-item" lay-unselect>
<a class="text-center" data-target-menu-type>

View File

@ -2,7 +2,7 @@
{block name='style'}{/block}
{block name='header'}
{notempty name='title'}
<div class="layui-card-header notselect">
<div class="layui-card-header">
<span class="layui-icon font-s10 color-desc margin-right-5">&#xe65b;</span>{$title|default=''}
<div class="pull-right">{block name='button'}{/block}</div>
</div>

View File

@ -115,6 +115,14 @@
-moz-osx-font-smoothing: grayscale;
}
// 禁止选中内容
#NotSelect() {
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none
}
// Flex 基础定位
#flex() {
display: -moz-box;

View File

@ -195,10 +195,7 @@
}
.notselect {
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none
#NotSelect();
}
.transition {

View File

@ -24,6 +24,7 @@
position: absolute;
box-sizing: content-box;
background: @TopHeaderBackColor !important;
#NotSelect();
> ul.layui-nav {
margin: 0;
@ -147,6 +148,7 @@
overflow: hidden;
box-shadow: @ShadowBodyLeft;
background-color: @LeftMainBackColor;
#NotSelect();
.layui-logo {
color: #FFF;
@ -356,6 +358,7 @@
left: @LayoutDefaLeftSzie;
border-top: @BoxBottomLine;
border-bottom: 1px solid #fff !important;
#NotSelect();
right: 0;
height: 45px;
@ -366,10 +369,10 @@
line-height: 45px;
& + .layui-card-line {
top: 46px;
top: 47px;
& + .layui-card-body {
top: 46px;
top: 47px;
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long