Skip to content

Commit

Permalink
Improve toolbar experience when docked at bottom and top. Do not obsc…
Browse files Browse the repository at this point in the history
…ure page content.
  • Loading branch information
pboling committed Sep 13, 2012
1 parent fbd221b commit f38681c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/rack/insight/public/__insight__/insight.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,18 @@
cursor: pointer;
}
.rack-insight_bottom #rack-insight_toolbar {
bottom:0;
border-top: 2px solid #234f32;
height: auto;
clear: both;
position: relative;
z-index: 10;
margin-top: -3em;
}

.rack-insight_top #rack-insight_toolbar {
top:0;
border-bottom: 2px solid #234f32;
height: auto;
}

.rack-insight_error #rack-insight_toolbar {
Expand Down Expand Up @@ -105,11 +111,11 @@
}

#rack-insight.rack-insight_top .panel_content {
top: 32px;
top: auto;
}

#rack-insight.rack-insight_bottom .panel_content {
bottom: 32px;
bottom: auto;
}

#rack-insight .panel_content p a,
Expand Down

0 comments on commit f38681c

Please sign in to comment.