1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

making the docs a little less jumpy with more stable menus

This commit is contained in:
Jeremy Ashkenas 2010-02-21 23:29:31 -05:00
parent aad0ce162d
commit 6985802eb3
3 changed files with 57 additions and 14 deletions

View file

@ -130,7 +130,8 @@ div.code {
.navigation.try {
border-left: 0;
}
.navigation:hover {
.navigation:hover,
.navigation.active {
background: #d0d0d0;
background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#c0c0c0));
background: -moz-linear-gradient(top, #f0f0f0, #c0c0c0);
@ -147,7 +148,7 @@ div.code {
-webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0;
-webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
}
.navigation:hover .contents {
.navigation.active .contents {
display: block;
}
.navigation .contents.repl_wrapper {