refactor: refactor the frame layout of admin module

This commit is contained in:
RockYang
2023-06-21 14:22:28 +08:00
parent 0e6606e469
commit 3674d9da85
35 changed files with 1758 additions and 334 deletions

View File

@@ -0,0 +1,23 @@
.header{
background-color: #242f42;
}
.login-wrap{
background: #324157;
}
.plugins-tips{
background: #eef1f6;
}
.plugins-tips a{
color: #20a0ff;
}
.tags-li.active {
border: 1px solid #409EFF;
background-color: #409EFF;
}
.message-title{
color: #20a0ff;
}
.collapse-btn:hover{
background: rgb(40,52,70);
}

138
web/src/assets/css/main.css Normal file
View File

@@ -0,0 +1,138 @@
* {
margin: 0;
padding: 0;
}
html,
body,
#app,
.wrapper {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
}
a {
text-decoration: none
}
.content-box {
position: absolute;
left: 250px;
right: 0;
top: 70px;
bottom: 0;
padding-bottom: 30px;
-webkit-transition: left .3s ease-in-out;
transition: left .3s ease-in-out;
background: #f0f0f0;
}
.content {
width: auto;
height: 100%;
padding: 10px;
overflow-y: scroll;
box-sizing: border-box;
}
.content-collapse {
left: 65px;
}
.container {
padding: 30px;
background: #fff;
border: 1px solid #ddd;
border-radius: 5px;
}
.crumbs {
margin: 10px 0;
}
.el-table th {
background-color: #f5f7fa !important;
}
.pagination {
margin: 20px 0;
text-align: right;
}
.plugins-tips {
padding: 20px 10px;
margin-bottom: 20px;
}
.el-button + .el-tooltip {
margin-left: 10px;
}
.el-table tr:hover {
background: #f6faff;
}
.mgb20 {
margin-bottom: 20px;
}
.move-enter-active,
.move-leave-active {
transition: opacity .1s ease;
}
.move-enter-from,
.move-leave-to {
opacity: 0;
}
/*BaseForm*/
.form-box {
width: 600px;
}
.form-box .line {
text-align: center;
}
.el-time-panel__content::after,
.el-time-panel__content::before {
margin-top: -7px;
}
.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default) {
padding-bottom: 0;
}
[class*=" el-icon-"], [class^=el-icon-] {
speak: none;
font-style: normal;
font-weight: 400;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align: baseline;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.el-sub-menu [class^=el-icon-] {
vertical-align: middle;
margin-right: 5px;
width: 24px;
text-align: center;
font-size: 18px;
}
[hidden] {
display: none !important;
}

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4125778 */
src: url('iconfont.woff2?t=1686901862117') format('woff2'),
url('iconfont.woff?t=1686901862117') format('woff'),
url('iconfont.ttf?t=1686901862117') format('truetype');
src: url('iconfont.woff2?t=1687320603149') format('woff2'),
url('iconfont.woff?t=1687320603149') format('woff'),
url('iconfont.ttf?t=1687320603149') format('truetype');
}
.iconfont {
@@ -13,6 +13,50 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-home:before {
content: "\e6cb";
}
.icon-menu:before {
content: "\e6a6";
}
.icon-log:before {
content: "\e61c";
}
.icon-user-fill:before {
content: "\e7d5";
}
.icon-user-circle:before {
content: "\e860";
}
.icon-chart:before {
content: "\e631";
}
.icon-wechat:before {
content: "\e621";
}
.icon-config:before {
content: "\e612";
}
.icon-api-key:before {
content: "\e7d8";
}
.icon-role:before {
content: "\e60a";
}
.icon-dashboard:before {
content: "\e602";
}
.icon-password:before {
content: "\e62a";
}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +0,0 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=4125778
HostUrl=https://www.iconfont.cn/api/project/download.zip?spm=a313x.7781069.1998910419.d7543c303&pid=4125778&ctoken=SHhMU2NkC6BavrZsXJmrL-LS

View File

@@ -5,6 +5,83 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "673799",
"name": "首页",
"font_class": "home",
"unicode": "e6cb",
"unicode_decimal": 59083
},
{
"icon_id": "11808058",
"name": "menu",
"font_class": "menu",
"unicode": "e6a6",
"unicode_decimal": 59046
},
{
"icon_id": "1166053",
"name": "日志",
"font_class": "log",
"unicode": "e61c",
"unicode_decimal": 58908
},
{
"icon_id": "6151151",
"name": "user-fill",
"font_class": "user-fill",
"unicode": "e7d5",
"unicode_decimal": 59349
},
{
"icon_id": "6172778",
"name": "user-circle",
"font_class": "user-circle",
"unicode": "e860",
"unicode_decimal": 59488
},
{
"icon_id": "7821146",
"name": "chart",
"font_class": "chart",
"unicode": "e631",
"unicode_decimal": 58929
},
{
"icon_id": "8430216",
"name": "wechat",
"font_class": "wechat",
"unicode": "e621",
"unicode_decimal": 58913
},
{
"icon_id": "9769247",
"name": "config",
"font_class": "config",
"unicode": "e612",
"unicode_decimal": 58898
},
{
"icon_id": "10055632",
"name": "API密钥",
"font_class": "api-key",
"unicode": "e7d8",
"unicode_decimal": 59352
},
{
"icon_id": "11466716",
"name": "mg-role",
"font_class": "role",
"unicode": "e60a",
"unicode_decimal": 58890
},
{
"icon_id": "4194141",
"name": "首页dashboard",
"font_class": "dashboard",
"unicode": "e602",
"unicode_decimal": 58882
},
{
"icon_id": "611345",
"name": "密码",

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB