reveal.scss 43 KB

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