Commit a9616080 authored by xishifeng's avatar xishifeng

样式调整

parent 3ed98725
...@@ -54,6 +54,9 @@ a:hover{ ...@@ -54,6 +54,9 @@ a:hover{
.nav .open > a { .nav .open > a {
background-color: transparent; background-color: transparent;
} }
.nav .open > a:hover {
background-color: transparent;
}
.nav .open > a:focus { .nav .open > a:focus {
background-color: transparent; background-color: transparent;
} }
...@@ -115,21 +118,38 @@ a:hover{ ...@@ -115,21 +118,38 @@ a:hover{
position: relative; position: relative;
width: 100%; width: 100%;
} }
.menu-main-li.active-main-li>a{ .sidebar-nav li:before {
background-color: yellow; background-color: #ff9419;
content: '';
height: 100%;
left: 0;
position: absolute;
top: 0;
/*-webkit-transition: width 0.2s ease-in;
transition: width 0.2s ease-in;*/
width: 0px;
z-index: -1;
} }
.sidebar-nav .dropdown-menu li:before {
.menu-main-li:hover>a{ background:rgba(255,148,25,0.1) !important;
background-color: #ff9419!important;
} }
.sidebar-nav li:hover:before {
/*-webkit-transition: width 0.2s ease-in;
transition: width 0.2s ease-in;*/
width: 100%;
}
.sidebar-nav li a { .sidebar-nav li a {
color: #dddddd; color: #dddddd;
display: block; display: block;
padding: 13px 15px 13px 30px; padding: 13px 15px 13px 30px;
text-decoration: none; text-decoration: none;
} }
.sidebar-nav li.open:hover before {
/*-webkit-transition: width 0.2s ease-in;
transition: width 0.2s ease-in;*/
width: 100%;
}
.sidebar-nav .dropdown-menu { .sidebar-nav .dropdown-menu {
background-color: #222222; background-color: #222222;
border-radius: 0; border-radius: 0;
...@@ -140,7 +160,16 @@ a:hover{ ...@@ -140,7 +160,16 @@ a:hover{
position: relative; position: relative;
width: 100%; width: 100%;
} }
.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus {
background-color: transparent;
color: #ffffff;
text-decoration: none;
}
.sidebar-nav > .sidebar-brand { .sidebar-nav > .sidebar-brand {
font-size: 20px; font-size: 20px;
height: 65px; height: 65px;
...@@ -152,8 +181,8 @@ a:hover{ ...@@ -152,8 +181,8 @@ a:hover{
.span-list{ .span-list{
margin-left: 6px; margin-left: 6px;
} }
.dropdown-menu>li>a.active-sub-li{ .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
background:rgba(255,148,25,0.1) !important; background:rgba(255,148,25,0.1) !important;
} }
.successModel{ .successModel{
display: none; display: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment