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) {