From f2cbf24724f505bd0950f7e1fd29065579180723 Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Mon, 1 Oct 2018 13:22:27 +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=BE=AE=E8=B0=83=E9=98=B4=E5=BD=B1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/theme.css | 31 +++++++++++---------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/theme.css b/Bootstrap.Admin/wwwroot/css/theme.css index 2f4a8354..5d9fc490 100644 --- a/Bootstrap.Admin/wwwroot/css/theme.css +++ b/Bootstrap.Admin/wwwroot/css/theme.css @@ -263,41 +263,34 @@ input.pending { border-color: transparent transparent #dc3545; } -.shadow-primary:hover { - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 123, 255, 0.5); +.show .shadow-primary, .shadow-primary:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 123, 255, 0.5); - border-color: #007bff; + border-color: #007bff !important; } -.shadow-success:hover { - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5); +.show .shadow-success, .shadow-success:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5); - border-color: #28a745; + border-color: #28a745 !important; } -.shadow-info:hover { - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5); +.show .shadow-info, .shadow-info:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5); - border-color: #17a2b8; + border-color: #17a2b8 !important; } -.shadow-warning:hover { - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5); +.show .shadow-warning, .shadow-warning:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5); - border-color: #ffc107; + border-color: #ffc107 !important; } -.shadow-danger:hover { - border: 1px solid #dc3545; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5); +.show .shadow-danger, .shadow-danger:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5); + border: 1px solid #dc3545 !important; } -.shadow-default, .shadow-default:hover { - border: 1px solid #337ab7; - color: #333; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); +.show .shadow-default, .shadow-default:hover { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); + border: 1px solid #337ab7; } .mCSB_scrollTools {