部分界面样式调整

This commit is contained in:
sw 2015-08-28 17:27:51 +08:00
parent aa06c3ac03
commit 3f61a908d1
7 changed files with 17 additions and 12 deletions

View File

@ -137,7 +137,7 @@
</div>
</div>
</div>
<div class="homepageRight" id="RSide">
<div class="homepageRight">
<%= yield %>
</div>
</div>

View File

@ -1,5 +1,5 @@
<div class="fl">
<div id="users_setting">
<div id="RSide">
<div id="users_tb_" class="users_tb_">
<ul>
<li id="users_tb_1" class="users_hovertab" onclick="x:HoverLi(1);">基本资料</li>

View File

@ -7,7 +7,7 @@
}
</script>
<div class="courses_box" id="users_setting">
<div class="courses_box" id="RSide">
<div class="courses_top mb10" id="<%= (@action == 'fans' || @action == 'visitor' ) ? 'nh_fans_list' : 'nh_wacth_list' %>">
<% if @action == 'fans' %>
<h2 class="courses_h2 fl">粉丝</h2>

View File

@ -24,11 +24,15 @@
<!--<div class="users_r_top">-->
<!--<h2 class="users_r_h2">用户留言</h2>-->
<!--</div>-->
<div id="users_setting">
<div class="homepageRightBanner">
<div class="NewsBannerName">留言</div>
</div>
<div class="message_box mb10">
<div >
<div class="resources mb10">
<div class="homepageRightBanner">
<div class="NewsBannerName">留言</div>
</div>
</div>
<div class="cl"></div>
<div class="message_box mb10" id="users_setting">
<div nhname='new_message' style="display:none;">
<%= form_for('new_form',:url => leave_user_message_path(@user.id),:method => "post") do |f|%>
<textarea placeholder="有问题或有建议,请直接给我留言吧!" nhname='new_message_textarea' name="new_form[user_message]"></textarea>
@ -40,7 +44,7 @@
</div>
<div class="cl"></div>
<div class="message_list_box " id="user_jour_list">
<div class="message_list_box " id="user_jour_list" style="padding: <%= @jour && @jour.count > 0 ? '10' : '0'%>px;">
<%if @jour%>
<% @jour.each do |jour|%>
<%= render :partial => 'user_jours_new', :locals => {:jour => jour} %>

View File

@ -1,7 +1,7 @@
$(function(){
//右侧最小高度 = 左侧高度 - 15px 保证两边高度基本一样,页面美观
$("#RSide").css("min-height",$("#LSide").height()-15);
$("#users_setting").css("min-height",$("#LSide").height()-35);
$("#RSide").css("min-height",$("#LSide").height()-35);
$("#users_setting").css("min-height",$("#LSide").height()-100);
//头像相关
$("#homepage_portrait_image").live("mouseover",function(){

View File

@ -12,6 +12,7 @@ a:hover,a:active{color:#000;}
/*常用*/
/*#RSide{ background:#fff;}*/
#users_setting{clear:both;width:728px;background: #fff;padding: 10px;/*滑动门的宽度*/}
#RSide{clear:both;width:728px;background: #fff;padding: 10px;/*滑动门的宽度*/}
/*上传图片处理*/
.upload_img img{max-width: 100%;}
blockquote img{max-width: 100%;}

View File

@ -24,7 +24,7 @@ a.icon_face{background:url(../images/public_icon.png) 0px -671px no-repeat; dis
a:hover.icon_face{background:url(../images/public_icon.png) -79px -671px no-repeat; }
.inputUsers_message{ border:1px solid #d2d2d2; width:718px; height:48px; color:#666; padding:5px; margin-bottom:5px;}
.inputUsers_message02{ border:1px solid #d2d2d2; width:618px; height:26px; color:#666; padding:5px; margin-bottom:5px; }
.message_list_box{ background:#f5f5f5; padding:10px;margin-top: 10px;}
.message_list_box{ background:#f5f5f5; margin-top: 10px;}
.users_pic{ width:46px; height:46px; border:1px solid #e3e3e3;}
.users_pic:hover{ border:1px solid #a5a5a5;}
.users_pic_sub{width:32px; height:32px; border:1px solid #e3e3e3;}