diff --git a/app/views/shared/_aspect_nav.haml b/app/views/shared/_aspect_nav.haml index 97f19aae0064430cc60a6a498d8926ac72679d60..67f0bc6a08dfbc2ed3808b5aa0456d4850341dba 100644 --- a/app/views/shared/_aspect_nav.haml +++ b/app/views/shared/_aspect_nav.haml @@ -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 diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 9b7605ccfd32485be81ad2adb95aadd6709e6907..fdef9e4b98f910e078a1e84f1c7da0d950032abe 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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; } diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index ab97b351bdeef2d499c2bbc541548fe48ac48597..02943e0cf13e5c6e246adaec06ed06a0f91551f5 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -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