Преглед изворни кода

add helper class for disabling all slide transitions

Hakim El Hattab пре 5 година
родитељ
комит
e45626d6bd
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 2 1
      css/reveal.css
  2. 2 1
      css/reveal.scss

+ 2 - 1
css/reveal.css

@@ -1041,7 +1041,8 @@ body {
           transform: none; }
 
 .reveal .no-transition,
-.reveal .no-transition * {
+.reveal .no-transition *,
+.reveal .slides.disable-slide-transitions section {
   transition: none !important; }
 
 /*********************************************

+ 2 - 1
css/reveal.scss

@@ -1118,7 +1118,8 @@ $controlsArrowAngleActive: 36deg;
 }
 
 .reveal .no-transition,
-.reveal .no-transition * {
+.reveal .no-transition *,
+.reveal .slides.disable-slide-transitions section {
 	transition: none !important;
 }