个人主页的悬浮效果错位
This commit is contained in:
parent
ebd34af0a3
commit
f458952d60
|
|
@ -129,7 +129,7 @@
|
|||
$("#codetab_con_"+H).html(html);
|
||||
$(".game_webssh").css("min-height", h);
|
||||
$(".game_webssh").css("max-height", h);
|
||||
console.log( $(".game_webssh").height());
|
||||
//console.log( $(".game_webssh").height());
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<div style="min-height: 350px">
|
||||
<% @courses.each do |course| %>
|
||||
<p class="clearfix pl10">
|
||||
<a href="<%= course_path(course) %>" target="_blank" class="font-16 first color-grey3"><i class="fa fa-circle-o color-orange02 font-12 ml5 mr5" aria-hidden="true"></i><%= course.name %></a>
|
||||
<a href="<%= course_path(course) %>" target="_blank" class="font-16 first color-grey3 color-grey"><i class="fa fa-circle-o color-orange02 font-12 ml5 mr5" aria-hidden="true"></i><%= course.name %></a>
|
||||
<span class="font-14 hasmargin"><a href="<%= syllabus_path(course.syllabus) %>" class="color-grey" target="_blank"><%= course.syllabus.title %></a></span>
|
||||
<span class="font-14 hasmargin"><a href="<%= user_path(course.tea_id) %>" class="color-grey" target="_blank"><%= User.where(:id => course.tea_id).first.show_name %></a></span>
|
||||
<span class="font-14 mr25 color-grey fr"><%= time_from_now course.updated_at %>更新</span>
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
<div style="min-height: 350px">
|
||||
<% @shixuns.each do |shixun| %>
|
||||
<p class="clearfix pl10">
|
||||
<a href="<%= shixun_path(shixun) %>" target="_blank" class="font-16 first color-grey3"><i class="fa fa-circle-o color-orange02 font-12 ml5 mr5" aria-hidden="true"></i><%= shixun.name.strip %></a>
|
||||
<a href="<%= shixun_path(shixun) %>" target="_blank" class="font-16 first color-grey3 color-grey"><i class="fa fa-circle-o color-orange02 font-12 ml5 mr5" aria-hidden="true"></i><%= shixun.name.strip %></a>
|
||||
|
||||
<span class="font-14 hasmargin">
|
||||
<a href="javascript:void(0);" class="color-grey" style="cursor: default;">
|
||||
<a href="javascript:void(0);" style="cursor: default;">
|
||||
<% if had_passed_changllenge_count(shixun, @user) == 0 %>
|
||||
尚未挑战
|
||||
<% elsif had_passed_changllenge_count(shixun, @user) == -1 %>
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ a.btn-focus:hover{color: #FFFFFF!important;background:#FC7033;border: 1px solid
|
|||
.-task-con-int .passageway .hascon .lesson p .last{width:8.33%;display:inline-block;color:#888;cursor: pointer; display: none;}
|
||||
.-task-con-int .passageway .hascon .lesson p .last:hover{color:#5faee3;}
|
||||
.-task-con-int .passageway .hascon .lesson p .last:hover .blue{color:#5faee3;}
|
||||
|
||||
.-task-con-int .passageway .hascon .train p .first{width:35%;display:inline-block;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
|
||||
.-task-con-int .passageway .hascon .train p .hasmargin{width:40%;margin-right: 16.7%;color:#888;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
|
||||
.-task-con-int .passageway .hascon .train p .hasmargin .total{width:200px;height:20px;background:#ccc;display:inline-block;border-radius:10px;}
|
||||
|
|
|
|||
Loading…
Reference in New Issue