修改作业左侧启动匿评按钮样式
This commit is contained in:
parent
dacad26010
commit
9908a7f41f
|
@ -27,8 +27,8 @@
|
|||
background: #15bccf;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding-top: 3px;
|
||||
padding-left: 3px;
|
||||
padding: 5px !important;
|
||||
display: none;
|
||||
}
|
||||
.span_wping a:hover{ background-color:#03a1b3;}
|
||||
</style>
|
||||
|
|
|
@ -21,6 +21,18 @@
|
|||
<%= call_hook :view_layouts_base_html_head %>
|
||||
<!-- page specific tags -->
|
||||
<%= yield :header_tags -%>
|
||||
|
||||
<style>
|
||||
.span_wping{}
|
||||
.span_wping a{
|
||||
margin-bottom: 3px;
|
||||
background: #15bccf;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 5px !important;
|
||||
}
|
||||
.span_wping a:hover{ background-color:#03a1b3;}
|
||||
</style>
|
||||
</head>
|
||||
<body class="<%= h body_css_classes %>">
|
||||
<% course = @bid.courses.first %>
|
||||
|
@ -107,7 +119,7 @@
|
|||
<tr>
|
||||
<td valign="top" style="padding-left: 8px; font-size: 15px" colspan="2">
|
||||
<% if @bid.open_anonymous_evaluation == 1%>
|
||||
<span id="<%=@bid.id %>_anonymous_comment">
|
||||
<span id="<%=@bid.id %>_anonymous_comment" class="span_wping">
|
||||
<% case @bid.comment_status %>
|
||||
<% when 0 %>
|
||||
<%= link_to '启动匿评', alert_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_start_anonymous_comment", remote: true, disable_with: '加载中...' %>
|
||||
|
|
|
@ -498,7 +498,7 @@ color: #000000;
|
|||
#sidebar a,#sidebar a.selected
|
||||
{
|
||||
display:inline-block;
|
||||
padding:4px 4px 4px 21px !important;
|
||||
padding:4px 4px 4px 21px;
|
||||
transition:all .2s linear;
|
||||
-moz-transition:all .2s linear;
|
||||
-o-transition:all .2s linear;
|
||||
|
@ -1641,7 +1641,7 @@ div.left_wf a {
|
|||
|
||||
#sidebar a, #sidebar a.selected{
|
||||
display: inline-block;
|
||||
padding: 0px !important;
|
||||
padding: 0px;
|
||||
transition: all 0.2s linear 0s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue