reveal.scss 43 KB

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