reveal.scss 43 KB

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