From 7e3ff88f597fb7e510d7f84ed471f3d5252aeda3 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Fri, 14 Apr 2017 13:05:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0LgbDropdown=E6=8E=A7=E4=BB=B6=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Content/admin.css | 6 +++++- Bootstrap.Admin/Content/site.css | 12 +++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Bootstrap.Admin/Content/admin.css b/Bootstrap.Admin/Content/admin.css index 1c985959..a50b35b5 100644 --- a/Bootstrap.Admin/Content/admin.css +++ b/Bootstrap.Admin/Content/admin.css @@ -2,6 +2,11 @@ display: inline-block; } + .lgbDropdown .dropdown-menu > li > a:hover { + background: #007AC0; + color: #fff; + } + .logTs, .logSql, .logDbExcep { color: red; font-weight: 600; @@ -38,7 +43,6 @@ color: #ac2925; } - .form-inline .form-group { margin-bottom: 15px; } diff --git a/Bootstrap.Admin/Content/site.css b/Bootstrap.Admin/Content/site.css index c92aa772..621d74ee 100644 --- a/Bootstrap.Admin/Content/site.css +++ b/Bootstrap.Admin/Content/site.css @@ -23,8 +23,17 @@ a, a:hover, a:focus { .dropdown-menu { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.176); + padding: 0; } + .dropdown-menu > li > a { + padding: 6px 20px; + } + + .dropdown-menu .divider { + margin: 1px 0; + } + .card-view:not(:last-child) { margin-bottom: 6px; } @@ -48,7 +57,6 @@ a, a:hover, a:focus { float: right; } - .header > .dropdown > a { border: 1px solid #eee; border-radius: 4px; @@ -80,7 +88,6 @@ a, a:hover, a:focus { top: 50px; left: auto; right: 0; - padding: 0; } .header > .dropdown .dropdown-menu li { @@ -237,7 +244,6 @@ a, a:hover, a:focus { top: 32px; left: -74px; width: 235px; - padding: 0; border: none; }