From 3b4a7be2ec4236c6d22d6893dae19b530fb9ff14 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 22 Aug 2019 20:40:46 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=AD=90?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E9=A1=B6=E9=83=A8=E5=A2=9E=E5=8A=A04px?= =?UTF-8?q?=E9=97=B4=E9=9A=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/theme.css | 8 ++++++-- Bootstrap.Client/wwwroot/css/theme.css | 12 ++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/theme.css b/Bootstrap.Admin/wwwroot/css/theme.css index a44d73f1..e0312237 100644 --- a/Bootstrap.Admin/wwwroot/css/theme.css +++ b/Bootstrap.Admin/wwwroot/css/theme.css @@ -273,10 +273,14 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou width: 22px; } - .sidebar .sub .nav-item { - margin-right: 0; + .sidebar .sub { + margin-top: 4px; } + .sidebar .sub .nav-item { + margin-right: 0; + } + .sidebar .nav-link .fa-angle-left { transition: all .3s linear; transform-origin: center; diff --git a/Bootstrap.Client/wwwroot/css/theme.css b/Bootstrap.Client/wwwroot/css/theme.css index 6c06cb8d..b994796c 100644 --- a/Bootstrap.Client/wwwroot/css/theme.css +++ b/Bootstrap.Client/wwwroot/css/theme.css @@ -273,10 +273,14 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou width: 22px; } - .sidebar .sub .nav-item { - margin-right: 0; + .sidebar .sub { + margin-top: 4px; } + .sidebar .sub .nav-item { + margin-right: 0; + } + .sidebar .nav-link .fa-angle-left { transition: all .3s linear; transform-origin: center; @@ -286,12 +290,12 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg):not(.btn-xs), .input-grou transform: rotate(-90deg); } - .sidebar .nav-sidebar > .nav-item > .nav-link:hover, + .sidebar .nav-sidebar > .nav-item > .nav-link:hover, .sidebar .nav-sidebar > .nav-item > .nav-link[aria-expanded="true"], .sidebar .show .nav-item .nav-link:hover:before, .sidebar .nav-sidebar .nav-item:not(.parent) .nav-link.active:before, .sidebar .nav-sidebar .nav-link.active { - background-color: rgba(255,255,255,.1); + background-color: rgba(255,255,255,.1); } .sidebar .nav-sidebar .show .nav-link, .sidebar .nav-sidebar .collapsing .nav-link {