hack on aspect nav for ff & chrome compatability

This commit is contained in:
Daniel Vincent Grippi 2010-09-15 11:44:56 -07:00
parent 1f27c863e4
commit fe35d60b13
3 changed files with 10 additions and 11 deletions

View file

@ -9,7 +9,7 @@
%li{:id => aspect.id, :class => ("selected" if current_aspect?(aspect))} %li{:id => aspect.id, :class => ("selected" if current_aspect?(aspect))}
= link_for_aspect aspect = link_for_aspect aspect
%ul{ :style => "position:absolute;right:0;bottom:0;"} %ul{ :style => "position:absolute;right:0;bottom:0.01em;"}
%li{:class => ("selected" if @aspect == :all)} %li{:class => ("selected" if @aspect == :all)}
= link_to "All Aspects", root_url = link_to "All Aspects", root_url

View file

@ -442,8 +442,6 @@ h1.big_text {
display: none; } display: none; }
#aspect_nav { #aspect_nav {
z-index: 4;
position: relative;
color: black; color: black;
margin-top: 8px; margin-top: 8px;
margin-bottom: 1px; } margin-bottom: 1px; }
@ -460,10 +458,11 @@ h1.big_text {
display: inline; display: inline;
margin-right: 0.5em; } margin-right: 0.5em; }
#aspect_nav ul > li a { #aspect_nav ul > li a {
line-height: 22px;
background-color: #444444; background-color: #444444;
border: 1px solid #555555; border: 1px solid #555555;
padding: 3px 8px; padding: 3px 8px;
padding-bottom: 2px; padding-bottom: 3px;
color: #999999; } color: #999999; }
#aspect_nav ul > li a:hover { #aspect_nav ul > li a:hover {
background-color: #4e4e4e; background-color: #4e4e4e;
@ -471,12 +470,12 @@ h1.big_text {
#aspect_nav ul > li.selected a { #aspect_nav ul > li.selected a {
text-shadow: 0 2px 0 white; text-shadow: 0 2px 0 white;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 5px;
line-height: 18px; line-height: 18px;
font-weight: bold; font-weight: bold;
background-color: #eeeeee; background-color: #eeeeee;
border: 1px solid white; border: 1px solid white;
border-bottom: none; border-bottom: 1px solid #eeeeee;
color: black; } color: black; }
#aspect_nav ul > li.selected a:hover { #aspect_nav ul > li.selected a:hover {
background-color: #efefef; } background-color: #efefef; }

View file

@ -578,8 +578,6 @@ h1.big_text
:display none :display none
#aspect_nav #aspect_nav
:z-index 4
:position relative
:color #000 :color #000
:margin :margin
:top 8px :top 8px
@ -606,12 +604,14 @@ h1.big_text
:right 0.5em :right 0.5em
a a
:line
:height 22px
:background :background
:color #444 :color #444
:border 1px solid #555 :border 1px solid #555
:padding 3px 8px :padding 3px 8px
:bottom 2px :bottom 3px
:color #999 :color #999
&:hover &:hover
@ -623,7 +623,7 @@ h1.big_text
:text-shadow 0 2px 0 #fff :text-shadow 0 2px 0 #fff
:padding :padding
:top 4px :top 4px
:bottom 4px :bottom 5px
:line :line
:height 18px :height 18px
:font :font
@ -631,7 +631,7 @@ h1.big_text
:background :background
:color #eee :color #eee
:border 1px solid #fff :border 1px solid #fff
:bottom none :bottom 1px solid #eee
:color #000 :color #000
&:hover &:hover
:background :background