添加底部样式
This commit is contained in:
parent
e5b4b9915d
commit
533be61cf7
|
@ -46,13 +46,13 @@
|
||||||
<li class="navOrgMenu fr" id="orgSwitch" style="cursor:pointer;">
|
<li class="navOrgMenu fr" id="orgSwitch" style="cursor:pointer;">
|
||||||
<span class="orgMenuArrow" id="orgArrow">
|
<span class="orgMenuArrow" id="orgArrow">
|
||||||
<ul class="org_login_list" style="display:none;">
|
<ul class="org_login_list" style="display:none;">
|
||||||
<li> <%= link_to "个人主页",user_path(User.current), :class => "linkGrey8", :target => "_blank" %></li>
|
<li> <%= link_to "个人主页",user_path(User.current), :class => "menuGrey", :target => "_blank" %></li>
|
||||||
<li><%= link_to "退出",logout_organization_path(@organization), :class =>"linkGrey8", :method => 'post', :rel => "nofollow" %></li>
|
<li><%= link_to "退出",logout_organization_path(@organization), :class =>"menuGrey", :method => 'post', :rel => "nofollow" %></li>
|
||||||
<!--<li><%#= link_to "退出",signout_path, :class =>"linkGrey8", :method => 'post', :rel => "nofollow" %></li>-->
|
<!--<li><%#= link_to "退出",signout_path, :class =>"linkGrey8", :method => 'post', :rel => "nofollow" %></li>-->
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="navOrgMenu fr" id="orgUser" style="cursor:pointer;"><a href="javascript:void(0);" class="linkGrey8 f14" id="orgUserName"><%= User.current %></a></li>
|
<li class="navOrgMenu fr" id="orgUser" style="cursor:pointer;"><a href="javascript:void(0);" class="fontGrey2 f14" id="orgUserName"><%= User.current %></a></li>
|
||||||
<!--<li class="navOrgMenu fr"><%#=link_to User.current, user_path(User.current), :class => "linkGrey8 f14" %></li>-->
|
<!--<li class="navOrgMenu fr"><%#=link_to User.current, user_path(User.current), :class => "linkGrey8 f14" %></li>-->
|
||||||
<% else %>
|
<% else %>
|
||||||
<li class="navOrgMenu fr"><a href="<%= signin_path(:login=>true) %>" class="linkGrey8 f14">登录</a></li>
|
<li class="navOrgMenu fr"><a href="<%= signin_path(:login=>true) %>" class="linkGrey8 f14">登录</a></li>
|
||||||
|
@ -182,19 +182,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#orgUser,#orgSwitch").click(function(){
|
$("#orgUser,#orgSwitch,.org_login_list").mouseover(function () {
|
||||||
$(".org_login_list").toggle();
|
$(".org_login_list").css("display", "block");
|
||||||
if($("#orgArrow").attr("class") == "orgMenuArrow"){
|
|
||||||
$("#orgArrow").attr("class", "orgMenuArrow2");
|
$("#orgArrow").attr("class", "orgMenuArrow2");
|
||||||
}
|
|
||||||
else {
|
|
||||||
$("#orgArrow").attr("class","orgMenuArrow") ;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
if($(".org_login_list").children().click){
|
$("#orgUser,#orgSwitch,.org_login_list").mouseout(function () {
|
||||||
$(".org_login_list").css("display", "none");
|
$(".org_login_list").css("display", "none");
|
||||||
$("#orgArrow").attr("class", "orgMenuArrow");
|
$("#orgArrow").attr("class", "orgMenuArrow");
|
||||||
};
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -861,7 +861,8 @@ a.postRouteLink:hover {text-decoration:underline;}
|
||||||
.footerAboutContainer {width:auto; border-bottom:1px solid #efefef;}
|
.footerAboutContainer {width:auto; border-bottom:1px solid #efefef;}
|
||||||
.footerAbout{ width:365px; margin:0 auto;height:35px; line-height:35px; padding-top: 10px; }
|
.footerAbout{ width:365px; margin:0 auto;height:35px; line-height:35px; padding-top: 10px; }
|
||||||
.languageBox {width:55px; height:20px; margin-left:5px; outline:none; color:#666666; border:1px solid #d9d9d9;}
|
.languageBox {width:55px; height:20px; margin-left:5px; outline:none; color:#666666; border:1px solid #d9d9d9;}
|
||||||
.departments{ width:890px; margin:5px auto 0 auto;height:30px;line-height:30px;}
|
.departments{ width:855px; margin:5px auto;height:40px;line-height:40px;}
|
||||||
|
.departments li {height:40px; line-height:40px;}
|
||||||
.copyright{ width:375px; margin:0 auto;height:20px;line-height:20px;}
|
.copyright{ width:375px; margin:0 auto;height:20px;line-height:20px;}
|
||||||
a.f_grey {color:#666666;}
|
a.f_grey {color:#666666;}
|
||||||
a.f_grey:hover {color:#000000;}
|
a.f_grey:hover {color:#000000;}
|
||||||
|
|
|
@ -67,7 +67,8 @@ a.linkGrey8:hover {color:#585858;}
|
||||||
.orgListRow {border-bottom:1px solid #e4e4e4; padding-bottom:5px; color:#555555;}
|
.orgListRow {border-bottom:1px solid #e4e4e4; padding-bottom:5px; color:#555555;}
|
||||||
.orgMenuArrow {background:url(../images/nav_icon.png) -10px -165px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
.orgMenuArrow {background:url(../images/nav_icon.png) -10px -165px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
||||||
.orgMenuArrow2 {background:url(../images/nav_icon.png) -10px -132px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
.orgMenuArrow2 {background:url(../images/nav_icon.png) -10px -132px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
||||||
.org_login_list{ border:1px solid #eaeaea; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-53px; position:absolute; z-index:9999; line-height:2; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); margin-top: 30px;}
|
.org_login_list{ border:1px solid #eaeaea; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-53px;
|
||||||
|
position:absolute; z-index:9999; line-height:2; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); margin-top: 30px;}
|
||||||
#orgUserName {max-width:50px; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; display:inline-block;}
|
#orgUserName {max-width:50px; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; display:inline-block;}
|
||||||
|
|
||||||
.orgListStatus {width:55px; float:left;}
|
.orgListStatus {width:55px; float:left;}
|
||||||
|
@ -85,4 +86,6 @@ a.linkGrey8:hover {color:#585858;}
|
||||||
.re_con_top span{ color:#999999; font-weight:bold;}
|
.re_con_top span{ color:#999999; font-weight:bold;}
|
||||||
ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px; }
|
ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px; }
|
||||||
|
|
||||||
.popbox_polls{width:300px;height:100px;position:fixed !important;z-index:100;left:50%;top:50%;margin:-100px 0 0 -150px; background:#fff; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; box-shadow:0px 0px 8px #194a81; overflow:auto;}
|
.popbox_polls{width:300px;height:100px;position:fixed !important;z-index:100;left:50%;top:50%;margin:-100px 0 0 -150px;
|
||||||
|
background:#fff; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; box-shadow:0px 0px 8px #194a81; overflow:auto;}
|
||||||
|
.org_login_list a {color:#269ac9;}
|
|
@ -581,7 +581,7 @@ a.postReplyCancel:hover {color:#ffffff;}
|
||||||
.homepagePostReplyContent {font-size:12px; color:#484848; margin-bottom:12px;}
|
.homepagePostReplyContent {font-size:12px; color:#484848; margin-bottom:12px;}
|
||||||
.table_maxWidth table {max-width: 642px;}
|
.table_maxWidth table {max-width: 642px;}
|
||||||
.homepagePostProjectState {width:42px; height:20px; line-height:20px; border-radius:1px; background-color:#28be6c; color:#ffffff; text-align:center; vertical-align:middle; font-size:12px; display:inline-block; margin-left:5px;}
|
.homepagePostProjectState {width:42px; height:20px; line-height:20px; border-radius:1px; background-color:#28be6c; color:#ffffff; text-align:center; vertical-align:middle; font-size:12px; display:inline-block; margin-left:5px;}
|
||||||
.homepagePostAssignTo {float:left; font-size:14px; color:#15bccf; height:30px; line-height:30px; vertical-align:middle;}
|
.homepagePostAssignTo {float:left; font-size:14px; color:#15bccf;}
|
||||||
.homepagePostFileAtt {height:22px; line-height:22px; vertical-align:middle; background:url(../images/homepage_icon.png) -85px -150px no-repeat; padding-left:35px; font-size:14px;}
|
.homepagePostFileAtt {height:22px; line-height:22px; vertical-align:middle; background:url(../images/homepage_icon.png) -85px -150px no-repeat; padding-left:35px; font-size:14px;}
|
||||||
.homepagePostImageAtt {height:22px; line-height:22px; vertical-align:middle; background:url(../images/homepage_icon.png) -86px -195px no-repeat; padding-left:35px; font-size:14px; margin-right:25px;}
|
.homepagePostImageAtt {height:22px; line-height:22px; vertical-align:middle; background:url(../images/homepage_icon.png) -86px -195px no-repeat; padding-left:35px; font-size:14px; margin-right:25px;}
|
||||||
.postAttSize {color:#888888; font-size:12px; margin-left: 5px;}
|
.postAttSize {color:#888888; font-size:12px; margin-left: 5px;}
|
||||||
|
|
Loading…
Reference in New Issue