DG MS; moved tabs around up top

This commit is contained in:
Daniel Vincent Grippi 2010-09-08 12:52:28 -07:00
parent f7dd0b10b9
commit 20d5043e81
5 changed files with 17 additions and 6 deletions

View file

@ -1,7 +1,5 @@
#group_nav #group_nav
%ul %ul
%li{:class => ("selected" if @group == :all)}
= link_to "All Groups", root_url
- for group in @groups - for group in @groups
%li{:id => group.id, :class => ("selected" if current_group?(group))} %li{:id => group.id, :class => ("selected" if current_group?(group))}
%span.group_name %span.group_name
@ -12,6 +10,10 @@
#group_edit_button #group_edit_button
= link_to "edit", edit_group_path(Group.first), :class => "edit_group_button", :title => "Manage your facets." = link_to "edit", edit_group_path(Group.first), :class => "edit_group_button", :title => "Manage your facets."
%ul{ :style => "position:absolute;right:0;bottom:0;"}
%li{:class => ("selected" if @group == :all)}
= link_to "All Groups", root_url
.yo{ :style => "display:none;"} .yo{ :style => "display:none;"}
#add_group_pane #add_group_pane
= render "groups/new_group" = render "groups/new_group"

View file

@ -458,9 +458,12 @@ h1.big_text {
color: #999999; } color: #999999; }
#group_nav ul { #group_nav ul {
margin-bottom: 0; margin-bottom: 0;
margin-right: 0;
padding: 0; padding: 0;
padding-bottom: 0px; padding-bottom: 0px;
padding-top: 35px; padding-top: 35px;
padding-right: 0;
display: inline-block;
list-style: none; list-style: none;
font-size: 14px; } font-size: 14px; }
#group_nav ul > li { #group_nav ul > li {
@ -469,6 +472,8 @@ h1.big_text {
margin-right: 0.5em; margin-right: 0.5em;
padding: 3px 8px; padding: 3px 8px;
border: 1px solid #555555; } border: 1px solid #555555; }
#group_nav ul > li.last-child {
margin-right: 0; }
#group_nav ul > li a { #group_nav ul > li a {
color: #999999; } color: #999999; }
#group_nav ul > li a:hover { #group_nav ul > li a:hover {

View file

@ -583,9 +583,12 @@ h1.big_text
ul ul
:margin :margin
:bottom 0 :bottom 0
:right 0
:padding 0 :padding 0
:bottom 0px :bottom 0px
:top 35px :top 35px
:right 0
:display inline-block
:list :list
:style none :style none
:font :font
@ -601,6 +604,10 @@ h1.big_text
:border 1px solid #555 :border 1px solid #555
&.last-child
:margin
:right 0
a a
:color #999 :color #999
&:hover &:hover

View file

@ -89,8 +89,6 @@ ul.button_set
.right .right
:position absolute :position absolute
:right 0 :right 0
:margin
:top 5px
.contextual_pane .contextual_pane
:z-index 20 :z-index 20

View file

@ -57,8 +57,7 @@ ul.button_set {
.right { .right {
position: absolute; position: absolute;
right: 0; right: 0; }
margin-top: 5px; }
.contextual_pane { .contextual_pane {
z-index: 20; z-index: 20;