From 1faeac907c24bc89f407aca96d7f8deb64c26156 Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Mon, 1 Oct 2018 13:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A0=B7=E5=BC=8F=EF=BC=9A?= =?UTF-8?q?=E7=A7=BB=E9=99=A4.header=20[data-toggle=3D"dropdown"]=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=88=86=E8=A7=A3=E6=A0=B7=E5=BC=8F=E5=88=B0?= =?UTF-8?q?nav=E4=B8=8Euserinfo=E4=B8=AD=EF=BC=8C=E4=BE=BF=E4=BA=8E?= =?UTF-8?q?=E5=A4=8D=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/css/site.css | 35 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/css/site.css b/Bootstrap.Admin/wwwroot/css/site.css index 4d5c1218..95e179bb 100644 --- a/Bootstrap.Admin/wwwroot/css/site.css +++ b/Bootstrap.Admin/wwwroot/css/site.css @@ -138,18 +138,6 @@ a, a:hover, a:focus { margin-right: 6px; } - .header [data-toggle="dropdown"] { - border: 1px solid #eee; - border-radius: 4px; - padding: 6px 12px; - color: #777; - transition: all .25s linear; - } - - .header [data-toggle="dropdown"]:hover { - color: #333; - } - .header .badge { position: absolute; right: -6px; @@ -157,16 +145,16 @@ a, a:hover, a:focus { opacity: 0.8; } - .header .dropdown-item.active, .header .dropdown-item:active { - color: #fff; - text-decoration: none; - background-color: transparent; - } - .dropdown-item i + span { margin-left: 6px; } +.nav [data-toggle="dropdown"] { + border-radius: 4px; + padding: 6px 12px; + transition: all .25s linear; +} + .nav .dropdown-menu { width: 235px; border: none; @@ -231,12 +219,23 @@ a, a:hover, a:focus { .userinfo .dropdown-toggle { display: block; padding: 6px; + border-radius: 4px; + transition: all .25s linear; +} + +.userinfo .dropdown-toggle, .nav [data-toggle="dropdown"] { + border: 1px solid #eee; + color: #777; } .userinfo .dropdown-toggle:after { vertical-align: middle; } + .userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .nav [data-toggle="dropdown"]:hover { + color: #333; + } + .userinfo .dropdown-item { display: flex; flex-wrap: wrap;