头部标题样式修改

删除成功提示
This commit is contained in:
Linda 2017-03-24 15:41:29 +08:00
parent b3569d9c61
commit 6c62d7be0b
3 changed files with 5 additions and 3 deletions

View File

@ -20,7 +20,7 @@
<%= render :partial => 'shixuns/shixun_top' %>
<%= render_flash_messages %>
<%#= render_flash_messages %>
<div class="task-pm-content">
<%= yield %>
</div>

View File

@ -2,8 +2,8 @@
<div class="task-header">
<div class="task-header-info">
<h2 class="fl">
<a href="<%= user_path(@shixun.owner) %>"><%= @shixun.owner.try(:show_name) %>导师</a>
<span class="ml5 mr5">/ </span><a href="<%= shixun_path(@shixun.parent) %>"><%= @shixun.name %></a>
<a href="<%= user_path(@shixun.owner) %>" class="task-header-name fl"><%= @shixun.owner.try(:show_name) %>导师</a>
<span class="ml5 mr5 fl">/ </span><p class="task-header-title fl" title="<%= @shixun.name %>"><%= @shixun.name %></p>
</h2>
<% if allow_shixun_exec(@shixun) %>
<%= link_to "开始挑战", shixun_monitor_shixun_path(@shixun), :class => "fr task-btn task-btn-orange", :remote => true %>

View File

@ -138,6 +138,8 @@ a.rightbar-pause{ color:#29bd8b; font-size: 18px; margin-right:245px; margin-top
.task-header{ width: 100%; background:url("/images/task/task-bg-header.png") 0 0 repeat-x; height: 100px;}
.task-header-info{ width: 1000px; margin: 0 auto; color:#fff; padding:30px 0;}
.task-header-info h2 a,.task-header-info h2{ font-weight: normal;color:#fff;}
a.task-header-name{ max-width:200px;}
.task-header-title{ display: block; max-width:750px;word-wrap: break-word;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
.task-header-nav{ width: 100%; height:50px; background:#282c37;}
.task-header-navs{ width: 1000px; margin: 0 auto;}
.task-header-navs li{ float: left;}