reveal.scss 44 KB

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