From 59be8816ee9e0af473538476bf6c51e877a418b4 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 18 Aug 2019 17:51:45 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=BE=AE=E8=B0=83=E4=B8=BB=E4=BD=93?= =?UTF-8?q?=E4=B8=8E=E9=A1=B6=E9=83=A8=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/lte.css | 2 +- Bootstrap.Admin/wwwroot/css/site.css | 4 ++-- Bootstrap.Admin/wwwroot/css/theme.css | 2 +- Bootstrap.Client/wwwroot/css/lte.css | 17 +++++++---------- Bootstrap.Client/wwwroot/css/theme.css | 8 ++++++++ 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/lte.css b/Bootstrap.Admin/wwwroot/css/lte.css index 23114cbf..cff56718 100644 --- a/Bootstrap.Admin/wwwroot/css/lte.css +++ b/Bootstrap.Admin/wwwroot/css/lte.css @@ -109,7 +109,7 @@ } .userinfo.show .dropdown-menu { - margin-top: 8px; + margin-top: 4px; left: auto !important; } diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css index 139e6699..4dd35b3b 100644 --- a/Bootstrap.Admin/wwwroot/css/site.css +++ b/Bootstrap.Admin/wwwroot/css/site.css @@ -111,7 +111,7 @@ left: 0; bottom: 40px; right: 0; - top: 96px; + top: 93px; transition: margin-left .3s ease-in-out; } @@ -274,7 +274,7 @@ } #nprogress .spinner { - top: 22px; + top: 19px; right: 17px; } diff --git a/Bootstrap.Admin/wwwroot/css/theme.css b/Bootstrap.Admin/wwwroot/css/theme.css index 6c06cb8d..e4486705 100644 --- a/Bootstrap.Admin/wwwroot/css/theme.css +++ b/Bootstrap.Admin/wwwroot/css/theme.css @@ -331,7 +331,7 @@ aside { transition: transform .3s ease-in-out; transform: translate(-100%); position: absolute; - top: 96px; + top: 93px; bottom: 0; left: 0; right: 0; diff --git a/Bootstrap.Client/wwwroot/css/lte.css b/Bootstrap.Client/wwwroot/css/lte.css index c13b32d2..4d623ebc 100644 --- a/Bootstrap.Client/wwwroot/css/lte.css +++ b/Bootstrap.Client/wwwroot/css/lte.css @@ -109,22 +109,20 @@ } .userinfo.show .dropdown-menu { - margin-top: 8px; + margin-top: 4px; left: auto !important; } +aside, .main-content { + top: 55px; +} + aside { background-color: #1a2226; } - aside .bg { - background-color: #337ab7; - height: 3px; - margin: 0 -15px; - } - aside .nav-brand, .sidebar-open aside:hover .nav-brand { - height: 54px; + height: 55px; align-items: center; padding: 0 0.625rem; } @@ -152,7 +150,6 @@ aside { } .main-content { - top: 58px; transition: margin-left .3s linear; } @@ -253,7 +250,7 @@ body { } aside .sidebar, .sidebar-open aside:hover .sidebar { - top: 139px; + top: 136px; transition: top .3s linear; } diff --git a/Bootstrap.Client/wwwroot/css/theme.css b/Bootstrap.Client/wwwroot/css/theme.css index 8aa0595e..6c06cb8d 100644 --- a/Bootstrap.Client/wwwroot/css/theme.css +++ b/Bootstrap.Client/wwwroot/css/theme.css @@ -11,6 +11,14 @@ body { -webkit-overflow-scrolling: touch; } +.bg { + background-color: #337ab7; + height: 3px; + position: absolute; + left: 0; + right: 0; +} + aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdown-item:first-child { display: none; }