reveal.scss 43 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. width: 100%;
  13. height: 100%;
  14. height: 100vh;
  15. height: calc( var(--vh, 1vh) * 100 );
  16. overflow: hidden;
  17. }
  18. body {
  19. height: 100%;
  20. overflow: hidden;
  21. position: relative;
  22. line-height: 1;
  23. margin: 0;
  24. background-color: #fff;
  25. color: #000;
  26. }
  27. /*********************************************
  28. * VIEW FRAGMENTS
  29. *********************************************/
  30. .reveal .slides section .fragment {
  31. opacity: 0;
  32. visibility: hidden;
  33. transition: all .2s ease;
  34. &.visible {
  35. opacity: 1;
  36. visibility: inherit;
  37. }
  38. }
  39. .reveal .slides section .fragment.grow {
  40. opacity: 1;
  41. visibility: inherit;
  42. &.visible {
  43. transform: scale( 1.3 );
  44. }
  45. }
  46. .reveal .slides section .fragment.shrink {
  47. opacity: 1;
  48. visibility: inherit;
  49. &.visible {
  50. transform: scale( 0.7 );
  51. }
  52. }
  53. .reveal .slides section .fragment.zoom-in {
  54. transform: scale( 0.1 );
  55. &.visible {
  56. transform: none;
  57. }
  58. }
  59. .reveal .slides section .fragment.fade-out {
  60. opacity: 1;
  61. visibility: inherit;
  62. &.visible {
  63. opacity: 0;
  64. visibility: hidden;
  65. }
  66. }
  67. .reveal .slides section .fragment.semi-fade-out {
  68. opacity: 1;
  69. visibility: inherit;
  70. &.visible {
  71. opacity: 0.5;
  72. visibility: inherit;
  73. }
  74. }
  75. .reveal .slides section .fragment.strike {
  76. opacity: 1;
  77. visibility: inherit;
  78. &.visible {
  79. text-decoration: line-through;
  80. }
  81. }
  82. .reveal .slides section .fragment.fade-up {
  83. transform: translate(0, 20%);
  84. &.visible {
  85. transform: translate(0, 0);
  86. }
  87. }
  88. .reveal .slides section .fragment.fade-down {
  89. transform: translate(0, -20%);
  90. &.visible {
  91. transform: translate(0, 0);
  92. }
  93. }
  94. .reveal .slides section .fragment.fade-right {
  95. transform: translate(-20%, 0);
  96. &.visible {
  97. transform: translate(0, 0);
  98. }
  99. }
  100. .reveal .slides section .fragment.fade-left {
  101. transform: translate(20%, 0);
  102. &.visible {
  103. transform: translate(0, 0);
  104. }
  105. }
  106. .reveal .slides section .fragment.fade-in-then-out,
  107. .reveal .slides section .fragment.current-visible {
  108. opacity: 0;
  109. visibility: hidden;
  110. &.current-fragment {
  111. opacity: 1;
  112. visibility: inherit;
  113. }
  114. }
  115. .reveal .slides section .fragment.fade-in-then-semi-out {
  116. opacity: 0;
  117. visibility: hidden;
  118. &.visible {
  119. opacity: 0.5;
  120. visibility: inherit;
  121. }
  122. &.current-fragment {
  123. opacity: 1;
  124. visibility: inherit;
  125. }
  126. }
  127. .reveal .slides section .fragment.highlight-red,
  128. .reveal .slides section .fragment.highlight-current-red,
  129. .reveal .slides section .fragment.highlight-green,
  130. .reveal .slides section .fragment.highlight-current-green,
  131. .reveal .slides section .fragment.highlight-blue,
  132. .reveal .slides section .fragment.highlight-current-blue {
  133. opacity: 1;
  134. visibility: inherit;
  135. }
  136. .reveal .slides section .fragment.highlight-red.visible {
  137. color: #ff2c2d
  138. }
  139. .reveal .slides section .fragment.highlight-green.visible {
  140. color: #17ff2e;
  141. }
  142. .reveal .slides section .fragment.highlight-blue.visible {
  143. color: #1b91ff;
  144. }
  145. .reveal .slides section .fragment.highlight-current-red.current-fragment {
  146. color: #ff2c2d
  147. }
  148. .reveal .slides section .fragment.highlight-current-green.current-fragment {
  149. color: #17ff2e;
  150. }
  151. .reveal .slides section .fragment.highlight-current-blue.current-fragment {
  152. color: #1b91ff;
  153. }
  154. /*********************************************
  155. * DEFAULT ELEMENT STYLES
  156. *********************************************/
  157. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  158. .reveal:after {
  159. content: '';
  160. font-style: italic;
  161. }
  162. .reveal iframe {
  163. z-index: 1;
  164. }
  165. /** Prevents layering issues in certain browser/transition combinations */
  166. .reveal a {
  167. position: relative;
  168. }
  169. .reveal .stretch {
  170. max-width: none;
  171. max-height: none;
  172. }
  173. .reveal pre.stretch code {
  174. height: 100%;
  175. max-height: 100%;
  176. box-sizing: border-box;
  177. }
  178. /*********************************************
  179. * CONTROLS
  180. *********************************************/
  181. @keyframes bounce-right {
  182. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  183. 20% {transform: translateX(10px);}
  184. 30% {transform: translateX(-5px);}
  185. }
  186. @keyframes bounce-down {
  187. 0%, 10%, 25%, 40%, 50% {transform: translateY(0);}
  188. 20% {transform: translateY(10px);}
  189. 30% {transform: translateY(-5px);}
  190. }
  191. $controlArrowSize: 3.6em;
  192. $controlArrowSpacing: 1.4em;
  193. $controlArrowLength: 2.6em;
  194. $controlArrowThickness: 0.5em;
  195. $controlsArrowAngle: 45deg;
  196. $controlsArrowAngleHover: 40deg;
  197. $controlsArrowAngleActive: 36deg;
  198. @mixin controlsArrowTransform( $angle ) {
  199. &:before {
  200. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( $angle );
  201. }
  202. &:after {
  203. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( -$angle );
  204. }
  205. }
  206. .reveal .controls {
  207. $spacing: 12px;
  208. display: none;
  209. position: absolute;
  210. top: auto;
  211. bottom: $spacing;
  212. right: $spacing;
  213. left: auto;
  214. z-index: 1;
  215. color: #000;
  216. pointer-events: none;
  217. font-size: 10px;
  218. button {
  219. position: absolute;
  220. padding: 0;
  221. background-color: transparent;
  222. border: 0;
  223. outline: 0;
  224. cursor: pointer;
  225. color: currentColor;
  226. transform: scale(.9999);
  227. transition: color 0.2s ease,
  228. opacity 0.2s ease,
  229. transform 0.2s ease;
  230. z-index: 2; // above slides
  231. pointer-events: auto;
  232. font-size: inherit;
  233. visibility: hidden;
  234. opacity: 0;
  235. -webkit-appearance: none;
  236. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  237. }
  238. .controls-arrow:before,
  239. .controls-arrow:after {
  240. content: '';
  241. position: absolute;
  242. top: 0;
  243. left: 0;
  244. width: $controlArrowLength;
  245. height: $controlArrowThickness;
  246. border-radius: $controlArrowThickness/2;
  247. background-color: currentColor;
  248. transition: all 0.15s ease, background-color 0.8s ease;
  249. transform-origin: floor(($controlArrowThickness/2)*10)/10 50%;
  250. will-change: transform;
  251. }
  252. .controls-arrow {
  253. position: relative;
  254. width: $controlArrowSize;
  255. height: $controlArrowSize;
  256. @include controlsArrowTransform( $controlsArrowAngle );
  257. &:hover {
  258. @include controlsArrowTransform( $controlsArrowAngleHover );
  259. }
  260. &:active {
  261. @include controlsArrowTransform( $controlsArrowAngleActive );
  262. }
  263. }
  264. .navigate-left {
  265. right: $controlArrowSize + $controlArrowSpacing*2;
  266. bottom: $controlArrowSpacing + $controlArrowSize/2;
  267. transform: translateX( -10px );
  268. }
  269. .navigate-right {
  270. right: 0;
  271. bottom: $controlArrowSpacing + $controlArrowSize/2;
  272. transform: translateX( 10px );
  273. .controls-arrow {
  274. transform: rotate( 180deg );
  275. }
  276. &.highlight {
  277. animation: bounce-right 2s 50 both ease-out;
  278. }
  279. }
  280. .navigate-up {
  281. right: $controlArrowSpacing + $controlArrowSize/2;
  282. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  283. transform: translateY( -10px );
  284. .controls-arrow {
  285. transform: rotate( 90deg );
  286. }
  287. }
  288. .navigate-down {
  289. right: $controlArrowSpacing + $controlArrowSize/2;
  290. bottom: 0;
  291. transform: translateY( 10px );
  292. .controls-arrow {
  293. transform: rotate( -90deg );
  294. }
  295. &.highlight {
  296. animation: bounce-down 2s 50 both ease-out;
  297. }
  298. }
  299. // Back arrow style: "faded":
  300. // Deemphasize backwards navigation arrows in favor of drawing
  301. // attention to forwards navigation
  302. &[data-controls-back-arrows="faded"] .navigate-left.enabled,
  303. &[data-controls-back-arrows="faded"] .navigate-up.enabled {
  304. opacity: 0.3;
  305. &:hover {
  306. opacity: 1;
  307. }
  308. }
  309. // Back arrow style: "hidden":
  310. // Never show arrows for backwards navigation
  311. &[data-controls-back-arrows="hidden"] .navigate-left.enabled,
  312. &[data-controls-back-arrows="hidden"] .navigate-up.enabled {
  313. opacity: 0;
  314. visibility: hidden;
  315. }
  316. // Any control button that can be clicked is "enabled"
  317. .enabled {
  318. visibility: visible;
  319. opacity: 0.9;
  320. cursor: pointer;
  321. transform: none;
  322. }
  323. // Any control button that leads to showing or hiding
  324. // a fragment
  325. .enabled.fragmented {
  326. opacity: 0.5;
  327. }
  328. .enabled:hover,
  329. .enabled.fragmented:hover {
  330. opacity: 1;
  331. }
  332. }
  333. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-up,
  334. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-down {
  335. display: none;
  336. }
  337. // Adjust the layout when there are no vertical slides
  338. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-left,
  339. .reveal:not(.has-vertical-slides) .controls .navigate-left {
  340. bottom: $controlArrowSpacing;
  341. right: 0.5em + $controlArrowSpacing + $controlArrowSize;
  342. }
  343. .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-right,
  344. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  345. bottom: $controlArrowSpacing;
  346. right: 0.5em;
  347. }
  348. // Adjust the layout when there are no horizontal slides
  349. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  350. right: $controlArrowSpacing;
  351. bottom: $controlArrowSpacing + $controlArrowSize;
  352. }
  353. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  354. right: $controlArrowSpacing;
  355. bottom: 0.5em;
  356. }
  357. // Invert arrows based on background color
  358. .reveal.has-dark-background .controls {
  359. color: #fff;
  360. }
  361. .reveal.has-light-background .controls {
  362. color: #000;
  363. }
  364. // Disable active states on touch devices
  365. .reveal.no-hover .controls .controls-arrow:hover,
  366. .reveal.no-hover .controls .controls-arrow:active {
  367. @include controlsArrowTransform( $controlsArrowAngle );
  368. }
  369. // Edge aligned controls layout
  370. @media screen and (min-width: 500px) {
  371. $spacing: 8px;
  372. .reveal .controls[data-controls-layout="edges"] {
  373. & {
  374. top: 0;
  375. right: 0;
  376. bottom: 0;
  377. left: 0;
  378. }
  379. .navigate-left,
  380. .navigate-right,
  381. .navigate-up,
  382. .navigate-down {
  383. bottom: auto;
  384. right: auto;
  385. }
  386. .navigate-left {
  387. top: 50%;
  388. left: $spacing;
  389. margin-top: -$controlArrowSize/2;
  390. }
  391. .navigate-right {
  392. top: 50%;
  393. right: $spacing;
  394. margin-top: -$controlArrowSize/2;
  395. }
  396. .navigate-up {
  397. top: $spacing;
  398. left: 50%;
  399. margin-left: -$controlArrowSize/2;
  400. }
  401. .navigate-down {
  402. bottom: $spacing;
  403. left: 50%;
  404. margin-left: -$controlArrowSize/2;
  405. }
  406. }
  407. }
  408. /*********************************************
  409. * PROGRESS BAR
  410. *********************************************/
  411. .reveal .progress {
  412. position: absolute;
  413. display: none;
  414. height: 3px;
  415. width: 100%;
  416. bottom: 0;
  417. left: 0;
  418. z-index: 10;
  419. background-color: rgba( 0, 0, 0, 0.2 );
  420. color: #fff;
  421. }
  422. .reveal .progress:after {
  423. content: '';
  424. display: block;
  425. position: absolute;
  426. height: 10px;
  427. width: 100%;
  428. top: -10px;
  429. }
  430. .reveal .progress span {
  431. display: block;
  432. height: 100%;
  433. width: 0px;
  434. background-color: currentColor;
  435. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  436. }
  437. /*********************************************
  438. * SLIDE NUMBER
  439. *********************************************/
  440. .reveal .slide-number {
  441. position: absolute;
  442. display: block;
  443. right: 8px;
  444. bottom: 8px;
  445. z-index: 31;
  446. font-family: Helvetica, sans-serif;
  447. font-size: 12px;
  448. line-height: 1;
  449. color: #fff;
  450. background-color: rgba( 0, 0, 0, 0.4 );
  451. padding: 5px;
  452. }
  453. .reveal .slide-number a {
  454. color: currentColor;
  455. }
  456. .reveal .slide-number-delimiter {
  457. margin: 0 3px;
  458. }
  459. /*********************************************
  460. * SLIDES
  461. *********************************************/
  462. .reveal {
  463. position: relative;
  464. width: 100%;
  465. height: 100%;
  466. overflow: hidden;
  467. touch-action: pinch-zoom;
  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. height: 100%;
  521. }
  522. .reveal .slides>section.present,
  523. .reveal .slides>section>section.present {
  524. display: block;
  525. z-index: 11;
  526. opacity: 1;
  527. }
  528. .reveal .slides>section:empty,
  529. .reveal .slides>section>section:empty,
  530. .reveal .slides>section[data-background-interactive],
  531. .reveal .slides>section>section[data-background-interactive] {
  532. pointer-events: none;
  533. }
  534. .reveal.center,
  535. .reveal.center .slides,
  536. .reveal.center .slides section {
  537. min-height: 0 !important;
  538. }
  539. /* Don't allow interaction with invisible slides */
  540. .reveal .slides>section.future,
  541. .reveal .slides>section>section.future,
  542. .reveal .slides>section.past,
  543. .reveal .slides>section>section.past {
  544. pointer-events: none;
  545. }
  546. .reveal.overview .slides>section,
  547. .reveal.overview .slides>section>section {
  548. pointer-events: auto;
  549. }
  550. .reveal .slides>section.past,
  551. .reveal .slides>section.future,
  552. .reveal .slides>section>section.past,
  553. .reveal .slides>section>section.future {
  554. opacity: 0;
  555. }
  556. /*********************************************
  557. * Mixins for readability of transitions
  558. *********************************************/
  559. @mixin transition-global($style) {
  560. .reveal .slides section[data-transition=#{$style}],
  561. .reveal.#{$style} .slides section:not([data-transition]) {
  562. @content;
  563. }
  564. }
  565. @mixin transition-stack($style) {
  566. .reveal .slides section[data-transition=#{$style}].stack,
  567. .reveal.#{$style} .slides section.stack {
  568. @content;
  569. }
  570. }
  571. @mixin transition-horizontal-past($style) {
  572. .reveal .slides>section[data-transition=#{$style}].past,
  573. .reveal .slides>section[data-transition~=#{$style}-out].past,
  574. .reveal.#{$style} .slides>section:not([data-transition]).past {
  575. @content;
  576. }
  577. }
  578. @mixin transition-horizontal-future($style) {
  579. .reveal .slides>section[data-transition=#{$style}].future,
  580. .reveal .slides>section[data-transition~=#{$style}-in].future,
  581. .reveal.#{$style} .slides>section:not([data-transition]).future {
  582. @content;
  583. }
  584. }
  585. @mixin transition-vertical-past($style) {
  586. .reveal .slides>section>section[data-transition=#{$style}].past,
  587. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  588. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  589. @content;
  590. }
  591. }
  592. @mixin transition-vertical-future($style) {
  593. .reveal .slides>section>section[data-transition=#{$style}].future,
  594. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  595. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  596. @content;
  597. }
  598. }
  599. /*********************************************
  600. * SLIDE TRANSITION
  601. * Aliased 'linear' for backwards compatibility
  602. *********************************************/
  603. @each $stylename in slide, linear {
  604. .reveal.#{$stylename} section {
  605. backface-visibility: hidden;
  606. }
  607. @include transition-horizontal-past(#{$stylename}) {
  608. transform: translate(-150%, 0);
  609. }
  610. @include transition-horizontal-future(#{$stylename}) {
  611. transform: translate(150%, 0);
  612. }
  613. @include transition-vertical-past(#{$stylename}) {
  614. transform: translate(0, -150%);
  615. }
  616. @include transition-vertical-future(#{$stylename}) {
  617. transform: translate(0, 150%);
  618. }
  619. }
  620. /*********************************************
  621. * CONVEX TRANSITION
  622. * Aliased 'default' for backwards compatibility
  623. *********************************************/
  624. @each $stylename in default, convex {
  625. @include transition-stack(#{$stylename}) {
  626. transform-style: preserve-3d;
  627. }
  628. @include transition-horizontal-past(#{$stylename}) {
  629. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  630. }
  631. @include transition-horizontal-future(#{$stylename}) {
  632. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  633. }
  634. @include transition-vertical-past(#{$stylename}) {
  635. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  636. }
  637. @include transition-vertical-future(#{$stylename}) {
  638. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  639. }
  640. }
  641. /*********************************************
  642. * CONCAVE TRANSITION
  643. *********************************************/
  644. @include transition-stack(concave) {
  645. transform-style: preserve-3d;
  646. }
  647. @include transition-horizontal-past(concave) {
  648. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  649. }
  650. @include transition-horizontal-future(concave) {
  651. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  652. }
  653. @include transition-vertical-past(concave) {
  654. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  655. }
  656. @include transition-vertical-future(concave) {
  657. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  658. }
  659. /*********************************************
  660. * ZOOM TRANSITION
  661. *********************************************/
  662. @include transition-global(zoom) {
  663. transition-timing-function: ease;
  664. }
  665. @include transition-horizontal-past(zoom) {
  666. visibility: hidden;
  667. transform: scale(16);
  668. }
  669. @include transition-horizontal-future(zoom) {
  670. visibility: hidden;
  671. transform: scale(0.2);
  672. }
  673. @include transition-vertical-past(zoom) {
  674. transform: scale(16);
  675. }
  676. @include transition-vertical-future(zoom) {
  677. transform: scale(0.2);
  678. }
  679. /*********************************************
  680. * CUBE TRANSITION
  681. *
  682. * WARNING:
  683. * this is deprecated and will be removed in a
  684. * future version.
  685. *********************************************/
  686. .reveal.cube .slides {
  687. perspective: 1300px;
  688. }
  689. .reveal.cube .slides section {
  690. padding: 30px;
  691. min-height: 700px;
  692. backface-visibility: hidden;
  693. box-sizing: border-box;
  694. transform-style: preserve-3d;
  695. }
  696. .reveal.center.cube .slides section {
  697. min-height: 0;
  698. }
  699. .reveal.cube .slides section:not(.stack):before {
  700. content: '';
  701. position: absolute;
  702. display: block;
  703. width: 100%;
  704. height: 100%;
  705. left: 0;
  706. top: 0;
  707. background: rgba(0,0,0,0.1);
  708. border-radius: 4px;
  709. transform: translateZ( -20px );
  710. }
  711. .reveal.cube .slides section:not(.stack):after {
  712. content: '';
  713. position: absolute;
  714. display: block;
  715. width: 90%;
  716. height: 30px;
  717. left: 5%;
  718. bottom: 0;
  719. background: none;
  720. z-index: 1;
  721. border-radius: 4px;
  722. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  723. transform: translateZ(-90px) rotateX( 65deg );
  724. }
  725. .reveal.cube .slides>section.stack {
  726. padding: 0;
  727. background: none;
  728. }
  729. .reveal.cube .slides>section.past {
  730. transform-origin: 100% 0%;
  731. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  732. }
  733. .reveal.cube .slides>section.future {
  734. transform-origin: 0% 0%;
  735. transform: translate3d(100%, 0, 0) rotateY(90deg);
  736. }
  737. .reveal.cube .slides>section>section.past {
  738. transform-origin: 0% 100%;
  739. transform: translate3d(0, -100%, 0) rotateX(90deg);
  740. }
  741. .reveal.cube .slides>section>section.future {
  742. transform-origin: 0% 0%;
  743. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  744. }
  745. /*********************************************
  746. * PAGE TRANSITION
  747. *
  748. * WARNING:
  749. * this is deprecated and will be removed in a
  750. * future version.
  751. *********************************************/
  752. .reveal.page .slides {
  753. perspective-origin: 0% 50%;
  754. perspective: 3000px;
  755. }
  756. .reveal.page .slides section {
  757. padding: 30px;
  758. min-height: 700px;
  759. box-sizing: border-box;
  760. transform-style: preserve-3d;
  761. }
  762. .reveal.page .slides section.past {
  763. z-index: 12;
  764. }
  765. .reveal.page .slides section:not(.stack):before {
  766. content: '';
  767. position: absolute;
  768. display: block;
  769. width: 100%;
  770. height: 100%;
  771. left: 0;
  772. top: 0;
  773. background: rgba(0,0,0,0.1);
  774. transform: translateZ( -20px );
  775. }
  776. .reveal.page .slides section:not(.stack):after {
  777. content: '';
  778. position: absolute;
  779. display: block;
  780. width: 90%;
  781. height: 30px;
  782. left: 5%;
  783. bottom: 0;
  784. background: none;
  785. z-index: 1;
  786. border-radius: 4px;
  787. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  788. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  789. }
  790. .reveal.page .slides>section.stack {
  791. padding: 0;
  792. background: none;
  793. }
  794. .reveal.page .slides>section.past {
  795. transform-origin: 0% 0%;
  796. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  797. }
  798. .reveal.page .slides>section.future {
  799. transform-origin: 100% 0%;
  800. transform: translate3d(0, 0, 0);
  801. }
  802. .reveal.page .slides>section>section.past {
  803. transform-origin: 0% 0%;
  804. transform: translate3d(0, -40%, 0) rotateX(80deg);
  805. }
  806. .reveal.page .slides>section>section.future {
  807. transform-origin: 0% 100%;
  808. transform: translate3d(0, 0, 0);
  809. }
  810. /*********************************************
  811. * FADE TRANSITION
  812. *********************************************/
  813. .reveal .slides section[data-transition=fade],
  814. .reveal.fade .slides section:not([data-transition]),
  815. .reveal.fade .slides>section>section:not([data-transition]) {
  816. transform: none;
  817. transition: opacity 0.5s;
  818. }
  819. .reveal.fade.overview .slides section,
  820. .reveal.fade.overview .slides>section>section {
  821. transition: none;
  822. }
  823. /*********************************************
  824. * NO TRANSITION
  825. *********************************************/
  826. @include transition-global(none) {
  827. transform: none;
  828. transition: none;
  829. }
  830. /*********************************************
  831. * PAUSED MODE
  832. *********************************************/
  833. .reveal .pause-overlay {
  834. position: absolute;
  835. top: 0;
  836. left: 0;
  837. width: 100%;
  838. height: 100%;
  839. background: black;
  840. visibility: hidden;
  841. opacity: 0;
  842. z-index: 100;
  843. transition: all 1s ease;
  844. }
  845. .reveal .pause-overlay .resume-button {
  846. position: absolute;
  847. bottom: 20px;
  848. right: 20px;
  849. color: #ccc;
  850. border-radius: 2px;
  851. padding: 6px 14px;
  852. border: 2px solid #ccc;
  853. font-size: 16px;
  854. background: transparent;
  855. cursor: pointer;
  856. &:hover {
  857. color: #fff;
  858. border-color: #fff;
  859. }
  860. }
  861. .reveal.paused .pause-overlay {
  862. visibility: visible;
  863. opacity: 1;
  864. }
  865. /*********************************************
  866. * FALLBACK
  867. *********************************************/
  868. .no-transforms {
  869. overflow-y: auto;
  870. }
  871. .no-transforms .reveal {
  872. overflow: visible;
  873. }
  874. .no-transforms .reveal .slides {
  875. position: relative;
  876. width: 80%;
  877. max-width: 1280px;
  878. height: auto;
  879. top: 0;
  880. margin: 0 auto;
  881. text-align: center;
  882. }
  883. .no-transforms .reveal .controls,
  884. .no-transforms .reveal .progress {
  885. display: none;
  886. }
  887. .no-transforms .reveal .slides section {
  888. display: block;
  889. opacity: 1;
  890. position: relative;
  891. height: auto;
  892. min-height: 0;
  893. top: 0;
  894. left: 0;
  895. margin: 10vh 0;
  896. margin: 70px 0;
  897. transform: none;
  898. }
  899. .reveal .no-transition,
  900. .reveal .no-transition * {
  901. transition: none !important;
  902. }
  903. /*********************************************
  904. * PER-SLIDE BACKGROUNDS
  905. *********************************************/
  906. .reveal .backgrounds {
  907. position: absolute;
  908. width: 100%;
  909. height: 100%;
  910. top: 0;
  911. left: 0;
  912. perspective: 600px;
  913. }
  914. .reveal .slide-background {
  915. display: none;
  916. position: absolute;
  917. width: 100%;
  918. height: 100%;
  919. opacity: 0;
  920. visibility: hidden;
  921. overflow: hidden;
  922. background-color: rgba( 0, 0, 0, 0 );
  923. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  924. }
  925. .reveal .slide-background-content {
  926. position: absolute;
  927. width: 100%;
  928. height: 100%;
  929. background-position: 50% 50%;
  930. background-repeat: no-repeat;
  931. background-size: cover;
  932. }
  933. .reveal .slide-background.stack {
  934. display: block;
  935. }
  936. .reveal .slide-background.present {
  937. opacity: 1;
  938. visibility: visible;
  939. z-index: 2;
  940. }
  941. .print-pdf .reveal .slide-background {
  942. opacity: 1 !important;
  943. visibility: visible !important;
  944. }
  945. /* Video backgrounds */
  946. .reveal .slide-background video {
  947. position: absolute;
  948. width: 100%;
  949. height: 100%;
  950. max-width: none;
  951. max-height: none;
  952. top: 0;
  953. left: 0;
  954. object-fit: cover;
  955. }
  956. .reveal .slide-background[data-background-size="contain"] video {
  957. object-fit: contain;
  958. }
  959. /* Immediate transition style */
  960. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  961. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  962. transition: none;
  963. }
  964. /* Slide */
  965. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  966. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  967. opacity: 1;
  968. backface-visibility: hidden;
  969. }
  970. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  971. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  972. transform: translate(-100%, 0);
  973. }
  974. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  975. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  976. transform: translate(100%, 0);
  977. }
  978. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  979. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  980. transform: translate(0, -100%);
  981. }
  982. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  983. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  984. transform: translate(0, 100%);
  985. }
  986. /* Convex */
  987. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  988. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  989. opacity: 0;
  990. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  991. }
  992. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  993. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  994. opacity: 0;
  995. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  996. }
  997. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  998. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  999. opacity: 0;
  1000. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  1001. }
  1002. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  1003. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  1004. opacity: 0;
  1005. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  1006. }
  1007. /* Concave */
  1008. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  1009. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  1010. opacity: 0;
  1011. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  1012. }
  1013. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  1014. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  1015. opacity: 0;
  1016. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  1017. }
  1018. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  1019. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  1020. opacity: 0;
  1021. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  1022. }
  1023. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  1024. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  1025. opacity: 0;
  1026. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  1027. }
  1028. /* Zoom */
  1029. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  1030. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  1031. transition-timing-function: ease;
  1032. }
  1033. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  1034. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1035. opacity: 0;
  1036. visibility: hidden;
  1037. transform: scale(16);
  1038. }
  1039. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  1040. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1041. opacity: 0;
  1042. visibility: hidden;
  1043. transform: scale(0.2);
  1044. }
  1045. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  1046. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1047. opacity: 0;
  1048. visibility: hidden;
  1049. transform: scale(16);
  1050. }
  1051. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  1052. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1053. opacity: 0;
  1054. visibility: hidden;
  1055. transform: scale(0.2);
  1056. }
  1057. /* Global transition speed settings */
  1058. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1059. transition-duration: 400ms;
  1060. }
  1061. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1062. transition-duration: 1200ms;
  1063. }
  1064. /*********************************************
  1065. * OVERVIEW
  1066. *********************************************/
  1067. .reveal.overview {
  1068. perspective-origin: 50% 50%;
  1069. perspective: 700px;
  1070. .slides {
  1071. // Fixes overview rendering errors in FF48+, not applied to
  1072. // other browsers since it degrades performance
  1073. -moz-transform-style: preserve-3d;
  1074. }
  1075. .slides section {
  1076. height: 100%;
  1077. top: 0 !important;
  1078. opacity: 1 !important;
  1079. overflow: hidden;
  1080. visibility: visible !important;
  1081. cursor: pointer;
  1082. box-sizing: border-box;
  1083. }
  1084. .slides section:hover,
  1085. .slides section.present {
  1086. outline: 10px solid rgba(150,150,150,0.4);
  1087. outline-offset: 10px;
  1088. }
  1089. .slides section .fragment {
  1090. opacity: 1;
  1091. transition: none;
  1092. }
  1093. .slides section:after,
  1094. .slides section:before {
  1095. display: none !important;
  1096. }
  1097. .slides>section.stack {
  1098. padding: 0;
  1099. top: 0 !important;
  1100. background: none;
  1101. outline: none;
  1102. overflow: visible;
  1103. }
  1104. .backgrounds {
  1105. perspective: inherit;
  1106. // Fixes overview rendering errors in FF48+, not applied to
  1107. // other browsers since it degrades performance
  1108. -moz-transform-style: preserve-3d;
  1109. }
  1110. .backgrounds .slide-background {
  1111. opacity: 1;
  1112. visibility: visible;
  1113. // This can't be applied to the slide itself in Safari
  1114. outline: 10px solid rgba(150,150,150,0.1);
  1115. outline-offset: 10px;
  1116. }
  1117. .backgrounds .slide-background.stack {
  1118. overflow: visible;
  1119. }
  1120. }
  1121. // Disable transitions transitions while we're activating
  1122. // or deactivating the overview mode.
  1123. .reveal.overview .slides section,
  1124. .reveal.overview-deactivating .slides section {
  1125. transition: none;
  1126. }
  1127. .reveal.overview .backgrounds .slide-background,
  1128. .reveal.overview-deactivating .backgrounds .slide-background {
  1129. transition: none;
  1130. }
  1131. /*********************************************
  1132. * RTL SUPPORT
  1133. *********************************************/
  1134. .reveal.rtl .slides,
  1135. .reveal.rtl .slides h1,
  1136. .reveal.rtl .slides h2,
  1137. .reveal.rtl .slides h3,
  1138. .reveal.rtl .slides h4,
  1139. .reveal.rtl .slides h5,
  1140. .reveal.rtl .slides h6 {
  1141. direction: rtl;
  1142. font-family: sans-serif;
  1143. }
  1144. .reveal.rtl pre,
  1145. .reveal.rtl code {
  1146. direction: ltr;
  1147. }
  1148. .reveal.rtl ol,
  1149. .reveal.rtl ul {
  1150. text-align: right;
  1151. }
  1152. .reveal.rtl .progress span {
  1153. float: right
  1154. }
  1155. /*********************************************
  1156. * PARALLAX BACKGROUND
  1157. *********************************************/
  1158. .reveal.has-parallax-background .backgrounds {
  1159. transition: all 0.8s ease;
  1160. }
  1161. /* Global transition speed settings */
  1162. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1163. transition-duration: 400ms;
  1164. }
  1165. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1166. transition-duration: 1200ms;
  1167. }
  1168. /*********************************************
  1169. * OVERLAY FOR LINK PREVIEWS AND HELP
  1170. *********************************************/
  1171. .reveal > .overlay {
  1172. position: absolute;
  1173. top: 0;
  1174. left: 0;
  1175. width: 100%;
  1176. height: 100%;
  1177. z-index: 1000;
  1178. background: rgba( 0, 0, 0, 0.9 );
  1179. opacity: 0;
  1180. visibility: hidden;
  1181. transition: all 0.3s ease;
  1182. }
  1183. .reveal > .overlay.visible {
  1184. opacity: 1;
  1185. visibility: visible;
  1186. }
  1187. .reveal > .overlay .spinner {
  1188. position: absolute;
  1189. display: block;
  1190. top: 50%;
  1191. left: 50%;
  1192. width: 32px;
  1193. height: 32px;
  1194. margin: -16px 0 0 -16px;
  1195. z-index: 10;
  1196. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAA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myrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOUjY%2BYip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1197. visibility: visible;
  1198. opacity: 0.6;
  1199. transition: all 0.3s ease;
  1200. }
  1201. .reveal > .overlay header {
  1202. position: absolute;
  1203. left: 0;
  1204. top: 0;
  1205. width: 100%;
  1206. height: 40px;
  1207. z-index: 2;
  1208. border-bottom: 1px solid #222;
  1209. }
  1210. .reveal > .overlay header a {
  1211. display: inline-block;
  1212. width: 40px;
  1213. height: 40px;
  1214. line-height: 36px;
  1215. padding: 0 10px;
  1216. float: right;
  1217. opacity: 0.6;
  1218. box-sizing: border-box;
  1219. }
  1220. .reveal > .overlay header a:hover {
  1221. opacity: 1;
  1222. }
  1223. .reveal > .overlay header a .icon {
  1224. display: inline-block;
  1225. width: 20px;
  1226. height: 20px;
  1227. background-position: 50% 50%;
  1228. background-size: 100%;
  1229. background-repeat: no-repeat;
  1230. }
  1231. .reveal > .overlay header a.close .icon {
  1232. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1233. }
  1234. .reveal > .overlay header a.external .icon {
  1235. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1236. }
  1237. .reveal > .overlay .viewport {
  1238. position: absolute;
  1239. display: flex;
  1240. top: 40px;
  1241. right: 0;
  1242. bottom: 0;
  1243. left: 0;
  1244. }
  1245. .reveal > .overlay.overlay-preview .viewport iframe {
  1246. width: 100%;
  1247. height: 100%;
  1248. max-width: 100%;
  1249. max-height: 100%;
  1250. border: 0;
  1251. opacity: 0;
  1252. visibility: hidden;
  1253. transition: all 0.3s ease;
  1254. }
  1255. .reveal > .overlay.overlay-preview.loaded .viewport iframe {
  1256. opacity: 1;
  1257. visibility: visible;
  1258. }
  1259. .reveal > .overlay.overlay-preview.loaded .viewport-inner {
  1260. position: absolute;
  1261. z-index: -1;
  1262. left: 0;
  1263. top: 45%;
  1264. width: 100%;
  1265. text-align: center;
  1266. letter-spacing: normal;
  1267. }
  1268. .reveal > .overlay.overlay-preview .x-frame-error {
  1269. opacity: 0;
  1270. transition: opacity 0.3s ease 0.3s;
  1271. }
  1272. .reveal > .overlay.overlay-preview.loaded .x-frame-error {
  1273. opacity: 1;
  1274. }
  1275. .reveal > .overlay.overlay-preview.loaded .spinner {
  1276. opacity: 0;
  1277. visibility: hidden;
  1278. transform: scale(0.2);
  1279. }
  1280. .reveal > .overlay.overlay-help .viewport {
  1281. overflow: auto;
  1282. color: #fff;
  1283. }
  1284. .reveal > .overlay.overlay-help .viewport .viewport-inner {
  1285. width: 600px;
  1286. margin: auto;
  1287. padding: 20px 20px 80px 20px;
  1288. text-align: center;
  1289. letter-spacing: normal;
  1290. }
  1291. .reveal > .overlay.overlay-help .viewport .viewport-inner .title {
  1292. font-size: 20px;
  1293. }
  1294. .reveal > .overlay.overlay-help .viewport .viewport-inner table {
  1295. border: 1px solid #fff;
  1296. border-collapse: collapse;
  1297. font-size: 16px;
  1298. }
  1299. .reveal > .overlay.overlay-help .viewport .viewport-inner table th,
  1300. .reveal > .overlay.overlay-help .viewport .viewport-inner table td {
  1301. width: 200px;
  1302. padding: 14px;
  1303. border: 1px solid #fff;
  1304. vertical-align: middle;
  1305. }
  1306. .reveal > .overlay.overlay-help .viewport .viewport-inner table th {
  1307. padding-top: 20px;
  1308. padding-bottom: 20px;
  1309. }
  1310. /*********************************************
  1311. * PLAYBACK COMPONENT
  1312. *********************************************/
  1313. .reveal .playback {
  1314. position: absolute;
  1315. left: 15px;
  1316. bottom: 20px;
  1317. z-index: 30;
  1318. cursor: pointer;
  1319. transition: all 400ms ease;
  1320. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  1321. }
  1322. .reveal.overview .playback {
  1323. opacity: 0;
  1324. visibility: hidden;
  1325. }
  1326. /*********************************************
  1327. * ROLLING LINKS
  1328. *********************************************/
  1329. .reveal .roll {
  1330. display: inline-block;
  1331. line-height: 1.2;
  1332. overflow: hidden;
  1333. vertical-align: top;
  1334. perspective: 400px;
  1335. perspective-origin: 50% 50%;
  1336. }
  1337. .reveal .roll:hover {
  1338. background: none;
  1339. text-shadow: none;
  1340. }
  1341. .reveal .roll span {
  1342. display: block;
  1343. position: relative;
  1344. padding: 0 2px;
  1345. pointer-events: none;
  1346. transition: all 400ms ease;
  1347. transform-origin: 50% 0%;
  1348. transform-style: preserve-3d;
  1349. backface-visibility: hidden;
  1350. }
  1351. .reveal .roll:hover span {
  1352. background: rgba(0,0,0,0.5);
  1353. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1354. }
  1355. .reveal .roll span:after {
  1356. content: attr(data-title);
  1357. display: block;
  1358. position: absolute;
  1359. left: 0;
  1360. top: 0;
  1361. padding: 0 2px;
  1362. backface-visibility: hidden;
  1363. transform-origin: 50% 0%;
  1364. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1365. }
  1366. /*********************************************
  1367. * SPEAKER NOTES
  1368. *********************************************/
  1369. $notesWidthPercent: 25%;
  1370. // Hide on-page notes
  1371. .reveal aside.notes {
  1372. display: none;
  1373. }
  1374. // An interface element that can optionally be used to show the
  1375. // speaker notes to all viewers, on top of the presentation
  1376. .reveal .speaker-notes {
  1377. display: none;
  1378. position: absolute;
  1379. width: $notesWidthPercent / (1-$notesWidthPercent/100) * 1%;
  1380. height: 100%;
  1381. top: 0;
  1382. left: 100%;
  1383. padding: 14px 18px 14px 18px;
  1384. z-index: 1;
  1385. font-size: 18px;
  1386. line-height: 1.4;
  1387. border: 1px solid rgba( 0, 0, 0, 0.05 );
  1388. color: #222;
  1389. background-color: #f5f5f5;
  1390. overflow: auto;
  1391. box-sizing: border-box;
  1392. text-align: left;
  1393. font-family: Helvetica, sans-serif;
  1394. -webkit-overflow-scrolling: touch;
  1395. .notes-placeholder {
  1396. color: #ccc;
  1397. font-style: italic;
  1398. }
  1399. &:focus {
  1400. outline: none;
  1401. }
  1402. &:before {
  1403. content: 'Speaker notes';
  1404. display: block;
  1405. margin-bottom: 10px;
  1406. opacity: 0.5;
  1407. }
  1408. }
  1409. .reveal.show-notes {
  1410. max-width: 100% - $notesWidthPercent;
  1411. overflow: visible;
  1412. }
  1413. .reveal.show-notes .speaker-notes {
  1414. display: block;
  1415. }
  1416. @media screen and (min-width: 1600px) {
  1417. .reveal .speaker-notes {
  1418. font-size: 20px;
  1419. }
  1420. }
  1421. @media screen and (max-width: 1024px) {
  1422. .reveal.show-notes {
  1423. border-left: 0;
  1424. max-width: none;
  1425. max-height: 70%;
  1426. max-height: 70vh;
  1427. overflow: visible;
  1428. }
  1429. .reveal.show-notes .speaker-notes {
  1430. top: 100%;
  1431. left: 0;
  1432. width: 100%;
  1433. height: (30/0.7)*1%;
  1434. height: 30vh;
  1435. border: 0;
  1436. }
  1437. }
  1438. @media screen and (max-width: 600px) {
  1439. .reveal.show-notes {
  1440. max-height: 60%;
  1441. max-height: 60vh;
  1442. }
  1443. .reveal.show-notes .speaker-notes {
  1444. top: 100%;
  1445. height: (40/0.6)*1%;
  1446. height: 40vh;
  1447. }
  1448. .reveal .speaker-notes {
  1449. font-size: 14px;
  1450. }
  1451. }
  1452. /*********************************************
  1453. * ZOOM PLUGIN
  1454. *********************************************/
  1455. .zoomed .reveal *,
  1456. .zoomed .reveal *:before,
  1457. .zoomed .reveal *:after {
  1458. backface-visibility: visible !important;
  1459. }
  1460. .zoomed .reveal .progress,
  1461. .zoomed .reveal .controls {
  1462. opacity: 0;
  1463. }
  1464. .zoomed .reveal .roll span {
  1465. background: none;
  1466. }
  1467. .zoomed .reveal .roll span:after {
  1468. visibility: hidden;
  1469. }