reveal.scss 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717
  1. /*!
  2. * reveal.js
  3. * http://revealjs.com
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2017 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-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: none;
  469. }
  470. // Mobile Safari sometimes overlays a header at the top
  471. // of the page when in landscape mode. Using fixed
  472. // positioning ensures that reveal.js reduces its height
  473. // when this header is visible.
  474. @media only screen and (orientation : landscape) {
  475. .reveal.ua-iphone {
  476. position: fixed;
  477. }
  478. }
  479. .reveal .slides {
  480. position: absolute;
  481. width: 100%;
  482. height: 100%;
  483. top: 0;
  484. right: 0;
  485. bottom: 0;
  486. left: 0;
  487. margin: auto;
  488. pointer-events: none;
  489. overflow: visible;
  490. z-index: 1;
  491. text-align: center;
  492. perspective: 600px;
  493. perspective-origin: 50% 40%;
  494. }
  495. .reveal .slides>section {
  496. -ms-perspective: 600px;
  497. }
  498. .reveal .slides>section,
  499. .reveal .slides>section>section {
  500. display: none;
  501. position: absolute;
  502. width: 100%;
  503. padding: 20px 0px;
  504. pointer-events: auto;
  505. z-index: 10;
  506. transform-style: flat;
  507. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  508. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  509. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  510. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  511. }
  512. /* Global transition speed settings */
  513. .reveal[data-transition-speed="fast"] .slides section {
  514. transition-duration: 400ms;
  515. }
  516. .reveal[data-transition-speed="slow"] .slides section {
  517. transition-duration: 1200ms;
  518. }
  519. /* Slide-specific transition speed overrides */
  520. .reveal .slides section[data-transition-speed="fast"] {
  521. transition-duration: 400ms;
  522. }
  523. .reveal .slides section[data-transition-speed="slow"] {
  524. transition-duration: 1200ms;
  525. }
  526. .reveal .slides>section.stack {
  527. padding-top: 0;
  528. padding-bottom: 0;
  529. }
  530. .reveal .slides>section.present,
  531. .reveal .slides>section>section.present {
  532. display: block;
  533. z-index: 11;
  534. opacity: 1;
  535. }
  536. .reveal .slides>section:empty,
  537. .reveal .slides>section>section:empty,
  538. .reveal .slides>section[data-background-interactive],
  539. .reveal .slides>section>section[data-background-interactive] {
  540. pointer-events: none;
  541. }
  542. .reveal.center,
  543. .reveal.center .slides,
  544. .reveal.center .slides section {
  545. min-height: 0 !important;
  546. }
  547. /* Don't allow interaction with invisible slides */
  548. .reveal .slides>section.future,
  549. .reveal .slides>section>section.future,
  550. .reveal .slides>section.past,
  551. .reveal .slides>section>section.past {
  552. pointer-events: none;
  553. }
  554. .reveal.overview .slides>section,
  555. .reveal.overview .slides>section>section {
  556. pointer-events: auto;
  557. }
  558. .reveal .slides>section.past,
  559. .reveal .slides>section.future,
  560. .reveal .slides>section>section.past,
  561. .reveal .slides>section>section.future {
  562. opacity: 0;
  563. }
  564. /*********************************************
  565. * Mixins for readability of transitions
  566. *********************************************/
  567. @mixin transition-global($style) {
  568. .reveal .slides section[data-transition=#{$style}],
  569. .reveal.#{$style} .slides section:not([data-transition]) {
  570. @content;
  571. }
  572. }
  573. @mixin transition-stack($style) {
  574. .reveal .slides section[data-transition=#{$style}].stack,
  575. .reveal.#{$style} .slides section.stack {
  576. @content;
  577. }
  578. }
  579. @mixin transition-horizontal-past($style) {
  580. .reveal .slides>section[data-transition=#{$style}].past,
  581. .reveal .slides>section[data-transition~=#{$style}-out].past,
  582. .reveal.#{$style} .slides>section:not([data-transition]).past {
  583. @content;
  584. }
  585. }
  586. @mixin transition-horizontal-future($style) {
  587. .reveal .slides>section[data-transition=#{$style}].future,
  588. .reveal .slides>section[data-transition~=#{$style}-in].future,
  589. .reveal.#{$style} .slides>section:not([data-transition]).future {
  590. @content;
  591. }
  592. }
  593. @mixin transition-vertical-past($style) {
  594. .reveal .slides>section>section[data-transition=#{$style}].past,
  595. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  596. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  597. @content;
  598. }
  599. }
  600. @mixin transition-vertical-future($style) {
  601. .reveal .slides>section>section[data-transition=#{$style}].future,
  602. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  603. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  604. @content;
  605. }
  606. }
  607. /*********************************************
  608. * SLIDE TRANSITION
  609. * Aliased 'linear' for backwards compatibility
  610. *********************************************/
  611. @each $stylename in slide, linear {
  612. .reveal.#{$stylename} section {
  613. backface-visibility: hidden;
  614. }
  615. @include transition-horizontal-past(#{$stylename}) {
  616. transform: translate(-150%, 0);
  617. }
  618. @include transition-horizontal-future(#{$stylename}) {
  619. transform: translate(150%, 0);
  620. }
  621. @include transition-vertical-past(#{$stylename}) {
  622. transform: translate(0, -150%);
  623. }
  624. @include transition-vertical-future(#{$stylename}) {
  625. transform: translate(0, 150%);
  626. }
  627. }
  628. /*********************************************
  629. * CONVEX TRANSITION
  630. * Aliased 'default' for backwards compatibility
  631. *********************************************/
  632. @each $stylename in default, convex {
  633. @include transition-stack(#{$stylename}) {
  634. transform-style: preserve-3d;
  635. }
  636. @include transition-horizontal-past(#{$stylename}) {
  637. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  638. }
  639. @include transition-horizontal-future(#{$stylename}) {
  640. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  641. }
  642. @include transition-vertical-past(#{$stylename}) {
  643. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  644. }
  645. @include transition-vertical-future(#{$stylename}) {
  646. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  647. }
  648. }
  649. /*********************************************
  650. * CONCAVE TRANSITION
  651. *********************************************/
  652. @include transition-stack(concave) {
  653. transform-style: preserve-3d;
  654. }
  655. @include transition-horizontal-past(concave) {
  656. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  657. }
  658. @include transition-horizontal-future(concave) {
  659. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  660. }
  661. @include transition-vertical-past(concave) {
  662. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  663. }
  664. @include transition-vertical-future(concave) {
  665. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  666. }
  667. /*********************************************
  668. * ZOOM TRANSITION
  669. *********************************************/
  670. @include transition-global(zoom) {
  671. transition-timing-function: ease;
  672. }
  673. @include transition-horizontal-past(zoom) {
  674. visibility: hidden;
  675. transform: scale(16);
  676. }
  677. @include transition-horizontal-future(zoom) {
  678. visibility: hidden;
  679. transform: scale(0.2);
  680. }
  681. @include transition-vertical-past(zoom) {
  682. transform: translate(0, -150%);
  683. }
  684. @include transition-vertical-future(zoom) {
  685. transform: translate(0, 150%);
  686. }
  687. /*********************************************
  688. * CUBE TRANSITION
  689. *
  690. * WARNING:
  691. * this is deprecated and will be removed in a
  692. * future version.
  693. *********************************************/
  694. .reveal.cube .slides {
  695. perspective: 1300px;
  696. }
  697. .reveal.cube .slides section {
  698. padding: 30px;
  699. min-height: 700px;
  700. backface-visibility: hidden;
  701. box-sizing: border-box;
  702. transform-style: preserve-3d;
  703. }
  704. .reveal.center.cube .slides section {
  705. min-height: 0;
  706. }
  707. .reveal.cube .slides section:not(.stack):before {
  708. content: '';
  709. position: absolute;
  710. display: block;
  711. width: 100%;
  712. height: 100%;
  713. left: 0;
  714. top: 0;
  715. background: rgba(0,0,0,0.1);
  716. border-radius: 4px;
  717. transform: translateZ( -20px );
  718. }
  719. .reveal.cube .slides section:not(.stack):after {
  720. content: '';
  721. position: absolute;
  722. display: block;
  723. width: 90%;
  724. height: 30px;
  725. left: 5%;
  726. bottom: 0;
  727. background: none;
  728. z-index: 1;
  729. border-radius: 4px;
  730. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  731. transform: translateZ(-90px) rotateX( 65deg );
  732. }
  733. .reveal.cube .slides>section.stack {
  734. padding: 0;
  735. background: none;
  736. }
  737. .reveal.cube .slides>section.past {
  738. transform-origin: 100% 0%;
  739. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  740. }
  741. .reveal.cube .slides>section.future {
  742. transform-origin: 0% 0%;
  743. transform: translate3d(100%, 0, 0) rotateY(90deg);
  744. }
  745. .reveal.cube .slides>section>section.past {
  746. transform-origin: 0% 100%;
  747. transform: translate3d(0, -100%, 0) rotateX(90deg);
  748. }
  749. .reveal.cube .slides>section>section.future {
  750. transform-origin: 0% 0%;
  751. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  752. }
  753. /*********************************************
  754. * PAGE TRANSITION
  755. *
  756. * WARNING:
  757. * this is deprecated and will be removed in a
  758. * future version.
  759. *********************************************/
  760. .reveal.page .slides {
  761. perspective-origin: 0% 50%;
  762. perspective: 3000px;
  763. }
  764. .reveal.page .slides section {
  765. padding: 30px;
  766. min-height: 700px;
  767. box-sizing: border-box;
  768. transform-style: preserve-3d;
  769. }
  770. .reveal.page .slides section.past {
  771. z-index: 12;
  772. }
  773. .reveal.page .slides section:not(.stack):before {
  774. content: '';
  775. position: absolute;
  776. display: block;
  777. width: 100%;
  778. height: 100%;
  779. left: 0;
  780. top: 0;
  781. background: rgba(0,0,0,0.1);
  782. transform: translateZ( -20px );
  783. }
  784. .reveal.page .slides section:not(.stack):after {
  785. content: '';
  786. position: absolute;
  787. display: block;
  788. width: 90%;
  789. height: 30px;
  790. left: 5%;
  791. bottom: 0;
  792. background: none;
  793. z-index: 1;
  794. border-radius: 4px;
  795. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  796. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  797. }
  798. .reveal.page .slides>section.stack {
  799. padding: 0;
  800. background: none;
  801. }
  802. .reveal.page .slides>section.past {
  803. transform-origin: 0% 0%;
  804. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  805. }
  806. .reveal.page .slides>section.future {
  807. transform-origin: 100% 0%;
  808. transform: translate3d(0, 0, 0);
  809. }
  810. .reveal.page .slides>section>section.past {
  811. transform-origin: 0% 0%;
  812. transform: translate3d(0, -40%, 0) rotateX(80deg);
  813. }
  814. .reveal.page .slides>section>section.future {
  815. transform-origin: 0% 100%;
  816. transform: translate3d(0, 0, 0);
  817. }
  818. /*********************************************
  819. * FADE TRANSITION
  820. *********************************************/
  821. .reveal .slides section[data-transition=fade],
  822. .reveal.fade .slides section:not([data-transition]),
  823. .reveal.fade .slides>section>section:not([data-transition]) {
  824. transform: none;
  825. transition: opacity 0.5s;
  826. }
  827. .reveal.fade.overview .slides section,
  828. .reveal.fade.overview .slides>section>section {
  829. transition: none;
  830. }
  831. /*********************************************
  832. * NO TRANSITION
  833. *********************************************/
  834. @include transition-global(none) {
  835. transform: none;
  836. transition: none;
  837. }
  838. /*********************************************
  839. * PAUSED MODE
  840. *********************************************/
  841. .reveal .pause-overlay {
  842. position: absolute;
  843. top: 0;
  844. left: 0;
  845. width: 100%;
  846. height: 100%;
  847. background: black;
  848. visibility: hidden;
  849. opacity: 0;
  850. z-index: 100;
  851. transition: all 1s ease;
  852. }
  853. .reveal.paused .pause-overlay {
  854. visibility: visible;
  855. opacity: 1;
  856. }
  857. /*********************************************
  858. * FALLBACK
  859. *********************************************/
  860. .no-transforms {
  861. overflow-y: auto;
  862. }
  863. .no-transforms .reveal .slides {
  864. position: relative;
  865. width: 80%;
  866. height: auto !important;
  867. top: 0;
  868. left: 50%;
  869. margin: 0;
  870. text-align: center;
  871. }
  872. .no-transforms .reveal .controls,
  873. .no-transforms .reveal .progress {
  874. display: none !important;
  875. }
  876. .no-transforms .reveal .slides section {
  877. display: block !important;
  878. opacity: 1 !important;
  879. position: relative !important;
  880. height: auto;
  881. min-height: 0;
  882. top: 0;
  883. left: -50%;
  884. margin: 70px 0;
  885. transform: none;
  886. }
  887. .no-transforms .reveal .slides section section {
  888. left: 0;
  889. }
  890. .reveal .no-transition,
  891. .reveal .no-transition * {
  892. transition: none !important;
  893. }
  894. /*********************************************
  895. * PER-SLIDE BACKGROUNDS
  896. *********************************************/
  897. .reveal .backgrounds {
  898. position: absolute;
  899. width: 100%;
  900. height: 100%;
  901. top: 0;
  902. left: 0;
  903. perspective: 600px;
  904. }
  905. .reveal .slide-background {
  906. display: none;
  907. position: absolute;
  908. width: 100%;
  909. height: 100%;
  910. opacity: 0;
  911. visibility: hidden;
  912. overflow: hidden;
  913. background-color: rgba( 0, 0, 0, 0 );
  914. background-position: 50% 50%;
  915. background-repeat: no-repeat;
  916. background-size: cover;
  917. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  918. }
  919. .reveal .slide-background.stack {
  920. display: block;
  921. }
  922. .reveal .slide-background.present {
  923. opacity: 1;
  924. visibility: visible;
  925. z-index: 2;
  926. }
  927. .print-pdf .reveal .slide-background {
  928. opacity: 1 !important;
  929. visibility: visible !important;
  930. }
  931. /* Video backgrounds */
  932. .reveal .slide-background video {
  933. position: absolute;
  934. width: 100%;
  935. height: 100%;
  936. max-width: none;
  937. max-height: none;
  938. top: 0;
  939. left: 0;
  940. object-fit: cover;
  941. }
  942. .reveal .slide-background[data-background-size="contain"] video {
  943. object-fit: contain;
  944. }
  945. /* Immediate transition style */
  946. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  947. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  948. transition: none;
  949. }
  950. /* Slide */
  951. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  952. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  953. opacity: 1;
  954. backface-visibility: hidden;
  955. }
  956. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  957. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  958. transform: translate(-100%, 0);
  959. }
  960. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  961. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  962. transform: translate(100%, 0);
  963. }
  964. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  965. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  966. transform: translate(0, -100%);
  967. }
  968. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  969. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  970. transform: translate(0, 100%);
  971. }
  972. /* Convex */
  973. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  974. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  975. opacity: 0;
  976. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  977. }
  978. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  979. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  980. opacity: 0;
  981. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  982. }
  983. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  984. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  985. opacity: 0;
  986. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  987. }
  988. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  989. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  990. opacity: 0;
  991. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  992. }
  993. /* Concave */
  994. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  995. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  996. opacity: 0;
  997. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  998. }
  999. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  1000. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  1001. opacity: 0;
  1002. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  1003. }
  1004. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  1005. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  1006. opacity: 0;
  1007. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  1008. }
  1009. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  1010. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  1011. opacity: 0;
  1012. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  1013. }
  1014. /* Zoom */
  1015. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  1016. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  1017. transition-timing-function: ease;
  1018. }
  1019. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  1020. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1021. opacity: 0;
  1022. visibility: hidden;
  1023. transform: scale(16);
  1024. }
  1025. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  1026. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1027. opacity: 0;
  1028. visibility: hidden;
  1029. transform: scale(0.2);
  1030. }
  1031. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  1032. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1033. opacity: 0;
  1034. visibility: hidden;
  1035. transform: scale(16);
  1036. }
  1037. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  1038. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1039. opacity: 0;
  1040. visibility: hidden;
  1041. transform: scale(0.2);
  1042. }
  1043. /* Global transition speed settings */
  1044. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1045. transition-duration: 400ms;
  1046. }
  1047. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1048. transition-duration: 1200ms;
  1049. }
  1050. /*********************************************
  1051. * OVERVIEW
  1052. *********************************************/
  1053. .reveal.overview {
  1054. perspective-origin: 50% 50%;
  1055. perspective: 700px;
  1056. .slides {
  1057. // Fixes overview rendering errors in FF48+, not applied to
  1058. // other browsers since it degrades performance
  1059. -moz-transform-style: preserve-3d;
  1060. }
  1061. .slides section {
  1062. height: 100%;
  1063. top: 0 !important;
  1064. opacity: 1 !important;
  1065. overflow: hidden;
  1066. visibility: visible !important;
  1067. cursor: pointer;
  1068. box-sizing: border-box;
  1069. }
  1070. .slides section:hover,
  1071. .slides section.present {
  1072. outline: 10px solid rgba(150,150,150,0.4);
  1073. outline-offset: 10px;
  1074. }
  1075. .slides section .fragment {
  1076. opacity: 1;
  1077. transition: none;
  1078. }
  1079. .slides section:after,
  1080. .slides section:before {
  1081. display: none !important;
  1082. }
  1083. .slides>section.stack {
  1084. padding: 0;
  1085. top: 0 !important;
  1086. background: none;
  1087. outline: none;
  1088. overflow: visible;
  1089. }
  1090. .backgrounds {
  1091. perspective: inherit;
  1092. // Fixes overview rendering errors in FF48+, not applied to
  1093. // other browsers since it degrades performance
  1094. -moz-transform-style: preserve-3d;
  1095. }
  1096. .backgrounds .slide-background {
  1097. opacity: 1;
  1098. visibility: visible;
  1099. // This can't be applied to the slide itself in Safari
  1100. outline: 10px solid rgba(150,150,150,0.1);
  1101. outline-offset: 10px;
  1102. }
  1103. .backgrounds .slide-background.stack {
  1104. overflow: visible;
  1105. }
  1106. }
  1107. // Disable transitions transitions while we're activating
  1108. // or deactivating the overview mode.
  1109. .reveal.overview .slides section,
  1110. .reveal.overview-deactivating .slides section {
  1111. transition: none;
  1112. }
  1113. .reveal.overview .backgrounds .slide-background,
  1114. .reveal.overview-deactivating .backgrounds .slide-background {
  1115. transition: none;
  1116. }
  1117. /*********************************************
  1118. * RTL SUPPORT
  1119. *********************************************/
  1120. .reveal.rtl .slides,
  1121. .reveal.rtl .slides h1,
  1122. .reveal.rtl .slides h2,
  1123. .reveal.rtl .slides h3,
  1124. .reveal.rtl .slides h4,
  1125. .reveal.rtl .slides h5,
  1126. .reveal.rtl .slides h6 {
  1127. direction: rtl;
  1128. font-family: sans-serif;
  1129. }
  1130. .reveal.rtl pre,
  1131. .reveal.rtl code {
  1132. direction: ltr;
  1133. }
  1134. .reveal.rtl ol,
  1135. .reveal.rtl ul {
  1136. text-align: right;
  1137. }
  1138. .reveal.rtl .progress span {
  1139. float: right
  1140. }
  1141. /*********************************************
  1142. * PARALLAX BACKGROUND
  1143. *********************************************/
  1144. .reveal.has-parallax-background .backgrounds {
  1145. transition: all 0.8s ease;
  1146. }
  1147. /* Global transition speed settings */
  1148. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1149. transition-duration: 400ms;
  1150. }
  1151. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1152. transition-duration: 1200ms;
  1153. }
  1154. /*********************************************
  1155. * LINK PREVIEW OVERLAY
  1156. *********************************************/
  1157. .reveal .overlay {
  1158. position: absolute;
  1159. top: 0;
  1160. left: 0;
  1161. width: 100%;
  1162. height: 100%;
  1163. z-index: 1000;
  1164. background: rgba( 0, 0, 0, 0.9 );
  1165. opacity: 0;
  1166. visibility: hidden;
  1167. transition: all 0.3s ease;
  1168. }
  1169. .reveal .overlay.visible {
  1170. opacity: 1;
  1171. visibility: visible;
  1172. }
  1173. .reveal .overlay .spinner {
  1174. position: absolute;
  1175. display: block;
  1176. top: 50%;
  1177. left: 50%;
  1178. width: 32px;
  1179. height: 32px;
  1180. margin: -16px 0 0 -16px;
  1181. z-index: 10;
  1182. background-image: url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APGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1183. visibility: visible;
  1184. opacity: 0.6;
  1185. transition: all 0.3s ease;
  1186. }
  1187. .reveal .overlay header {
  1188. position: absolute;
  1189. left: 0;
  1190. top: 0;
  1191. width: 100%;
  1192. height: 40px;
  1193. z-index: 2;
  1194. border-bottom: 1px solid #222;
  1195. }
  1196. .reveal .overlay header a {
  1197. display: inline-block;
  1198. width: 40px;
  1199. height: 40px;
  1200. line-height: 36px;
  1201. padding: 0 10px;
  1202. float: right;
  1203. opacity: 0.6;
  1204. box-sizing: border-box;
  1205. }
  1206. .reveal .overlay header a:hover {
  1207. opacity: 1;
  1208. }
  1209. .reveal .overlay header a .icon {
  1210. display: inline-block;
  1211. width: 20px;
  1212. height: 20px;
  1213. background-position: 50% 50%;
  1214. background-size: 100%;
  1215. background-repeat: no-repeat;
  1216. }
  1217. .reveal .overlay header a.close .icon {
  1218. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1219. }
  1220. .reveal .overlay header a.external .icon {
  1221. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1222. }
  1223. .reveal .overlay .viewport {
  1224. position: absolute;
  1225. display: flex;
  1226. top: 40px;
  1227. right: 0;
  1228. bottom: 0;
  1229. left: 0;
  1230. }
  1231. .reveal .overlay.overlay-preview .viewport iframe {
  1232. width: 100%;
  1233. height: 100%;
  1234. max-width: 100%;
  1235. max-height: 100%;
  1236. border: 0;
  1237. opacity: 0;
  1238. visibility: hidden;
  1239. transition: all 0.3s ease;
  1240. }
  1241. .reveal .overlay.overlay-preview.loaded .viewport iframe {
  1242. opacity: 1;
  1243. visibility: visible;
  1244. }
  1245. .reveal .overlay.overlay-preview.loaded .viewport-inner {
  1246. position: absolute;
  1247. z-index: -1;
  1248. left: 0;
  1249. top: 45%;
  1250. width: 100%;
  1251. text-align: center;
  1252. letter-spacing: normal;
  1253. }
  1254. .reveal .overlay.overlay-preview .x-frame-error {
  1255. opacity: 0;
  1256. transition: opacity 0.3s ease 0.3s;
  1257. }
  1258. .reveal .overlay.overlay-preview.loaded .x-frame-error {
  1259. opacity: 1;
  1260. }
  1261. .reveal .overlay.overlay-preview.loaded .spinner {
  1262. opacity: 0;
  1263. visibility: hidden;
  1264. transform: scale(0.2);
  1265. }
  1266. .reveal .overlay.overlay-help .viewport {
  1267. overflow: auto;
  1268. color: #fff;
  1269. }
  1270. .reveal .overlay.overlay-help .viewport .viewport-inner {
  1271. width: 600px;
  1272. margin: auto;
  1273. padding: 20px 20px 80px 20px;
  1274. text-align: center;
  1275. letter-spacing: normal;
  1276. }
  1277. .reveal .overlay.overlay-help .viewport .viewport-inner .title {
  1278. font-size: 20px;
  1279. }
  1280. .reveal .overlay.overlay-help .viewport .viewport-inner table {
  1281. border: 1px solid #fff;
  1282. border-collapse: collapse;
  1283. font-size: 16px;
  1284. }
  1285. .reveal .overlay.overlay-help .viewport .viewport-inner table th,
  1286. .reveal .overlay.overlay-help .viewport .viewport-inner table td {
  1287. width: 200px;
  1288. padding: 14px;
  1289. border: 1px solid #fff;
  1290. vertical-align: middle;
  1291. }
  1292. .reveal .overlay.overlay-help .viewport .viewport-inner table th {
  1293. padding-top: 20px;
  1294. padding-bottom: 20px;
  1295. }
  1296. /*********************************************
  1297. * PLAYBACK COMPONENT
  1298. *********************************************/
  1299. .reveal .playback {
  1300. position: absolute;
  1301. left: 15px;
  1302. bottom: 20px;
  1303. z-index: 30;
  1304. cursor: pointer;
  1305. transition: all 400ms ease;
  1306. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  1307. }
  1308. .reveal.overview .playback {
  1309. opacity: 0;
  1310. visibility: hidden;
  1311. }
  1312. /*********************************************
  1313. * ROLLING LINKS
  1314. *********************************************/
  1315. .reveal .roll {
  1316. display: inline-block;
  1317. line-height: 1.2;
  1318. overflow: hidden;
  1319. vertical-align: top;
  1320. perspective: 400px;
  1321. perspective-origin: 50% 50%;
  1322. }
  1323. .reveal .roll:hover {
  1324. background: none;
  1325. text-shadow: none;
  1326. }
  1327. .reveal .roll span {
  1328. display: block;
  1329. position: relative;
  1330. padding: 0 2px;
  1331. pointer-events: none;
  1332. transition: all 400ms ease;
  1333. transform-origin: 50% 0%;
  1334. transform-style: preserve-3d;
  1335. backface-visibility: hidden;
  1336. }
  1337. .reveal .roll:hover span {
  1338. background: rgba(0,0,0,0.5);
  1339. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1340. }
  1341. .reveal .roll span:after {
  1342. content: attr(data-title);
  1343. display: block;
  1344. position: absolute;
  1345. left: 0;
  1346. top: 0;
  1347. padding: 0 2px;
  1348. backface-visibility: hidden;
  1349. transform-origin: 50% 0%;
  1350. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1351. }
  1352. /*********************************************
  1353. * SPEAKER NOTES
  1354. *********************************************/
  1355. // Hide on-page notes
  1356. .reveal aside.notes {
  1357. display: none;
  1358. }
  1359. // An interface element that can optionally be used to show the
  1360. // speaker notes to all viewers, on top of the presentation
  1361. .reveal .speaker-notes {
  1362. display: none;
  1363. position: absolute;
  1364. width: 25vw;
  1365. height: 100%;
  1366. top: 0;
  1367. left: 100%;
  1368. padding: 14px 18px 14px 18px;
  1369. z-index: 1;
  1370. font-size: 18px;
  1371. line-height: 1.4;
  1372. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1373. color: #222;
  1374. background-color: #f5f5f5;
  1375. overflow: auto;
  1376. box-sizing: border-box;
  1377. text-align: left;
  1378. font-family: Helvetica, sans-serif;
  1379. -webkit-overflow-scrolling: touch;
  1380. .notes-placeholder {
  1381. color: #ccc;
  1382. font-style: italic;
  1383. }
  1384. &:focus {
  1385. outline: none;
  1386. }
  1387. &:before {
  1388. content: 'Speaker notes';
  1389. display: block;
  1390. margin-bottom: 10px;
  1391. opacity: 0.5;
  1392. }
  1393. }
  1394. .reveal.show-notes {
  1395. max-width: 75vw;
  1396. overflow: visible;
  1397. }
  1398. .reveal.show-notes .speaker-notes {
  1399. display: block;
  1400. }
  1401. @media screen and (min-width: 1600px) {
  1402. .reveal .speaker-notes {
  1403. font-size: 20px;
  1404. }
  1405. }
  1406. @media screen and (max-width: 1024px) {
  1407. .reveal.show-notes {
  1408. border-left: 0;
  1409. max-width: none;
  1410. max-height: 70%;
  1411. overflow: visible;
  1412. }
  1413. .reveal.show-notes .speaker-notes {
  1414. top: 100%;
  1415. left: 0;
  1416. width: 100%;
  1417. height: (30/0.7)*1%;
  1418. }
  1419. }
  1420. @media screen and (max-width: 600px) {
  1421. .reveal.show-notes {
  1422. max-height: 60%;
  1423. }
  1424. .reveal.show-notes .speaker-notes {
  1425. top: 100%;
  1426. height: (40/0.6)*1%;
  1427. }
  1428. .reveal .speaker-notes {
  1429. font-size: 14px;
  1430. }
  1431. }
  1432. /*********************************************
  1433. * ZOOM PLUGIN
  1434. *********************************************/
  1435. .zoomed .reveal *,
  1436. .zoomed .reveal *:before,
  1437. .zoomed .reveal *:after {
  1438. backface-visibility: visible !important;
  1439. }
  1440. .zoomed .reveal .progress,
  1441. .zoomed .reveal .controls {
  1442. opacity: 0;
  1443. }
  1444. .zoomed .reveal .roll span {
  1445. background: none;
  1446. }
  1447. .zoomed .reveal .roll span:after {
  1448. visibility: hidden;
  1449. }