reveal.scss 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674
  1. /*!
  2. * reveal.js
  3. * http://lab.hakim.se/reveal-js
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2017 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: #fff;
  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: $controlArrowThickness/2 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: $controlArrowSpacing*2 + $controlArrowSize;
  347. }
  348. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  349. bottom: $controlArrowSpacing;
  350. right: $controlArrowSpacing;
  351. }
  352. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  353. right: $controlArrowSpacing;
  354. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  355. }
  356. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  357. right: $controlArrowSpacing;
  358. bottom: $controlArrowSpacing;
  359. }
  360. // Invert arrows based on background color
  361. .reveal.has-dark-background .controls {
  362. color: #fff;
  363. }
  364. .reveal.has-light-background .controls {
  365. color: #000;
  366. }
  367. // Disable active states on touch devices
  368. .reveal.no-hover .controls .controls-arrow:hover,
  369. .reveal.no-hover .controls .controls-arrow:active {
  370. @include controlsArrowTransform( $controlsArrowAngle );
  371. }
  372. // Edge aligned controls layout
  373. @media screen and (min-width: 500px) {
  374. $spacing: 8px;
  375. .reveal .controls[data-controls-layout="edges"] {
  376. & {
  377. top: 0;
  378. right: 0;
  379. bottom: 0;
  380. left: 0;
  381. }
  382. .navigate-left,
  383. .navigate-right,
  384. .navigate-up,
  385. .navigate-down {
  386. bottom: auto;
  387. right: auto;
  388. }
  389. .navigate-left {
  390. top: 50%;
  391. left: $spacing;
  392. }
  393. .navigate-right {
  394. top: 50%;
  395. right: $spacing;
  396. }
  397. .navigate-up {
  398. top: $spacing;
  399. left: 50%;
  400. }
  401. .navigate-down {
  402. bottom: $spacing;
  403. left: 50%;
  404. }
  405. }
  406. }
  407. /*********************************************
  408. * PROGRESS BAR
  409. *********************************************/
  410. .reveal .progress {
  411. position: fixed;
  412. display: none;
  413. height: 3px;
  414. width: 100%;
  415. bottom: 0;
  416. left: 0;
  417. z-index: 10;
  418. background-color: rgba( 0, 0, 0, 0.2 );
  419. color: #fff;
  420. }
  421. .reveal .progress:after {
  422. content: '';
  423. display: block;
  424. position: absolute;
  425. height: 10px;
  426. width: 100%;
  427. top: -10px;
  428. }
  429. .reveal .progress span {
  430. display: block;
  431. height: 100%;
  432. width: 0px;
  433. background-color: currentColor;
  434. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  435. }
  436. /*********************************************
  437. * SLIDE NUMBER
  438. *********************************************/
  439. .reveal .slide-number {
  440. position: fixed;
  441. display: block;
  442. right: 8px;
  443. bottom: 8px;
  444. z-index: 31;
  445. font-family: Helvetica, sans-serif;
  446. font-size: 12px;
  447. line-height: 1;
  448. color: #fff;
  449. background-color: rgba( 0, 0, 0, 0.4 );
  450. padding: 5px;
  451. }
  452. .reveal .slide-number-delimiter {
  453. margin: 0 3px;
  454. }
  455. /*********************************************
  456. * SLIDES
  457. *********************************************/
  458. .reveal {
  459. position: relative;
  460. width: 100%;
  461. height: 100%;
  462. overflow: hidden;
  463. touch-action: none;
  464. }
  465. .reveal .slides {
  466. position: absolute;
  467. width: 100%;
  468. height: 100%;
  469. top: 0;
  470. right: 0;
  471. bottom: 0;
  472. left: 0;
  473. margin: auto;
  474. pointer-events: none;
  475. overflow: visible;
  476. z-index: 1;
  477. text-align: center;
  478. perspective: 600px;
  479. perspective-origin: 50% 40%;
  480. }
  481. .reveal .slides>section {
  482. -ms-perspective: 600px;
  483. }
  484. .reveal .slides>section,
  485. .reveal .slides>section>section {
  486. display: none;
  487. position: absolute;
  488. width: 100%;
  489. padding: 20px 0px;
  490. pointer-events: auto;
  491. z-index: 10;
  492. transform-style: flat;
  493. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  494. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  495. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  496. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  497. }
  498. /* Global transition speed settings */
  499. .reveal[data-transition-speed="fast"] .slides section {
  500. transition-duration: 400ms;
  501. }
  502. .reveal[data-transition-speed="slow"] .slides section {
  503. transition-duration: 1200ms;
  504. }
  505. /* Slide-specific transition speed overrides */
  506. .reveal .slides section[data-transition-speed="fast"] {
  507. transition-duration: 400ms;
  508. }
  509. .reveal .slides section[data-transition-speed="slow"] {
  510. transition-duration: 1200ms;
  511. }
  512. .reveal .slides>section.stack {
  513. padding-top: 0;
  514. padding-bottom: 0;
  515. }
  516. .reveal .slides>section.present,
  517. .reveal .slides>section>section.present {
  518. display: block;
  519. z-index: 11;
  520. opacity: 1;
  521. }
  522. .reveal .slides>section:empty,
  523. .reveal .slides>section>section:empty,
  524. .reveal .slides>section[data-background-interactive],
  525. .reveal .slides>section>section[data-background-interactive] {
  526. pointer-events: none;
  527. }
  528. .reveal.center,
  529. .reveal.center .slides,
  530. .reveal.center .slides section {
  531. min-height: 0 !important;
  532. }
  533. /* Don't allow interaction with invisible slides */
  534. .reveal .slides>section.future,
  535. .reveal .slides>section>section.future,
  536. .reveal .slides>section.past,
  537. .reveal .slides>section>section.past {
  538. pointer-events: none;
  539. }
  540. .reveal.overview .slides>section,
  541. .reveal.overview .slides>section>section {
  542. pointer-events: auto;
  543. }
  544. .reveal .slides>section.past,
  545. .reveal .slides>section.future,
  546. .reveal .slides>section>section.past,
  547. .reveal .slides>section>section.future {
  548. opacity: 0;
  549. }
  550. /*********************************************
  551. * Mixins for readability of transitions
  552. *********************************************/
  553. @mixin transition-global($style) {
  554. .reveal .slides section[data-transition=#{$style}],
  555. .reveal.#{$style} .slides section:not([data-transition]) {
  556. @content;
  557. }
  558. }
  559. @mixin transition-stack($style) {
  560. .reveal .slides section[data-transition=#{$style}].stack,
  561. .reveal.#{$style} .slides section.stack {
  562. @content;
  563. }
  564. }
  565. @mixin transition-horizontal-past($style) {
  566. .reveal .slides>section[data-transition=#{$style}].past,
  567. .reveal .slides>section[data-transition~=#{$style}-out].past,
  568. .reveal.#{$style} .slides>section:not([data-transition]).past {
  569. @content;
  570. }
  571. }
  572. @mixin transition-horizontal-future($style) {
  573. .reveal .slides>section[data-transition=#{$style}].future,
  574. .reveal .slides>section[data-transition~=#{$style}-in].future,
  575. .reveal.#{$style} .slides>section:not([data-transition]).future {
  576. @content;
  577. }
  578. }
  579. @mixin transition-vertical-past($style) {
  580. .reveal .slides>section>section[data-transition=#{$style}].past,
  581. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  582. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  583. @content;
  584. }
  585. }
  586. @mixin transition-vertical-future($style) {
  587. .reveal .slides>section>section[data-transition=#{$style}].future,
  588. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  589. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  590. @content;
  591. }
  592. }
  593. /*********************************************
  594. * SLIDE TRANSITION
  595. * Aliased 'linear' for backwards compatibility
  596. *********************************************/
  597. @each $stylename in slide, linear {
  598. .reveal.#{$stylename} section {
  599. backface-visibility: hidden;
  600. }
  601. @include transition-horizontal-past(#{$stylename}) {
  602. transform: translate(-150%, 0);
  603. }
  604. @include transition-horizontal-future(#{$stylename}) {
  605. transform: translate(150%, 0);
  606. }
  607. @include transition-vertical-past(#{$stylename}) {
  608. transform: translate(0, -150%);
  609. }
  610. @include transition-vertical-future(#{$stylename}) {
  611. transform: translate(0, 150%);
  612. }
  613. }
  614. /*********************************************
  615. * CONVEX TRANSITION
  616. * Aliased 'default' for backwards compatibility
  617. *********************************************/
  618. @each $stylename in default, convex {
  619. @include transition-stack(#{$stylename}) {
  620. transform-style: preserve-3d;
  621. }
  622. @include transition-horizontal-past(#{$stylename}) {
  623. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  624. }
  625. @include transition-horizontal-future(#{$stylename}) {
  626. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  627. }
  628. @include transition-vertical-past(#{$stylename}) {
  629. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  630. }
  631. @include transition-vertical-future(#{$stylename}) {
  632. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  633. }
  634. }
  635. /*********************************************
  636. * CONCAVE TRANSITION
  637. *********************************************/
  638. @include transition-stack(concave) {
  639. transform-style: preserve-3d;
  640. }
  641. @include transition-horizontal-past(concave) {
  642. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  643. }
  644. @include transition-horizontal-future(concave) {
  645. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  646. }
  647. @include transition-vertical-past(concave) {
  648. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  649. }
  650. @include transition-vertical-future(concave) {
  651. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  652. }
  653. /*********************************************
  654. * ZOOM TRANSITION
  655. *********************************************/
  656. @include transition-global(zoom) {
  657. transition-timing-function: ease;
  658. }
  659. @include transition-horizontal-past(zoom) {
  660. visibility: hidden;
  661. transform: scale(16);
  662. }
  663. @include transition-horizontal-future(zoom) {
  664. visibility: hidden;
  665. transform: scale(0.2);
  666. }
  667. @include transition-vertical-past(zoom) {
  668. transform: translate(0, -150%);
  669. }
  670. @include transition-vertical-future(zoom) {
  671. transform: translate(0, 150%);
  672. }
  673. /*********************************************
  674. * CUBE TRANSITION
  675. *
  676. * WARNING:
  677. * this is deprecated and will be removed in a
  678. * future version.
  679. *********************************************/
  680. .reveal.cube .slides {
  681. perspective: 1300px;
  682. }
  683. .reveal.cube .slides section {
  684. padding: 30px;
  685. min-height: 700px;
  686. backface-visibility: hidden;
  687. box-sizing: border-box;
  688. transform-style: preserve-3d;
  689. }
  690. .reveal.center.cube .slides section {
  691. min-height: 0;
  692. }
  693. .reveal.cube .slides section:not(.stack):before {
  694. content: '';
  695. position: absolute;
  696. display: block;
  697. width: 100%;
  698. height: 100%;
  699. left: 0;
  700. top: 0;
  701. background: rgba(0,0,0,0.1);
  702. border-radius: 4px;
  703. transform: translateZ( -20px );
  704. }
  705. .reveal.cube .slides section:not(.stack):after {
  706. content: '';
  707. position: absolute;
  708. display: block;
  709. width: 90%;
  710. height: 30px;
  711. left: 5%;
  712. bottom: 0;
  713. background: none;
  714. z-index: 1;
  715. border-radius: 4px;
  716. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  717. transform: translateZ(-90px) rotateX( 65deg );
  718. }
  719. .reveal.cube .slides>section.stack {
  720. padding: 0;
  721. background: none;
  722. }
  723. .reveal.cube .slides>section.past {
  724. transform-origin: 100% 0%;
  725. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  726. }
  727. .reveal.cube .slides>section.future {
  728. transform-origin: 0% 0%;
  729. transform: translate3d(100%, 0, 0) rotateY(90deg);
  730. }
  731. .reveal.cube .slides>section>section.past {
  732. transform-origin: 0% 100%;
  733. transform: translate3d(0, -100%, 0) rotateX(90deg);
  734. }
  735. .reveal.cube .slides>section>section.future {
  736. transform-origin: 0% 0%;
  737. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  738. }
  739. /*********************************************
  740. * PAGE TRANSITION
  741. *
  742. * WARNING:
  743. * this is deprecated and will be removed in a
  744. * future version.
  745. *********************************************/
  746. .reveal.page .slides {
  747. perspective-origin: 0% 50%;
  748. perspective: 3000px;
  749. }
  750. .reveal.page .slides section {
  751. padding: 30px;
  752. min-height: 700px;
  753. box-sizing: border-box;
  754. transform-style: preserve-3d;
  755. }
  756. .reveal.page .slides section.past {
  757. z-index: 12;
  758. }
  759. .reveal.page .slides section:not(.stack):before {
  760. content: '';
  761. position: absolute;
  762. display: block;
  763. width: 100%;
  764. height: 100%;
  765. left: 0;
  766. top: 0;
  767. background: rgba(0,0,0,0.1);
  768. transform: translateZ( -20px );
  769. }
  770. .reveal.page .slides section:not(.stack):after {
  771. content: '';
  772. position: absolute;
  773. display: block;
  774. width: 90%;
  775. height: 30px;
  776. left: 5%;
  777. bottom: 0;
  778. background: none;
  779. z-index: 1;
  780. border-radius: 4px;
  781. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  782. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  783. }
  784. .reveal.page .slides>section.stack {
  785. padding: 0;
  786. background: none;
  787. }
  788. .reveal.page .slides>section.past {
  789. transform-origin: 0% 0%;
  790. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  791. }
  792. .reveal.page .slides>section.future {
  793. transform-origin: 100% 0%;
  794. transform: translate3d(0, 0, 0);
  795. }
  796. .reveal.page .slides>section>section.past {
  797. transform-origin: 0% 0%;
  798. transform: translate3d(0, -40%, 0) rotateX(80deg);
  799. }
  800. .reveal.page .slides>section>section.future {
  801. transform-origin: 0% 100%;
  802. transform: translate3d(0, 0, 0);
  803. }
  804. /*********************************************
  805. * FADE TRANSITION
  806. *********************************************/
  807. .reveal .slides section[data-transition=fade],
  808. .reveal.fade .slides section:not([data-transition]),
  809. .reveal.fade .slides>section>section:not([data-transition]) {
  810. transform: none;
  811. transition: opacity 0.5s;
  812. }
  813. .reveal.fade.overview .slides section,
  814. .reveal.fade.overview .slides>section>section {
  815. transition: none;
  816. }
  817. /*********************************************
  818. * NO TRANSITION
  819. *********************************************/
  820. @include transition-global(none) {
  821. transform: none;
  822. transition: none;
  823. }
  824. /*********************************************
  825. * PAUSED MODE
  826. *********************************************/
  827. .reveal .pause-overlay {
  828. position: absolute;
  829. top: 0;
  830. left: 0;
  831. width: 100%;
  832. height: 100%;
  833. background: black;
  834. visibility: hidden;
  835. opacity: 0;
  836. z-index: 100;
  837. transition: all 1s ease;
  838. }
  839. .reveal.paused .pause-overlay {
  840. visibility: visible;
  841. opacity: 1;
  842. }
  843. /*********************************************
  844. * FALLBACK
  845. *********************************************/
  846. .no-transforms {
  847. overflow-y: auto;
  848. }
  849. .no-transforms .reveal .slides {
  850. position: relative;
  851. width: 80%;
  852. height: auto !important;
  853. top: 0;
  854. left: 50%;
  855. margin: 0;
  856. text-align: center;
  857. }
  858. .no-transforms .reveal .controls,
  859. .no-transforms .reveal .progress {
  860. display: none !important;
  861. }
  862. .no-transforms .reveal .slides section {
  863. display: block !important;
  864. opacity: 1 !important;
  865. position: relative !important;
  866. height: auto;
  867. min-height: 0;
  868. top: 0;
  869. left: -50%;
  870. margin: 70px 0;
  871. transform: none;
  872. }
  873. .no-transforms .reveal .slides section section {
  874. left: 0;
  875. }
  876. .reveal .no-transition,
  877. .reveal .no-transition * {
  878. transition: none !important;
  879. }
  880. /*********************************************
  881. * PER-SLIDE BACKGROUNDS
  882. *********************************************/
  883. .reveal .backgrounds {
  884. position: absolute;
  885. width: 100%;
  886. height: 100%;
  887. top: 0;
  888. left: 0;
  889. perspective: 600px;
  890. }
  891. .reveal .slide-background {
  892. display: none;
  893. position: absolute;
  894. width: 100%;
  895. height: 100%;
  896. opacity: 0;
  897. visibility: hidden;
  898. overflow: hidden;
  899. background-color: rgba( 0, 0, 0, 0 );
  900. background-position: 50% 50%;
  901. background-repeat: no-repeat;
  902. background-size: cover;
  903. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  904. }
  905. .reveal .slide-background.stack {
  906. display: block;
  907. }
  908. .reveal .slide-background.present {
  909. opacity: 1;
  910. visibility: visible;
  911. z-index: 2;
  912. }
  913. .print-pdf .reveal .slide-background {
  914. opacity: 1 !important;
  915. visibility: visible !important;
  916. }
  917. /* Video backgrounds */
  918. .reveal .slide-background video {
  919. position: absolute;
  920. width: 100%;
  921. height: 100%;
  922. max-width: none;
  923. max-height: none;
  924. top: 0;
  925. left: 0;
  926. object-fit: cover;
  927. }
  928. .reveal .slide-background[data-background-size="contain"] video {
  929. object-fit: contain;
  930. }
  931. /* Immediate transition style */
  932. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  933. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  934. transition: none;
  935. }
  936. /* Slide */
  937. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  938. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  939. opacity: 1;
  940. backface-visibility: hidden;
  941. }
  942. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  943. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  944. transform: translate(-100%, 0);
  945. }
  946. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  947. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  948. transform: translate(100%, 0);
  949. }
  950. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  951. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  952. transform: translate(0, -100%);
  953. }
  954. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  955. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  956. transform: translate(0, 100%);
  957. }
  958. /* Convex */
  959. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  960. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  961. opacity: 0;
  962. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  963. }
  964. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  965. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  966. opacity: 0;
  967. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  968. }
  969. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  970. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  971. opacity: 0;
  972. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  973. }
  974. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  975. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  976. opacity: 0;
  977. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  978. }
  979. /* Concave */
  980. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  981. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  982. opacity: 0;
  983. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  984. }
  985. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  986. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  987. opacity: 0;
  988. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  989. }
  990. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  991. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  992. opacity: 0;
  993. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  994. }
  995. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  996. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  997. opacity: 0;
  998. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  999. }
  1000. /* Zoom */
  1001. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  1002. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  1003. transition-timing-function: ease;
  1004. }
  1005. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  1006. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1007. opacity: 0;
  1008. visibility: hidden;
  1009. transform: scale(16);
  1010. }
  1011. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  1012. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1013. opacity: 0;
  1014. visibility: hidden;
  1015. transform: scale(0.2);
  1016. }
  1017. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  1018. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1019. opacity: 0;
  1020. visibility: hidden;
  1021. transform: scale(16);
  1022. }
  1023. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  1024. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1025. opacity: 0;
  1026. visibility: hidden;
  1027. transform: scale(0.2);
  1028. }
  1029. /* Global transition speed settings */
  1030. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1031. transition-duration: 400ms;
  1032. }
  1033. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1034. transition-duration: 1200ms;
  1035. }
  1036. /*********************************************
  1037. * OVERVIEW
  1038. *********************************************/
  1039. .reveal.overview {
  1040. perspective-origin: 50% 50%;
  1041. perspective: 700px;
  1042. .slides {
  1043. // Fixes overview rendering errors in FF48+, not applied to
  1044. // other browsers since it degrades performance
  1045. -moz-transform-style: preserve-3d;
  1046. }
  1047. .slides section {
  1048. height: 100%;
  1049. top: 0 !important;
  1050. opacity: 1 !important;
  1051. overflow: hidden;
  1052. visibility: visible !important;
  1053. cursor: pointer;
  1054. box-sizing: border-box;
  1055. }
  1056. .slides section:hover,
  1057. .slides section.present {
  1058. outline: 10px solid rgba(150,150,150,0.4);
  1059. outline-offset: 10px;
  1060. }
  1061. .slides section .fragment {
  1062. opacity: 1;
  1063. transition: none;
  1064. }
  1065. .slides section:after,
  1066. .slides section:before {
  1067. display: none !important;
  1068. }
  1069. .slides>section.stack {
  1070. padding: 0;
  1071. top: 0 !important;
  1072. background: none;
  1073. outline: none;
  1074. overflow: visible;
  1075. }
  1076. .backgrounds {
  1077. perspective: inherit;
  1078. // Fixes overview rendering errors in FF48+, not applied to
  1079. // other browsers since it degrades performance
  1080. -moz-transform-style: preserve-3d;
  1081. }
  1082. .backgrounds .slide-background {
  1083. opacity: 1;
  1084. visibility: visible;
  1085. // This can't be applied to the slide itself in Safari
  1086. outline: 10px solid rgba(150,150,150,0.1);
  1087. outline-offset: 10px;
  1088. }
  1089. .backgrounds .slide-background.stack {
  1090. overflow: visible;
  1091. }
  1092. }
  1093. // Disable transitions transitions while we're activating
  1094. // or deactivating the overview mode.
  1095. .reveal.overview .slides section,
  1096. .reveal.overview-deactivating .slides section {
  1097. transition: none;
  1098. }
  1099. .reveal.overview .backgrounds .slide-background,
  1100. .reveal.overview-deactivating .backgrounds .slide-background {
  1101. transition: none;
  1102. }
  1103. /*********************************************
  1104. * RTL SUPPORT
  1105. *********************************************/
  1106. .reveal.rtl .slides,
  1107. .reveal.rtl .slides h1,
  1108. .reveal.rtl .slides h2,
  1109. .reveal.rtl .slides h3,
  1110. .reveal.rtl .slides h4,
  1111. .reveal.rtl .slides h5,
  1112. .reveal.rtl .slides h6 {
  1113. direction: rtl;
  1114. font-family: sans-serif;
  1115. }
  1116. .reveal.rtl pre,
  1117. .reveal.rtl code {
  1118. direction: ltr;
  1119. }
  1120. .reveal.rtl ol,
  1121. .reveal.rtl ul {
  1122. text-align: right;
  1123. }
  1124. .reveal.rtl .progress span {
  1125. float: right
  1126. }
  1127. /*********************************************
  1128. * PARALLAX BACKGROUND
  1129. *********************************************/
  1130. .reveal.has-parallax-background .backgrounds {
  1131. transition: all 0.8s ease;
  1132. }
  1133. /* Global transition speed settings */
  1134. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1135. transition-duration: 400ms;
  1136. }
  1137. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1138. transition-duration: 1200ms;
  1139. }
  1140. /*********************************************
  1141. * LINK PREVIEW OVERLAY
  1142. *********************************************/
  1143. .reveal .overlay {
  1144. position: absolute;
  1145. top: 0;
  1146. left: 0;
  1147. width: 100%;
  1148. height: 100%;
  1149. z-index: 1000;
  1150. background: rgba( 0, 0, 0, 0.9 );
  1151. opacity: 0;
  1152. visibility: hidden;
  1153. transition: all 0.3s ease;
  1154. }
  1155. .reveal .overlay.visible {
  1156. opacity: 1;
  1157. visibility: visible;
  1158. }
  1159. .reveal .overlay .spinner {
  1160. position: absolute;
  1161. display: block;
  1162. top: 50%;
  1163. left: 50%;
  1164. width: 32px;
  1165. height: 32px;
  1166. margin: -16px 0 0 -16px;
  1167. z-index: 10;
  1168. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6B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FAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1169. visibility: visible;
  1170. opacity: 0.6;
  1171. transition: all 0.3s ease;
  1172. }
  1173. .reveal .overlay header {
  1174. position: absolute;
  1175. left: 0;
  1176. top: 0;
  1177. width: 100%;
  1178. height: 40px;
  1179. z-index: 2;
  1180. border-bottom: 1px solid #222;
  1181. }
  1182. .reveal .overlay header a {
  1183. display: inline-block;
  1184. width: 40px;
  1185. height: 40px;
  1186. line-height: 36px;
  1187. padding: 0 10px;
  1188. float: right;
  1189. opacity: 0.6;
  1190. box-sizing: border-box;
  1191. }
  1192. .reveal .overlay header a:hover {
  1193. opacity: 1;
  1194. }
  1195. .reveal .overlay header a .icon {
  1196. display: inline-block;
  1197. width: 20px;
  1198. height: 20px;
  1199. background-position: 50% 50%;
  1200. background-size: 100%;
  1201. background-repeat: no-repeat;
  1202. }
  1203. .reveal .overlay header a.close .icon {
  1204. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1205. }
  1206. .reveal .overlay header a.external .icon {
  1207. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1208. }
  1209. .reveal .overlay .viewport {
  1210. position: absolute;
  1211. display: flex;
  1212. top: 40px;
  1213. right: 0;
  1214. bottom: 0;
  1215. left: 0;
  1216. }
  1217. .reveal .overlay.overlay-preview .viewport iframe {
  1218. width: 100%;
  1219. height: 100%;
  1220. max-width: 100%;
  1221. max-height: 100%;
  1222. border: 0;
  1223. opacity: 0;
  1224. visibility: hidden;
  1225. transition: all 0.3s ease;
  1226. }
  1227. .reveal .overlay.overlay-preview.loaded .viewport iframe {
  1228. opacity: 1;
  1229. visibility: visible;
  1230. }
  1231. .reveal .overlay.overlay-preview.loaded .viewport-inner {
  1232. position: absolute;
  1233. z-index: -1;
  1234. left: 0;
  1235. top: 45%;
  1236. width: 100%;
  1237. text-align: center;
  1238. letter-spacing: normal;
  1239. }
  1240. .reveal .overlay.overlay-preview .x-frame-error {
  1241. opacity: 0;
  1242. transition: opacity 0.3s ease 0.3s;
  1243. }
  1244. .reveal .overlay.overlay-preview.loaded .x-frame-error {
  1245. opacity: 1;
  1246. }
  1247. .reveal .overlay.overlay-preview.loaded .spinner {
  1248. opacity: 0;
  1249. visibility: hidden;
  1250. transform: scale(0.2);
  1251. }
  1252. .reveal .overlay.overlay-help .viewport {
  1253. overflow: auto;
  1254. color: #fff;
  1255. }
  1256. .reveal .overlay.overlay-help .viewport .viewport-inner {
  1257. width: 600px;
  1258. margin: auto;
  1259. padding: 20px 20px 80px 20px;
  1260. text-align: center;
  1261. letter-spacing: normal;
  1262. }
  1263. .reveal .overlay.overlay-help .viewport .viewport-inner .title {
  1264. font-size: 20px;
  1265. }
  1266. .reveal .overlay.overlay-help .viewport .viewport-inner table {
  1267. border: 1px solid #fff;
  1268. border-collapse: collapse;
  1269. font-size: 16px;
  1270. }
  1271. .reveal .overlay.overlay-help .viewport .viewport-inner table th,
  1272. .reveal .overlay.overlay-help .viewport .viewport-inner table td {
  1273. width: 200px;
  1274. padding: 14px;
  1275. border: 1px solid #fff;
  1276. vertical-align: middle;
  1277. }
  1278. .reveal .overlay.overlay-help .viewport .viewport-inner table th {
  1279. padding-top: 20px;
  1280. padding-bottom: 20px;
  1281. }
  1282. /*********************************************
  1283. * PLAYBACK COMPONENT
  1284. *********************************************/
  1285. .reveal .playback {
  1286. position: fixed;
  1287. left: 15px;
  1288. bottom: 20px;
  1289. z-index: 30;
  1290. cursor: pointer;
  1291. transition: all 400ms ease;
  1292. }
  1293. .reveal.overview .playback {
  1294. opacity: 0;
  1295. visibility: hidden;
  1296. }
  1297. /*********************************************
  1298. * ROLLING LINKS
  1299. *********************************************/
  1300. .reveal .roll {
  1301. display: inline-block;
  1302. line-height: 1.2;
  1303. overflow: hidden;
  1304. vertical-align: top;
  1305. perspective: 400px;
  1306. perspective-origin: 50% 50%;
  1307. }
  1308. .reveal .roll:hover {
  1309. background: none;
  1310. text-shadow: none;
  1311. }
  1312. .reveal .roll span {
  1313. display: block;
  1314. position: relative;
  1315. padding: 0 2px;
  1316. pointer-events: none;
  1317. transition: all 400ms ease;
  1318. transform-origin: 50% 0%;
  1319. transform-style: preserve-3d;
  1320. backface-visibility: hidden;
  1321. }
  1322. .reveal .roll:hover span {
  1323. background: rgba(0,0,0,0.5);
  1324. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1325. }
  1326. .reveal .roll span:after {
  1327. content: attr(data-title);
  1328. display: block;
  1329. position: absolute;
  1330. left: 0;
  1331. top: 0;
  1332. padding: 0 2px;
  1333. backface-visibility: hidden;
  1334. transform-origin: 50% 0%;
  1335. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1336. }
  1337. /*********************************************
  1338. * SPEAKER NOTES
  1339. *********************************************/
  1340. // Hide on-page notes
  1341. .reveal aside.notes {
  1342. display: none;
  1343. }
  1344. // An interface element that can optionally be used to show the
  1345. // speaker notes to all viewers, on top of the presentation
  1346. .reveal .speaker-notes {
  1347. display: none;
  1348. position: absolute;
  1349. width: 20vw;
  1350. height: 100%;
  1351. top: 0;
  1352. left: 100%;
  1353. padding: 14px;
  1354. z-index: 1;
  1355. font-size: 18px;
  1356. line-height: 1.4;
  1357. color: #222;
  1358. background-color: #f5f5f5;
  1359. overflow: auto;
  1360. box-sizing: border-box;
  1361. text-align: left;
  1362. font-family: Helvetica, sans-serif;
  1363. -webkit-overflow-scrolling: touch;
  1364. &:before {
  1365. content: 'Speaker notes';
  1366. display: block;
  1367. margin-bottom: 10px;
  1368. opacity: 0.5;
  1369. }
  1370. }
  1371. .reveal.show-notes {
  1372. max-width: 80vw;
  1373. overflow: visible;
  1374. }
  1375. .reveal.show-notes .speaker-notes {
  1376. display: block;
  1377. }
  1378. @media screen and (max-width: 1024px) {
  1379. .reveal.show-notes {
  1380. max-width: none;
  1381. max-height: 70vh;
  1382. overflow: visible;
  1383. }
  1384. .reveal.show-notes .speaker-notes {
  1385. top: 70vh;
  1386. left: 0;
  1387. width: 100%;
  1388. height: 30vh;
  1389. }
  1390. }
  1391. @media screen and (max-width: 600px) {
  1392. .reveal .speaker-notes {
  1393. font-size: 14px;
  1394. }
  1395. }
  1396. /*********************************************
  1397. * ZOOM PLUGIN
  1398. *********************************************/
  1399. .zoomed .reveal *,
  1400. .zoomed .reveal *:before,
  1401. .zoomed .reveal *:after {
  1402. backface-visibility: visible !important;
  1403. }
  1404. .zoomed .reveal .progress,
  1405. .zoomed .reveal .controls {
  1406. opacity: 0;
  1407. }
  1408. .zoomed .reveal .roll span {
  1409. background: none;
  1410. }
  1411. .zoomed .reveal .roll span:after {
  1412. visibility: hidden;
  1413. }