reveal.scss 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742
  1. /*!
  2. * reveal.js
  3. * http://revealjs.com
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2019 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * GLOBAL STYLES
  10. *********************************************/
  11. html,
  12. 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%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvA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HtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1196. visibility: visible;
  1197. opacity: 0.6;
  1198. transition: all 0.3s ease;
  1199. }
  1200. .reveal > .overlay header {
  1201. position: absolute;
  1202. left: 0;
  1203. top: 0;
  1204. width: 100%;
  1205. height: 40px;
  1206. z-index: 2;
  1207. border-bottom: 1px solid #222;
  1208. }
  1209. .reveal > .overlay header a {
  1210. display: inline-block;
  1211. width: 40px;
  1212. height: 40px;
  1213. line-height: 36px;
  1214. padding: 0 10px;
  1215. float: right;
  1216. opacity: 0.6;
  1217. box-sizing: border-box;
  1218. }
  1219. .reveal > .overlay header a:hover {
  1220. opacity: 1;
  1221. }
  1222. .reveal > .overlay header a .icon {
  1223. display: inline-block;
  1224. width: 20px;
  1225. height: 20px;
  1226. background-position: 50% 50%;
  1227. background-size: 100%;
  1228. background-repeat: no-repeat;
  1229. }
  1230. .reveal > .overlay header a.close .icon {
  1231. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1232. }
  1233. .reveal > .overlay header a.external .icon {
  1234. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1235. }
  1236. .reveal > .overlay .viewport {
  1237. position: absolute;
  1238. display: flex;
  1239. top: 40px;
  1240. right: 0;
  1241. bottom: 0;
  1242. left: 0;
  1243. }
  1244. .reveal > .overlay.overlay-preview .viewport iframe {
  1245. width: 100%;
  1246. height: 100%;
  1247. max-width: 100%;
  1248. max-height: 100%;
  1249. border: 0;
  1250. opacity: 0;
  1251. visibility: hidden;
  1252. transition: all 0.3s ease;
  1253. }
  1254. .reveal > .overlay.overlay-preview.loaded .viewport iframe {
  1255. opacity: 1;
  1256. visibility: visible;
  1257. }
  1258. .reveal > .overlay.overlay-preview.loaded .viewport-inner {
  1259. position: absolute;
  1260. z-index: -1;
  1261. left: 0;
  1262. top: 45%;
  1263. width: 100%;
  1264. text-align: center;
  1265. letter-spacing: normal;
  1266. }
  1267. .reveal > .overlay.overlay-preview .x-frame-error {
  1268. opacity: 0;
  1269. transition: opacity 0.3s ease 0.3s;
  1270. }
  1271. .reveal > .overlay.overlay-preview.loaded .x-frame-error {
  1272. opacity: 1;
  1273. }
  1274. .reveal > .overlay.overlay-preview.loaded .spinner {
  1275. opacity: 0;
  1276. visibility: hidden;
  1277. transform: scale(0.2);
  1278. }
  1279. .reveal > .overlay.overlay-help .viewport {
  1280. overflow: auto;
  1281. color: #fff;
  1282. }
  1283. .reveal > .overlay.overlay-help .viewport .viewport-inner {
  1284. width: 600px;
  1285. margin: auto;
  1286. padding: 20px 20px 80px 20px;
  1287. text-align: center;
  1288. letter-spacing: normal;
  1289. }
  1290. .reveal > .overlay.overlay-help .viewport .viewport-inner .title {
  1291. font-size: 20px;
  1292. }
  1293. .reveal > .overlay.overlay-help .viewport .viewport-inner table {
  1294. border: 1px solid #fff;
  1295. border-collapse: collapse;
  1296. font-size: 16px;
  1297. }
  1298. .reveal > .overlay.overlay-help .viewport .viewport-inner table th,
  1299. .reveal > .overlay.overlay-help .viewport .viewport-inner table td {
  1300. width: 200px;
  1301. padding: 14px;
  1302. border: 1px solid #fff;
  1303. vertical-align: middle;
  1304. }
  1305. .reveal > .overlay.overlay-help .viewport .viewport-inner table th {
  1306. padding-top: 20px;
  1307. padding-bottom: 20px;
  1308. }
  1309. /*********************************************
  1310. * PLAYBACK COMPONENT
  1311. *********************************************/
  1312. .reveal .playback {
  1313. position: absolute;
  1314. left: 15px;
  1315. bottom: 20px;
  1316. z-index: 30;
  1317. cursor: pointer;
  1318. transition: all 400ms ease;
  1319. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  1320. }
  1321. .reveal.overview .playback {
  1322. opacity: 0;
  1323. visibility: hidden;
  1324. }
  1325. /*********************************************
  1326. * ROLLING LINKS
  1327. *********************************************/
  1328. .reveal .roll {
  1329. display: inline-block;
  1330. line-height: 1.2;
  1331. overflow: hidden;
  1332. vertical-align: top;
  1333. perspective: 400px;
  1334. perspective-origin: 50% 50%;
  1335. }
  1336. .reveal .roll:hover {
  1337. background: none;
  1338. text-shadow: none;
  1339. }
  1340. .reveal .roll span {
  1341. display: block;
  1342. position: relative;
  1343. padding: 0 2px;
  1344. pointer-events: none;
  1345. transition: all 400ms ease;
  1346. transform-origin: 50% 0%;
  1347. transform-style: preserve-3d;
  1348. backface-visibility: hidden;
  1349. }
  1350. .reveal .roll:hover span {
  1351. background: rgba(0,0,0,0.5);
  1352. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1353. }
  1354. .reveal .roll span:after {
  1355. content: attr(data-title);
  1356. display: block;
  1357. position: absolute;
  1358. left: 0;
  1359. top: 0;
  1360. padding: 0 2px;
  1361. backface-visibility: hidden;
  1362. transform-origin: 50% 0%;
  1363. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1364. }
  1365. /*********************************************
  1366. * SPEAKER NOTES
  1367. *********************************************/
  1368. $notesWidthPercent: 25%;
  1369. // Hide on-page notes
  1370. .reveal aside.notes {
  1371. display: none;
  1372. }
  1373. // An interface element that can optionally be used to show the
  1374. // speaker notes to all viewers, on top of the presentation
  1375. .reveal .speaker-notes {
  1376. display: none;
  1377. position: absolute;
  1378. width: $notesWidthPercent / (1-$notesWidthPercent/100) * 1%;
  1379. height: 100%;
  1380. top: 0;
  1381. left: 100%;
  1382. padding: 14px 18px 14px 18px;
  1383. z-index: 1;
  1384. font-size: 18px;
  1385. line-height: 1.4;
  1386. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1387. color: #222;
  1388. background-color: #f5f5f5;
  1389. overflow: auto;
  1390. box-sizing: border-box;
  1391. text-align: left;
  1392. font-family: Helvetica, sans-serif;
  1393. -webkit-overflow-scrolling: touch;
  1394. .notes-placeholder {
  1395. color: #ccc;
  1396. font-style: italic;
  1397. }
  1398. &:focus {
  1399. outline: none;
  1400. }
  1401. &:before {
  1402. content: 'Speaker notes';
  1403. display: block;
  1404. margin-bottom: 10px;
  1405. opacity: 0.5;
  1406. }
  1407. }
  1408. .reveal.show-notes {
  1409. max-width: 100% - $notesWidthPercent;
  1410. overflow: visible;
  1411. }
  1412. .reveal.show-notes .speaker-notes {
  1413. display: block;
  1414. }
  1415. @media screen and (min-width: 1600px) {
  1416. .reveal .speaker-notes {
  1417. font-size: 20px;
  1418. }
  1419. }
  1420. @media screen and (max-width: 1024px) {
  1421. .reveal.show-notes {
  1422. border-left: 0;
  1423. max-width: none;
  1424. max-height: 70%;
  1425. max-height: 70vh;
  1426. overflow: visible;
  1427. }
  1428. .reveal.show-notes .speaker-notes {
  1429. top: 100%;
  1430. left: 0;
  1431. width: 100%;
  1432. height: (30/0.7)*1%;
  1433. height: 30vh;
  1434. border: 0;
  1435. }
  1436. }
  1437. @media screen and (max-width: 600px) {
  1438. .reveal.show-notes {
  1439. max-height: 60%;
  1440. max-height: 60vh;
  1441. }
  1442. .reveal.show-notes .speaker-notes {
  1443. top: 100%;
  1444. height: (40/0.6)*1%;
  1445. height: 40vh;
  1446. }
  1447. .reveal .speaker-notes {
  1448. font-size: 14px;
  1449. }
  1450. }
  1451. /*********************************************
  1452. * ZOOM PLUGIN
  1453. *********************************************/
  1454. .zoomed .reveal *,
  1455. .zoomed .reveal *:before,
  1456. .zoomed .reveal *:after {
  1457. backface-visibility: visible !important;
  1458. }
  1459. .zoomed .reveal .progress,
  1460. .zoomed .reveal .controls {
  1461. opacity: 0;
  1462. }
  1463. .zoomed .reveal .roll span {
  1464. background: none;
  1465. }
  1466. .zoomed .reveal .roll span:after {
  1467. visibility: hidden;
  1468. }