reveal.scss 42 KB

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