reveal.scss 44 KB

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