diff --git a/app/views/courses/_course_activity_content.html.erb b/app/views/courses/_course_activity_content.html.erb index 7e49d2868..e35a70644 100644 --- a/app/views/courses/_course_activity_content.html.erb +++ b/app/views/courses/_course_activity_content.html.erb @@ -1,15 +1,86 @@ -
+ + +
- <%= link_to @shixun.owner.try(:show_real_name), user_path(@shixun.owner), :class => "link-name-dark fl", :target => "_blank" %> + <%= link_to @shixun.owner.try(:show_real_name), user_path(@shixun.owner), :class => "color-grey3 fl", :target => "_blank" %> / <%= link_to @shixun.name, shixun_path(@shixun), :class => "edu-info-dark fl", :target => "_blank" %>
diff --git a/public/stylesheets/css/edu-common.css b/public/stylesheets/css/edu-common.css index bcb78ea34..62635f16b 100644 --- a/public/stylesheets/css/edu-common.css +++ b/public/stylesheets/css/edu-common.css @@ -235,8 +235,12 @@ a:hover.link-name-dark{ color:#5faee3;} .edu-txt-w280{ width:280px; display: block;} .edu-txt-w320{ width:320px; display: block;} .edu-txt-w200{ width:200px; display: block;} -a.edu-txt-w140,.edu-txt-w140{ width:141px; display: inline-block;} -a.edu-txt-w100,.edu-txt-w100{ width:100px; display: inline-block;} +a.edu-txt-w190,.edu-txt-w190{ width:190px; display: inline-block;text-align: center} +a.edu-txt-w160,.edu-txt-w160{ width:160px; display: inline-block;text-align: center} +a.edu-txt-w140,.edu-txt-w140{ width:141px; display: inline-block;text-align: center} +a.edu-txt-w130,.edu-txt-w130{ width:130px; display: inline-block;text-align: center} +a.edu-txt-w120,.edu-txt-w120{ width:120px; display: inline-block;text-align: center} +a.edu-txt-w100,.edu-txt-w100{ width:100px; display: inline-block;text-align: center} .edu-txt-w50{ width:50px;} .edu-w245{ width: 245px; } .overellipsis{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;} diff --git a/public/stylesheets/css/edu-public.css b/public/stylesheets/css/edu-public.css index dda1482b1..d179b2a74 100644 --- a/public/stylesheets/css/edu-public.css +++ b/public/stylesheets/css/edu-public.css @@ -57,7 +57,7 @@ $colors: #fff, #0072B5, #2C3E50; .edu-dropdown-menu{ background-color:#fff; text-align: center; border-radius:3px; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); position:absolute; top:25px; left:0px; z-index: 999; display:none;} .edu-dropdown-menu li{ height:30px; line-height:30px; display: block; padding:0 15px; text-align: left;} .edu-dropdown-menu li label{ cursor: pointer;} -.edu-dropdown-menu li:hover{ color: #5faee3!important;} +.edu-dropdown-menu li:hover{ color: #FF7500!important;} /*.edu-dropdown:hover .edu-dropdown-menu{ display: block;}*/ .animate{ -webkit-transition: all .3s; -moz-transition: all .3s; -ms-transition: all .3s; -ms-transition: all .3s; transition: all .3s; backface-visibility:hidden; -webkit-backface-visibility:hidden; /* Chrome and Safari */ -moz-backface-visibility:hidden; /* Firefox */ -ms-backface-visibility:hidden; /* Internet Explorer */} diff --git a/public/stylesheets/css/structure.css b/public/stylesheets/css/structure.css index 7052dd715..dadcc6cf0 100644 --- a/public/stylesheets/css/structure.css +++ b/public/stylesheets/css/structure.css @@ -535,10 +535,8 @@ a.user_editinfo{border-top:1px solid #e5e5e5; height:30px; line-height:30px; tex .flex-cell_homepage:hover{ background-color:#3b94d6;} .feedback_error p{display: inline;} -.activities_btn{border: 1px solid #FF7500;} -.activities_btn li{flex: 1;height: 50px;line-height: 50px;float: left;text-align: center;border-right: 1px solid #FF7500;} -.activities_btn li:last-child{border: none;} -.activities_btn li:hover{color:#fff!important;background: #FF7500;} -.activities_btn li:hover .color-orange03{color: #fff!important;} -.activities_btn li .edu-cir-orange{color: #fff!important;} -.activities_btn li:hover .edu-cir-orange{background: #fff;color: #FF7500!important;} \ No newline at end of file +.activities_btn .activities_item,.activities_btn div{float: left;text-align: center;border-radius: 4px;border: 1px solid #FF7500;padding: 1px 16px;} +.activities_btn .activities_item:hover{color:#fff!important;background: #FF7500;} +.activities_btn .activities_item:hover .color-orange03{color: #fff!important;} +.activities_btn .activities_item .edu-cir-orange{color: #fff!important;} +.activities_btn .activities_item:hover .edu-cir-orange{background: #fff;color: #FF7500!important;} \ No newline at end of file