From f147aa3736d34a05db6144aaefa3e76b2afa2d03 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 5 Oct 2019 23:38:12 +0800 Subject: [PATCH] =?UTF-8?q?style:=20Header=20=E9=AB=98=E5=BA=A6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=90=8E=E5=BE=AE=E8=B0=83=20badge=20=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue link #I12YES --- src/admin/Bootstrap.Admin/wwwroot/css/lte.css | 6 +++++- src/admin/Bootstrap.Admin/wwwroot/css/theme.css | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/admin/Bootstrap.Admin/wwwroot/css/lte.css b/src/admin/Bootstrap.Admin/wwwroot/css/lte.css index 00f21fad..d7e28c61 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/css/lte.css +++ b/src/admin/Bootstrap.Admin/wwwroot/css/lte.css @@ -17,6 +17,10 @@ padding: 16px 12px; } + .header .badge { + top: 4px; + } + .header nav, .userinfo .dropdown-toggle:after { display: none; } @@ -106,7 +110,7 @@ .userinfo .dropdown-item a .badge { top: 74px; left: auto; - right: 42px; + right: 36px; } .userinfo .dropdown-item:last-child { diff --git a/src/admin/Bootstrap.Admin/wwwroot/css/theme.css b/src/admin/Bootstrap.Admin/wwwroot/css/theme.css index d56c0dc5..da18d00e 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/css/theme.css +++ b/src/admin/Bootstrap.Admin/wwwroot/css/theme.css @@ -39,8 +39,8 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow .header .badge { position: absolute; - right: -6px; - top: 4px; + right: -12px; + top: -4px; opacity: 0.8; z-index: 1; } @@ -157,7 +157,7 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow } .userinfo .badge { - left: 234px; + left: 224px; right: auto; top: 6px; }