reveal.scss 43 KB

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