This commit is contained in:
yanxd 2014-05-14 17:12:04 +08:00
parent 4235ca8984
commit 829c77879a
6 changed files with 1080 additions and 972 deletions

View File

@ -55,7 +55,7 @@ module FilesHelper
result = true result = true
end end
if result if result
if contentType != l(:attachment_all) && contentType != attachment.suffix_type if contentType != '0' && contentType != attachment.suffix_type
result = false result = false
end end
end end

View File

@ -3,25 +3,26 @@
<% attachmenttypes = @project.attachmenttypes %> <% attachmenttypes = @project.attachmenttypes %>
<% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>
<% edit_allowed = User.current.allowed_to?(:manage_files, @project) %> <% edit_allowed = User.current.allowed_to?(:manage_files, @project) %>
<ul id="all_browse_ul">
<table class="list files" id="ver-zebra"> <table class="list files" id="ver-zebra">
<colgroup> <colgroup>
<col class="vzebra-odd"/> <col class="vzebra-odd"/>
<col class="vzebra-even"/> <col class="vzebra-even"/>
<col class="vzebra-odd"/> <col class="vzebra-odd"/>
<col class="vzebra-even"/> <col class="vzebra-even"/>
<col class="vzebra-odd" /> <!-- <col class="vzebra-odd"/> -->
</colgroup> </colgroup>
<thead><tr> <thead>
<tr>
<%= sort_header_tag('filename', :caption => l(:field_filename), :scope => "col", :id => "vzebra-adventure") %> <%= sort_header_tag('filename', :caption => l(:field_filename), :scope => "col", :id => "vzebra-adventure") %>
<%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope =>"col" , :id => "vzebra-comedy")%> <%#= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope => "col", :id => "vzebra-comedy") %>
<%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope => "col", :id => "vzebra-children") %> <%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope => "col", :id => "vzebra-children") %>
<%= sort_header_tag('attach_type', :caption => l(:attachment_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-attachmenttype") %> <%= sort_header_tag('attach_type', :caption => l(:attachment_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-attachmenttype") %>
<%= sort_header_tag('content_type', :caption => l(:attachment_sufix_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-contenttype") %> <%= sort_header_tag('content_type', :caption => l(:attachment_sufix_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-contenttype") %>
<%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc', :scope => "col", :id => "vzebra-action") %> <%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc', :scope => "col", :id => "vzebra-action") %>
<%= sort_header_tag('operation', :caption => "", :scope => "col", :id => "vzebra-children") %> <%= sort_header_tag('operation', :caption => "", :scope => "col", :id => "vzebra-children") %>
<!-- <%= sort_header_tag('description', :caption => l(:field_description)) %> --> <!-- <%= sort_header_tag('description', :caption => l(:field_description)) %> -->
</tr></thead> </tr>
</thead>
<tbody> <tbody>
<% @containers.each do |container| %> <% @containers.each do |container| %>
<% next if container.attachments.empty? -%> <% next if container.attachments.empty? -%>
@ -34,16 +35,16 @@
<% end -%> <% end -%>
<% container.attachments.each do |file| %> <% container.attachments.each do |file| %>
<tr class="file <%= cycle("odd", "odd") %>"> <tr class="file <%= cycle("odd", "odd") %>">
<td class="filename" style="font-size: 13px; width: 240px; "><%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %></td> <td class="filename" style="font-size: 13px; "><%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %></td>
<td class="created_on"><%= format_time(file.created_on) %></td> <!-- <td class="created_on"><%#= format_time(file.created_on) %></td> -->
<td class="filesize"><%= number_to_human_size(file.filesize) %></td> <td class="filesize"><%= number_to_human_size(file.filesize) %></td>
<td class="attach_type"> <td class="attach_type">
<div id="attach_type_id_label<%= file.id %>" style="white-space:nowrap;"><%= file.attachmentstype.typeName %></div> <span id="attach_type_id_label<%= file.id %>" style="white-space:nowrap;"><%= file.attachmentstype.typeName %></span>
&nbsp; &nbsp;
<div id="attach_type_id_edit<%= file.id %>" style="white-space:nowrap;"> <span id="attach_type_id_edit<%= file.id %>" style="white-space:nowrap;">
<%= render :partial => 'attachments/type_edit', :locals => {:attachmenttypes => attachmenttypes, <%= render :partial => 'attachments/type_edit', :locals => {:attachmenttypes => attachmenttypes,
:attachment => file, :contentype => selContentType} %> :attachment => file, :contentype => selContentType} %>
</div> </span>
</td> </td>
<td class="content_type"><%= file.show_suffix_type %></td> <td class="content_type"><%= file.show_suffix_type %></td>
<td class="downloads"><%= file.downloads %></td> <td class="downloads"><%= file.downloads %></td>
@ -54,9 +55,9 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class='description' colspan="5"> <td class='description' colspan="6">
<div class="tags_area"> <div class="tags_area">
<% @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设Z | %> <%# @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设Z | %>
<%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"} %> <%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"} %>
<div class="tags_gradint"></div> <div class="tags_gradint"></div>
</div> </div>
@ -71,4 +72,3 @@
</tbody> </tbody>
</table> </table>
</ul>

View File

