去除header的背景;将menu字体颜色改为蓝色;缩小主页登录框的大小

This commit is contained in:
zhangyang 2013-08-09 22:26:15 +08:00
parent f4e8179ab1
commit 34bc46450f
3 changed files with 8 additions and 9 deletions

View File

@ -1,9 +1,9 @@
<div id="top-menu" style="background-color: #EEEEEE;height:30px;margin-top: 10px;margin-bottom: 10px;"> <div id="top-menu" style="background-color: #FFFFFF;height:30px;margin-top: 10px;margin-bottom: 10px;">
<div id="account"> <div id="account">
<%= render_menu :account_menu -%> <%= render_menu :account_menu -%>
</div> </div>
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %> <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%> <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
</div> </div>
<div style="border-top:solid 1px #C6E9F1;width:940px;margin-left:auto;margin-right:auto;margin-bottom: 5px;"></div> <div style="border-top:solid 1px #C6E9F1;width:940px;margin-left:auto;margin-right:auto;margin-bottom: 5px;margin-top: -10px;"></div>

View File

@ -786,7 +786,7 @@ div.square {
.splitcontent {overflow:auto;} .splitcontent {overflow:auto;}
.splitcontentleft{float:left; width:49%;} .splitcontentleft{float:left; width:49%;}
/*by young*/ /*Added by young*/
.hotlist { .hotlist {
padding:0 15px 25px; padding:0 15px 25px;
@ -846,15 +846,14 @@ margin-left:-10px;
} }
#header a {font-family: Verdana, sans-serif; font-size: 12px; color:#808080;} #header a {font-family: Verdana, sans-serif; font-size: 12px; color:#808080;}
#login-form_new table #login-form_new table/*Added by young*/
{ {
padding:20px 25px; padding:20px 25px;
background:#fff; background:#fff;
text-align:left; text-align:left;
width:380px;
margin-top: 50px; margin-top: 50px;
width:310px; width:280px;
font-family:微软雅黑,lucida grande,verdana; font-family:微软雅黑,lucida grande,verdana;
font-size:12px; font-size:12px;
@ -865,7 +864,7 @@ margin-left:-10px;
-webkit-box-shadow:0 0 6px #039ea0; -webkit-box-shadow:0 0 6px #039ea0;
box-shadow:0 0 6px #039ea0; box-shadow:0 0 6px #039ea0;
border:1px solid #AAA; border:1px solid #AAA;
margin-left: 500px; margin-left: 600px;
} }
/*end*/ /*end*/
.splitcontentright{float:right; width:49%;} .splitcontentright{float:right; width:49%;}

View File

@ -387,8 +387,8 @@ ul.projects li.root
#top-menu li a #top-menu li a
{ {
/*by young*/ /*Modified by young*/
color:#AAAAAA; color:#00AAF8;
font-weight:6px; font-weight:6px;
padding:4px 5px padding:4px 5px
} }