增加样式修改了各个模块导航条颜色

This commit is contained in:
baiyu 2013-11-05 09:17:36 +08:00
parent 8e922ef273
commit 231d1f2c4b
5 changed files with 40 additions and 5 deletions

View File

@ -30,7 +30,7 @@
<div id="main" class=""> <div id="main" class="">
<!-- added by bai --> <!-- added by bai -->
<div class="top-content"> <div class="top-bid-content">
<table> <table>
<tr> <tr>
<td class="info_font" style="width: 240px">企业众包社区</td> <td class="info_font" style="width: 240px">企业众包社区</td>

View File

@ -23,7 +23,7 @@
<div id="main" class=""> <div id="main" class="">
<!-- added by bai --> <!-- added by bai -->
<div class="top-content"> <div class="top-context-content">
<table> <table>
<tr> <tr>
<td class="info_font" style="width: 240px">创新竞赛社区</td> <td class="info_font" style="width: 240px">创新竞赛社区</td>

View File

@ -23,7 +23,7 @@
<%= render :partial => 'layouts/base_header'%> <%= render :partial => 'layouts/base_header'%>
<div id="main"> <div id="main">
<!--added by huang--> <!--added by huang-->
<div class="top-content"> <div class="top-course-content">
<% @project = Project.find_by_id(@project.id)%> <% @project = Project.find_by_id(@project.id)%>
<% @course = Course.find_by_extra(@project.identifier)%> <% @course = Course.find_by_extra(@project.identifier)%>
<table> <table>

View File

@ -23,7 +23,7 @@
<%= render :partial => 'layouts/base_header'%> <%= render :partial => 'layouts/base_header'%>
<div id="main"> <div id="main">
<!--added by huang--> <!--added by huang-->
<div class="top-content"> <div class="top-user-content">
<table> <table>
<tr> <tr>
<td class="info_font" style="width: 240px">创客主页</td> <td class="info_font" style="width: 240px">创客主页</td>

View File

@ -12,13 +12,48 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/ /*new by huang*/
/**/ /**/
.top-content{ .top-content{
background-color: rgb(226, 244, 255); background-color: rgb(214, 218, 242);
height: 45px; height: 45px;
width: 940px; width: 940px;
line-height: 1em; line-height: 1em;
padding-top: 5px; padding-top: 5px;
} }
/*added by bai*/
.top-course-content{
background-color: rgb(181,227, 251);
height: 45px;
width: 940px;
line-height: 1em;
padding-top: 5px;
}
.top-user-content{
background-color: rgb(195,291, 232);
height: 45px;
width: 940px;
line-height: 1em;
padding-top: 5px;
}
.top-context-content{
background-color: rgb(242,241, 192);
height: 45px;
width: 940px;
line-height: 1em;
padding-top: 5px;
}
.top-bid-content{
background-color: rgb(246,176, 133);
height: 45px;
width: 940px;
line-height: 1em;
padding-top: 5px;
}
/*end*/
.top-content-home{ .top-content-home{
background-color: rgb(226, 244, 255); background-color: rgb(226, 244, 255);
width: 25%; width: 25%;