reveal.scss 43 KB

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