reveal.scss 43 KB

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