作业下拉选择

This commit is contained in:
Tim 2016-04-13 14:23:24 +08:00
parent fcd1684658
commit deda05b048
2 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<div id="menu_r" class="NewsBannerName" style="margin-bottom: -10px;"> <div id="menu_r" class="NewsBannerName" style="margin-bottom: -10px;">
<ul class="menu_r b_w" style="padding-left: 0px; margin-top: -5px;"> <ul class="menu_r b_w" style="padding-left: 0px; margin-top: -5px;">
<li> <li>
<a href="javascript:void(0);" class="parent" style="font-size:16px; color:#4b4b4b; font-weight: normal; padding-left: 0px;">作业</a> <a href="javascript:void(0);" class="menu_arrow" style="font-size:16px; color:#4b4b4b; font-weight: normal; padding-left: 0px;">作业</a>
<ul> <ul>
<% @homework_commons.each_with_index do |homework_common,index |%> <% @homework_commons.each_with_index do |homework_common,index |%>
<li class="pr10"> <li class="pr10">

View File

@ -736,6 +736,8 @@ div#menu_r ul a.parent {background: url(../images/item.png) -30px -30px no-rep
div#menu_r ul a.parent:hover {background: url(../images/item.png) -30px -60px no-repeat;} div#menu_r ul a.parent:hover {background: url(../images/item.png) -30px -60px no-repeat;}
div#menu_r ul ul a.parent {background: url(../images/item.png) -20px 6px no-repeat;} div#menu_r ul ul a.parent {background: url(../images/item.png) -20px 6px no-repeat;}
div#menu_r ul ul a.parent:hover {background: url(../images/item.png) -20px -11px no-repeat;} div#menu_r ul ul a.parent:hover {background: url(../images/item.png) -20px -11px no-repeat;}
.menu_arrow {background: url(../images/sort_desc.png) 40px 17px no-repeat; width:50px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;}
.menu_arrow:hover {background: url(../images/sort_asc.png) 40px 17px no-repeat;}
/* menu::level1 */ /* menu::level1 */
div#menu_r a { padding: 5px 12px 0 10px;line-height: 30px; color: #fff;} div#menu_r a { padding: 5px 12px 0 10px;line-height: 30px; color: #fff;}
/*div#menu_r li { background: url(images/main-delimiter.png) 98% 4px no-repeat; }*/ /*div#menu_r li { background: url(images/main-delimiter.png) 98% 4px no-repeat; }*/