Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Fix sidebar on systems without transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Nov 27, 2013
1 parent d1053a1 commit ac1defe
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions css/main.css
Expand Up @@ -291,7 +291,7 @@ body > div#index div#indexmenu {
display: block; display: block;
position: fixed; position: fixed;
top: 0px; top: 0px;
left: 0px; left: -240px;
width: 220px; width: 220px;
height: 100%; height: 100%;
margin: -10px 0px 0px 0px; margin: -10px 0px 0px 0px;
Expand All @@ -303,14 +303,12 @@ body > div#index div#indexmenu {
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
overflow-y: auto; overflow-y: auto;


-webkit-transform: translateX(-240px);
-webkit-transition: -webkit-transform .4s; -webkit-transition: -webkit-transform .4s;
transform: translateX(-240px);
transition: transform .4s; transition: transform .4s;
} }
body.indexVisible > div#index div#indexmenu { body.indexVisible > div#index div#indexmenu {
-webkit-transform: translateX(0px); -webkit-transform: translateX(240px);
transform: translateX(0px); transform: translateX(240px);
} }
body > div#index div#indexmenu li { body > div#index div#indexmenu li {
display: block; display: block;
Expand Down

0 comments on commit ac1defe

Please sign in to comment.