reveal.scss 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734
  1. /*!
  2. * reveal.js
  3. * http://revealjs.com
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2018 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * GLOBAL STYLES
  10. *********************************************/
  11. html,
  12. body {
  13. width: 100%;
  14. height: 100%;
  15. overflow: hidden;
  16. }
  17. body {
  18. position: relative;
  19. line-height: 1;
  20. margin: 0;
  21. background-color: #fff;
  22. color: #000;
  23. }
  24. /*********************************************
  25. * VIEW FRAGMENTS
  26. *********************************************/
  27. .reveal .slides section .fragment {
  28. opacity: 0;
  29. visibility: hidden;
  30. transition: all .2s ease;
  31. &.visible {
  32. opacity: 1;
  33. visibility: inherit;
  34. }
  35. }
  36. .reveal .slides section .fragment.grow {
  37. opacity: 1;
  38. visibility: inherit;
  39. &.visible {
  40. transform: scale( 1.3 );
  41. }
  42. }
  43. .reveal .slides section .fragment.shrink {
  44. opacity: 1;
  45. visibility: inherit;
  46. &.visible {
  47. transform: scale( 0.7 );
  48. }
  49. }
  50. .reveal .slides section .fragment.zoom-in {
  51. transform: scale( 0.1 );
  52. &.visible {
  53. transform: none;
  54. }
  55. }
  56. .reveal .slides section .fragment.fade-out {
  57. opacity: 1;
  58. visibility: inherit;
  59. &.visible {
  60. opacity: 0;
  61. visibility: hidden;
  62. }
  63. }
  64. .reveal .slides section .fragment.semi-fade-out {
  65. opacity: 1;
  66. visibility: inherit;
  67. &.visible {
  68. opacity: 0.5;
  69. visibility: inherit;
  70. }
  71. }
  72. .reveal .slides section .fragment.strike {
  73. opacity: 1;
  74. visibility: inherit;
  75. &.visible {
  76. text-decoration: line-through;
  77. }
  78. }
  79. .reveal .slides section .fragment.fade-up {
  80. transform: translate(0, 20%);
  81. &.visible {
  82. transform: translate(0, 0);
  83. }
  84. }
  85. .reveal .slides section .fragment.fade-down {
  86. transform: translate(0, -20%);
  87. &.visible {
  88. transform: translate(0, 0);
  89. }
  90. }
  91. .reveal .slides section .fragment.fade-right {
  92. transform: translate(-20%, 0);
  93. &.visible {
  94. transform: translate(0, 0);
  95. }
  96. }
  97. .reveal .slides section .fragment.fade-left {
  98. transform: translate(20%, 0);
  99. &.visible {
  100. transform: translate(0, 0);
  101. }
  102. }
  103. .reveal .slides section .fragment.fade-in-then-out,
  104. .reveal .slides section .fragment.current-visible {
  105. opacity: 0;
  106. visibility: hidden;
  107. &.current-fragment {
  108. opacity: 1;
  109. visibility: inherit;
  110. }
  111. }
  112. .reveal .slides section .fragment.fade-in-then-semi-out {
  113. opacity: 0;
  114. visibility: hidden;
  115. &.visible {
  116. opacity: 0.5;
  117. visibility: inherit;
  118. }
  119. &.current-fragment {
  120. opacity: 1;
  121. visibility: inherit;
  122. }
  123. }
  124. .reveal .slides section .fragment.highlight-red,
  125. .reveal .slides section .fragment.highlight-current-red,
  126. .reveal .slides section .fragment.highlight-green,
  127. .reveal .slides section .fragment.highlight-current-green,
  128. .reveal .slides section .fragment.highlight-blue,
  129. .reveal .slides section .fragment.highlight-current-blue {
  130. opacity: 1;
  131. visibility: inherit;
  132. }
  133. .reveal .slides section .fragment.highlight-red.visible {
  134. color: #ff2c2d
  135. }
  136. .reveal .slides section .fragment.highlight-green.visible {
  137. color: #17ff2e;
  138. }
  139. .reveal .slides section .fragment.highlight-blue.visible {
  140. color: #1b91ff;
  141. }
  142. .reveal .slides section .fragment.highlight-current-red.current-fragment {
  143. color: #ff2c2d
  144. }
  145. .reveal .slides section .fragment.highlight-current-green.current-fragment {
  146. color: #17ff2e;
  147. }
  148. .reveal .slides section .fragment.highlight-current-blue.current-fragment {
  149. color: #1b91ff;
  150. }
  151. /*********************************************
  152. * DEFAULT ELEMENT STYLES
  153. *********************************************/
  154. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  155. .reveal:after {
  156. content: '';
  157. font-style: italic;
  158. }
  159. .reveal iframe {
  160. z-index: 1;
  161. }
  162. /** Prevents layering issues in certain browser/transition combinations */
  163. .reveal a {
  164. position: relative;
  165. }
  166. .reveal .stretch {
  167. max-width: none;
  168. max-height: none;
  169. }
  170. .reveal pre.stretch code {
  171. height: 100%;
  172. max-height: 100%;
  173. box-sizing: border-box;
  174. }
  175. /*********************************************
  176. * CONTROLS
  177. *********************************************/
  178. @keyframes bounce-right {
  179. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  180. 20% {transform: translateX(10px);}
  181. 30% {transform: translateX(-5px);}
  182. }
  183. @keyframes bounce-down {
  184. 0%, 10%, 25%, 40%, 50% {transform: translateY(0);}
  185. 20% {transform: translateY(10px);}
  186. 30% {transform: translateY(-5px);}
  187. }
  188. $controlArrowSize: 3.6em;
  189. $controlArrowSpacing: 1.4em;
  190. $controlArrowLength: 2.6em;
  191. $controlArrowThickness: 0.5em;
  192. $controlsArrowAngle: 45deg;
  193. $controlsArrowAngleHover: 40deg;
  194. $controlsArrowAngleActive: 36deg;
  195. @mixin controlsArrowTransform( $angle ) {
  196. &:before {
  197. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( $angle );
  198. }
  199. &:after {
  200. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( -$angle );
  201. }
  202. }
  203. .reveal .controls {
  204. $spacing: 12px;
  205. display: none;
  206. position: absolute;
  207. top: auto;
  208. bottom: $spacing;
  209. right: $spacing;
  210. left: auto;
  211. z-index: 1;
  212. color: #000;
  213. pointer-events: none;
  214. font-size: 10px;
  215. button {
  216. position: absolute;
  217. padding: 0;
  218. background-color: transparent;
  219. border: 0;
  220. outline: 0;
  221. cursor: pointer;
  222. color: currentColor;
  223. transform: scale(.9999);
  224. transition: color 0.2s ease,
  225. opacity 0.2s ease,
  226. transform 0.2s ease;
  227. z-index: 2; // above slides
  228. pointer-events: auto;
  229. font-size: inherit;
  230. visibility: hidden;
  231. opacity: 0;
  232. -webkit-appearance: none;
  233. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  234. }
  235. .controls-arrow:before,
  236. .controls-arrow:after {
  237. content: '';
  238. position: absolute;
  239. top: 0;
  240. left: 0;
  241. width: $controlArrowLength;
  242. height: $controlArrowThickness;
  243. border-radius: $controlArrowThickness/2;
  244. background-color: currentColor;
  245. transition: all 0.15s ease, background-color 0.8s ease;
  246. transform-origin: floor(($controlArrowThickness/2)*10)/10 50%;
  247. will-change: transform;
  248. }
  249. .controls-arrow {
  250. position: relative;
  251. width: $controlArrowSize;
  252. height: $controlArrowSize;
  253. @include controlsArrowTransform( $controlsArrowAngle );
  254. &:hover {
  255. @include controlsArrowTransform( $controlsArrowAngleHover );
  256. }
  257. &:active {
  258. @include controlsArrowTransform( $controlsArrowAngleActive );
  259. }
  260. }
  261. .navigate-left {
  262. right: $controlArrowSize + $controlArrowSpacing*2;
  263. bottom: $controlArrowSpacing + $controlArrowSize/2;
  264. transform: translateX( -10px );
  265. }
  266. .navigate-right {
  267. right: 0;
  268. bottom: $controlArrowSpacing + $controlArrowSize/2;
  269. transform: translateX( 10px );
  270. .controls-arrow {
  271. transform: rotate( 180deg );
  272. }
  273. &.highlight {
  274. animation: bounce-right 2s 50 both ease-out;
  275. }
  276. }
  277. .navigate-up {
  278. right: $controlArrowSpacing + $controlArrowSize/2;
  279. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  280. transform: translateY( -10px );
  281. .controls-arrow {
  282. transform: rotate( 90deg );
  283. }
  284. }
  285. .navigate-down {
  286. right: $controlArrowSpacing + $controlArrowSize/2;
  287. bottom: 0;
  288. transform: translateY( 10px );
  289. .controls-arrow {
  290. transform: rotate( -90deg );
  291. }
  292. &.highlight {
  293. animation: bounce-down 2s 50 both ease-out;
  294. }
  295. }
  296. // Back arrow style: "faded":
  297. // Deemphasize backwards navigation arrows in favor of drawing
  298. // attention to forwards navigation
  299. &[data-controls-back-arrows="faded"] .navigate-left.enabled,
  300. &[data-controls-back-arrows="faded"] .navigate-up.enabled {
  301. opacity: 0.3;
  302. &:hover {
  303. opacity: 1;
  304. }
  305. }
  306. // Back arrow style: "hidden":
  307. // Never show arrows for backwards navigation
  308. &[data-controls-back-arrows="hidden"] .navigate-left.enabled,
  309. &[data-controls-back-arrows="hidden"] .navigate-up.enabled {
  310. opacity: 0;
  311. visibility: hidden;
  312. }
  313. // Any control button that can be clicked is "enabled"
  314. .enabled {
  315. visibility: visible;
  316. opacity: 0.9;
  317. cursor: pointer;
  318. transform: none;
  319. }
  320. // Any control button that leads to showing or hiding
  321. // a fragment
  322. .enabled.fragmented {
  323. opacity: 0.5;
  324. }
  325. .enabled:hover,
  326. .enabled.fragmented:hover {
  327. opacity: 1;
  328. }
  329. }
  330. // Adjust the layout when there are no vertical slides
  331. .reveal:not(.has-vertical-slides) .controls .navigate-left {
  332. bottom: $controlArrowSpacing;
  333. right: 0.5em + $controlArrowSpacing + $controlArrowSize;
  334. }
  335. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  336. bottom: $controlArrowSpacing;
  337. right: 0.5em;
  338. }
  339. // Adjust the layout when there are no horizontal slides
  340. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  341. right: $controlArrowSpacing;
  342. bottom: $controlArrowSpacing + $controlArrowSize;
  343. }
  344. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  345. right: $controlArrowSpacing;
  346. bottom: 0.5em;
  347. }
  348. // Invert arrows based on background color
  349. .reveal.has-dark-background .controls {
  350. color: #fff;
  351. }
  352. .reveal.has-light-background .controls {
  353. color: #000;
  354. }
  355. // Disable active states on touch devices
  356. .reveal.no-hover .controls .controls-arrow:hover,
  357. .reveal.no-hover .controls .controls-arrow:active {
  358. @include controlsArrowTransform( $controlsArrowAngle );
  359. }
  360. // Edge aligned controls layout
  361. @media screen and (min-width: 500px) {
  362. $spacing: 8px;
  363. .reveal .controls[data-controls-layout="edges"] {
  364. & {
  365. top: 0;
  366. right: 0;
  367. bottom: 0;
  368. left: 0;
  369. }
  370. .navigate-left,
  371. .navigate-right,
  372. .navigate-up,
  373. .navigate-down {
  374. bottom: auto;
  375. right: auto;
  376. }
  377. .navigate-left {
  378. top: 50%;
  379. left: $spacing;
  380. margin-top: -$controlArrowSize/2;
  381. }
  382. .navigate-right {
  383. top: 50%;
  384. right: $spacing;
  385. margin-top: -$controlArrowSize/2;
  386. }
  387. .navigate-up {
  388. top: $spacing;
  389. left: 50%;
  390. margin-left: -$controlArrowSize/2;
  391. }
  392. .navigate-down {
  393. bottom: $spacing;
  394. left: 50%;
  395. margin-left: -$controlArrowSize/2;
  396. }
  397. }
  398. }
  399. /*********************************************
  400. * PROGRESS BAR
  401. *********************************************/
  402. .reveal .progress {
  403. position: absolute;
  404. display: none;
  405. height: 3px;
  406. width: 100%;
  407. bottom: 0;
  408. left: 0;
  409. z-index: 10;
  410. background-color: rgba( 0, 0, 0, 0.2 );
  411. color: #fff;
  412. }
  413. .reveal .progress:after {
  414. content: '';
  415. display: block;
  416. position: absolute;
  417. height: 10px;
  418. width: 100%;
  419. top: -10px;
  420. }
  421. .reveal .progress span {
  422. display: block;
  423. height: 100%;
  424. width: 0px;
  425. background-color: currentColor;
  426. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  427. }
  428. /*********************************************
  429. * SLIDE NUMBER
  430. *********************************************/
  431. .reveal .slide-number {
  432. position: absolute;
  433. display: block;
  434. right: 8px;
  435. bottom: 8px;
  436. z-index: 31;
  437. font-family: Helvetica, sans-serif;
  438. font-size: 12px;
  439. line-height: 1;
  440. color: #fff;
  441. background-color: rgba( 0, 0, 0, 0.4 );
  442. padding: 5px;
  443. }
  444. .reveal .slide-number a {
  445. color: currentColor;
  446. }
  447. .reveal .slide-number-delimiter {
  448. margin: 0 3px;
  449. }
  450. /*********************************************
  451. * SLIDES
  452. *********************************************/
  453. .reveal {
  454. position: relative;
  455. width: 100%;
  456. height: 100%;
  457. overflow: hidden;
  458. touch-action: none;
  459. }
  460. // Mobile Safari sometimes overlays a header at the top
  461. // of the page when in landscape mode. Using fixed
  462. // positioning ensures that reveal.js reduces its height
  463. // when this header is visible.
  464. @media only screen and (orientation : landscape) {
  465. .reveal.ua-iphone {
  466. position: fixed;
  467. }
  468. }
  469. .reveal .slides {
  470. position: absolute;
  471. width: 100%;
  472. height: 100%;
  473. top: 0;
  474. right: 0;
  475. bottom: 0;
  476. left: 0;
  477. margin: auto;
  478. pointer-events: none;
  479. overflow: visible;
  480. z-index: 1;
  481. text-align: center;
  482. perspective: 600px;
  483. perspective-origin: 50% 40%;
  484. }
  485. .reveal .slides>section {
  486. -ms-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 .slides {
  871. position: relative;
  872. width: 80%;
  873. height: auto !important;
  874. top: 0;
  875. left: 50%;
  876. margin: 0;
  877. text-align: center;
  878. }
  879. .no-transforms .reveal .controls,
  880. .no-transforms .reveal .progress {
  881. display: none !important;
  882. }
  883. .no-transforms .reveal .slides section {
  884. display: block !important;
  885. opacity: 1 !important;
  886. position: relative !important;
  887. height: auto;
  888. min-height: 0;
  889. top: 0;
  890. left: -50%;
  891. margin: 70px 0;
  892. transform: none;
  893. }
  894. .no-transforms .reveal .slides section section {
  895. left: 0;
  896. }
  897. .reveal .no-transition,
  898. .reveal .no-transition * {
  899. transition: none !important;
  900. }
  901. /*********************************************
  902. * PER-SLIDE BACKGROUNDS
  903. *********************************************/
  904. .reveal .backgrounds {
  905. position: absolute;
  906. width: 100%;
  907. height: 100%;
  908. top: 0;
  909. left: 0;
  910. perspective: 600px;
  911. }
  912. .reveal .slide-background {
  913. display: none;
  914. position: absolute;
  915. width: 100%;
  916. height: 100%;
  917. opacity: 0;
  918. visibility: hidden;
  919. overflow: hidden;
  920. background-color: rgba( 0, 0, 0, 0 );
  921. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  922. }
  923. .reveal .slide-background-content {
  924. position: absolute;
  925. width: 100%;
  926. height: 100%;
  927. background-position: 50% 50%;
  928. background-repeat: no-repeat;
  929. background-size: cover;
  930. }
  931. .reveal .slide-background.stack {
  932. display: block;
  933. }
  934. .reveal .slide-background.present {
  935. opacity: 1;
  936. visibility: visible;
  937. z-index: 2;
  938. }
  939. .print-pdf .reveal .slide-background {
  940. opacity: 1 !important;
  941. visibility: visible !important;
  942. }
  943. /* Video backgrounds */
  944. .reveal .slide-background video {
  945. position: absolute;
  946. width: 100%;
  947. height: 100%;
  948. max-width: none;
  949. max-height: none;
  950. top: 0;
  951. left: 0;
  952. object-fit: cover;
  953. }
  954. .reveal .slide-background[data-background-size="contain"] video {
  955. object-fit: contain;
  956. }
  957. /* Immediate transition style */
  958. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  959. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  960. transition: none;
  961. }
  962. /* Slide */
  963. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  964. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  965. opacity: 1;
  966. backface-visibility: hidden;
  967. }
  968. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  969. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  970. transform: translate(-100%, 0);
  971. }
  972. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  973. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  974. transform: translate(100%, 0);
  975. }
  976. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  977. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  978. transform: translate(0, -100%);
  979. }
  980. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  981. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  982. transform: translate(0, 100%);
  983. }
  984. /* Convex */
  985. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  986. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  987. opacity: 0;
  988. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  989. }
  990. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  991. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  992. opacity: 0;
  993. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  994. }
  995. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  996. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  997. opacity: 0;
  998. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  999. }
  1000. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  1001. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  1002. opacity: 0;
  1003. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  1004. }
  1005. /* Concave */
  1006. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  1007. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  1008. opacity: 0;
  1009. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  1010. }
  1011. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  1012. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  1013. opacity: 0;
  1014. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  1015. }
  1016. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  1017. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  1018. opacity: 0;
  1019. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  1020. }
  1021. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  1022. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  1023. opacity: 0;
  1024. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  1025. }
  1026. /* Zoom */
  1027. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  1028. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  1029. transition-timing-function: ease;
  1030. }
  1031. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  1032. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1033. opacity: 0;
  1034. visibility: hidden;
  1035. transform: scale(16);
  1036. }
  1037. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  1038. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1039. opacity: 0;
  1040. visibility: hidden;
  1041. transform: scale(0.2);
  1042. }
  1043. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  1044. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1045. opacity: 0;
  1046. visibility: hidden;
  1047. transform: scale(16);
  1048. }
  1049. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  1050. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1051. opacity: 0;
  1052. visibility: hidden;
  1053. transform: scale(0.2);
  1054. }
  1055. /* Global transition speed settings */
  1056. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1057. transition-duration: 400ms;
  1058. }
  1059. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1060. transition-duration: 1200ms;
  1061. }
  1062. /*********************************************
  1063. * OVERVIEW
  1064. *********************************************/
  1065. .reveal.overview {
  1066. perspective-origin: 50% 50%;
  1067. perspective: 700px;
  1068. .slides {
  1069. // Fixes overview rendering errors in FF48+, not applied to
  1070. // other browsers since it degrades performance
  1071. -moz-transform-style: preserve-3d;
  1072. }
  1073. .slides section {
  1074. height: 100%;
  1075. top: 0 !important;
  1076. opacity: 1 !important;
  1077. overflow: hidden;
  1078. visibility: visible !important;
  1079. cursor: pointer;
  1080. box-sizing: border-box;
  1081. }
  1082. .slides section:hover,
  1083. .slides section.present {
  1084. outline: 10px solid rgba(150,150,150,0.4);
  1085. outline-offset: 10px;
  1086. }
  1087. .slides section .fragment {
  1088. opacity: 1;
  1089. transition: none;
  1090. }
  1091. .slides section:after,
  1092. .slides section:before {
  1093. display: none !important;
  1094. }
  1095. .slides>section.stack {
  1096. padding: 0;
  1097. top: 0 !important;
  1098. background: none;
  1099. outline: none;
  1100. overflow: visible;
  1101. }
  1102. .backgrounds {
  1103. perspective: inherit;
  1104. // Fixes overview rendering errors in FF48+, not applied to
  1105. // other browsers since it degrades performance
  1106. -moz-transform-style: preserve-3d;
  1107. }
  1108. .backgrounds .slide-background {
  1109. opacity: 1;
  1110. visibility: visible;
  1111. // This can't be applied to the slide itself in Safari
  1112. outline: 10px solid rgba(150,150,150,0.1);
  1113. outline-offset: 10px;
  1114. }
  1115. .backgrounds .slide-background.stack {
  1116. overflow: visible;
  1117. }
  1118. }
  1119. // Disable transitions transitions while we're activating
  1120. // or deactivating the overview mode.
  1121. .reveal.overview .slides section,
  1122. .reveal.overview-deactivating .slides section {
  1123. transition: none;
  1124. }
  1125. .reveal.overview .backgrounds .slide-background,
  1126. .reveal.overview-deactivating .backgrounds .slide-background {
  1127. transition: none;
  1128. }
  1129. /*********************************************
  1130. * RTL SUPPORT
  1131. *********************************************/
  1132. .reveal.rtl .slides,
  1133. .reveal.rtl .slides h1,
  1134. .reveal.rtl .slides h2,
  1135. .reveal.rtl .slides h3,
  1136. .reveal.rtl .slides h4,
  1137. .reveal.rtl .slides h5,
  1138. .reveal.rtl .slides h6 {
  1139. direction: rtl;
  1140. font-family: sans-serif;
  1141. }
  1142. .reveal.rtl pre,
  1143. .reveal.rtl code {
  1144. direction: ltr;
  1145. }
  1146. .reveal.rtl ol,
  1147. .reveal.rtl ul {
  1148. text-align: right;
  1149. }
  1150. .reveal.rtl .progress span {
  1151. float: right
  1152. }
  1153. /*********************************************
  1154. * PARALLAX BACKGROUND
  1155. *********************************************/
  1156. .reveal.has-parallax-background .backgrounds {
  1157. transition: all 0.8s ease;
  1158. }
  1159. /* Global transition speed settings */
  1160. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1161. transition-duration: 400ms;
  1162. }
  1163. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1164. transition-duration: 1200ms;
  1165. }
  1166. /*********************************************
  1167. * OVERLAY FOR LINK PREVIEWS AND HELP
  1168. *********************************************/
  1169. .reveal > .overlay {
  1170. position: absolute;
  1171. top: 0;
  1172. left: 0;
  1173. width: 100%;
  1174. height: 100%;
  1175. z-index: 1000;
  1176. background: rgba( 0, 0, 0, 0.9 );
  1177. opacity: 0;
  1178. visibility: hidden;
  1179. transition: all 0.3s ease;
  1180. }
  1181. .reveal > .overlay.visible {
  1182. opacity: 1;
  1183. visibility: visible;
  1184. }
  1185. .reveal > .overlay .spinner {
  1186. position: absolute;
  1187. display: block;
  1188. top: 50%;
  1189. left: 50%;
  1190. width: 32px;
  1191. height: 32px;
  1192. margin: -16px 0 0 -16px;
  1193. z-index: 10;
  1194. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE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NgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1195. visibility: visible;
  1196. opacity: 0.6;
  1197. transition: all 0.3s ease;
  1198. }
  1199. .reveal > .overlay header {
  1200. position: absolute;
  1201. left: 0;
  1202. top: 0;
  1203. width: 100%;
  1204. height: 40px;
  1205. z-index: 2;
  1206. border-bottom: 1px solid #222;
  1207. }
  1208. .reveal > .overlay header a {
  1209. display: inline-block;
  1210. width: 40px;
  1211. height: 40px;
  1212. line-height: 36px;
  1213. padding: 0 10px;
  1214. float: right;
  1215. opacity: 0.6;
  1216. box-sizing: border-box;
  1217. }
  1218. .reveal > .overlay header a:hover {
  1219. opacity: 1;
  1220. }
  1221. .reveal > .overlay header a .icon {
  1222. display: inline-block;
  1223. width: 20px;
  1224. height: 20px;
  1225. background-position: 50% 50%;
  1226. background-size: 100%;
  1227. background-repeat: no-repeat;
  1228. }
  1229. .reveal > .overlay header a.close .icon {
  1230. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1231. }
  1232. .reveal > .overlay header a.external .icon {
  1233. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1234. }
  1235. .reveal > .overlay .viewport {
  1236. position: absolute;
  1237. display: flex;
  1238. top: 40px;
  1239. right: 0;
  1240. bottom: 0;
  1241. left: 0;
  1242. }
  1243. .reveal > .overlay.overlay-preview .viewport iframe {
  1244. width: 100%;
  1245. height: 100%;
  1246. max-width: 100%;
  1247. max-height: 100%;
  1248. border: 0;
  1249. opacity: 0;
  1250. visibility: hidden;
  1251. transition: all 0.3s ease;
  1252. }
  1253. .reveal > .overlay.overlay-preview.loaded .viewport iframe {
  1254. opacity: 1;
  1255. visibility: visible;
  1256. }
  1257. .reveal > .overlay.overlay-preview.loaded .viewport-inner {
  1258. position: absolute;
  1259. z-index: -1;
  1260. left: 0;
  1261. top: 45%;
  1262. width: 100%;
  1263. text-align: center;
  1264. letter-spacing: normal;
  1265. }
  1266. .reveal > .overlay.overlay-preview .x-frame-error {
  1267. opacity: 0;
  1268. transition: opacity 0.3s ease 0.3s;
  1269. }
  1270. .reveal > .overlay.overlay-preview.loaded .x-frame-error {
  1271. opacity: 1;
  1272. }
  1273. .reveal > .overlay.overlay-preview.loaded .spinner {
  1274. opacity: 0;
  1275. visibility: hidden;
  1276. transform: scale(0.2);
  1277. }
  1278. .reveal > .overlay.overlay-help .viewport {
  1279. overflow: auto;
  1280. color: #fff;
  1281. }
  1282. .reveal > .overlay.overlay-help .viewport .viewport-inner {
  1283. width: 600px;
  1284. margin: auto;
  1285. padding: 20px 20px 80px 20px;
  1286. text-align: center;
  1287. letter-spacing: normal;
  1288. }
  1289. .reveal > .overlay.overlay-help .viewport .viewport-inner .title {
  1290. font-size: 20px;
  1291. }
  1292. .reveal > .overlay.overlay-help .viewport .viewport-inner table {
  1293. border: 1px solid #fff;
  1294. border-collapse: collapse;
  1295. font-size: 16px;
  1296. }
  1297. .reveal > .overlay.overlay-help .viewport .viewport-inner table th,
  1298. .reveal > .overlay.overlay-help .viewport .viewport-inner table td {
  1299. width: 200px;
  1300. padding: 14px;
  1301. border: 1px solid #fff;
  1302. vertical-align: middle;
  1303. }
  1304. .reveal > .overlay.overlay-help .viewport .viewport-inner table th {
  1305. padding-top: 20px;
  1306. padding-bottom: 20px;
  1307. }
  1308. /*********************************************
  1309. * PLAYBACK COMPONENT
  1310. *********************************************/
  1311. .reveal .playback {
  1312. position: absolute;
  1313. left: 15px;
  1314. bottom: 20px;
  1315. z-index: 30;
  1316. cursor: pointer;
  1317. transition: all 400ms ease;
  1318. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  1319. }
  1320. .reveal.overview .playback {
  1321. opacity: 0;
  1322. visibility: hidden;
  1323. }
  1324. /*********************************************
  1325. * ROLLING LINKS
  1326. *********************************************/
  1327. .reveal .roll {
  1328. display: inline-block;
  1329. line-height: 1.2;
  1330. overflow: hidden;
  1331. vertical-align: top;
  1332. perspective: 400px;
  1333. perspective-origin: 50% 50%;
  1334. }
  1335. .reveal .roll:hover {
  1336. background: none;
  1337. text-shadow: none;
  1338. }
  1339. .reveal .roll span {
  1340. display: block;
  1341. position: relative;
  1342. padding: 0 2px;
  1343. pointer-events: none;
  1344. transition: all 400ms ease;
  1345. transform-origin: 50% 0%;
  1346. transform-style: preserve-3d;
  1347. backface-visibility: hidden;
  1348. }
  1349. .reveal .roll:hover span {
  1350. background: rgba(0,0,0,0.5);
  1351. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1352. }
  1353. .reveal .roll span:after {
  1354. content: attr(data-title);
  1355. display: block;
  1356. position: absolute;
  1357. left: 0;
  1358. top: 0;
  1359. padding: 0 2px;
  1360. backface-visibility: hidden;
  1361. transform-origin: 50% 0%;
  1362. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1363. }
  1364. /*********************************************
  1365. * SPEAKER NOTES
  1366. *********************************************/
  1367. // Hide on-page notes
  1368. .reveal aside.notes {
  1369. display: none;
  1370. }
  1371. // An interface element that can optionally be used to show the
  1372. // speaker notes to all viewers, on top of the presentation
  1373. .reveal .speaker-notes {
  1374. display: none;
  1375. position: absolute;
  1376. width: 25vw;
  1377. height: 100%;
  1378. top: 0;
  1379. left: 100%;
  1380. padding: 14px 18px 14px 18px;
  1381. z-index: 1;
  1382. font-size: 18px;
  1383. line-height: 1.4;
  1384. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1385. color: #222;
  1386. background-color: #f5f5f5;
  1387. overflow: auto;
  1388. box-sizing: border-box;
  1389. text-align: left;
  1390. font-family: Helvetica, sans-serif;
  1391. -webkit-overflow-scrolling: touch;
  1392. .notes-placeholder {
  1393. color: #ccc;
  1394. font-style: italic;
  1395. }
  1396. &:focus {
  1397. outline: none;
  1398. }
  1399. &:before {
  1400. content: 'Speaker notes';
  1401. display: block;
  1402. margin-bottom: 10px;
  1403. opacity: 0.5;
  1404. }
  1405. }
  1406. .reveal.show-notes {
  1407. max-width: 75vw;
  1408. overflow: visible;
  1409. }
  1410. .reveal.show-notes .speaker-notes {
  1411. display: block;
  1412. }
  1413. @media screen and (min-width: 1600px) {
  1414. .reveal .speaker-notes {
  1415. font-size: 20px;
  1416. }
  1417. }
  1418. @media screen and (max-width: 1024px) {
  1419. .reveal.show-notes {
  1420. border-left: 0;
  1421. max-width: none;
  1422. max-height: 70%;
  1423. overflow: visible;
  1424. }
  1425. .reveal.show-notes .speaker-notes {
  1426. top: 100%;
  1427. left: 0;
  1428. width: 100%;
  1429. height: (30/0.7)*1%;
  1430. }
  1431. }
  1432. @media screen and (max-width: 600px) {
  1433. .reveal.show-notes {
  1434. max-height: 60%;
  1435. }
  1436. .reveal.show-notes .speaker-notes {
  1437. top: 100%;
  1438. height: (40/0.6)*1%;
  1439. }
  1440. .reveal .speaker-notes {
  1441. font-size: 14px;
  1442. }
  1443. }
  1444. /*********************************************
  1445. * ZOOM PLUGIN
  1446. *********************************************/
  1447. .zoomed .reveal *,
  1448. .zoomed .reveal *:before,
  1449. .zoomed .reveal *:after {
  1450. backface-visibility: visible !important;
  1451. }
  1452. .zoomed .reveal .progress,
  1453. .zoomed .reveal .controls {
  1454. opacity: 0;
  1455. }
  1456. .zoomed .reveal .roll span {
  1457. background: none;
  1458. }
  1459. .zoomed .reveal .roll span:after {
  1460. visibility: hidden;
  1461. }