You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1823 line
44KB

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