summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/website
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-08-08 21:48:52 -0700
committerSamy Pessé <samypesse@gmail.com>2014-08-11 07:36:47 -0700
commit01b6ca76e865d42fcedb62e30871752acb6ea92e (patch)
treeb2b34fabc19250ba874f9ada76d6c1335b8825ae /theme/stylesheets/website
parent06b9c345c926324b246f899235b5c1c01cacf3c8 (diff)
downloadgitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.zip
gitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.tar.gz
gitbook-01b6ca76e865d42fcedb62e30871752acb6ea92e.tar.bz2
Limit transitions to positions
Diffstat (limited to 'theme/stylesheets/website')
-rwxr-xr-xtheme/stylesheets/website/body.less4
-rwxr-xr-xtheme/stylesheets/website/summary.less2
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;