reveal.scss 42 KB

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