From da1f1731fa98074bead942ffa1325f2d14d4b960 Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Mon, 1 Oct 2018 19:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A0=B7=E5=BC=8F=EF=BC=9A?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=80=9A=E7=9F=A5=E6=A0=8F=E6=9D=A1=E7=9B=AE?= =?UTF-8?q?hover=E6=95=88=E6=9E=9C=EF=BC=8C=E5=A2=9E=E5=8A=A0dropdown-item?= =?UTF-8?q?:active=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=A6=86=E7=9B=96=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=93=9D=E8=89=B2=E8=83=8C=E6=99=AF=E8=89=B2=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/site.css | 9 +++++++-- Bootstrap.Client/wwwroot/css/site.css | 7 ++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css index 95e179bb..22c8fee6 100644 --- a/Bootstrap.Admin/wwwroot/css/site.css +++ b/Bootstrap.Admin/wwwroot/css/site.css @@ -145,6 +145,11 @@ a, a:hover, a:focus { opacity: 0.8; } +.dropdown-item.active, .dropdown-item:active { + color: rgba(0, 0, 0, 0.9); + background-color: rgba(0, 0, 0, 0.05); +} + .dropdown-item i + span { margin-left: 6px; } @@ -194,8 +199,8 @@ a, a:hover, a:focus { background-color: rgba(0, 0, 0, 0.05); } - .nav .dropdown-item:hover { - background-color: #93c9e8; + .nav .dropdown-item.active, .nav .dropdown-item:active { + color: #212529; } .nav .dropdown-item > :nth-child(2) { diff --git a/Bootstrap.Client/wwwroot/css/site.css b/Bootstrap.Client/wwwroot/css/site.css index b4d6982c..0d58308a 100644 --- a/Bootstrap.Client/wwwroot/css/site.css +++ b/Bootstrap.Client/wwwroot/css/site.css @@ -152,9 +152,6 @@ a, a:hover, a:focus { .dropdown-item.active, .dropdown-item:active { color: rgba(0, 0, 0, 0.9); -} - -.dropdown-item:hover, .dropdown-item:active, .dropdown-item.active { background-color: rgba(0, 0, 0, 0.05); } @@ -207,8 +204,8 @@ a, a:hover, a:focus { background-color: rgba(0, 0, 0, 0.05); } - .nav .dropdown-item:hover { - background-color: #93c9e8; + .nav .dropdown-item.active, .nav .dropdown-item:active { + color: #212529; } .nav .dropdown-item > :nth-child(2) {