reveal.scss 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743
  1. /*!
  2. * reveal.js
  3. * http://revealjs.com
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2019 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * GLOBAL STYLES
  10. *********************************************/
  11. html,
  12. 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%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFv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sHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%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. }