board#new css

This commit is contained in:
yanxd 2014-01-09 09:15:58 +08:00
parent 71775000a4
commit 16c4b0e18c
2 changed files with 7 additions and 3 deletions

View File

@ -4,11 +4,12 @@
</div>
<% replying ||= false %>
<div class="box ">
<div class="box ph10_5">
<!--[form:message]-->
<p><label for="message_subject"><%= l(:field_subject) %></label><br />
<%= f.text_field :subject,:size => 60, :style => "width:490px;", :id => "message_subject" %><!--by young-->
<%= f.text_field :subject,:size => 60, :style => "width: 99%;", :id => "message_subject" %><!--by young-->
</p>
<p>
<% unless replying %>
<% if @message.safe_attribute? 'sticky' %>
<%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %>

View File

@ -3,6 +3,9 @@
.text_center{
text-align: center;
}
.ph10_5{ /*padding horizontal 10% 5%*/
padding: 0px 5% 0px 10%;
}
* {
font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", SimSun, "宋体", STXihei, "华文细黑", Heiti, "黑体", sans-serif;
}