From 5bdbc2dc7b4c957f6df6540bdccc29e00c2e49a3 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 27 Dec 2014 21:27:53 +0100 Subject: remove deprecated data-state background colors --- css/reveal.css | 38 -------------------------------------- css/reveal.scss | 40 ---------------------------------------- js/reveal.js | 3 --- 3 files changed, 81 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 633fcd2..43acebb 100644 --- a/css/reveal.css +++ b/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 *********************************************/ diff --git a/css/reveal.scss b/css/reveal.scss index 41cc71a..b731c9b 100644 --- a/css/reveal.scss +++ b/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 *********************************************/ diff --git a/js/reveal.js b/js/reveal.js index c8aa84a..224ce99 100644 --- a/js/reveal.js +++ b/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 ); -- cgit v1.2.3