reveal.scss 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827
  1. @use "sass:math";
  2. /**
  3. * reveal.js
  4. * http://revealjs.com
  5. * MIT licensed
  6. *
  7. * Copyright (C) Hakim El Hattab, https://hakim.se
  8. */
  9. @import 'layout';
  10. /*********************************************
  11. * GLOBAL STYLES
  12. *********************************************/
  13. html.reveal-full-page {
  14. width: 100%;
  15. height: 100%;
  16. height: 100vh;
  17. height: calc( var(--vh, 1vh) * 100 );
  18. overflow: hidden;
  19. }
  20. .reveal-viewport {
  21. height: 100%;
  22. overflow: hidden;
  23. position: relative;
  24. line-height: 1;
  25. margin: 0;
  26. background-color: #fff;
  27. color: #000;
  28. }
  29. // Force the presentation to cover the full viewport when we
  30. // enter fullscreen mode. Fixes sizing issues in Safari.
  31. .reveal-viewport:fullscreen {
  32. top: 0 !important;
  33. left: 0 !important;
  34. width: 100% !important;
  35. height: 100% !important;
  36. transform: none !important;
  37. }
  38. /*********************************************
  39. * VIEW FRAGMENTS
  40. *********************************************/
  41. .reveal .slides section .fragment {
  42. opacity: 0;
  43. visibility: hidden;
  44. transition: all .2s ease;
  45. will-change: opacity;
  46. &.visible {
  47. opacity: 1;
  48. visibility: inherit;
  49. }
  50. &.disabled {
  51. transition: none;
  52. }
  53. }
  54. .reveal .slides section .fragment.grow {
  55. opacity: 1;
  56. visibility: inherit;
  57. &.visible {
  58. transform: scale( 1.3 );
  59. }
  60. }
  61. .reveal .slides section .fragment.shrink {
  62. opacity: 1;
  63. visibility: inherit;
  64. &.visible {
  65. transform: scale( 0.7 );
  66. }
  67. }
  68. .reveal .slides section .fragment.zoom-in {
  69. transform: scale( 0.1 );
  70. &.visible {
  71. transform: none;
  72. }
  73. }
  74. .reveal .slides section .fragment.fade-out {
  75. opacity: 1;
  76. visibility: inherit;
  77. &.visible {
  78. opacity: 0;
  79. visibility: hidden;
  80. }
  81. }
  82. .reveal .slides section .fragment.semi-fade-out {
  83. opacity: 1;
  84. visibility: inherit;
  85. &.visible {
  86. opacity: 0.5;
  87. visibility: inherit;
  88. }
  89. }
  90. .reveal .slides section .fragment.strike {
  91. opacity: 1;
  92. visibility: inherit;
  93. &.visible {
  94. text-decoration: line-through;
  95. }
  96. }
  97. .reveal .slides section .fragment.fade-up {
  98. transform: translate(0, 40px);
  99. &.visible {
  100. transform: translate(0, 0);
  101. }
  102. }
  103. .reveal .slides section .fragment.fade-down {
  104. transform: translate(0, -40px);
  105. &.visible {
  106. transform: translate(0, 0);
  107. }
  108. }
  109. .reveal .slides section .fragment.fade-right {
  110. transform: translate(-40px, 0);
  111. &.visible {
  112. transform: translate(0, 0);
  113. }
  114. }
  115. .reveal .slides section .fragment.fade-left {
  116. transform: translate(40px, 0);
  117. &.visible {
  118. transform: translate(0, 0);
  119. }
  120. }
  121. .reveal .slides section .fragment.fade-in-then-out,
  122. .reveal .slides section .fragment.current-visible {
  123. opacity: 0;
  124. visibility: hidden;
  125. &.current-fragment {
  126. opacity: 1;
  127. visibility: inherit;
  128. }
  129. }
  130. .reveal .slides section .fragment.fade-in-then-semi-out {
  131. opacity: 0;
  132. visibility: hidden;
  133. &.visible {
  134. opacity: 0.5;
  135. visibility: inherit;
  136. }
  137. &.current-fragment {
  138. opacity: 1;
  139. visibility: inherit;
  140. }
  141. }
  142. .reveal .slides section .fragment.highlight-red,
  143. .reveal .slides section .fragment.highlight-current-red,
  144. .reveal .slides section .fragment.highlight-green,
  145. .reveal .slides section .fragment.highlight-current-green,
  146. .reveal .slides section .fragment.highlight-blue,
  147. .reveal .slides section .fragment.highlight-current-blue {
  148. opacity: 1;
  149. visibility: inherit;
  150. }
  151. .reveal .slides section .fragment.highlight-red.visible {
  152. color: #ff2c2d
  153. }
  154. .reveal .slides section .fragment.highlight-green.visible {
  155. color: #17ff2e;
  156. }
  157. .reveal .slides section .fragment.highlight-blue.visible {
  158. color: #1b91ff;
  159. }
  160. .reveal .slides section .fragment.highlight-current-red.current-fragment {
  161. color: #ff2c2d
  162. }
  163. .reveal .slides section .fragment.highlight-current-green.current-fragment {
  164. color: #17ff2e;
  165. }
  166. .reveal .slides section .fragment.highlight-current-blue.current-fragment {
  167. color: #1b91ff;
  168. }
  169. /*********************************************
  170. * DEFAULT ELEMENT STYLES
  171. *********************************************/
  172. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  173. .reveal:after {
  174. content: '';
  175. font-style: italic;
  176. }
  177. .reveal iframe {
  178. z-index: 1;
  179. }
  180. /** Prevents layering issues in certain browser/transition combinations */
  181. .reveal a {
  182. position: relative;
  183. }
  184. /*********************************************
  185. * CONTROLS
  186. *********************************************/
  187. @keyframes bounce-right {
  188. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  189. 20% {transform: translateX(10px);}
  190. 30% {transform: translateX(-5px);}
  191. }
  192. @keyframes bounce-left {
  193. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  194. 20% {transform: translateX(-10px);}
  195. 30% {transform: translateX(5px);}
  196. }
  197. @keyframes bounce-down {
  198. 0%, 10%, 25%, 40%, 50% {transform: translateY(0);}
  199. 20% {transform: translateY(10px);}
  200. 30% {transform: translateY(-5px);}
  201. }
  202. $controlArrowSize: 3.6em;
  203. $controlArrowSpacing: 1.4em;
  204. $controlArrowLength: 2.6em;
  205. $controlArrowThickness: 0.5em;
  206. $controlsArrowAngle: 45deg;
  207. $controlsArrowAngleHover: 40deg;
  208. $controlsArrowAngleActive: 36deg;
  209. @mixin controlsArrowTransform( $angle ) {
  210. &:before {
  211. transform: translateX(($controlArrowSize - $controlArrowLength)*0.5) translateY(($controlArrowSize - $controlArrowThickness)*0.5) rotate( $angle );
  212. }
  213. &:after {
  214. transform: translateX(($controlArrowSize - $controlArrowLength)*0.5) translateY(($controlArrowSize - $controlArrowThickness)*0.5) rotate( -$angle );
  215. }
  216. }
  217. .reveal .controls {
  218. $spacing: 12px;
  219. display: none;
  220. position: absolute;
  221. top: auto;
  222. bottom: $spacing;
  223. right: $spacing;
  224. left: auto;
  225. z-index: 11;
  226. color: #000;
  227. pointer-events: none;
  228. font-size: 10px;
  229. button {
  230. position: absolute;
  231. padding: 0;
  232. background-color: transparent;
  233. border: 0;
  234. outline: 0;
  235. cursor: pointer;
  236. color: currentColor;
  237. transform: scale(.9999);
  238. transition: color 0.2s ease,
  239. opacity 0.2s ease,
  240. transform 0.2s ease;
  241. z-index: 2; // above slides
  242. pointer-events: auto;
  243. font-size: inherit;
  244. visibility: hidden;
  245. opacity: 0;
  246. -webkit-appearance: none;
  247. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  248. }
  249. .controls-arrow:before,
  250. .controls-arrow:after {
  251. content: '';
  252. position: absolute;
  253. top: 0;
  254. left: 0;
  255. width: $controlArrowLength;
  256. height: $controlArrowThickness;
  257. border-radius: $controlArrowThickness*0.5;
  258. background-color: currentColor;
  259. transition: all 0.15s ease, background-color 0.8s ease;
  260. transform-origin: math.div(floor(($controlArrowThickness*0.5)*10), 10) 50%;
  261. will-change: transform;
  262. }
  263. .controls-arrow {
  264. position: relative;
  265. width: $controlArrowSize;
  266. height: $controlArrowSize;
  267. @include controlsArrowTransform( $controlsArrowAngle );
  268. &:hover {
  269. @include controlsArrowTransform( $controlsArrowAngleHover );
  270. }
  271. &:active {
  272. @include controlsArrowTransform( $controlsArrowAngleActive );
  273. }
  274. }
  275. .navigate-left {
  276. right: $controlArrowSize + $controlArrowSpacing*2;
  277. bottom: $controlArrowSpacing + $controlArrowSize*0.5;
  278. transform: translateX( -10px );
  279. &.highlight {
  280. animation: bounce-left 2s 50 both ease-out;
  281. }
  282. }
  283. .navigate-right {
  284. right: 0;
  285. bottom: $controlArrowSpacing + $controlArrowSize*0.5;
  286. transform: translateX( 10px );
  287. .controls-arrow {
  288. transform: rotate( 180deg );
  289. }
  290. &.highlight {
  291. animation: bounce-right 2s 50 both ease-out;
  292. }
  293. }
  294. .navigate-up {
  295. right: $controlArrowSpacing + $controlArrowSize*0.5;
  296. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  297. transform: translateY( -10px );
  298. .controls-arrow {
  299. transform: rotate( 90deg );
  300. }
  301. }
  302. .navigate-down {
  303. right: $controlArrowSpacing + $controlArrowSize*0.5;
  304. bottom: -$controlArrowSpacing;
  305. padding-bottom: $controlArrowSpacing;
  306. transform: translateY( 10px );
  307. .controls-arrow {
  308. transform: rotate( -90deg );
  309. }
  310. &.highlight {
  311. animation: bounce-down 2s 50 both ease-out;
  312. }
  313. }
  314. // Back arrow style: "faded":
  315. // Deemphasize backwards navigation arrows in favor of drawing
  316. // attention to forwards navigation
  317. &[data-controls-back-arrows="faded"] .navigate-up.enabled {
  318. opacity: 0.3;
  319. &:hover {
  320. opacity: 1;
  321. }
  322. }
  323. // Back arrow style: "hidden":
  324. // Never show arrows for backwards navigation
  325. &[data-controls-back-arrows="hidden"] .navigate-up.enabled {
  326. opacity: 0;
  327. visibility: hidden;
  328. }
  329. // Any control button that can be clicked is "enabled"
  330. .enabled {
  331. visibility: visible;
  332. opacity: 0.9;
  333. cursor: pointer;
  334. transform: none;
  335. }
  336. // Any control button that leads to showing or hiding
  337. // a fragment
  338. .enabled.fragmented {
  339. opacity: 0.5;
  340. }
  341. .enabled:hover,
  342. .enabled.fragmented:hover {
  343. opacity: 1;
  344. }
  345. }
  346. .reveal:not(.rtl) .controls {
  347. // Back arrow style: "faded":
  348. // Deemphasize left arrow
  349. &[data-controls-back-arrows="faded"] .navigate-left.enabled {
  350. opacity: 0.3;
  351. &:hover {
  352. opacity: 1;
  353. }
  354. }
  355. // Back arrow style: "hidden":
  356. // Never show left arrow
  357. &[data-controls-back-arrows="hidden"] .navigate-left.enabled {
  358. opacity: 0;
  359. visibility: hidden;
  360. }
  361. }
  362. .reveal.rtl .controls {
  363. // Back arrow style: "faded":
  364. // Deemphasize right arrow in RTL mode
  365. &[data-controls-back-arrows="faded"] .navigate-right.enabled {
  366. opacity: 0.3;
  367. &:hover {
  368. opacity: 1;
  369. }
  370. }
  371. // Back arrow style: "hidden":
  372. // Never show right arrow in RTL mode
  373. &[data-controls-back-arrows="hidden"] .navigate-right.enabled {
  374. opacity: 0;
  375. visibility: hidden;
  376. }
  377. }
  378. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-up,
  379. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-down {
  380. display: none;
  381. }
  382. // Adjust the layout when there are no vertical slides
  383. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-left,
  384. .reveal:not(.has-vertical-slides) .controls .navigate-left {
  385. bottom: $controlArrowSpacing;
  386. right: 0.5em + $controlArrowSpacing + $controlArrowSize;
  387. }
  388. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-right,
  389. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  390. bottom: $controlArrowSpacing;
  391. right: 0.5em;
  392. }
  393. // Adjust the layout when there are no horizontal slides
  394. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  395. right: $controlArrowSpacing;
  396. bottom: $controlArrowSpacing + $controlArrowSize;
  397. }
  398. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  399. right: $controlArrowSpacing;
  400. bottom: 0.5em;
  401. }
  402. // Invert arrows based on background color
  403. .reveal.has-dark-background .controls {
  404. color: #fff;
  405. }
  406. .reveal.has-light-background .controls {
  407. color: #000;
  408. }
  409. // Disable active states on touch devices
  410. .reveal.no-hover .controls .controls-arrow:hover,
  411. .reveal.no-hover .controls .controls-arrow:active {
  412. @include controlsArrowTransform( $controlsArrowAngle );
  413. }
  414. // Edge aligned controls layout
  415. @media screen and (min-width: 500px) {
  416. $spacing: 0.8em;
  417. .reveal .controls[data-controls-layout="edges"] {
  418. & {
  419. top: 0;
  420. right: 0;
  421. bottom: 0;
  422. left: 0;
  423. }
  424. .navigate-left,
  425. .navigate-right,
  426. .navigate-up,
  427. .navigate-down {
  428. bottom: auto;
  429. right: auto;
  430. }
  431. .navigate-left {
  432. top: 50%;
  433. left: $spacing;
  434. margin-top: -$controlArrowSize*0.5;
  435. }
  436. .navigate-right {
  437. top: 50%;
  438. right: $spacing;
  439. margin-top: -$controlArrowSize*0.5;
  440. }
  441. .navigate-up {
  442. top: $spacing;
  443. left: 50%;
  444. margin-left: -$controlArrowSize*0.5;
  445. }
  446. .navigate-down {
  447. bottom: $spacing - $controlArrowSpacing + 0.3em;
  448. left: 50%;
  449. margin-left: -$controlArrowSize*0.5;
  450. }
  451. }
  452. }
  453. /*********************************************
  454. * PROGRESS BAR
  455. *********************************************/
  456. .reveal .progress {
  457. position: absolute;
  458. display: none;
  459. height: 3px;
  460. width: 100%;
  461. bottom: 0;
  462. left: 0;
  463. z-index: 10;
  464. background-color: rgba( 0, 0, 0, 0.2 );
  465. color: #fff;
  466. }
  467. .reveal .progress:after {
  468. content: '';
  469. display: block;
  470. position: absolute;
  471. height: 10px;
  472. width: 100%;
  473. top: -10px;
  474. }
  475. .reveal .progress span {
  476. display: block;
  477. height: 100%;
  478. width: 100%;
  479. background-color: currentColor;
  480. transition: transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  481. transform-origin: 0 0;
  482. transform: scaleX(0);
  483. }
  484. /*********************************************
  485. * SLIDE NUMBER
  486. *********************************************/
  487. .reveal .slide-number {
  488. position: absolute;
  489. display: block;
  490. right: 8px;
  491. bottom: 8px;
  492. z-index: 31;
  493. font-family: Helvetica, sans-serif;
  494. font-size: 12px;
  495. line-height: 1;
  496. color: #fff;
  497. background-color: rgba( 0, 0, 0, 0.4 );
  498. padding: 5px;
  499. }
  500. .reveal .slide-number a {
  501. color: currentColor;
  502. }
  503. .reveal .slide-number-delimiter {
  504. margin: 0 3px;
  505. }
  506. /*********************************************
  507. * SLIDES
  508. *********************************************/
  509. .reveal {
  510. position: relative;
  511. width: 100%;
  512. height: 100%;
  513. overflow: hidden;
  514. touch-action: pinch-zoom;
  515. }
  516. // Swiping on an embedded deck should not block page scrolling
  517. .reveal.embedded {
  518. touch-action: pan-y;
  519. }
  520. .reveal .slides {
  521. position: absolute;
  522. width: 100%;
  523. height: 100%;
  524. top: 0;
  525. right: 0;
  526. bottom: 0;
  527. left: 0;
  528. margin: auto;
  529. pointer-events: none;
  530. overflow: visible;
  531. z-index: 1;
  532. text-align: center;
  533. perspective: 600px;
  534. perspective-origin: 50% 40%;
  535. }
  536. .reveal .slides>section {
  537. perspective: 600px;
  538. }
  539. .reveal .slides>section,
  540. .reveal .slides>section>section {
  541. display: none;
  542. position: absolute;
  543. width: 100%;
  544. pointer-events: auto;
  545. z-index: 10;
  546. transform-style: flat;
  547. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  548. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  549. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  550. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  551. }
  552. /* Global transition speed settings */
  553. .reveal[data-transition-speed="fast"] .slides section {
  554. transition-duration: 400ms;
  555. }
  556. .reveal[data-transition-speed="slow"] .slides section {
  557. transition-duration: 1200ms;
  558. }
  559. /* Slide-specific transition speed overrides */
  560. .reveal .slides section[data-transition-speed="fast"] {
  561. transition-duration: 400ms;
  562. }
  563. .reveal .slides section[data-transition-speed="slow"] {
  564. transition-duration: 1200ms;
  565. }
  566. .reveal .slides>section.stack {
  567. padding-top: 0;
  568. padding-bottom: 0;
  569. pointer-events: none;
  570. height: 100%;
  571. }
  572. .reveal .slides>section.present,
  573. .reveal .slides>section>section.present {
  574. display: block;
  575. z-index: 11;
  576. opacity: 1;
  577. }
  578. .reveal .slides>section:empty,
  579. .reveal .slides>section>section:empty,
  580. .reveal .slides>section[data-background-interactive],
  581. .reveal .slides>section>section[data-background-interactive] {
  582. pointer-events: none;
  583. }
  584. .reveal.center,
  585. .reveal.center .slides,
  586. .reveal.center .slides section {
  587. min-height: 0 !important;
  588. }
  589. /* Don't allow interaction with invisible slides */
  590. .reveal .slides>section:not(.present),
  591. .reveal .slides>section>section:not(.present) {
  592. pointer-events: none;
  593. }
  594. .reveal.overview .slides>section,
  595. .reveal.overview .slides>section>section {
  596. pointer-events: auto;
  597. }
  598. .reveal .slides>section.past,
  599. .reveal .slides>section.future,
  600. .reveal .slides>section>section.past,
  601. .reveal .slides>section>section.future {
  602. opacity: 0;
  603. }
  604. /*********************************************
  605. * Mixins for readability of transitions
  606. *********************************************/
  607. @mixin transition-global($style) {
  608. .reveal .slides section[data-transition=#{$style}],
  609. .reveal.#{$style} .slides section:not([data-transition]) {
  610. @content;
  611. }
  612. }
  613. @mixin transition-stack($style) {
  614. .reveal .slides section[data-transition=#{$style}].stack,
  615. .reveal.#{$style} .slides section.stack {
  616. @content;
  617. }
  618. }
  619. @mixin transition-horizontal-past($style) {
  620. .reveal .slides>section[data-transition=#{$style}].past,
  621. .reveal .slides>section[data-transition~=#{$style}-out].past,
  622. .reveal.#{$style} .slides>section:not([data-transition]).past {
  623. @content;
  624. }
  625. }
  626. @mixin transition-horizontal-future($style) {
  627. .reveal .slides>section[data-transition=#{$style}].future,
  628. .reveal .slides>section[data-transition~=#{$style}-in].future,
  629. .reveal.#{$style} .slides>section:not([data-transition]).future {
  630. @content;
  631. }
  632. }
  633. @mixin transition-vertical-past($style) {
  634. .reveal .slides>section>section[data-transition=#{$style}].past,
  635. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  636. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  637. @content;
  638. }
  639. }
  640. @mixin transition-vertical-future($style) {
  641. .reveal .slides>section>section[data-transition=#{$style}].future,
  642. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  643. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  644. @content;
  645. }
  646. }
  647. /*********************************************
  648. * SLIDE TRANSITION
  649. * Aliased 'linear' for backwards compatibility
  650. *********************************************/
  651. @each $stylename in slide, linear {
  652. @include transition-horizontal-past(#{$stylename}) {
  653. transform: translate(-150%, 0);
  654. }
  655. @include transition-horizontal-future(#{$stylename}) {
  656. transform: translate(150%, 0);
  657. }
  658. @include transition-vertical-past(#{$stylename}) {
  659. transform: translate(0, -150%);
  660. }
  661. @include transition-vertical-future(#{$stylename}) {
  662. transform: translate(0, 150%);
  663. }
  664. }
  665. /*********************************************
  666. * CONVEX TRANSITION
  667. * Aliased 'default' for backwards compatibility
  668. *********************************************/
  669. @each $stylename in default, convex {
  670. @include transition-stack(#{$stylename}) {
  671. transform-style: preserve-3d;
  672. }
  673. @include transition-horizontal-past(#{$stylename}) {
  674. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  675. }
  676. @include transition-horizontal-future(#{$stylename}) {
  677. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  678. }
  679. @include transition-vertical-past(#{$stylename}) {
  680. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  681. }
  682. @include transition-vertical-future(#{$stylename}) {
  683. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  684. }
  685. }
  686. /*********************************************
  687. * CONCAVE TRANSITION
  688. *********************************************/
  689. @include transition-stack(concave) {
  690. transform-style: preserve-3d;
  691. }
  692. @include transition-horizontal-past(concave) {
  693. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  694. }
  695. @include transition-horizontal-future(concave) {
  696. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  697. }
  698. @include transition-vertical-past(concave) {
  699. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  700. }
  701. @include transition-vertical-future(concave) {
  702. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  703. }
  704. /*********************************************
  705. * ZOOM TRANSITION
  706. *********************************************/
  707. @include transition-global(zoom) {
  708. transition-timing-function: ease;
  709. }
  710. @include transition-horizontal-past(zoom) {
  711. visibility: hidden;
  712. transform: scale(16);
  713. }
  714. @include transition-horizontal-future(zoom) {
  715. visibility: hidden;
  716. transform: scale(0.2);
  717. }
  718. @include transition-vertical-past(zoom) {
  719. transform: scale(16);
  720. }
  721. @include transition-vertical-future(zoom) {
  722. transform: scale(0.2);
  723. }
  724. /*********************************************
  725. * CUBE TRANSITION
  726. *
  727. * WARNING:
  728. * this is deprecated and will be removed in a
  729. * future version.
  730. *********************************************/
  731. .reveal.cube .slides {
  732. perspective: 1300px;
  733. }
  734. .reveal.cube .slides section {
  735. padding: 30px;
  736. min-height: 700px;
  737. backface-visibility: hidden;
  738. box-sizing: border-box;
  739. transform-style: preserve-3d;
  740. }
  741. .reveal.center.cube .slides section {
  742. min-height: 0;
  743. }
  744. .reveal.cube .slides section:not(.stack):before {
  745. content: '';
  746. position: absolute;
  747. display: block;
  748. width: 100%;
  749. height: 100%;
  750. left: 0;
  751. top: 0;
  752. background: rgba(0,0,0,0.1);
  753. border-radius: 4px;
  754. transform: translateZ( -20px );
  755. }
  756. .reveal.cube .slides section:not(.stack):after {
  757. content: '';
  758. position: absolute;
  759. display: block;
  760. width: 90%;
  761. height: 30px;
  762. left: 5%;
  763. bottom: 0;
  764. background: none;
  765. z-index: 1;
  766. border-radius: 4px;
  767. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  768. transform: translateZ(-90px) rotateX( 65deg );
  769. }
  770. .reveal.cube .slides>section.stack {
  771. padding: 0;
  772. background: none;
  773. }
  774. .reveal.cube .slides>section.past {
  775. transform-origin: 100% 0%;
  776. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  777. }
  778. .reveal.cube .slides>section.future {
  779. transform-origin: 0% 0%;
  780. transform: translate3d(100%, 0, 0) rotateY(90deg);
  781. }
  782. .reveal.cube .slides>section>section.past {
  783. transform-origin: 0% 100%;
  784. transform: translate3d(0, -100%, 0) rotateX(90deg);
  785. }
  786. .reveal.cube .slides>section>section.future {
  787. transform-origin: 0% 0%;
  788. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  789. }
  790. /*********************************************
  791. * PAGE TRANSITION
  792. *
  793. * WARNING:
  794. * this is deprecated and will be removed in a
  795. * future version.
  796. *********************************************/
  797. .reveal.page .slides {
  798. perspective-origin: 0% 50%;
  799. perspective: 3000px;
  800. }
  801. .reveal.page .slides section {
  802. padding: 30px;
  803. min-height: 700px;
  804. box-sizing: border-box;
  805. transform-style: preserve-3d;
  806. }
  807. .reveal.page .slides section.past {
  808. z-index: 12;
  809. }
  810. .reveal.page .slides section:not(.stack):before {
  811. content: '';
  812. position: absolute;
  813. display: block;
  814. width: 100%;
  815. height: 100%;
  816. left: 0;
  817. top: 0;
  818. background: rgba(0,0,0,0.1);
  819. transform: translateZ( -20px );
  820. }
  821. .reveal.page .slides section:not(.stack):after {
  822. content: '';
  823. position: absolute;
  824. display: block;
  825. width: 90%;
  826. height: 30px;
  827. left: 5%;
  828. bottom: 0;
  829. background: none;
  830. z-index: 1;
  831. border-radius: 4px;
  832. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  833. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  834. }
  835. .reveal.page .slides>section.stack {
  836. padding: 0;
  837. background: none;
  838. }
  839. .reveal.page .slides>section.past {
  840. transform-origin: 0% 0%;
  841. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  842. }
  843. .reveal.page .slides>section.future {
  844. transform-origin: 100% 0%;
  845. transform: translate3d(0, 0, 0);
  846. }
  847. .reveal.page .slides>section>section.past {
  848. transform-origin: 0% 0%;
  849. transform: translate3d(0, -40%, 0) rotateX(80deg);
  850. }
  851. .reveal.page .slides>section>section.future {
  852. transform-origin: 0% 100%;
  853. transform: translate3d(0, 0, 0);
  854. }
  855. /*********************************************
  856. * FADE TRANSITION
  857. *********************************************/
  858. .reveal .slides section[data-transition=fade],
  859. .reveal.fade .slides section:not([data-transition]),
  860. .reveal.fade .slides>section>section:not([data-transition]) {
  861. transform: none;
  862. transition: opacity 0.5s;
  863. }
  864. .reveal.fade.overview .slides section,
  865. .reveal.fade.overview .slides>section>section {
  866. transition: none;
  867. }
  868. /*********************************************
  869. * NO TRANSITION
  870. *********************************************/
  871. @include transition-global(none) {
  872. transform: none;
  873. transition: none;
  874. }
  875. /*********************************************
  876. * PAUSED MODE
  877. *********************************************/
  878. .reveal .pause-overlay {
  879. position: absolute;
  880. top: 0;
  881. left: 0;
  882. width: 100%;
  883. height: 100%;
  884. background: black;
  885. visibility: hidden;
  886. opacity: 0;
  887. z-index: 100;
  888. transition: all 1s ease;
  889. }
  890. .reveal .pause-overlay .resume-button {
  891. position: absolute;
  892. bottom: 20px;
  893. right: 20px;
  894. color: #ccc;
  895. border-radius: 2px;
  896. padding: 6px 14px;
  897. border: 2px solid #ccc;
  898. font-size: 16px;
  899. background: transparent;
  900. cursor: pointer;
  901. &:hover {
  902. color: #fff;
  903. border-color: #fff;
  904. }
  905. }
  906. .reveal.paused .pause-overlay {
  907. visibility: visible;
  908. opacity: 1;
  909. }
  910. /*********************************************
  911. * FALLBACK
  912. *********************************************/
  913. .reveal .no-transition,
  914. .reveal .no-transition *,
  915. .reveal .slides.disable-slide-transitions section {
  916. transition: none !important;
  917. }
  918. .reveal .slides.disable-slide-transitions section {
  919. transform: none !important;
  920. }
  921. /*********************************************
  922. * PER-SLIDE BACKGROUNDS
  923. *********************************************/
  924. .reveal .backgrounds {
  925. position: absolute;
  926. width: 100%;
  927. height: 100%;
  928. top: 0;
  929. left: 0;
  930. perspective: 600px;
  931. }
  932. .reveal .slide-background {
  933. display: none;
  934. position: absolute;
  935. width: 100%;
  936. height: 100%;
  937. opacity: 0;
  938. visibility: hidden;
  939. overflow: hidden;
  940. background-color: rgba( 0, 0, 0, 0 );
  941. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  942. }
  943. .reveal .slide-background-content {
  944. position: absolute;
  945. width: 100%;
  946. height: 100%;
  947. background-position: 50% 50%;
  948. background-repeat: no-repeat;
  949. background-size: cover;
  950. }
  951. .reveal .slide-background.stack {
  952. display: block;
  953. }
  954. .reveal .slide-background.present {
  955. opacity: 1;
  956. visibility: visible;
  957. z-index: 2;
  958. }
  959. .print-pdf .reveal .slide-background {
  960. opacity: 1 !important;
  961. visibility: visible !important;
  962. }
  963. /* Video backgrounds */
  964. .reveal .slide-background video {
  965. position: absolute;
  966. width: 100%;
  967. height: 100%;
  968. max-width: none;
  969. max-height: none;
  970. top: 0;
  971. left: 0;
  972. object-fit: cover;
  973. }
  974. .reveal .slide-background[data-background-size="contain"] video {
  975. object-fit: contain;
  976. }
  977. /* Immediate transition style */
  978. .reveal[data-background-transition=none]>.backgrounds .slide-background:not([data-background-transition]),
  979. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  980. transition: none;
  981. }
  982. /* Slide */
  983. .reveal[data-background-transition=slide]>.backgrounds .slide-background:not([data-background-transition]),
  984. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  985. opacity: 1;
  986. }
  987. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past:not([data-background-transition]),
  988. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  989. transform: translate(-100%, 0);
  990. }
  991. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future:not([data-background-transition]),
  992. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  993. transform: translate(100%, 0);
  994. }
  995. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past:not([data-background-transition]),
  996. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  997. transform: translate(0, -100%);
  998. }
  999. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future:not([data-background-transition]),
  1000. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  1001. transform: translate(0, 100%);
  1002. }
  1003. /* Convex */
  1004. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past:not([data-background-transition]),
  1005. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  1006. opacity: 0;
  1007. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  1008. }
  1009. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future:not([data-background-transition]),
  1010. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  1011. opacity: 0;
  1012. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  1013. }
  1014. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past:not([data-background-transition]),
  1015. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  1016. opacity: 0;
  1017. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  1018. }
  1019. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future:not([data-background-transition]),
  1020. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  1021. opacity: 0;
  1022. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  1023. }
  1024. /* Concave */
  1025. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past:not([data-background-transition]),
  1026. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  1027. opacity: 0;
  1028. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  1029. }
  1030. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future:not([data-background-transition]),
  1031. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  1032. opacity: 0;
  1033. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  1034. }
  1035. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past:not([data-background-transition]),
  1036. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  1037. opacity: 0;
  1038. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  1039. }
  1040. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future:not([data-background-transition]),
  1041. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  1042. opacity: 0;
  1043. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  1044. }
  1045. /* Zoom */
  1046. .reveal[data-background-transition=zoom]>.backgrounds .slide-background:not([data-background-transition]),
  1047. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  1048. transition-timing-function: ease;
  1049. }
  1050. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past:not([data-background-transition]),
  1051. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1052. opacity: 0;
  1053. visibility: hidden;
  1054. transform: scale(16);
  1055. }
  1056. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future:not([data-background-transition]),
  1057. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1058. opacity: 0;
  1059. visibility: hidden;
  1060. transform: scale(0.2);
  1061. }
  1062. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past:not([data-background-transition]),
  1063. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1064. opacity: 0;
  1065. visibility: hidden;
  1066. transform: scale(16);
  1067. }
  1068. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future:not([data-background-transition]),
  1069. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1070. opacity: 0;
  1071. visibility: hidden;
  1072. transform: scale(0.2);
  1073. }
  1074. /* Global transition speed settings */
  1075. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1076. transition-duration: 400ms;
  1077. }
  1078. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1079. transition-duration: 1200ms;
  1080. }
  1081. /*********************************************
  1082. * AUTO ANIMATE
  1083. *********************************************/
  1084. .reveal [data-auto-animate-target^="unmatched"] {
  1085. will-change: opacity;
  1086. }
  1087. .reveal section[data-auto-animate]:not(.stack):not([data-auto-animate="running"]) [data-auto-animate-target^="unmatched"] {
  1088. opacity: 0;
  1089. }
  1090. /*********************************************
  1091. * OVERVIEW
  1092. *********************************************/
  1093. .reveal.overview {
  1094. perspective-origin: 50% 50%;
  1095. perspective: 700px;
  1096. .slides {
  1097. // Fixes overview rendering errors in FF48+, not applied to
  1098. // other browsers since it degrades performance
  1099. -moz-transform-style: preserve-3d;
  1100. }
  1101. .slides section {
  1102. height: 100%;
  1103. top: 0 !important;
  1104. opacity: 1 !important;
  1105. overflow: hidden;
  1106. visibility: visible !important;
  1107. cursor: pointer;
  1108. box-sizing: border-box;
  1109. }
  1110. .slides section:hover,
  1111. .slides section.present {
  1112. outline: 10px solid rgba(150,150,150,0.4);
  1113. outline-offset: 10px;
  1114. }
  1115. .slides section .fragment {
  1116. opacity: 1;
  1117. transition: none;
  1118. }
  1119. .slides section:after,
  1120. .slides section:before {
  1121. display: none !important;
  1122. }
  1123. .slides>section.stack {
  1124. padding: 0;
  1125. top: 0 !important;
  1126. background: none;
  1127. outline: none;
  1128. overflow: visible;
  1129. }
  1130. .backgrounds {
  1131. perspective: inherit;
  1132. // Fixes overview rendering errors in FF48+, not applied to
  1133. // other browsers since it degrades performance
  1134. -moz-transform-style: preserve-3d;
  1135. }
  1136. .backgrounds .slide-background {
  1137. opacity: 1;
  1138. visibility: visible;
  1139. // This can't be applied to the slide itself in Safari
  1140. outline: 10px solid rgba(150,150,150,0.1);
  1141. outline-offset: 10px;
  1142. }
  1143. .backgrounds .slide-background.stack {
  1144. overflow: visible;
  1145. }
  1146. }
  1147. // Disable transitions transitions while we're activating
  1148. // or deactivating the overview mode.
  1149. .reveal.overview .slides section,
  1150. .reveal.overview-deactivating .slides section {
  1151. transition: none;
  1152. }
  1153. .reveal.overview .backgrounds .slide-background,
  1154. .reveal.overview-deactivating .backgrounds .slide-background {
  1155. transition: none;
  1156. }
  1157. /*********************************************
  1158. * RTL SUPPORT
  1159. *********************************************/
  1160. .reveal.rtl .slides,
  1161. .reveal.rtl .slides h1,
  1162. .reveal.rtl .slides h2,
  1163. .reveal.rtl .slides h3,
  1164. .reveal.rtl .slides h4,
  1165. .reveal.rtl .slides h5,
  1166. .reveal.rtl .slides h6 {
  1167. direction: rtl;
  1168. font-family: sans-serif;
  1169. }
  1170. .reveal.rtl pre,
  1171. .reveal.rtl code {
  1172. direction: ltr;
  1173. }
  1174. .reveal.rtl ol,
  1175. .reveal.rtl ul {
  1176. text-align: right;
  1177. }
  1178. .reveal.rtl .progress span {
  1179. transform-origin: 100% 0;
  1180. }
  1181. /*********************************************
  1182. * PARALLAX BACKGROUND
  1183. *********************************************/
  1184. .reveal.has-parallax-background .backgrounds {
  1185. transition: all 0.8s ease;
  1186. }
  1187. /* Global transition speed settings */
  1188. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1189. transition-duration: 400ms;
  1190. }
  1191. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1192. transition-duration: 1200ms;
  1193. }
  1194. /*********************************************
  1195. * OVERLAY FOR LINK PREVIEWS AND HELP
  1196. *********************************************/
  1197. $overlayHeaderHeight: 40px;
  1198. $overlayHeaderPadding: 5px;
  1199. .reveal > .overlay {
  1200. position: absolute;
  1201. top: 0;
  1202. left: 0;
  1203. width: 100%;
  1204. height: 100%;
  1205. z-index: 1000;
  1206. background: rgba( 0, 0, 0, 0.9 );
  1207. transition: all 0.3s ease;
  1208. }
  1209. .reveal > .overlay .spinner {
  1210. position: absolute;
  1211. display: block;
  1212. top: 50%;
  1213. left: 50%;
  1214. width: 32px;
  1215. height: 32px;
  1216. margin: -16px 0 0 -16px;
  1217. z-index: 10;
  1218. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApn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eCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1219. visibility: visible;
  1220. opacity: 0.6;
  1221. transition: all 0.3s ease;
  1222. }
  1223. .reveal > .overlay header {
  1224. position: absolute;
  1225. left: 0;
  1226. top: 0;
  1227. width: 100%;
  1228. padding: $overlayHeaderPadding;
  1229. z-index: 2;
  1230. box-sizing: border-box;
  1231. }
  1232. .reveal > .overlay header a {
  1233. display: inline-block;
  1234. width: $overlayHeaderHeight;
  1235. height: $overlayHeaderHeight;
  1236. line-height: 36px;
  1237. padding: 0 10px;
  1238. float: right;
  1239. opacity: 0.6;
  1240. box-sizing: border-box;
  1241. }
  1242. .reveal > .overlay header a:hover {
  1243. opacity: 1;
  1244. }
  1245. .reveal > .overlay header a .icon {
  1246. display: inline-block;
  1247. width: 20px;
  1248. height: 20px;
  1249. background-position: 50% 50%;
  1250. background-size: 100%;
  1251. background-repeat: no-repeat;
  1252. }
  1253. .reveal > .overlay header a.close .icon {
  1254. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1255. }
  1256. .reveal > .overlay header a.external .icon {
  1257. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1258. }
  1259. .reveal > .overlay .viewport {
  1260. position: absolute;
  1261. display: flex;
  1262. top: $overlayHeaderHeight + $overlayHeaderPadding*2;
  1263. right: 0;
  1264. bottom: 0;
  1265. left: 0;
  1266. }
  1267. .reveal > .overlay.overlay-preview .viewport iframe {
  1268. width: 100%;
  1269. height: 100%;
  1270. max-width: 100%;
  1271. max-height: 100%;
  1272. border: 0;
  1273. opacity: 0;
  1274. visibility: hidden;
  1275. transition: all 0.3s ease;
  1276. }
  1277. .reveal > .overlay.overlay-preview.loaded .viewport iframe {
  1278. opacity: 1;
  1279. visibility: visible;
  1280. }
  1281. .reveal > .overlay.overlay-preview.loaded .viewport-inner {
  1282. position: absolute;
  1283. z-index: -1;
  1284. left: 0;
  1285. top: 45%;
  1286. width: 100%;
  1287. text-align: center;
  1288. letter-spacing: normal;
  1289. }
  1290. .reveal > .overlay.overlay-preview .x-frame-error {
  1291. opacity: 0;
  1292. transition: opacity 0.3s ease 0.3s;
  1293. }
  1294. .reveal > .overlay.overlay-preview.loaded .x-frame-error {
  1295. opacity: 1;
  1296. }
  1297. .reveal > .overlay.overlay-preview.loaded .spinner {
  1298. opacity: 0;
  1299. visibility: hidden;
  1300. transform: scale(0.2);
  1301. }
  1302. .reveal > .overlay.overlay-help .viewport {
  1303. overflow: auto;
  1304. color: #fff;
  1305. }
  1306. .reveal > .overlay.overlay-help .viewport .viewport-inner {
  1307. width: 600px;
  1308. margin: auto;
  1309. padding: 20px 20px 80px 20px;
  1310. text-align: center;
  1311. letter-spacing: normal;
  1312. }
  1313. .reveal > .overlay.overlay-help .viewport .viewport-inner .title {
  1314. font-size: 20px;
  1315. }
  1316. .reveal > .overlay.overlay-help .viewport .viewport-inner table {
  1317. border: 1px solid #fff;
  1318. border-collapse: collapse;
  1319. font-size: 16px;
  1320. }
  1321. .reveal > .overlay.overlay-help .viewport .viewport-inner table th,
  1322. .reveal > .overlay.overlay-help .viewport .viewport-inner table td {
  1323. width: 200px;
  1324. padding: 14px;
  1325. border: 1px solid #fff;
  1326. vertical-align: middle;
  1327. }
  1328. .reveal > .overlay.overlay-help .viewport .viewport-inner table th {
  1329. padding-top: 20px;
  1330. padding-bottom: 20px;
  1331. }
  1332. /*********************************************
  1333. * PLAYBACK COMPONENT
  1334. *********************************************/
  1335. .reveal .playback {
  1336. position: absolute;
  1337. left: 15px;
  1338. bottom: 20px;
  1339. z-index: 30;
  1340. cursor: pointer;
  1341. transition: all 400ms ease;
  1342. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  1343. }
  1344. .reveal.overview .playback {
  1345. opacity: 0;
  1346. visibility: hidden;
  1347. }
  1348. /*********************************************
  1349. * CODE HIGHLGIHTING
  1350. *********************************************/
  1351. .reveal .hljs {
  1352. min-height: 100%;
  1353. }
  1354. .reveal .hljs table {
  1355. margin: initial;
  1356. }
  1357. .reveal .hljs-ln-code,
  1358. .reveal .hljs-ln-numbers {
  1359. padding: 0;
  1360. border: 0;
  1361. }
  1362. .reveal .hljs-ln-numbers {
  1363. opacity: 0.6;
  1364. padding-right: 0.75em;
  1365. text-align: right;
  1366. vertical-align: top;
  1367. }
  1368. .reveal .hljs.has-highlights tr:not(.highlight-line) {
  1369. opacity: 0.4;
  1370. }
  1371. .reveal .hljs:not(:first-child).fragment {
  1372. position: absolute;
  1373. top: 0;
  1374. left: 0;
  1375. width: 100%;
  1376. box-sizing: border-box;
  1377. }
  1378. .reveal pre[data-auto-animate-target] {
  1379. overflow: hidden;
  1380. }
  1381. .reveal pre[data-auto-animate-target] code {
  1382. height: 100%;
  1383. }
  1384. /*********************************************
  1385. * ROLLING LINKS
  1386. *********************************************/
  1387. .reveal .roll {
  1388. display: inline-block;
  1389. line-height: 1.2;
  1390. overflow: hidden;
  1391. vertical-align: top;
  1392. perspective: 400px;
  1393. perspective-origin: 50% 50%;
  1394. }
  1395. .reveal .roll:hover {
  1396. background: none;
  1397. text-shadow: none;
  1398. }
  1399. .reveal .roll span {
  1400. display: block;
  1401. position: relative;
  1402. padding: 0 2px;
  1403. pointer-events: none;
  1404. transition: all 400ms ease;
  1405. transform-origin: 50% 0%;
  1406. transform-style: preserve-3d;
  1407. backface-visibility: hidden;
  1408. }
  1409. .reveal .roll:hover span {
  1410. background: rgba(0,0,0,0.5);
  1411. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1412. }
  1413. .reveal .roll span:after {
  1414. content: attr(data-title);
  1415. display: block;
  1416. position: absolute;
  1417. left: 0;
  1418. top: 0;
  1419. padding: 0 2px;
  1420. backface-visibility: hidden;
  1421. transform-origin: 50% 0%;
  1422. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1423. }
  1424. /*********************************************
  1425. * SPEAKER NOTES
  1426. *********************************************/
  1427. $notesWidthPercent: 25%;
  1428. // Hide on-page notes
  1429. .reveal aside.notes {
  1430. display: none;
  1431. }
  1432. // An interface element that can optionally be used to show the
  1433. // speaker notes to all viewers, on top of the presentation
  1434. .reveal .speaker-notes {
  1435. display: none;
  1436. position: absolute;
  1437. width: math.div($notesWidthPercent, (1 - math.div($notesWidthPercent,100))) * 1%;
  1438. height: 100%;
  1439. top: 0;
  1440. left: 100%;
  1441. padding: 14px 18px 14px 18px;
  1442. z-index: 1;
  1443. font-size: 18px;
  1444. line-height: 1.4;
  1445. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1446. color: #222;
  1447. background-color: #f5f5f5;
  1448. overflow: auto;
  1449. box-sizing: border-box;
  1450. text-align: left;
  1451. font-family: Helvetica, sans-serif;
  1452. -webkit-overflow-scrolling: touch;
  1453. .notes-placeholder {
  1454. color: #ccc;
  1455. font-style: italic;
  1456. }
  1457. &:focus {
  1458. outline: none;
  1459. }
  1460. &:before {
  1461. content: 'Speaker notes';
  1462. display: block;
  1463. margin-bottom: 10px;
  1464. opacity: 0.5;
  1465. }
  1466. }
  1467. .reveal.show-notes {
  1468. max-width: 100% - $notesWidthPercent;
  1469. overflow: visible;
  1470. }
  1471. .reveal.show-notes .speaker-notes {
  1472. display: block;
  1473. }
  1474. @media screen and (min-width: 1600px) {
  1475. .reveal .speaker-notes {
  1476. font-size: 20px;
  1477. }
  1478. }
  1479. @media screen and (max-width: 1024px) {
  1480. .reveal.show-notes {
  1481. border-left: 0;
  1482. max-width: none;
  1483. max-height: 70%;
  1484. max-height: 70vh;
  1485. overflow: visible;
  1486. }
  1487. .reveal.show-notes .speaker-notes {
  1488. top: 100%;
  1489. left: 0;
  1490. width: 100%;
  1491. height: 30vh;
  1492. border: 0;
  1493. }
  1494. }
  1495. @media screen and (max-width: 600px) {
  1496. .reveal.show-notes {
  1497. max-height: 60%;
  1498. max-height: 60vh;
  1499. }
  1500. .reveal.show-notes .speaker-notes {
  1501. top: 100%;
  1502. height: 40vh;
  1503. }
  1504. .reveal .speaker-notes {
  1505. font-size: 14px;
  1506. }
  1507. }
  1508. /*********************************************
  1509. * ZOOM PLUGIN
  1510. *********************************************/
  1511. .zoomed .reveal *,
  1512. .zoomed .reveal *:before,
  1513. .zoomed .reveal *:after {
  1514. backface-visibility: visible !important;
  1515. }
  1516. .zoomed .reveal .progress,
  1517. .zoomed .reveal .controls {
  1518. opacity: 0;
  1519. }
  1520. .zoomed .reveal .roll span {
  1521. background: none;
  1522. }
  1523. .zoomed .reveal .roll span:after {
  1524. visibility: hidden;
  1525. }
  1526. /*********************************************
  1527. * PRINT STYLES
  1528. *********************************************/
  1529. @import 'print/pdf.scss';
  1530. @import 'print/paper.scss';