Ray's changes in css and js

This commit is contained in:
OrbitServer 2012-10-09 07:44:26 +08:00
parent 2c55430c52
commit 483bd7de4a
8 changed files with 2095 additions and 1796 deletions

File diff suppressed because it is too large Load Diff

View File

@ -195,6 +195,7 @@ legend {
padding: 0 8px; padding: 0 8px;
vertical-align: inherit; vertical-align: inherit;
position: relative; position: relative;
position/**/: static;
} }
.sort-header th a { .sort-header th a {
display: block; display: block;

View File

@ -69,6 +69,9 @@
#orbit-bar .orbit-logo .dropdown-menu { #orbit-bar .orbit-logo .dropdown-menu {
left: -15px; left: -15px;
} }
#orbit-bar .orbit-logo .dropdown-menu>li>a:hover>i {
background-image: url(<%= asset_path 'icons_pack_white.png' %>);
}
#orbit-bar .nav > li { #orbit-bar .nav > li {
height: 28px; height: 28px;
} }

View File

@ -280,7 +280,7 @@
.filter .accordion-heading { .filter .accordion-heading {
border-bottom: none; border-bottom: none;
border-top: none; border-top: none;
border-left: 1px solid rgba(0,0,0,0.07); border-left: 1px solid #E9E9E9;
border-right: none; border-right: none;
-moz-border-radius: 0; -moz-border-radius: 0;
-webkit-border-radius: 0; -webkit-border-radius: 0;
@ -291,7 +291,7 @@
top: 0; top: 0;
} }
.filter li:last-child .accordion-heading { .filter li:last-child .accordion-heading {
border-right: 1px solid rgba(0,0,0,0.07); border-right: 1px solid #E9E9E9;
} }
.accordion-group .accordion-toggle .caret { .accordion-group .accordion-toggle .caret {
border-top-color: #0088CC; border-top-color: #0088CC;

View File

@ -1,22 +1,23 @@
<div id='filter' class="subnav"> <div id='filter' class="subnav">
<div id="accordion">
<ul class="nav nav-pills filter"> <ul class="nav nav-pills filter">
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-status" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("announcement.status") %> <b class="web-symbol"></b></a> <a href="#collapse-status" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("announcement.status") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-category" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("announcement.categories") %> <b class="web-symbol"></b></a> <a href="#collapse-category" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("announcement.categories") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-tags" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("announcement.tags") %> <b class="web-symbol"></b></a> <a href="#collapse-tags" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("announcement.tags") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
</ul> </ul>
<div class="filters"> <div class="accordion-group filters">
<div class="accordion-body collapse" id="collapse-status"> <div class="accordion-body collapse" id="collapse-status">
<%= render 'filter_status' %> <%= render 'filter_status' %>
</div> </div>
@ -31,6 +32,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<% content_for :page_specific_javascript do %> <% content_for :page_specific_javascript do %>
<%= javascript_include_tag "sort_header" %> <%= javascript_include_tag "sort_header" %>

View File

@ -106,7 +106,7 @@
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<%# @site_valid_locales.each_with_index do |locale, i| %> <%# @site_valid_locales.each_with_index do |locale, i| %>
<% @site_valid_locales.each_with_index do |locale, i| %> <% @site_valid_locales.each_with_index do |locale, i| %>
<li <%= ( i == 0 ) ? " class='active'" : '' %>><a data-toggle="tab" href=".<%= locale %>"><%= I18nVariable.from_locale(locale) %></a></li> <li <%= ( i == 0 ) ? " class=active" : '' %>><a data-toggle="tab" href=".<%= locale %>"><%= I18nVariable.from_locale(locale) %></a></li>
<% end %> <% end %>
</ul> </ul>

View File

@ -1,22 +1,23 @@
<div id='filter' class="subnav"> <div id='filter' class="subnav">
<div id="accordion">
<ul class="nav nav-pills filter"> <ul class="nav nav-pills filter">
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-status" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("news.status") %> <b class="web-symbol"></b></a> <a href="#collapse-status" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("news.status") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-category" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("news.categories") %> <b class="web-symbol"></b></a> <a href="#collapse-category" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("news.categories") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
<li class="accordion-group"> <li>
<div class="accordion-heading"> <div class="accordion-heading">
<a href="#collapse-tags" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("news.tags") %> <b class="web-symbol"></b></a> <a href="#collapse-tags" data-toggle="collapse" data-parent="#accordion" class="accordion-toggle"><%= t("news.tags") %> <b class="web-symbol"></b></a>
</div> </div>
</li> </li>
</ul> </ul>
<div class="filters"> <div class="accordion-group filters">
<div class="accordion-body collapse" id="collapse-status"> <div class="accordion-body collapse" id="collapse-status">
<%= render 'filter_status' %> <%= render 'filter_status' %>
</div> </div>
@ -31,6 +32,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<% content_for :page_specific_javascript do %> <% content_for :page_specific_javascript do %>
<%= javascript_include_tag "sort_header" %> <%= javascript_include_tag "sort_header" %>

View File

@ -140,7 +140,7 @@
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<%# @site_valid_locales.each_with_index do |locale, i| %> <%# @site_valid_locales.each_with_index do |locale, i| %>
<% @site_valid_locales.each_with_index do |locale, i| %> <% @site_valid_locales.each_with_index do |locale, i| %>
<li <%= ( i == 0 ) ? " class='active'" : '' %>><a data-toggle="tab" href=".<%= locale %>"><%= I18nVariable.from_locale(locale) %></a></li> <li <%= ( i == 0 ) ? " class=active" : '' %>><a data-toggle="tab" href=".<%= locale %>"><%= I18nVariable.from_locale(locale) %></a></li>
<% end %> <% end %>
</ul> </ul>