修改用户信息处控件对齐,新建课程通知提交取消按钮样式统一

This commit is contained in:
zhuhao 2014-11-18 17:03:40 +08:00
parent 33555e598e
commit 126c7f558d
3 changed files with 23 additions and 7 deletions

View File

@ -74,10 +74,10 @@
<%= labelled_form_for @news, :url => course_news_index_path(@course),
:html => {:id => 'news-form', :multipart => true} do |f| %>
<%= render :partial => 'news/course_form', :locals => {:f => f, :is_new => true} %>
<%= link_to l(:button_create), "#", :onclick => 'submitNews();', :onmouseover => 'submitFocus(this);', :class => 'whiteButton m3p10' %>
<%= link_to l(:button_create), "#", :onclick => 'submitNews();', :onmouseover => 'submitFocus(this);', :class => 'ButtonColor m3p10' %>
<%#= preview_link preview_news_path, 'news-form', target='preview', {:class => 'whiteButton m3p10'} %>
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-news").hide()', :class => 'whiteButton m3p10' %>
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-news").hide()', :class => 'ButtonColor m3p10' %>
<% end if @course %>
<div id="preview" class="wiki"></div>
</div>

View File

@ -1898,7 +1898,7 @@ input#time_entry_comments { width: 90%;}
fieldset.settings label { display: block; }
fieldset#notified_events .parent { padding-left: 20px; }
span.required {color: #bb0000;}
span.required {color: #bb0000;margin-right: 4px;}
.summary {font-style: italic;}
#attachments_fields input.description {margin-left:4px; width:100px; }

View File

@ -15,7 +15,7 @@ span[id^=valid_user] {
}
.red {
color: red;
color: red;margin-left: 10px;margin-right: 10px;text-align: right;
}
.green {
@ -474,6 +474,19 @@ body {
position: relative;
top: 1px;
}
input[class~='ButtonClolr'],.ButtonColor{
color: #fffbff !important;
padding-bottom: 5px;
width: 40px;
height: 20px;
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
font-size: 15px;
padding: 0px;
background: #15bccf;
border: 1px solid #15bccf;
}
input[class~='whiteButton'], .whiteButton {
-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
@ -493,9 +506,9 @@ input[class~='whiteButton'], .whiteButton {
border: 1px solid #dcdcdc;
display: inline-block;
color: #666666;
color: #116699;
color: #fffbff;
font-family: arial;
font-size: 15px;
font-size: 20px;
font-weight: bold;
padding: 6px 24px;
/*padding:3px 10px;*/
@ -513,13 +526,14 @@ input[class~='whiteButton']:hover, .whiteButton:hover {
background: linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f6f6f6', endColorstr = '#ffffff', GradientType = 0);
text-decoration: none;
background-color: #f6f6f6;
background-color: #09bbff;
}
input[class~='whiteButton']:active, .whiteButton:active {
position: relative;
top: 1px;
text-decoration: none;
color: #ffffff;
}
input[class~='m3p10'], .m3p10 {
@ -527,6 +541,8 @@ input[class~='m3p10'], .m3p10 {
padding: 3px 10px;
height: 20px;
display: inline-block;
text-align: center;
color: #ffffff;
}
input[class~='h30'], .h30 {