reveal.scss 43 KB

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