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))}
= 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)}
= link_to "All Aspects", root_url

View file

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

View file

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