From d9d3f0145ba68d4d9c633c2d648322f7c7d560e6 Mon Sep 17 00:00:00 2001 From: smallwei <1634566606@qq.com> Date: Wed, 6 Mar 2019 14:37:47 +0800 Subject: [PATCH] fix new theme --- src/styles/sidebar.scss | 6 ++++++ src/styles/theme/d2.scss | 2 +- src/styles/theme/iview.scss | 23 +++++++++++++---------- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 998233b..96edd24 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -3,6 +3,9 @@ .el-menu--popup{ .el-menu-item{ background-color: #20222a; + i{ + margin-right: 5px; + } i,span{ color:hsla(0,0%,100%,.7); } @@ -56,6 +59,9 @@ background-color: rgba(0,0,0,.4); } .el-menu-item,.el-submenu__title{ + i{ + margin-right: 5px; + } i,span{ color:hsla(0,0%,100%,.7); } diff --git a/src/styles/theme/d2.scss b/src/styles/theme/d2.scss index e78c9b8..479fc0f 100644 --- a/src/styles/theme/d2.scss +++ b/src/styles/theme/d2.scss @@ -4,7 +4,7 @@ background-color: #ebf1f6; box-shadow: none; .avue-logo_title{ - font-size: 24px; + font-size: 22px; font-weight: 400; } } diff --git a/src/styles/theme/iview.scss b/src/styles/theme/iview.scss index 016c1a1..1c6a844 100644 --- a/src/styles/theme/iview.scss +++ b/src/styles/theme/iview.scss @@ -4,16 +4,19 @@ box-shadow: none; text-align: center; .avue-logo_title{ - padding: 5px 8px 8px 8px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; - font-size: 25px; - color:#fff; - font-weight: 500; - display: inline; - background-color: #409EFF; + div{ + border-top-left-radius: 5px; + border-top-right-radius: 5px; + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + font-size: 22px; + color:#fff; + font-weight: 500; + margin: 10px auto; + width: 180px; + height: 45px; + background-color: #409EFF; + } } } .avue-tags{