个人主页悬浮课堂列表时,不应该班级和课程名称同时变色

This commit is contained in:
Linda 2017-05-19 10:33:27 +08:00
parent 7f572ea33f
commit d9a91a2963
3 changed files with 6 additions and 4 deletions

View File

@ -202,8 +202,8 @@
<div class="lesson" id="my_courses_list">
<% @courses.each do |course| %>
<p class="clearfix pl10">
<a href="<%= course_path(course) %>" target="_blank" class="font-16 first"><i class="fa fa-circle-o color-orange" aria-hidden="true"></i>&nbsp;&nbsp;<%= course.name %></a>
<span class="font-14 hasmargin"><a href="<%= syllabus_path(course.syllabus) %>" target="_blank"><%= course.syllabus.title %></a></span>
<a href="<%= course_path(course) %>" target="_blank" class="font-16 first link-color-grey03"><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) %>" target="_blank" class="link-color-grey03"><%= course.syllabus.title %></a></span>
<span class="font-14 haspadding"><%= format_time course.updatetime %></span>
<span class="font-14 last cl">分享&nbsp;&nbsp;<i class="fa fa-weixin font-14 blue" aria-hidden="true"></i></span>
</p>

View File

@ -35,6 +35,7 @@ input,textarea,select{ background: #fff; border:1px solid #ccc; color:#666;}
.color-light-green{color:#29bd8b!important;}
.color-blue{color:#3498db!important;}
.color-orange{color:#ee4a1f!important;}
.color-orange02{color:#f79f88!important;}
.color-yellow{color:#f0ad4e!important;}
.color-light-grey{color:#afafaf!important;}
.color-grey{color:#888!important;}
@ -47,6 +48,8 @@ a.link-color-green{color:#29bd8b!important;}
a.link-color-blue{color:#6a8abe!important;}
a.link-color-grey02{color:#888!important;}
a:hover.link-color-grey02{ color:red!important;}
a.link-color-grey03{color:#888!important;}
a:hover.link-color-grey03{color:#3498db!important;}
.edu-color-grey{ color:#666;}
.edu-color-grey:hover{color:#5faee3;}
/*通用文字大小样式*/

View File

@ -96,8 +96,7 @@
.-task-con-int .passageway .hascon .train p .last{width:8.3%;display:inline-block;color:#888;overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
.-task-con-int .passageway .hascon .train p .last:hover{color:#5faee3;}
.-task-con-int .passageway .hascon .train p .last:hover .blue{color:#5faee3;}
.-task-con-int .passageway .hascon .lesson p:hover a{color:#5faee3;}
.-task-con-int .passageway .hascon .train p:hover a{color:#5faee3;}
.-task-con-int .passageway .hascon .expand{display:block;;height:70px;line-height:70px;text-align:center;background:#aaa;color:#fff;}
/*--------------------------------------箭头动画效果-----------------------------------*/
.-task-con-int .passageway .hint .zhuan{