@ -3,20 +3,18 @@
<% attachmenttypes = @project.attachmenttypes %> <% attachmenttypes = @project.attachmenttypes %>
<% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>
<% edit_allowed = User.current.allowed_to?(:manage_files, @project) %> <% edit_allowed = User.current.allowed_to?(:manage_files, @project) %>
<div id="catarory_browse_div" class="catarory_browse_div"> <table class="list files" id="ver-zebra">
<ul id="catarory_browse_ul">
<table class="list files" id="ver-zebra1">
<colgroup> <colgroup>
<col class="vzebra-odd"/> <col class="vzebra-odd"/>
<col class="vzebra-even"/> <col class="vzebra-even"/>
<col class="vzebra-odd"/> <col class="vzebra-odd"/>
<col class="vzebra-even"/> <col class="vzebra-even"/>
<col class="vzebra-odd"/> <!-- <col class="vzebra-odd"/> -->
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<%= sort_header_tag('filename', :caption => l(:field_filename), :scope => "col", :id => "vzebra-adventure") %> <%= sort_header_tag('filename', :caption => l(:field_filename), :scope => "col", :id => "vzebra-adventure") %>
<%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope => "col", :id => "vzebra-comedy") %> <%#= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope => "col", :id => "vzebra-comedy") %>
<%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope => "col", :id => "vzebra-children") %> <%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope => "col", :id => "vzebra-children") %>
<%= sort_header_tag('attach_type', :caption => l(:attachment_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-attachmenttype") %> <%= sort_header_tag('attach_type', :caption => l(:attachment_browse), :default_order => 'desc', :scope => "col", :id => "vzebra-attachmenttype") %>
<%= sort_header_tag('content_type', :caption => l(:attachment_sufix_browse), :default_order => 'desc', :scope =>"col", :id=> "vzebra-contenttype")%> <%= sort_header_tag('content_type', :caption => l(:attachment_sufix_browse), :default_order => 'desc', :scope =>"col", :id=> "vzebra-contenttype")%>
@ -31,16 +29,16 @@
<% container.attachments.each do |file| %> <% container.attachments.each do |file| %>
<% if isTypeOk(file,selAttachType,selContentType) %> <% if isTypeOk(file,selAttachType,selContentType) %>
<tr class="file <%= cycle("odd", "odd") %>"> <tr class="file <%= cycle("odd", "odd") %>">
<td class="filename" style="font-size: 13px; width: 240px; "><%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %></td> <td class="filename" style="font-size: 13px; "><%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %></td>
<td class="created_on"><%= format_time(file.created_on) %></td> <!-- <td class="created_on"><%#= format_time(file.created_on) %></td> -->
<td class="filesize"><%= number_to_human_size(file.filesize) %></td> <td class="filesize"><%= number_to_human_size(file.filesize) %></td>
<td class="attach_type"> <td class="attach_type">
<div id="attach_type_id_label<%= file.id %>" style="white-space:nowrap;"><%= file.attachmentstype.typeName %></div> <span id="attach_type_id_label<%= file.id %>" style="white-space:nowrap;"><%= file.attachmentstype.typeName %></span>
&nbsp; &nbsp;
<div id="attach_type_id_edit<%= file.id %>" style="white-space:nowrap;"> <span id="attach_type_id_edit<%= file.id %>" style="white-space:nowrap;">
<%= render :partial => 'attachments/type_edit', :locals => {:attachmenttypes => attachmenttypes, <%= render :partial => 'attachments/type_edit', :locals => {:attachmenttypes => attachmenttypes,
:attachment => file,:contentype=>selContentType} %> :attachment => file,:contentype=>selContentType} %>
</div> </span>
</td> </td>
<td class="content_type"><%= file.show_suffix_type %></td> <td class="content_type"><%= file.show_suffix_type %></td>
<td class="downloads"><%= file.downloads %></td> <td class="downloads"><%= file.downloads %></td>
@ -51,9 +49,9 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class='description' colspan="5"> <td class='description' colspan="6">
<div class="tags_area"> <div class="tags_area">
<% @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设Z | %> <%# @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设Z | %>
<%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"} %> <%= render :partial => 'tags/tag', :locals => {:obj => file, :object_flag => "6"} %>
<div class="tags_gradint"></div> <div class="tags_gradint"></div>
</div> </div>
@ -70,6 +68,4 @@
</tbody> </tbody>
</table> </table>
</ul>
</div>

View File

@ -1,4 +1,4 @@
<% if @attachtype==0 && @contenttype==l(:attachment_all)%> <% if @attachtype==0 && @contenttype=='0' %>
$("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>'); $("#all_browse_div").html('<%= j(render partial: "show_all_attachment")%>');
<%else%> <%else%>
$("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>'); $("#all_browse_div").html('<%= j(render partial: "sort_by_attachtypel")%>');

View File

@ -1,177 +1,6 @@
<!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 --> <!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 -->
<% attachmenttypes = @project.attachmenttypes %> <% attachmenttypes = @project.attachmenttypes %>
<% sufixtypes = @project.contenttypes %> <% sufixtypes = @project.contenttypes %>
<style>
#ver-zebra, .file_table_des
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 5px 10px;
width: 98%;
text-align: left;
border-collapse: collapse;
line-height: 20px;
font-size: 14px;
}
#ver-zebra th
{
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #039;
text-align: left;
}
#ver-zebra td
{
padding: 8px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #669;
}
#ver-zebra td.description {
background-color: white;
padding: 0px;
margin: 0px auto;
}
#ver-zebra1, .file_table_des
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 5px 10px;
width: 98%;
text-align: left;
border-collapse: collapse;
line-height: 20px;
font-size: 14px;
}
#ver-zebra1 th
{
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #039;
text-align: left;
}
#ver-zebra1 td
{
padding: 8px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #669;
}
#ver-zebra1 td.description {
background-color: white;
padding: 0px;
margin: 0px auto;
}
div.tags_area {
padding: 2px 10px 10px 10px;
margin: 0px;
margin-bottom: 10px;
/*border-bottom: 1px dashed #CCCCCC;*/
overflow: hidden;
position: relative;
}
.tags_gradint {
}
.read-more{
padding: 5px;
border-top: 4px double #ddd;
background: #fff;
color: #333;
}
.read-more a{
padding-right: 22px;
background: no-repeat 100% 50%;
font-weight: bold;
text-decoration: none;
}
.read-more a:hover{
color: #000;
}
.vzebra-odd
{
background: #eff2ff;
}
.vzebra-even
{
background: #e8edff;
}
#ver-zebra #vzebra-adventure, #ver-zebra #vzebra-children
{
background: #ffffff;
border-bottom: 1px solid #c8d4fd;
}
#ver-zebra #vzebra-comedy, #ver-zebra #vzebra-action
{
background: #ffffff;
border-bottom: 1px solid #d6dfff;
}
#ver-zebra1 #vzebra-adventure, #ver-zebra #vzebra-children
{
background: #ffffff;
border-bottom: 1px solid #c8d4fd;
}
#ver-zebra1 #vzebra-comedy, #ver-zebra #vzebra-action
{
background: #ffffff;
border-bottom: 1px solid #d6dfff;
}
.filename{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
div.pagination{
margin: 10px 0px;
height: 1.5em;
text-align: left;
font-size: 13px;
}
.m5p5{
display: inline-block;
height: auto;
color: white !important;
margin: 8px;
padding: 3px 7px;
}
.m5p5:hover {
text-decoration: none;
/*padding-bottom: 3px;*/
/*border-bottom: 1px solid #666666;*/
border-radius: 4px;
border: 1px solid #15bccf;
box-shadow: 3px 3px 3px #666666;
}
.relation_file_div{
margin: 0px 25px;
}
.relation_file_div fieldset{
margin: 0px 0px;
padding: 10px;
border-radius: 5px;
transition: all 2s linear 1s;
}
.relation_file_div input#attach_search:focus{
border: 1px solid #1B95C6;
box-shadow: 0px 0px 4px #1B95C6;
width: 200px;
}
.relation_file_div input#attach_search{
width: 150px;
outline: none;
border-radius: 5px;
-webkit-transition: 1s width;
-moz-transition : 1s width;
-o-transition : 1s width;
transition : 1s width;
}
</style>
<span class="borad-title"><%= (@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>资源共享区</span> <span class="borad-title"><%= (@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>资源共享区</span>
@ -186,13 +15,13 @@
<% if attachmenttypes.any? %> <% if attachmenttypes.any? %>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<label for="attachment_browse_label"><%= l(:attachment_browse) %></label> <label for="attachment_browse_label"><%= l(:attachment_browse) %></label>
<%= select_tag "attachment_browse", content_tag('option',l(:attachment_all)) +options_from_collection_for_select(attachmenttypes, "id", "typeName"), <%= select_tag "attachment_browse", content_tag(:option, l(:attachment_all), :value => '0') +options_from_collection_for_select(attachmenttypes, "id", "typeName"),
:onchange => "attachmenttypes_searchex(this.value)" %> :onchange => "attachmenttypes_searchex(this.value)" %>
<% end %> <% end %>
<% if sufixtypes.any? %> <% if sufixtypes.any? %>
&nbsp; &nbsp;
<label for="attach_sufix_browse_label"><%= l(:attachment_sufix_browse) %></label> <label for="attach_sufix_browse_label"><%= l(:attachment_sufix_browse) %></label>
<%= select_tag "attach_sufix_browse", content_tag('option', l(:attachment_all)) +options_for_select(sufixtypes), <%= select_tag "attach_sufix_browse", content_tag(:option, l(:attachment_all), :value => '0') +options_for_select(sufixtypes),
:onchange => "attachment_contenttypes_searchex(this.value)" %> :onchange => "attachment_contenttypes_searchex(this.value)" %>
<% end %> <% end %>
@ -253,7 +82,7 @@
var $tags = $td_tags_area.find('#tags') var $tags = $td_tags_area.find('#tags')
var $icona = $td_tags_area.find('.tags_icona') var $icona = $td_tags_area.find('.tags_icona')
var slideHeight = 20; //px var slideHeight = 5; //px
var defHeight = $tags.height(); var defHeight = $tags.height();
var curHeight = $tags_area.height(); var curHeight = $tags_area.height();
@ -271,7 +100,8 @@
$read_more_a.html('更多'); $read_more_a.html('更多');
$icona.html('<%=image_tag "/images/sidebar/add.png"%>') $icona.html('<%=image_tag "/images/sidebar/add.png"%>')
$tags_gradint.fadeIn(); $tags_gradint.fadeIn();
}; }
;
} }
$(function () { $(function () {
@ -279,75 +109,76 @@
var defHeight = $('.tags_area').height(); var defHeight = $('.tags_area').height();
if (defHeight >= slideHeight) { if (defHeight >= slideHeight) {
$('.tags_area').css('height', slideHeight + 'px'); $('.tags_area').css('height', slideHeight + 'px');
}; }
;
}); });
</script> function eval_ajax (xhr, textStatus) {
<script type="text/javascript">
function attachmenttypes_searchex(value) {
$.ajax({
url: '<%=getattachtype_project_files_path(project_id: @project)%>' + '?type='
+ encodeURIComponent(value) + "&contentType=" + $('#attach_sufix_browse').val(),
type: "POST"
}).complete(function (xhr, textStatus) {
if (textStatus == 'success') { if (textStatus == 'success') {
eval(xhr.responseText); eval(xhr.responseText);
} else if (textStatus == 'error') { } else if (textStatus == 'error') {
alert('error'); alert('error');
} }
}); }
function attachmenttypes_searchex(value) {
$.ajax({
url: '<%=getattachtype_project_files_path(project_id: @project)%>',
type: "POST",
data: {
type: encodeURIComponent(value),
contentType:$('#attach_sufix_browse').val()
}
}).complete(eval_ajax);
} }
function attachment_contenttypes_searchex(value) { function attachment_contenttypes_searchex(value) {
$.ajax({ $.ajax({
url: '<%=getattachtype_project_files_path(project_id: @project)%>' + '?type=' url: '<%=getattachtype_project_files_path(project_id: @project)%>',
+ $('#attachment_browse').val() + "&contentType=" + encodeURIComponent(value), type: "POST",
type: "POST" data: {
type: $('#attachment_browse').val(),
}).complete(function (xhr, textStatus) { contentType: encodeURIComponent(value)
if (textStatus == 'success') { }
eval(xhr.responseText);
} else if (textStatus == 'error') { }).complete(eval_ajax);
alert('error');
} }
;
});
}
</script>
<script type='text/javascript'>
function attachtype_edit(value) { function attachtype_edit(value) {
$.ajax({ $.ajax({
url: '<%=getattachtype_project_files_path(project_id: @project)%>' + '?type=' url: '<%=getattachtype_project_files_path(project_id: @project)%>',
+ $('#attachment_browse').val() + "&contentType=" + encodeURIComponent(value), type: "POST",
type: "POST" data: {
type: $('#attachment_browse').val(),
}).complete(function (xhr, textStatus) { contentType: encodeURIComponent(value)
if (textStatus == 'success') {
eval(xhr.responseText);
} else if (textStatus == 'error') {
alert('error');
} }
;
}); }).complete(eval_ajax);
} }
function attachmenttypes_change(id, type) { function attachmenttypes_change(id, type) {
$.ajax({ $.ajax({
url: '<%=updateType_attachments_path%>' + '?attachmentid=' +encodeURIComponent(id) + "&newtype="+encodeURIComponent(type) , url: '<%=updateType_attachments_path%>',
type: "POST" type: "POST",
data: {
attachmentid: encodeURIComponent(id),
newtype: encodeURIComponent(type)
}
}).complete(function (xhr, textStatus) { }).complete(function (xhr, textStatus) {
if (textStatus == 'success') { if (textStatus == 'success') {
$.ajax({ $.ajax({
url: '<%=getattachtype_project_files_path(project_id: @project)%>' + '?type=' url: '<%=getattachtype_project_files_path(project_id: @project)%>',
+ $('#attachment_browse').val() + "&contentType=" +$('#attach_sufix_browse').val(), type: "POST",
type: "POST" data: {
type: $('#attachment_browse').val(),
contentType: $('#attach_sufix_browse').val()
}
}).error(function () {
alert('error');
}); });
} else if (textStatus == 'error') { } else if (textStatus == 'error') {
alert('error'); alert('error');

View File

@ -5,9 +5,11 @@
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-box-sizing: border-box; -box-sizing: border-box;
} }
.div_inline { .div_inline {
display: inline-block; display: inline-block;
} }
/*文字不换行*/ /*文字不换行*/
.text_nowrap { .text_nowrap {
word-break: keep-all; word-break: keep-all;
@ -15,27 +17,35 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
/*字体 斜体*/ /*字体 斜体*/
.font_italic { .font_italic {
font-style: italic; font-style: italic;
} }
/*字体加粗*/ /*字体加粗*/
.font_bolder { .font_bolder {
font-weight: bolder; font-weight: bolder;
} }
.text_center { .text_center {
text-align: center; text-align: center;
} }
.ph10_5{ /*padding horizontal 10% 5%*/
.ph10_5 {
/*padding horizontal 10% 5%*/
padding: 0px 5% 0px 10%; padding: 0px 5% 0px 10%;
} }
.clear_both { .clear_both {
clear: both; clear: both;
} }
.memo-content pre { .memo-content pre {
white-space: normal; white-space: normal;
word-wrap: break-word; word-wrap: break-word;
} }
.highlight { .highlight {
background-color: #fff34d; background-color: #fff34d;
-moz-border-radius: 3px; -moz-border-radius: 3px;
@ -52,15 +62,18 @@
-webkit-opacity: 0.7; -webkit-opacity: 0.7;
opacity: 0.7; opacity: 0.7;
} }
.clearfix { .clearfix {
width: 100%; width: 100%;
height: 0px; height: 0px;
clear: both; clear: both;
display: block; display: block;
} }
.hidden { .hidden {
display: none; display: none;
} }
.font_color_orange { .font_color_orange {
color: #E8770D; color: #E8770D;
} }
@ -68,13 +81,13 @@
* { * {
font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", SimSun, "宋体", STXihei, "华文细黑", Heiti, "黑体", sans-serif; font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", SimSun, "宋体", STXihei, "华文细黑", Heiti, "黑体", sans-serif;
} }
/* 模态窗口 /* 模态窗口
*******************************************************************************/ *******************************************************************************/
/** jRating CSS **/ /** jRating CSS **/
/**Div containing the color of the stars */ /**Div containing the color of the stars */
.jRatingAverage { .jRatingAverage {
background-color: #f62929; background-color: #f62929;
position: relative; position: relative;
@ -83,6 +96,7 @@
z-index: 2; z-index: 2;
height: 100%; height: 100%;
} }
.jRatingColor { .jRatingColor {
background-color: #FFD400; /* bgcolor of the stars*/ background-color: #FFD400; /* bgcolor of the stars*/
position: relative; position: relative;
@ -112,10 +126,12 @@ p.jRatingInfos {
text-align: center; text-align: center;
padding-top: 5px; padding-top: 5px;
} }
p.jRatingInfos span.maxRate { p.jRatingInfos span.maxRate {
color: #c9c9c9; color: #c9c9c9;
font-size: 14px; font-size: 14px;
} }
/* 模态窗口 /* 模态窗口
*******************************************************************************/ *******************************************************************************/
@ -144,6 +160,7 @@ p.jRatingInfos span.maxRate {
position: fixed; position: fixed;
top: 200px; top: 200px;
} }
#OpenWindow-header { #OpenWindow-header {
background: url("/images/showmodal/hd-bg.png") repeat scroll 0 0 transparent; background: url("/images/showmodal/hd-bg.png") repeat scroll 0 0 transparent;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
@ -151,6 +168,7 @@ p.jRatingInfos span.maxRate {
border-top-right-radius: 5px; border-top-right-radius: 5px;
padding: 18px 18px 14px; padding: 18px 18px 14px;
} }
#OpenWindow-content { #OpenWindow-content {
-webkit-transition: all 0.2s linear 1s; -webkit-transition: all 0.2s linear 1s;
-o-transition: all 0.2s linear 1s; -o-transition: all 0.2s linear 1s;
@ -171,9 +189,11 @@ p.jRatingInfos span.maxRate {
width: 14px; width: 14px;
z-index: 2; z-index: 2;
} }
body { body {
/*font-size: 13px;*/ /*font-size: 13px;*/
} }
#OpenWindow .txt-fld { #OpenWindow .txt-fld {
border-bottom: 1px solid #EEEEEE; border-bottom: 1px solid #EEEEEE;
padding: 14px 20px; padding: 14px 20px;
@ -181,6 +201,7 @@ body {
text-align: right; text-align: right;
width: 364px; width: 364px;
} }
#OpenWindow .txt-fld input { #OpenWindow .txt-fld input {
background: none repeat scroll 0 0 #F7F7F7; background: none repeat scroll 0 0 #F7F7F7;
border-color: #CCCCCC #E7E6E6 #E7E6E6 #CCCCCC; border-color: #CCCCCC #E7E6E6 #E7E6E6 #CCCCCC;
@ -194,14 +215,17 @@ body {
padding: 8px; padding: 8px;
width: 244px; width: 244px;
} }
#OpenWindow .txt-fld input.good_input { #OpenWindow .txt-fld input.good_input {
background: url("/images/showmodal/good.png") no-repeat scroll 236px center #DEF5E1; background: url("/images/showmodal/good.png") no-repeat scroll 236px center #DEF5E1;
} }
#OpenWindow .btn-fld { #OpenWindow .btn-fld {
overflow: hidden; overflow: hidden;
padding: 12px 20px 12px 130px; padding: 12px 20px 12px 130px;
width: 254px; width: 254px;
} }
#OpenWindow button { #OpenWindow button {
background: none repeat scroll 0 0 #3F9D4A; background: none repeat scroll 0 0 #3F9D4A;
border: medium none; border: medium none;
@ -216,6 +240,7 @@ body {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
width: auto; width: auto;
} }
/********************************************************************************************************************* /*********************************************************************************************************************
* Wen的OpenWindow * Wen的OpenWindow
*********************************************************************************************************************/ *********************************************************************************************************************/
@ -234,11 +259,13 @@ body {
position: fixed; position: fixed;
top: 200px; top: 200px;
} }
#WOpenWindow .school_list { #WOpenWindow .school_list {
width: 900px; width: 900px;
line-height: 20px; line-height: 20px;
} }
#WOpenWindow-header { #WOpenWindow-header {
background: url("/images/showmodal/hd-bg.png") repeat scroll 0 0 transparent; background: url("/images/showmodal/hd-bg.png") repeat scroll 0 0 transparent;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
@ -246,6 +273,7 @@ body {
border-top-right-radius: 5px; border-top-right-radius: 5px;
padding: 18px 18px 14px; padding: 18px 18px 14px;
} }
#WOpenWindow-content { #WOpenWindow-content {
-webkit-transition: all 0.2s linear 1s; -webkit-transition: all 0.2s linear 1s;
-o-transition: all 0.2s linear 1s; -o-transition: all 0.2s linear 1s;
@ -255,6 +283,7 @@ body {
border-top-right-radius: 5px; border-top-right-radius: 5px;
padding: 18px 18px 14px; padding: 18px 18px 14px;
} }
#WOpenWindow .content { #WOpenWindow .content {
width: 1000px; width: 1000px;
height: 220px; height: 220px;
@ -265,7 +294,6 @@ body {
} }
#WOpenWindow .txt-fld { #WOpenWindow .txt-fld {
border-bottom: 1px solid #EEEEEE; border-bottom: 1px solid #EEEEEE;
padding: 14px 20px; padding: 14px 20px;
@ -273,6 +301,7 @@ body {
text-align: right; text-align: right;
width: 364px; width: 364px;
} }
#WOpenWindow .txt-fld input { #WOpenWindow .txt-fld input {
background: none repeat scroll 0 0 #F7F7F7; background: none repeat scroll 0 0 #F7F7F7;
border-color: #CCCCCC #E7E6E6 #E7E6E6 #CCCCCC; border-color: #CCCCCC #E7E6E6 #E7E6E6 #CCCCCC;
@ -286,14 +315,17 @@ body {
padding: 8px; padding: 8px;
width: 244px; width: 244px;
} }
#WOpenWindow .txt-fld input.good_input { #WOpenWindow .txt-fld input.good_input {
background: url("/images/showmodal/good.png") no-repeat scroll 236px center #DEF5E1; background: url("/images/showmodal/good.png") no-repeat scroll 236px center #DEF5E1;
} }
#WOpenWindow .btn-fld { #WOpenWindow .btn-fld {
overflow: hidden; overflow: hidden;
padding: 12px 20px 12px 130px; padding: 12px 20px 12px 130px;
width: 254px; width: 254px;
} }
#WOpenWindow button { #WOpenWindow button {
background: none repeat scroll 0 0 #3F9D4A; background: none repeat scroll 0 0 #3F9D4A;
border: medium none; border: medium none;
@ -309,10 +341,8 @@ body {
width: auto; width: auto;
} }
/*********************************************************************************************************************/ /*********************************************************************************************************************/
/* 按钮 /* 按钮
*******************************************************************************/ *******************************************************************************/
.orangeButton { .orangeButton {
@ -336,6 +366,7 @@ body {
text-decoration: none; text-decoration: none;
text-shadow: 0px 1px 0px #754529; text-shadow: 0px 1px 0px #754529;
} }
.orangeButton:hover { .orangeButton:hover {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #db6825), color-stop(1, #e87832)); background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #db6825), color-stop(1, #e87832));
background: -moz-linear-gradient(top, #db6825 5%, #e87832 100%); background: -moz-linear-gradient(top, #db6825 5%, #e87832 100%);
@ -346,10 +377,12 @@ body {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#db6825', endColorstr = '#e87832', GradientType = 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#db6825', endColorstr = '#e87832', GradientType = 0);
background-color: #db6825; background-color: #db6825;
} }
.orangeButton:active { .orangeButton:active {
position: relative; position: relative;
top: 1px; top: 1px;
} }
input[class~='whiteButton'], .whiteButton { input[class~='whiteButton'], .whiteButton {
-moz-box-shadow: inset 0px 1px 0px 0px #ffffff; -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff; -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
@ -377,6 +410,7 @@ input[class~='whiteButton'], .whiteButton {
text-decoration: none; text-decoration: none;
text-shadow: 0px 1px 0px #ffffff; text-shadow: 0px 1px 0px #ffffff;
} }
input[class~='whiteButton']:hover, .whiteButton:hover { input[class~='whiteButton']:hover, .whiteButton:hover {
color: #c61a1a; color: #c61a1a;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff)); background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
@ -389,20 +423,24 @@ input[class~='whiteButton']:hover, .whiteButton:hover {
text-decoration: none; text-decoration: none;
background-color: #f6f6f6; background-color: #f6f6f6;
} }
input[class~='whiteButton']:active, .whiteButton:active { input[class~='whiteButton']:active, .whiteButton:active {
position: relative; position: relative;
top: 1px; top: 1px;
text-decoration: none; text-decoration: none;
} }
input[class~='m3p10'], .m3p10 { input[class~='m3p10'], .m3p10 {
margin: 0; margin: 0;
padding: 3px 10px; padding: 3px 10px;
height: 20px; height: 20px;
display: inline-block; display: inline-block;
} }
input[class~='h30'], .h30 { input[class~='h30'], .h30 {
height: 30px; height: 30px;
} }
/* minimal /* minimal
*******************************************************************************/ *******************************************************************************/
input[class='nyan-minimal'], .nyan-minimal { input[class='nyan-minimal'], .nyan-minimal {
@ -423,6 +461,7 @@ input[class='nyan-minimal'], .nyan-minimal {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
input[class='nyan-minimal'], .nyan-minimal:hover { input[class='nyan-minimal'], .nyan-minimal:hover {
background: #d9d9d9; background: #d9d9d9;
-webkit-box-shadow: inset 0 0 1px 1px #eaeaea; -webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
@ -431,6 +470,7 @@ input[class='nyan-minimal'], .nyan-minimal:hover {
color: #222; color: #222;
cursor: pointer; cursor: pointer;
} }
input[class='nyan-minimal'], .nyan-minimal:active { input[class='nyan-minimal'], .nyan-minimal:active {
background: #d0d0d0; background: #d0d0d0;
-webkit-box-shadow: inset 0 0 1px 1px #e3e3e3; -webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
@ -463,6 +503,7 @@ input[class='nyan-clean-gray'], .nyan-clean-gray {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
input[class='nyan-clean-gray']:hover, .nyan-clean-gray:hover { input[class='nyan-clean-gray']:hover, .nyan-clean-gray:hover {
background-color: #dddddd; background-color: #dddddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dddddd), color-stop(100%, #bbbbbb)); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dddddd), color-stop(100%, #bbbbbb));
@ -476,6 +517,7 @@ input[class='nyan-clean-gray']:hover, .nyan-clean-gray:hover {
cursor: pointer; cursor: pointer;
text-shadow: 0 1px 0 #ddd; text-shadow: 0 1px 0 #ddd;
} }
input[class='nyan-clean-gray']:active, .nyan-clean-gray:active { input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
border: 1px solid #aaa; border: 1px solid #aaa;
border-bottom: 1px solid #888; border-bottom: 1px solid #888;
@ -484,7 +526,6 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
} }
#share_label { #share_label {
line-height: 1.4em line-height: 1.4em
} }
@ -497,12 +538,14 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
width: 100px; width: 100px;
padding: 3px 5px 0px 5px; padding: 3px 5px 0px 5px;
} }
.tools a:visited { .tools a:visited {
color: #116699; color: #116699;
text-decoration: none; text-decoration: none;
padding: 3px 5px 0px 5px; padding: 3px 5px 0px 5px;
width: 100px; width: 100px;
} }
.tools a:hover { .tools a:hover {
color: white; color: white;
padding: 3px 3px 0px 20px; padding: 3px 3px 0px 20px;
@ -510,6 +553,7 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
text-decoration: none; text-decoration: none;
background-color: #539D26; background-color: #539D26;
} }
.tools a:active { .tools a:active {
color: white; color: white;
padding: 3px 3px 0px 20px; padding: 3px 3px 0px 20px;
@ -523,6 +567,7 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
margin: 0px 0px 0px 10%; margin: 0px 0px 0px 10%;
padding: 0; padding: 0;
} }
.tools li { .tools li {
background: url("/images/sidebar/tool_tag_alpha.png") 10px 30% no-repeat transparent; background: url("/images/sidebar/tool_tag_alpha.png") 10px 30% no-repeat transparent;
color: #3e3e3e; color: #3e3e3e;
@ -533,9 +578,11 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
font-size: 1.0em; font-size: 1.0em;
/*border-bottom: 1px solid #CCC;*/ /*border-bottom: 1px solid #CCC;*/
} }
.tools li:last-child { .tools li:last-child {
border: none; border: none;
} }
/* 贴吧 forum memo /* 贴吧 forum memo
*******************************************************************************/ *******************************************************************************/
@ -547,6 +594,7 @@ div.actions input[type="text"]{
-box-sizing: border-box; -box-sizing: border-box;
} }
.lz { .lz {
position: relative; position: relative;
min-height: 200px; min-height: 200px;
@ -555,17 +603,20 @@ div.actions input[type="text"]{
box-shadow: 1px 1px 6px #97EBF4; box-shadow: 1px 1px 6px #97EBF4;
border: 1px solid #F1F1F1; border: 1px solid #F1F1F1;
} }
.lz-left { .lz-left {
float: left; float: left;
margin: 2%; margin: 2%;
padding: 0; padding: 0;
} }
.memo-section { .memo-section {
width: auto; width: auto;
margin-left: 15%; margin-left: 15%;
padding-top: 1%; padding-top: 1%;
border-left: 2px dotted #EEE; border-left: 2px dotted #EEE;
} }
.memo-title { .memo-title {
margin: 1em 0; margin: 1em 0;
padding-left: 1%; padding-left: 1%;
@ -573,6 +624,7 @@ div.actions input[type="text"]{
font-weight: bold; font-weight: bold;
border-bottom: 1px dashed rgb(204, 204, 204); border-bottom: 1px dashed rgb(204, 204, 204);
} }
.memo-content { .memo-content {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
@ -580,18 +632,21 @@ div.actions input[type="text"]{
background-color: #F8F8F8; background-color: #F8F8F8;
border-radius: 3px; border-radius: 3px;
} }
.memo-timestamp { .memo-timestamp {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
right: 0; right: 0;
margin: 20px; margin: 20px;
} }
.replies { .replies {
overflow: hidden; overflow: hidden;
max-width: 100%; max-width: 100%;
float: right; float: right;
/*max-width: 90%;*/ /*max-width: 90%;*/
} }
.reply-box { .reply-box {
float: right; float: right;
width: 640px; width: 640px;
@ -600,6 +655,7 @@ div.actions input[type="text"]{
border-top: 2px double #C6F3F9; border-top: 2px double #C6F3F9;
/*border-radius: 10px;*/ /*border-radius: 10px;*/
} }
.memo-content img, .comments img { .memo-content img, .comments img {
overflow: hidden; overflow: hidden;
/*width: 100%;*/ /*width: 100%;*/
@ -607,33 +663,39 @@ div.actions input[type="text"]{
height: auto !important; height: auto !important;
width: expression(this.width > 500 ? "500px" : this.width+"px"); width: expression(this.width > 500 ? "500px" : this.width+"px");
} }
table.content-text-list tbody tr td.sticky, div.memo-section .sticky { table.content-text-list tbody tr td.sticky, div.memo-section .sticky {
background: url(../images/zding.gif) no-repeat 0 1px; padding-left: 35px; background: url(../images/zding.gif) no-repeat 0 1px;
padding-left: 35px;
/*background: url(../images/2uparrow.png) no-repeat 0 1px; padding-left: 20px;*/ /*background: url(../images/2uparrow.png) no-repeat 0 1px; padding-left: 20px;*/
font-weight: bold; font-weight: bold;
margin-left: 5px; margin-left: 5px;
} }
table.content-text-list tbody tr td.locked, div.memo-section .locked { table.content-text-list tbody tr td.locked, div.memo-section .locked {
background: url(../images/locked.png) no-repeat 0 1px; background: url(../images/locked.png) no-repeat 0 1px;
padding-left: 20px; padding-left: 20px;
margin-left: 5px; margin-left: 5px;
} }
/* 问题列表 /* 问题列表
*******************************************************************************/ *******************************************************************************/
.query_form { .query_form {
} }
.content-title-top { .content-title-top {
padding-bottom: 10px; padding-bottom: 10px;
} }
.custom_query { .custom_query {
max-width: 95%; max-width: 95%;
margin: 3px auto; margin: 3px auto;
border-bottom : solid 1px #;
-o-box-shadow: inset 0px 1px 1px 0px #FAFAFA; -o-box-shadow: inset 0px 1px 1px 0px #FAFAFA;
-moz-box-shadow: inset 0px 1px 1px 0px #FAFAFA; -moz-box-shadow: inset 0px 1px 1px 0px #FAFAFA;
-webkit-box-shadow: inset 0px 1px 1px 0px #FAFAFA; -webkit-box-shadow: inset 0px 1px 1px 0px #FAFAFA;
box-shadow: inset 0px 1px 1px 0px #FAFAFA; box-shadow: inset 0px 1px 1px 0px #FAFAFA;
} }
.custom_query>span { .custom_query>span {
display: block; display: block;
max-width: 100%; max-width: 100%;
@ -643,6 +705,7 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
border-radius: 3px; border-radius: 3px;
background-color: #DBEBEE; background-color: #DBEBEE;
} }
.custom_query > .hide-when-print { .custom_query > .hide-when-print {
max-width: 97%; max-width: 97%;
padding: 1px 3px 6px; padding: 1px 3px 6px;
@ -651,6 +714,7 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
} }
/* 项目新闻栏 /* 项目新闻栏
*******************************************************************************/ *******************************************************************************/
.add_frame { .add_frame {
@ -661,6 +725,7 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
/*box-shadow: 1px 1px 6px rgb(241,241,241);*/ /*box-shadow: 1px 1px 6px rgb(241,241,241);*/
/*border: 1px solid #F1F1F1;*/ /*border: 1px solid #F1F1F1;*/
} }
.add_frame_header { .add_frame_header {
background: linear-gradient(#fbfbfb, #f8f8f8) repeat scroll 0% 0% transparent; background: linear-gradient(#fbfbfb, #f8f8f8) repeat scroll 0% 0% transparent;
border-bottom: 1px solid rgb(226, 226, 226); border-bottom: 1px solid rgb(226, 226, 226);
@ -673,22 +738,29 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
font-size: 1.5em; font-size: 1.5em;
padding-left: 4%; padding-left: 4%;
} }
/* xx动态框 /* xx动态框
*******************************************************************************/ *******************************************************************************/
.project_acts *{border:1px solid #000000;} .project_acts * {
border: 1px solid #000000;
}
.project_acts { .project_acts {
height: 250px; height: 250px;
} }
.project_acts .project_acts_left { .project_acts .project_acts_left {
float: left; float: left;
height: 100%; height: 100%;
width: 61%; width: 61%;
} }
.project_acts .project_acts_right { .project_acts .project_acts_right {
height: 100%; height: 100%;
margin-left: 61%; margin-left: 61%;
} }
/* stores 资源库 /* stores 资源库
*******************************************************************************/ *******************************************************************************/
.line_block { .line_block {
@ -701,9 +773,11 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-box-sizing: border-box; -box-sizing: border-box;
} }
.resource_sum { .resource_sum {
height: auto; height: auto;
} }
.line_block p { .line_block p {
margin: 20px -2px 0px 0px; margin: 20px -2px 0px 0px;
/*background: linear-gradient(#ffffff, #e5e5e5) repeat scroll 0% 0% transparent;*/ /*background: linear-gradient(#ffffff, #e5e5e5) repeat scroll 0% 0% transparent;*/
@ -719,15 +793,18 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
padding-left: 4%; padding-left: 4%;
border-bottom: 1px solid rgb(21, 165, 200); border-bottom: 1px solid rgb(21, 165, 200);
} }
.resource_sum, .line_blo { .resource_sum, .line_blo {
border: 1px solid #eeeeee; border: 1px solid #eeeeee;
} }
.filename { .filename {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 247px; max-width: 230px;
} }
.line_block .table1 { .line_block .table1 {
display: table; display: table;
width: 100%; width: 100%;
@ -735,11 +812,13 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
border-right: 1px solid #eeeeee; border-right: 1px solid #eeeeee;
border-bottom: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee;
} }
.line_block .table_row1 { .line_block .table_row1 {
height: 38px; height: 38px;
display: table-row; display: table-row;
width: 100%; width: 100%;
} }
.line_block .table_cell1 { .line_block .table_cell1 {
display: table-cell; display: table-cell;
padding: 2px; padding: 2px;
@ -751,10 +830,12 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
width: 62%; width: 62%;
padding-left: 8px; padding-left: 8px;
} }
.line_block .filedown1 { .line_block .filedown1 {
width: 19%; width: 19%;
text-align: center; text-align: center;
} }
.line_block .downicon1 { .line_block .downicon1 {
width: 19%; width: 19%;
text-align: center; text-align: center;
@ -763,13 +844,16 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
.blue-color, .blue-color a { .blue-color, .blue-color a {
color: rgb(109, 153, 178); color: rgb(109, 153, 178);
} }
.gray-color, .gray-color a { .gray-color, .gray-color a {
color: rgb(153, 153, 153); color: rgb(153, 153, 153);
} }
#top_field { #top_field {
max-width: 100%; max-width: 100%;
margin: 20px auto; margin: 20px auto;
} }
.blueinputbar { .blueinputbar {
-o-transform-origin: 138px 46.5px; -o-transform-origin: 138px 46.5px;
-o-transition: background 0.2s cubic-bezier(0, 0, 1, 1); -o-transition: background 0.2s cubic-bezier(0, 0, 1, 1);
@ -807,6 +891,7 @@ table.content-text-list tbody tr td.locked, div.memo-section .locked{
vertical-align: top; vertical-align: top;
word-wrap: break-word; word-wrap: break-word;
} }
input.blueinputbar:focus { input.blueinputbar:focus {
box-shadow: rgba(0, 0, 0, 0.047) 0px 1px 3px 0px inset, rgba(82, 168, 236, 0.600) 0px 0px 5px 0px; box-shadow: rgba(0, 0, 0, 0.047) 0px 1px 3px 0px inset, rgba(82, 168, 236, 0.600) 0px 0px 5px 0px;
border-bottom: 1px solid #56B4EF; border-bottom: 1px solid #56B4EF;
@ -815,6 +900,7 @@ input.blueinputbar:focus {
border-right: 1px solid #56B4EF; border-right: 1px solid #56B4EF;
border-top: 1px solid #56B4EF; border-top: 1px solid #56B4EF;
} }
.r1 { .r1 {
font-size: 13px; font-size: 13px;
line-height: 1.7em; line-height: 1.7em;
@ -823,15 +909,18 @@ input.blueinputbar:focus {
/*padding-left: 20px;*/ /*padding-left: 20px;*/
/*width: 50em;*/ /*width: 50em;*/
} }
.r1 .cb { .r1 .cb {
font-size: 16px; font-size: 16px;
color: #3333cc; color: #3333cc;
} }
/* course 用户 课程 历史 /* course 用户 课程 历史
*******************************************************************************/ *******************************************************************************/
.courses_history { .courses_history {
opacity: 0.7; opacity: 0.7;
} }
.courses_history a { .courses_history a {
color: #666; color: #666;
} }
@ -849,4 +938,196 @@ div.issue{
box-shadow: 3px 3px 10px rgba(100,150,205,0.1);*/ box-shadow: 3px 3px 10px rgba(100,150,205,0.1);*/
} }
/* project 文件列表 资源库
*******************************************************************************/
.tags_area {
height: 5px;
}
#ver-zebra, .file_table_des {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 5px 10px;
width: 98%;
text-align: left;
border-collapse: collapse;
font-size: 14px;
}
#ver-zebra th {
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #039;
text-align: left;
}
#ver-zebra td {
padding: 8px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #669;
}
#ver-zebra td.description {
background-color: white;
padding: 0px;
margin: 0px auto;
}
#ver-zebra1, .file_table_des {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 5px 10px;
width: 98%;
text-align: left;
border-collapse: collapse;
line-height: 20px;
font-size: 14px;
}
#ver-zebra1 th {
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #039;
text-align: left;
}
#ver-zebra1 td {
padding: 8px ;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
color: #669;
}
#ver-zebra1 td.description {
background-color: white;
padding: 0px;
margin: 0px auto;
}
div.tags_area {
padding: 2px 10px 10px 10px;
margin: 0px;
margin-bottom: 10px;
/*border-bottom: 1px dashed #CCCCCC;*/
overflow: hidden;
position: relative;
}
.tags_gradint {
}
.read-more {
padding: 5px;
border-top: 4px double #ddd;
background: #fff;
color: #333;
}
.read-more a {
padding-right: 22px;
background: no-repeat 100% 50%;
font-weight: bold;
text-decoration: none;
}
.read-more a:hover {
color: #000;
}
.vzebra-odd {
background: #eff2ff;
}
.vzebra-even {
background: #e8edff;
}
#ver-zebra #vzebra-adventure, #ver-zebra #vzebra-children {
background: #ffffff;
border-bottom: 1px solid #c8d4fd;
}
#ver-zebra #vzebra-comedy, #ver-zebra #vzebra-action {
background: #ffffff;
border-bottom: 1px solid #d6dfff;
}
#ver-zebra1 #vzebra-adventure, #ver-zebra #vzebra-children {
background: #ffffff;
border-bottom: 1px solid #c8d4fd;
}
#ver-zebra1 #vzebra-comedy, #ver-zebra #vzebra-action {
background: #ffffff;
border-bottom: 1px solid #d6dfff;
}
.filename {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
div.pagination {
margin: 10px 0px;
height: 1.5em;
text-align: left;
font-size: 13px;
}
.m5p5 {
display: inline-block;
height: auto;
color: white !important;
margin: 8px;
padding: 3px 7px;
}
.m5p5:hover {
text-decoration: none;
/*padding-bottom: 3px;*/
/*border-bottom: 1px solid #666666;*/
border-radius: 4px;
border: 1px solid #15bccf;
box-shadow: 3px 3px 3px #666666;
}
.relation_file_div {
margin: 0px 25px;
}
.relation_file_div fieldset {
margin: 0px 0px;
padding: 10px;
border-radius: 5px;
transition: all 2s linear 1s;
}
.relation_file_div input#attach_search:focus {
border: 1px solid #1B95C6;
box-shadow: 0px 0px 4px #1B95C6;
width: 200px;
}
.relation_file_div input#attach_search {
width: 150px;
outline: none;
border-radius: 5px;
-webkit-transition: 1s width;
-moz-transition: 1s width;
-o-transition: 1s width;
transition: 1s width;
}
.all_browse_div table .description{
border-bottom: 1px solid #efffff;
}
.all_browse_div table td{
vertical-align: middle;
}