reveal.scss 43 KB

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