Browse Source

remove deprecated data-state background colors

Hakim El Hattab 10 years ago
parent
commit
5bdbc2dc7b
3 changed files with 0 additions and 81 deletions
  1. 0 38
      css/reveal.css
  2. 0 40
      css/reveal.scss
  3. 0 3
      js/reveal.js

+ 0 - 38
css/reveal.css

@@ -727,44 +727,6 @@ body {
   -webkit-transition: none !important;
           transition: none !important; }
 
-/*********************************************
- * BACKGROUND STATES [DEPRECATED]
- *********************************************/
-.reveal .state-background {
-  position: absolute;
-  width: 100%;
-  height: 100%;
-  background: rgba(0, 0, 0, 0);
-  -webkit-transition: background 800ms ease;
-          transition: background 800ms ease; }
-
-.alert .reveal .state-background {
-  background: rgba(200, 50, 30, 0.6); }
-
-.soothe .reveal .state-background {
-  background: rgba(50, 200, 90, 0.4); }
-
-.blackout .reveal .state-background {
-  background: rgba(0, 0, 0, 0.6); }
-
-.whiteout .reveal .state-background {
-  background: rgba(255, 255, 255, 0.6); }
-
-.cobalt .reveal .state-background {
-  background: rgba(22, 152, 213, 0.6); }
-
-.mint .reveal .state-background {
-  background: rgba(22, 213, 75, 0.6); }
-
-.submerge .reveal .state-background {
-  background: rgba(12, 25, 77, 0.6); }
-
-.lila .reveal .state-background {
-  background: rgba(180, 50, 140, 0.6); }
-
-.sunset .reveal .state-background {
-  background: rgba(255, 122, 0, 0.6); }
-
 /*********************************************
  * PER-SLIDE BACKGROUNDS
  *********************************************/

+ 0 - 40
css/reveal.scss

@@ -853,46 +853,6 @@ body {
 }
 
 
-/*********************************************
- * BACKGROUND STATES [DEPRECATED]
- *********************************************/
-
-.reveal .state-background {
-	position: absolute;
-	width: 100%;
-	height: 100%;
-	background: rgba( 0, 0, 0, 0 );
-	transition: background 800ms ease;
-}
-.alert .reveal .state-background {
-	background: rgba( 200, 50, 30, 0.6 );
-}
-.soothe .reveal .state-background {
-	background: rgba( 50, 200, 90, 0.4 );
-}
-.blackout .reveal .state-background {
-	background: rgba( 0, 0, 0, 0.6 );
-}
-.whiteout .reveal .state-background {
-	background: rgba( 255, 255, 255, 0.6 );
-}
-.cobalt .reveal .state-background {
-	background: rgba( 22, 152, 213, 0.6 );
-}
-.mint .reveal .state-background {
-	background: rgba( 22, 213, 75, 0.6 );
-}
-.submerge .reveal .state-background {
-	background: rgba( 12, 25, 77, 0.6);
-}
-.lila .reveal .state-background {
-	background: rgba( 180, 50, 140, 0.6 );
-}
-.sunset .reveal .state-background {
-	background: rgba( 255, 122, 0, 0.6 );
-}
-
-
 /*********************************************
  * PER-SLIDE BACKGROUNDS
  *********************************************/

+ 0 - 3
js/reveal.js

@@ -443,9 +443,6 @@
 		// Slide number
 		dom.slideNumber = createSingletonNode( dom.wrapper, 'div', 'slide-number', '' );
 
-		// State background element [DEPRECATED]
-		createSingletonNode( dom.wrapper, 'div', 'state-background', null );
-
 		// Overlay graphic which is displayed during the paused mode
 		createSingletonNode( dom.wrapper, 'div', 'pause-overlay', null );