reveal.scss 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741
  1. /*!
  2. * reveal.js
  3. * http://revealjs.com
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2018 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * GLOBAL STYLES
  10. *********************************************/
  11. html,
  12. body {
  13. width: 100%;
  14. height: 100%;
  15. overflow: hidden;
  16. }
  17. body {
  18. position: relative;
  19. line-height: 1;
  20. margin: 0;
  21. background-color: #fff;
  22. color: #000;
  23. }
  24. /*********************************************
  25. * VIEW FRAGMENTS
  26. *********************************************/
  27. .reveal .slides section .fragment {
  28. opacity: 0;
  29. visibility: hidden;
  30. transition: all .2s ease;
  31. &.visible {
  32. opacity: 1;
  33. visibility: inherit;
  34. }
  35. }
  36. .reveal .slides section .fragment.grow {
  37. opacity: 1;
  38. visibility: inherit;
  39. &.visible {
  40. transform: scale( 1.3 );
  41. }
  42. }
  43. .reveal .slides section .fragment.shrink {
  44. opacity: 1;
  45. visibility: inherit;
  46. &.visible {
  47. transform: scale( 0.7 );
  48. }
  49. }
  50. .reveal .slides section .fragment.zoom-in {
  51. transform: scale( 0.1 );
  52. &.visible {
  53. transform: none;
  54. }
  55. }
  56. .reveal .slides section .fragment.fade-out {
  57. opacity: 1;
  58. visibility: inherit;
  59. &.visible {
  60. opacity: 0;
  61. visibility: hidden;
  62. }
  63. }
  64. .reveal .slides section .fragment.semi-fade-out {
  65. opacity: 1;
  66. visibility: inherit;
  67. &.visible {
  68. opacity: 0.5;
  69. visibility: inherit;
  70. }
  71. }
  72. .reveal .slides section .fragment.strike {
  73. opacity: 1;
  74. visibility: inherit;
  75. &.visible {
  76. text-decoration: line-through;
  77. }
  78. }
  79. .reveal .slides section .fragment.fade-up {
  80. transform: translate(0, 20%);
  81. &.visible {
  82. transform: translate(0, 0);
  83. }
  84. }
  85. .reveal .slides section .fragment.fade-down {
  86. transform: translate(0, -20%);
  87. &.visible {
  88. transform: translate(0, 0);
  89. }
  90. }
  91. .reveal .slides section .fragment.fade-right {
  92. transform: translate(-20%, 0);
  93. &.visible {
  94. transform: translate(0, 0);
  95. }
  96. }
  97. .reveal .slides section .fragment.fade-left {
  98. transform: translate(20%, 0);
  99. &.visible {
  100. transform: translate(0, 0);
  101. }
  102. }
  103. .reveal .slides section .fragment.fade-in-then-out,
  104. .reveal .slides section .fragment.current-visible {
  105. opacity: 0;
  106. visibility: hidden;
  107. &.current-fragment {
  108. opacity: 1;
  109. visibility: inherit;
  110. }
  111. }
  112. .reveal .slides section .fragment.fade-in-then-semi-out {
  113. opacity: 0;
  114. visibility: hidden;
  115. &.visible {
  116. opacity: 0.5;
  117. visibility: inherit;
  118. }
  119. &.current-fragment {
  120. opacity: 1;
  121. visibility: inherit;
  122. }
  123. }
  124. .reveal .slides section .fragment.highlight-red,
  125. .reveal .slides section .fragment.highlight-current-red,
  126. .reveal .slides section .fragment.highlight-green,
  127. .reveal .slides section .fragment.highlight-current-green,
  128. .reveal .slides section .fragment.highlight-blue,
  129. .reveal .slides section .fragment.highlight-current-blue {
  130. opacity: 1;
  131. visibility: inherit;
  132. }
  133. .reveal .slides section .fragment.highlight-red.visible {
  134. color: #ff2c2d
  135. }
  136. .reveal .slides section .fragment.highlight-green.visible {
  137. color: #17ff2e;
  138. }
  139. .reveal .slides section .fragment.highlight-blue.visible {
  140. color: #1b91ff;
  141. }
  142. .reveal .slides section .fragment.highlight-current-red.current-fragment {
  143. color: #ff2c2d
  144. }
  145. .reveal .slides section .fragment.highlight-current-green.current-fragment {
  146. color: #17ff2e;
  147. }
  148. .reveal .slides section .fragment.highlight-current-blue.current-fragment {
  149. color: #1b91ff;
  150. }
  151. /*********************************************
  152. * DEFAULT ELEMENT STYLES
  153. *********************************************/
  154. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  155. .reveal:after {
  156. content: '';
  157. font-style: italic;
  158. }
  159. .reveal iframe {
  160. z-index: 1;
  161. }
  162. /** Prevents layering issues in certain browser/transition combinations */
  163. .reveal a {
  164. position: relative;
  165. }
  166. .reveal .stretch {
  167. max-width: none;
  168. max-height: none;
  169. }
  170. .reveal pre.stretch code {
  171. height: 100%;
  172. max-height: 100%;
  173. box-sizing: border-box;
  174. }
  175. /*********************************************
  176. * CONTROLS
  177. *********************************************/
  178. @keyframes bounce-right {
  179. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  180. 20% {transform: translateX(10px);}
  181. 30% {transform: translateX(-5px);}
  182. }
  183. @keyframes bounce-down {
  184. 0%, 10%, 25%, 40%, 50% {transform: translateY(0);}
  185. 20% {transform: translateY(10px);}
  186. 30% {transform: translateY(-5px);}
  187. }
  188. $controlArrowSize: 3.6em;
  189. $controlArrowSpacing: 1.4em;
  190. $controlArrowLength: 2.6em;
  191. $controlArrowThickness: 0.5em;
  192. $controlsArrowAngle: 45deg;
  193. $controlsArrowAngleHover: 40deg;
  194. $controlsArrowAngleActive: 36deg;
  195. @mixin controlsArrowTransform( $angle ) {
  196. &:before {
  197. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( $angle );
  198. }
  199. &:after {
  200. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( -$angle );
  201. }
  202. }
  203. .reveal .controls {
  204. $spacing: 12px;
  205. display: none;
  206. position: absolute;
  207. top: auto;
  208. bottom: $spacing;
  209. right: $spacing;
  210. left: auto;
  211. z-index: 1;
  212. color: #000;
  213. pointer-events: none;
  214. font-size: 10px;
  215. button {
  216. position: absolute;
  217. padding: 0;
  218. background-color: transparent;
  219. border: 0;
  220. outline: 0;
  221. cursor: pointer;
  222. color: currentColor;
  223. transform: scale(.9999);
  224. transition: color 0.2s ease,
  225. opacity 0.2s ease,
  226. transform 0.2s ease;
  227. z-index: 2; // above slides
  228. pointer-events: auto;
  229. font-size: inherit;
  230. visibility: hidden;
  231. opacity: 0;
  232. -webkit-appearance: none;
  233. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  234. }
  235. .controls-arrow:before,
  236. .controls-arrow:after {
  237. content: '';
  238. position: absolute;
  239. top: 0;
  240. left: 0;
  241. width: $controlArrowLength;
  242. height: $controlArrowThickness;
  243. border-radius: $controlArrowThickness/2;
  244. background-color: currentColor;
  245. transition: all 0.15s ease, background-color 0.8s ease;
  246. transform-origin: floor(($controlArrowThickness/2)*10)/10 50%;
  247. will-change: transform;
  248. }
  249. .controls-arrow {
  250. position: relative;
  251. width: $controlArrowSize;
  252. height: $controlArrowSize;
  253. @include controlsArrowTransform( $controlsArrowAngle );
  254. &:hover {
  255. @include controlsArrowTransform( $controlsArrowAngleHover );
  256. }
  257. &:active {
  258. @include controlsArrowTransform( $controlsArrowAngleActive );
  259. }
  260. }
  261. .navigate-left {
  262. right: $controlArrowSize + $controlArrowSpacing*2;
  263. bottom: $controlArrowSpacing + $controlArrowSize/2;
  264. transform: translateX( -10px );
  265. }
  266. .navigate-right {
  267. right: 0;
  268. bottom: $controlArrowSpacing + $controlArrowSize/2;
  269. transform: translateX( 10px );
  270. .controls-arrow {
  271. transform: rotate( 180deg );
  272. }
  273. &.highlight {
  274. animation: bounce-right 2s 50 both ease-out;
  275. }
  276. }
  277. .navigate-up {
  278. right: $controlArrowSpacing + $controlArrowSize/2;
  279. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  280. transform: translateY( -10px );
  281. .controls-arrow {
  282. transform: rotate( 90deg );
  283. }
  284. }
  285. .navigate-down {
  286. right: $controlArrowSpacing + $controlArrowSize/2;
  287. bottom: 0;
  288. transform: translateY( 10px );
  289. .controls-arrow {
  290. transform: rotate( -90deg );
  291. }
  292. &.highlight {
  293. animation: bounce-down 2s 50 both ease-out;
  294. }
  295. }
  296. // Back arrow style: "faded":
  297. // Deemphasize backwards navigation arrows in favor of drawing
  298. // attention to forwards navigation
  299. &[data-controls-back-arrows="faded"] .navigate-left.enabled,
  300. &[data-controls-back-arrows="faded"] .navigate-up.enabled {
  301. opacity: 0.3;
  302. &:hover {
  303. opacity: 1;
  304. }
  305. }
  306. // Back arrow style: "hidden":
  307. // Never show arrows for backwards navigation
  308. &[data-controls-back-arrows="hidden"] .navigate-left.enabled,
  309. &[data-controls-back-arrows="hidden"] .navigate-up.enabled {
  310. opacity: 0;
  311. visibility: hidden;
  312. }
  313. // Any control button that can be clicked is "enabled"
  314. .enabled {
  315. visibility: visible;
  316. opacity: 0.9;
  317. cursor: pointer;
  318. transform: none;
  319. }
  320. // Any control button that leads to showing or hiding
  321. // a fragment
  322. .enabled.fragmented {
  323. opacity: 0.5;
  324. }
  325. .enabled:hover,
  326. .enabled.fragmented:hover {
  327. opacity: 1;
  328. }
  329. }
  330. // Adjust the layout when there are no vertical slides
  331. .reveal:not(.has-vertical-slides) .controls .navigate-left {
  332. bottom: $controlArrowSpacing;
  333. right: 0.5em + $controlArrowSpacing + $controlArrowSize;
  334. }
  335. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  336. bottom: $controlArrowSpacing;
  337. right: 0.5em;
  338. }
  339. // Adjust the layout when there are no horizontal slides
  340. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  341. right: $controlArrowSpacing;
  342. bottom: $controlArrowSpacing + $controlArrowSize;
  343. }
  344. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  345. right: $controlArrowSpacing;
  346. bottom: 0.5em;
  347. }
  348. // Invert arrows based on background color
  349. .reveal.has-dark-background .controls {
  350. color: #fff;
  351. }
  352. .reveal.has-light-background .controls {
  353. color: #000;
  354. }
  355. // Disable active states on touch devices
  356. .reveal.no-hover .controls .controls-arrow:hover,
  357. .reveal.no-hover .controls .controls-arrow:active {
  358. @include controlsArrowTransform( $controlsArrowAngle );
  359. }
  360. // Edge aligned controls layout
  361. @media screen and (min-width: 500px) {
  362. $spacing: 8px;
  363. .reveal .controls[data-controls-layout="edges"] {
  364. & {
  365. top: 0;
  366. right: 0;
  367. bottom: 0;
  368. left: 0;
  369. }
  370. .navigate-left,
  371. .navigate-right,
  372. .navigate-up,
  373. .navigate-down {
  374. bottom: auto;
  375. right: auto;
  376. }
  377. .navigate-left {
  378. top: 50%;
  379. left: $spacing;
  380. margin-top: -$controlArrowSize/2;
  381. }
  382. .navigate-right {
  383. top: 50%;
  384. right: $spacing;
  385. margin-top: -$controlArrowSize/2;
  386. }
  387. .navigate-up {
  388. top: $spacing;
  389. left: 50%;
  390. margin-left: -$controlArrowSize/2;
  391. }
  392. .navigate-down {
  393. bottom: $spacing;
  394. left: 50%;
  395. margin-left: -$controlArrowSize/2;
  396. }
  397. }
  398. }
  399. /*********************************************
  400. * PROGRESS BAR
  401. *********************************************/
  402. .reveal .progress {
  403. position: absolute;
  404. display: none;
  405. height: 3px;
  406. width: 100%;
  407. bottom: 0;
  408. left: 0;
  409. z-index: 10;
  410. background-color: rgba( 0, 0, 0, 0.2 );
  411. color: #fff;
  412. }
  413. .reveal .progress:after {
  414. content: '';
  415. display: block;
  416. position: absolute;
  417. height: 10px;
  418. width: 100%;
  419. top: -10px;
  420. }
  421. .reveal .progress span {
  422. display: block;
  423. height: 100%;
  424. width: 0px;
  425. background-color: currentColor;
  426. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  427. }
  428. /*********************************************
  429. * SLIDE NUMBER
  430. *********************************************/
  431. .reveal .slide-number {
  432. position: absolute;
  433. display: block;
  434. right: 8px;
  435. bottom: 8px;
  436. z-index: 31;
  437. font-family: Helvetica, sans-serif;
  438. font-size: 12px;
  439. line-height: 1;
  440. color: #fff;
  441. background-color: rgba( 0, 0, 0, 0.4 );
  442. padding: 5px;
  443. }
  444. .reveal .slide-number a {
  445. color: currentColor;
  446. }
  447. .reveal .slide-number-delimiter {
  448. margin: 0 3px;
  449. }
  450. /*********************************************
  451. * SLIDES
  452. *********************************************/
  453. .reveal {
  454. position: relative;
  455. width: 100%;
  456. height: 100%;
  457. overflow: hidden;
  458. touch-action: none;
  459. }
  460. // Mobile Safari sometimes overlays a header at the top
  461. // of the page when in landscape mode. Using fixed
  462. // positioning ensures that reveal.js reduces its height
  463. // when this header is visible.
  464. @media only screen and (orientation : landscape) {
  465. .reveal.ua-iphone {
  466. position: fixed;
  467. }
  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%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQ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txtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%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. // Hide on-page notes
  1369. .reveal aside.notes {
  1370. display: none;
  1371. }
  1372. // An interface element that can optionally be used to show the
  1373. // speaker notes to all viewers, on top of the presentation
  1374. .reveal .speaker-notes {
  1375. display: none;
  1376. position: absolute;
  1377. width: 25vw;
  1378. height: 100%;
  1379. top: 0;
  1380. left: 100%;
  1381. padding: 14px 18px 14px 18px;
  1382. z-index: 1;
  1383. font-size: 18px;
  1384. line-height: 1.4;
  1385. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1386. color: #222;
  1387. background-color: #f5f5f5;
  1388. overflow: auto;
  1389. box-sizing: border-box;
  1390. text-align: left;
  1391. font-family: Helvetica, sans-serif;
  1392. -webkit-overflow-scrolling: touch;
  1393. .notes-placeholder {
  1394. color: #ccc;
  1395. font-style: italic;
  1396. }
  1397. &:focus {
  1398. outline: none;
  1399. }
  1400. &:before {
  1401. content: 'Speaker notes';
  1402. display: block;
  1403. margin-bottom: 10px;
  1404. opacity: 0.5;
  1405. }
  1406. }
  1407. .reveal.show-notes {
  1408. max-width: 75vw;
  1409. overflow: visible;
  1410. }
  1411. .reveal.show-notes .speaker-notes {
  1412. display: block;
  1413. }
  1414. @media screen and (min-width: 1600px) {
  1415. .reveal .speaker-notes {
  1416. font-size: 20px;
  1417. }
  1418. }
  1419. @media screen and (max-width: 1024px) {
  1420. .reveal.show-notes {
  1421. border-left: 0;
  1422. max-width: none;
  1423. max-height: 70%;
  1424. max-height: 70vh;
  1425. overflow: visible;
  1426. }
  1427. .reveal.show-notes .speaker-notes {
  1428. top: 100%;
  1429. left: 0;
  1430. width: 100%;
  1431. height: (30/0.7)*1%;
  1432. height: 30vh;
  1433. border: 0;
  1434. }
  1435. }
  1436. @media screen and (max-width: 600px) {
  1437. .reveal.show-notes {
  1438. max-height: 60%;
  1439. max-height: 60vh;
  1440. }
  1441. .reveal.show-notes .speaker-notes {
  1442. top: 100%;
  1443. height: (40/0.6)*1%;
  1444. height: 40vh;
  1445. }
  1446. .reveal .speaker-notes {
  1447. font-size: 14px;
  1448. }
  1449. }
  1450. /*********************************************
  1451. * ZOOM PLUGIN
  1452. *********************************************/
  1453. .zoomed .reveal *,
  1454. .zoomed .reveal *:before,
  1455. .zoomed .reveal *:after {
  1456. backface-visibility: visible !important;
  1457. }
  1458. .zoomed .reveal .progress,
  1459. .zoomed .reveal .controls {
  1460. opacity: 0;
  1461. }
  1462. .zoomed .reveal .roll span {
  1463. background: none;
  1464. }
  1465. .zoomed .reveal .roll span:after {
  1466. visibility: hidden;
  1467. }