From d66af824788a701ae1f5e86a6393dfcaa66e233c Mon Sep 17 00:00:00 2001 From: whimlex Date: Thu, 23 Apr 2015 01:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E7=AB=9E=E8=B5=9B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=97=A5=E5=8E=86=E6=8F=92=E4=BB=B6=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/contests/_form_contest.html.erb | 2 +- public/stylesheets/application.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/views/contests/_form_contest.html.erb b/app/views/contests/_form_contest.html.erb index ec993fae8..344d69571 100644 --- a/app/views/contests/_form_contest.html.erb +++ b/app/views/contests/_form_contest.html.erb @@ -67,7 +67,7 @@ <%= f.text_field :deadline, :required => true, :size => 60, - :style => "width:150px;", + :style => "width:150px;float:left;", :readonly => true, :placeholder => "#{l(:label_deadline)}" %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 3e88bb30a..d00ad37e7 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -3152,6 +3152,18 @@ input[class~='m3p10'], .m3p10 { .break_word{word-break: break-all;word-wrap: break-word;} .break_word_firefox{white-space: pre-wrap;word-break: break-all;} +/*日历选择图*/ +img.ui-datepicker-trigger { + display:block; + background:url(/images/public_icon.png) -31px 0 no-repeat; + cursor: pointer; + vertical-align: middle; + margin-left: 5px; + margin-top: 5px; + width:16px; + height:15px; + float:left; +} /*lizanle 日誌搜索結果樣式*/ .search_results {