Commit a9616080 authored by xishifeng's avatar xishifeng

样式调整

parent 3ed98725
......@@ -54,6 +54,9 @@ a:hover{
.nav .open > a {
background-color: transparent;
}
.nav .open > a:hover {
background-color: transparent;
}
.nav .open > a:focus {
background-color: transparent;
}
......@@ -115,21 +118,38 @@ a:hover{
position: relative;
width: 100%;
}
.menu-main-li.active-main-li>a{
background-color: yellow;
.sidebar-nav li:before {
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 {
background:rgba(255,148,25,0.1) !important;
}
.menu-main-li:hover>a{
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 {
color: #dddddd;
display: block;
padding: 13px 15px 13px 30px;
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 {
background-color: #222222;
border-radius: 0;
......@@ -140,7 +160,16 @@ a:hover{
position: relative;
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 {
font-size: 20px;
height: 65px;
......@@ -152,7 +181,7 @@ a:hover{
.span-list{
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;
}
.successModel{
......
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