diff --git a/src/js/modules/webslides.js b/src/js/modules/webslides.js index 979831e..489e0ed 100644 --- a/src/js/modules/webslides.js +++ b/src/js/modules/webslides.js @@ -402,7 +402,7 @@ export default class WebSlides { disable() { this.el.classList.add(CLASSES.DISABLED); - if (this.ws_.plugins.autoslide && + if (this.plugins.autoslide && this.plugins.autoslide.time !== false) { this.plugins.autoslide.stop(); } @@ -414,9 +414,9 @@ export default class WebSlides { enable() { this.el.classList.remove(CLASSES.DISABLED); - if (this.ws_.plugins.autoslide && - this.ws_.plugins.autoslide.time !== false) { - this.ws_.plugins.autoslide.play(); + if (this.plugins.autoslide && + this.plugins.autoslide.time !== false) { + this.plugins.autoslide.play(); } } diff --git a/src/scss/_color.scss b/src/scss/_color.scss index d4719ce..9939420 100644 --- a/src/scss/_color.scss +++ b/src/scss/_color.scss @@ -242,7 +242,7 @@ figure[class*='text-pull-'] { text-shadow: 0 0 40px rgba($black, .5); } -/* -- time, ampersands, prepositions (for, of...), symbols... +/* -- time, ampersands, prepositions (for, of...), symbols... [class*='card-'] time, h1 span { color: #abd; @@ -273,7 +273,7 @@ nav[role='navigation'] li { a { background-color: rgba(50, 50, 50, .9); - color:#fff; + color: $white; &:hover { background-color: rgba(50, 50, 50, .7); @@ -298,7 +298,7 @@ nav[role='navigation'] li { } /*========================================= -Features & Clients List +Features & Clients List =========================================== */ .features li, .clients li { @@ -333,7 +333,7 @@ Features & Clients List } /*=========================================== -flexblock.steps +flexblock.steps ============================================= */ .steps li:nth-child(1) { background-color: #e8eef7; @@ -616,7 +616,7 @@ tr:nth-child(even)>td:hover { } /*============================ -Browser (Screenshots) +Browser (Screenshots) ============================== */ .browser { border: 1px solid rgba($stratos, .1);