Commit ee6bad34 authored by duxinyuan's avatar duxinyuan

cmmite

parent 4f4fbccb
......@@ -19,7 +19,7 @@
right:1px;
border-top: 0px solid transparent;
border-bottom: 0px solid transparent;
border-right: 20px solid #FF0000;
border-right: 25px solid rgba(255,255,255,.2);
border-left: 0px solid #ffffFF0000ff ;
height: 80px;
width: 0;
......@@ -44,30 +44,94 @@
font-size:14px;
color:#fffff;
}
.new_class {
background-color:#FF750E !important;
border : none ;
border-radius: 0px;
box-shadow: none;
color:#ffffff;
width : auto ;
margin-left:0px;
padding:0px;
}
.address_control{
width:10px;
height:12px;
float:left;
margin-top:19px;
margin-left:30px;
}
.c-user>li>a {
background-color:rgba(255,255,255) !important;
color:#333333 !important;
opacity: 30% !important;
/*padding-top:0px;*/
/*padding-bottom:0px;*/
}
.c-user{
/*padding-top:0px;*/
/*padding-bottom:0px;*/
border: none ;
box-shadow: 0 0px 22px -9px ;
}
.c-user li a:hover,
.c-user li a:active,
.c-user li a:focus,
.c-user>li>a:hover {
background-color:#cccccc !important;
color:#333333 !important;
/*padding-bottom:0px;*/
/*padding-top:0px;*/
}
.new_btn{
background-color:#FF750E !important;
background-image : none;
border :none ;
text-shadow : none ;
border-radius: 0px;
box-shadow: none;
width:auto;
padding-left :0px;
padding-right:0px;
float:left;
color:#ffffff !important;
margin-right:10px;
font-size:14px;
}
.down_control {
width : auto ;
margin-right:30px;
margin-top:12px;
}
</style>
</head>
<body style="margin: 0 auto !important">
<div class="navbar" style="background: #ff9419 !important;">
<div class="navbar" style="background: #FF750E !important;">
<div class="container-fluid">
<a class="brand">
<i><img src="/resource/image/houtai_footer_icon1.png" class="houtai_footer_icon1"></i>
<span class="hidden-phone">同联商业后台管理中心</span>
<i><img src="/resource/image/logo@1x.png" class="houtai_footer_icon1"></i>
<!--<span class="hidden-phone">同联商业后台管理中心</span>-->
</a>
</div>
<!--<select class="form-control btn2-city ld-Marheight-city" id="user_city_choose">
<option value="310100">上海市</option>
<option value="330100">杭州市</option>
</select>-->
<select class="form-control btn2-city ld-Marheight-city user_city_choose_site" disabled="disabled">
<i><img src="/resource/image/icon_address_white@1x.png" class="address_control"></i>
<select class="form-control btn2-city ld-Marheight-city user_city_choose_site new_class" disabled="disabled">
</select>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="caret"></span>
<button class="btn btn-default dropdown-toggle new_btn" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<!--<span class="caret"></span>-->
<i><img src="/resource/image/Path20@1x.png" class="down_control"></i>
<ul class="dropdown-menu c-user" aria-labelledby="dropdownMenu1">
<li><a href="#">修改密码</a></li>
<li role="separator" class="divider"></li>
<li><a href="/index/logout" id="logout">退出登录</a></li>
......@@ -80,8 +144,8 @@
<div id="hide_menu" class="" style="width:2%;display:inline;position:absolute;z-index:10000;top:80px;left:0px;">
<div class="width-136-hide hideBtn1" style=";text-align:center;">
<div style="width:100%;"><img src="/resource/image/-@1x.png" style="width:14px;height:14px;margin-left:4px;" class="houtai_footer_icon1"></div>
<span style="position:absolute;left:4px;top:28px">隐藏</span>
<div style="width:100%;"><img src="/resource/image/-@1x.png" style="width:14px;height:14px;margin-left:6px;margin-top:14px" class="houtai_footer_icon1"></div>
<span style="position:absolute;left:6px;top:34px">隐藏</span>
<!--<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>-->
</div>
</div>
......
......@@ -24,7 +24,7 @@
}
#mainFrameTabs {
padding-left:1%;
/*width:88%;*/
width:86%;
}
.nav-tabs {
border : none ;
......@@ -32,7 +32,7 @@
#topList {
background-color : #ffffff;
padding : 0px;
padding-bottom:10px;
padding-bottom:3px;
margin:0px;
}
#topList > li {
......
......@@ -47,10 +47,12 @@ a:hover{
text-decoration:none;
}
.houtai_footer_icon1{
width: 27px;
height: 27px;
/*width: 140px;*/
height: 30px;
float: left;
margin-top: 10px;
margin-left:53px;
font-size:14px;
}
.dropdown{
float: right;
......@@ -106,7 +108,7 @@ a:hover{
overflow-y: auto;
/*transition: all 0.5s ease;*/
/*width: 136px;*/
width: 12%;
width: 14%;
z-index: 1000;
float: left;
/*animation: show-mulu-action 1.3s;*/
......@@ -178,20 +180,24 @@ a:hover{
}
/*菜单图标的样式*/
#icon_more_menu{
width: 9px;
height: 14px;
width: 14px;
height: 9px;
margin-left: 10px;
float: right;
margin-top: 2px;
background: url(/resource/image/icon_more@2x.png) no-repeat center center/9px 9px;
/*background: url(/resource/image/icon_more@2x.png) no-repeat center center/9px 9px;*/
background: url(/resource/image/Path2@1x.png) no-repeat center center/9px 9px;
}
.open>a #icon_more_menu{
width: 9px;
height: 14px;
width: 8px;
height: 12px;
margin-left: 10px;
float: right;
margin-top: 2px;
background: url(/resource/image/icon_down02@2x.png) no-repeat center center/9px 7px;
margin-top: 7px;
/*background: url(/resource/image/icon_down02@2x.png) no-repeat center center/9px 7px;*/
background: url(/resource/image/Path20@1x.png) no-repeat center center/9px 7px;
}
.glyphicon-zhanwei{
margin-left:10px;
......@@ -251,7 +257,7 @@ a:hover{
font-size: 12px;
}
.sidebar-nav .dropdown-menu li a{
padding: 13px 0 13px;
padding: 8px 0 8px 30px;
}
.sidebar-nav .open a{
font-weight: 400;
......@@ -293,6 +299,22 @@ a:hover{
color: #ffffff;
text-decoration: none;
}
/*二级下拉菜单鼠标移动到上面的颜色设置*/
.sidebar-nav .dropdown-menu li a:hover,
.sidebar-nav .dropdown-menu li a:active,
.sidebar-nav .dropdown-menu li a:focus,
.sidebar-nav .dropdown-menu li.open a:hover,
.sidebar-nav .dropdown-menu li.open a:active,
.sidebar-nav .dropdown-menu li.open a:focus {
background: -webkit-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -o-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -moz-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2) !important;
color :#1a1a1a;
text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
font-size: 20px;
height: 65px;
......@@ -411,10 +433,10 @@ a:hover{
.menu-sub-alink.active-a{
/*background-color: #ff9419!important;*/
/*background-color: rgba(255, 148, 25,.7)!important;*/
background: -webkit-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -o-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -moz-linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: linear-gradient(#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2) !important;
background: -webkit-linear-gradient(45deg,#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -o-linear-gradient(45deg,#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: -moz-linear-gradient(45deg,#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2)!important;
background: linear-gradient(45deg,#FFFFFF, #F2E7CC,#F5EDD9,#EFE1C1,#ECDAB2) !important;
color :#1a1a1a;
}
......
......@@ -25,6 +25,16 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
});
//初始化首页被选中
$('.menuSideBar').find('li').each(function(index,e){
var str = $(this).find("span.span-list").text();
if ( str == "首页" ){
$(this).find("a").addClass("active-a");
$(this).parent().parent().addClass("open");
$(this).parent().parent().addClass("active-main-li");
}
})
$(document).on('click','#topList li', function(e){
var title = $(this).find("a").text();
if ( title == "首页" ){
......
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