Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ksky521 committed Nov 23, 2014
1 parent a6e9f7a commit 17f8d35
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion assets/css/nodeppt2.0.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/nodeppt.control.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
function doItem(id, itemID) {
itemID = itemID | 0;
var $curSlide = $slides[id];
var buildClass = '.build > *,.fadeIn > *,.moveIn > *,.bounceIn > *,.zoomIn > *';
var buildClass = '.build > *,.fadeIn > *,.moveIn > *,.bounceIn > *,.zoomIn > *,.fade > *';
var toBuild = $curSlide.querySelectorAll(buildClass);
var list;
var index = itemID;
Expand Down
15 changes: 8 additions & 7 deletions assets/scss/nodeppt2.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -865,10 +865,11 @@ article.smaller {
@include transition(all 0.4s ease-in-out);

> section {
@include display-flex;
@include flex-flow(column);
@include justify-content(center);
@include align-content(center);
text-align: left;
// @include display-flex;
// @include flex-flow(column);
// @include justify-content(center);
// @include align-content(center);
background: #fff;
@include border-radius($slide-border-radius);
@include box-shadow(inset 0 0 10px #6F6F6F);
Expand Down Expand Up @@ -913,10 +914,10 @@ article.smaller {
}
&:not(.backdrop) {
@include transform(scale(0.6) translate3d(0.5em, 0.5em, 0));
@include box-shadow(0 0 10px $gray-3);
// @include box-shadow(0 0 10px $gray-3);
}
img{
@include transform(scale(0.6));
// @include transform(scale(0.6));
}
&.backdrop {
@include background-image(radial-gradient(50% 50%, #b1dfff 0%,$brand-blue 600px));
Expand All @@ -925,7 +926,7 @@ article.smaller {
&.next {
@include transform(translate3d($slide-width / 2 + 240, 80px, 0) scale(0.35));
opacity: 1 !important;

-webkit-clip-path: none !important;
.note {
display: none !important;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nodeppt",
"jsname": "nodeppt",
"description": "A simple, in-browser, markdown-driven presentation framework",
"version": "0.9.8-1",
"version": "0.9.8-2",
"site": "https://github.com/ksky521/nodePPT",
"author": {
"name": "Theo Wang",
Expand Down

0 comments on commit 17f8d35

Please sign in to comment.