Commit 5bc99d3b authored by xishifeng's avatar xishifeng

优化

parent 6b34d327
...@@ -139,7 +139,7 @@ a:hover{ ...@@ -139,7 +139,7 @@ a:hover{
} }
.open>a #icon_more_menu{ .open>a #icon_more_menu{
width: 9px; width: 9px;
height: 7px; height: 14px;
margin-left: 10px; margin-left: 10px;
float: right; float: right;
margin-top: 2px; margin-top: 2px;
...@@ -182,18 +182,6 @@ a:hover{ ...@@ -182,18 +182,6 @@ a:hover{
/*width: 100%;*/ /*width: 100%;*/
width: 136px; width: 136px;
} }
.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 { .sidebar-nav .dropdown-menu li:before {
background:rgba(255,148,25,0.1) !important; background:rgba(255,148,25,0.1) !important;
} }
...@@ -211,6 +199,9 @@ a:hover{ ...@@ -211,6 +199,9 @@ a:hover{
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 12px;
} }
.sidebar-nav .dropdown-menu li a{
padding: 13px 0 13px;
}
.sidebar-nav .open a{ .sidebar-nav .open a{
font-weight: 400; font-weight: 400;
...@@ -233,7 +224,9 @@ a:hover{ ...@@ -233,7 +224,9 @@ a:hover{
margin: 0; margin: 0;
padding: 0; padding: 0;
position: relative; position: relative;
width: 100%; width: 136px;
left: 0;
top: 0;
} }
.sidebar-nav li a:hover, .sidebar-nav li a:hover,
.sidebar-nav li a:active, .sidebar-nav li a:active,
......
...@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if($.trim(_this.html()).indexOf("隐藏")!=-1){ if($.trim(_this.html()).indexOf("隐藏")!=-1){
$('#sidebar-wrapper').hide(); $('#sidebar-wrapper').hide();
_this.html('显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>'); _this.html('显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>');
// $("#page-content-wrapper").css("width","88%");//内容显示大小 $("#page-content-wrapper").css("width","100%");//内容显示大小
}else{ }else{
$('#sidebar-wrapper').show(); $('#sidebar-wrapper').show();
_this.html('隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>'); _this.html('隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>');
// $("#page-content-wrapper").css("width","88%");//内容显示大小 $("#page-content-wrapper").css("width","86%");//内容显示大小
} }
}); });
//显示操作里的按钮 //显示操作里的按钮
......
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