diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-11-12 22:22:16 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-11-12 22:22:16 -0800 |
commit | 7f33cb682200a501e0a48ab2fbad688317d80754 (patch) | |
tree | d968c1bc9c2308b3d1e449164acf620087b8d4a3 /book/src/main | |
parent | 278f7809f2442227f77491f1da4437fb6e6e4095 (diff) | |
download | hands-on-scala-js-7f33cb682200a501e0a48ab2fbad688317d80754.tar.gz hands-on-scala-js-7f33cb682200a501e0a48ab2fbad688317d80754.tar.bz2 hands-on-scala-js-7f33cb682200a501e0a48ab2fbad688317d80754.zip |
Commit before trying out scala-js-react
Diffstat (limited to 'book/src/main')
-rwxr-xr-x | book/src/main/resources/css/side-menu.css | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/book/src/main/resources/css/side-menu.css b/book/src/main/resources/css/side-menu.css index 8bded91..8a9e25e 100755 --- a/book/src/main/resources/css/side-menu.css +++ b/book/src/main/resources/css/side-menu.css @@ -25,13 +25,21 @@ Add transition to containers so they can push in and out. */ #layout, #menu, -.menu-link { +.menu-link,{ -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -ms-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } +.hide, +.menu-item-list > li{ + -webkit-transition: height 0.2s ease-out; + -moz-transition: height 0.2s ease-out; + -ms-transition: height 0.2s ease-out; + -o-transition: height 0.2s ease-out; + transition: height 0.2s ease-out; +} /* This is the parent `<div>` that contains the menu and the content area. @@ -302,11 +310,19 @@ code{ .header-link{ opacity: 0.05; } -.hide{ - display: none; +.menu-item-list > li { + height: 43px; +} +.menu-item-list > li.hide{ + height: 0px; + overflow: hidden; +} +#menu .menu-item-list > li.pure-menu-selected > a{ + border-left: 2px solid white; +} +#menu .menu-item-list > li.lined > a{ + border-left: 2px solid white; } - - /*Workaround for bug in highlight.js IDEA theme*/ .hljs-tag, .hljs-symbol{ background: none; |