style: 修改layout样式

This commit is contained in:
xiaoxian521 2021-10-24 11:53:43 +08:00
parent 70af35dbf5
commit 2d9c185b4e
3 changed files with 21 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/iconfont.css" /> <link rel="stylesheet" href="/iconfont.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>后台管理系统</title> <title>vue-pure-admin</title>
<script src="/sortable.min.js"></script> <script src="/sortable.min.js"></script>
<script> <script>
window.process = {}; window.process = {};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -465,6 +465,10 @@
background-color: #1890ff !important; background-color: #1890ff !important;
content: ""; content: "";
clear: both; clear: both;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: translateY(0);
transform: translateY(0);
} }
// 无子菜单 // 无子菜单
@ -477,6 +481,22 @@
background-color: #1890ff !important; background-color: #1890ff !important;
content: ""; content: "";
clear: both; clear: both;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: translateY(0);
transform: translateY(0);
}
.el-menu--collapse .outer-most.el-sub-menu > .el-sub-menu__title::before,
.el-menu--collapse .submenu-title-noDropdown.outer-most::before {
content: "";
display: block;
position: absolute;
height: 0;
width: 3px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
top: 50%;
} }
// 手机端 // 手机端