diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-08-08 21:48:52 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-08-11 07:36:47 -0700 |
commit | 01b6ca76e865d42fcedb62e30871752acb6ea92e (patch) | |
tree | b2b34fabc19250ba874f9ada76d6c1335b8825ae /theme/stylesheets/website | |
parent | 06b9c345c926324b246f899235b5c1c01cacf3c8 (diff) | |
download | gitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.zip gitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.tar.gz gitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.tar.bz2 |
Limit transitions to positions
Diffstat (limited to 'theme/stylesheets/website')
-rwxr-xr-x | theme/stylesheets/website/body.less | 4 | ||||
-rwxr-xr-x | theme/stylesheets/website/summary.less | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/theme/stylesheets/website/body.less b/theme/stylesheets/website/body.less index f132ef1..184351b 100755 --- a/theme/stylesheets/website/body.less +++ b/theme/stylesheets/website/body.less @@ -13,7 +13,7 @@ color: @page-color; background: @body-background; - .transition(all 0.5s ease); + .transition(left 0.5s ease); .body-inner { /*position: absolute; @@ -53,7 +53,7 @@ } @media (max-width: @mobileMaxWidth) { - + .transition-transform(0.5s ease); } } diff --git a/theme/stylesheets/website/summary.less b/theme/stylesheets/website/summary.less index 7d9ba6b..1b6513a 100755 --- a/theme/stylesheets/website/summary.less +++ b/theme/stylesheets/website/summary.less @@ -13,7 +13,7 @@ background: @sidebar-background; border-right: 1px solid @sidebar-border; - .transition(all 0.5s ease); + .transition(left 0.5s ease); .book-search { padding: @sidebar-search-padding; |