default.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131
  1. @import "base";
  2. @import "compass/css3/columns";
  3. @import "compass/css3/user-interface";
  4. @mixin highlight-color($color: $brand-yellow) {
  5. -webkit-tap-highlight-color: $color;
  6. -moz-tap-highlight-color: $color;
  7. -ms-tap-highlight-color: $color;
  8. -o-tap-highlight-color: $color;
  9. tap-highlight-color: $color;
  10. }
  11. @mixin backdrop {
  12. @include background(linear-gradient(white, white 85%, $gray-1));
  13. background-color: white;
  14. }
  15. /**
  16. * Theme Styles
  17. */
  18. ::selection {
  19. color: white;
  20. background-color: $brand-yellow;
  21. @include text-shadow(none);
  22. }
  23. ::-webkit-scrollbar {
  24. height: 16px;
  25. overflow: visible;
  26. width: 16px;
  27. }
  28. ::-webkit-scrollbar-thumb {
  29. background-color: rgba(0, 0, 0, .1);
  30. background-clip: padding-box;
  31. border: solid transparent;
  32. min-height: 28px;
  33. padding: 100px 0 0;
  34. @include box-shadow(inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07));
  35. border-width: 1px 1px 1px 6px;
  36. }
  37. ::-webkit-scrollbar-thumb:hover {
  38. background-color: rgba(0, 0, 0, 0.5);
  39. }
  40. ::-webkit-scrollbar-button {
  41. height: 0;
  42. width: 0;
  43. }
  44. ::-webkit-scrollbar-track {
  45. background-clip: padding-box;
  46. border: solid transparent;
  47. border-width: 0 0 0 4px;
  48. }
  49. ::-webkit-scrollbar-corner {
  50. background: transparent;
  51. }
  52. body {
  53. background: black;
  54. }
  55. slides > slide {
  56. display: none;
  57. font-family: 'Open Sans', Arial, sans-serif;
  58. font-size: 26px;
  59. color: $gray-3;
  60. //@include background(linear-gradient(white, white 85%, $gray-1));
  61. //background-color: white;
  62. width: $slide-width;
  63. height: $slide-height;
  64. margin-left: -$slide-width / 2;
  65. margin-top: -$slide-height / 2;
  66. padding: $slide-top-bottom-padding $slide-left-right-padding;
  67. @include border-radius($slide-border-radius);
  68. //@include box-shadow(5px 5px 20px $gray-4);
  69. @include transition(all 0.6s ease-in-out);
  70. //$translateX: 1020px;
  71. //$rotateY: 30deg;
  72. //$rotateX: 45deg;
  73. &.far-past {
  74. //display: block;
  75. display: none;
  76. //@include transform(translate(-$translateX * 2));
  77. //@include transform(translate3d(-$translateX * 2, 0, 0));
  78. }
  79. &.past {
  80. display: block;
  81. //@include transform(translate(-$translateX) rotateY($rotateY) rotateX($rotateX));
  82. //@include transform(translate3d(-$translateX, 0, 0) rotateY($rotateY) rotateX($rotateX));
  83. opacity: 0;
  84. }
  85. &.current {
  86. display: block;
  87. //@include transform(translate(0));
  88. //@include transform(translate3d(0, 0, 0));
  89. opacity: 1;
  90. .auto-fadein {
  91. opacity: 1;
  92. }
  93. .gdbar {
  94. @include background-size(100% 100%);
  95. }
  96. }
  97. &.next {
  98. display: block;
  99. //@include transform(translate($translateX) rotateY(-$rotateY) rotateX($rotateX));
  100. //@include transform(translate3d($translateX, 0, 0) rotateY(-$rotateY) rotateX($rotateX));
  101. opacity: 0;
  102. pointer-events: none;
  103. }
  104. &.far-next {
  105. //display: block;
  106. display: none;
  107. //@include transform(translate($translateX * 2));
  108. //@include transform(translate3d($translateX * 2, 0, 0));
  109. }
  110. &.dark {
  111. background: $gray-4 !important;
  112. }
  113. &:not(.nobackground) {
  114. //background: white url(../../images/google_developers_icon_128.png) ($brand-small-icon-size * 2) 98% no-repeat;
  115. //@include background-size($brand-small-icon-size $brand-small-icon-size);
  116. &:before {
  117. font-size: 12pt;
  118. content: $social-tags;
  119. position: absolute;
  120. bottom: $slide-top-bottom-padding / 2;
  121. left: $slide-left-right-padding;
  122. background: url(../../images/google_developers_icon_128.png) no-repeat 0 50%;
  123. @include background-size($brand-small-icon-size $brand-small-icon-size);
  124. padding-left: $brand-small-icon-size + 10;
  125. height: $brand-small-icon-size;
  126. line-height: 1.9;
  127. }
  128. &:after {
  129. font-size: 12pt;
  130. content: attr(data-slide-num) '/' attr(data-total-slides);
  131. position: absolute;
  132. bottom: $slide-top-bottom-padding / 2;
  133. right: $slide-left-right-padding;
  134. line-height: 1.9;
  135. }
  136. }
  137. &.title-slide {
  138. &:after {
  139. content: '';
  140. //background: url(../../images/io2012_logo.png) no-repeat 100% 50%;
  141. //@include background-size(contain);
  142. position: absolute;
  143. bottom: $slide-top-bottom-padding;
  144. right: $slide-top-bottom-padding;
  145. width: 100%;
  146. height: 60px;
  147. }
  148. }
  149. &.backdrop {
  150. z-index: -10;
  151. display: block !important;
  152. @include backdrop;
  153. &:after, &:before {
  154. display: none; // Prevent double set of slide nums and footer icons.
  155. }
  156. }
  157. > hgroup + article {
  158. margin-top: $article-content-top-padding;
  159. &.flexbox {
  160. &.vcenter, &.vleft, &.vright {
  161. height: 80%;
  162. }
  163. }
  164. p {
  165. margin-bottom: 1em;
  166. }
  167. }
  168. > article:only-child {
  169. height: 100%;
  170. > iframe {
  171. height: 98%;
  172. }
  173. }
  174. }
  175. slides.layout-faux-widescreen > slide {
  176. padding: $slide-top-bottom-padding 160px;
  177. }
  178. slides.layout-widescreen,
  179. slides.layout-faux-widescreen {
  180. $translateX: 1130px;
  181. > slide {
  182. margin-left: -$slide-width-widescreen / 2;
  183. width: $slide-width-widescreen;
  184. }
  185. > slide.far-past {
  186. display: block;
  187. display: none;
  188. @include transform(translate(-$translateX * 2));
  189. @include transform(translate3d(-$translateX * 2, 0, 0));
  190. }
  191. > slide.past {
  192. display: block;
  193. //@include transform(translate(-$translateX));
  194. //@include transform(translate3d(-$translateX, 0, 0));
  195. opacity: 0;
  196. }
  197. > slide.current {
  198. display: block;
  199. //@include transform(translate(0));
  200. //@include transform(translate3d(0, 0, 0));
  201. opacity: 1;
  202. }
  203. > slide.next {
  204. display: block;
  205. //@include transform(translate($translateX));
  206. //@include transform(translate3d($translateX, 0, 0));
  207. opacity: 0;
  208. pointer-events: none;
  209. }
  210. > slide.far-next {
  211. display: block;
  212. display: none;
  213. @include transform(translate($translateX * 2));
  214. @include transform(translate3d($translateX * 2, 0, 0));
  215. }
  216. #prev-slide-area {
  217. margin-left: -$slide-width-widescreen / 2 - $slide-tap-area-width;
  218. }
  219. #next-slide-area {
  220. margin-left: $slide-width-widescreen / 2;
  221. }
  222. }
  223. b {
  224. font-weight: 600;
  225. }
  226. a {
  227. color: $brand-blue-secondary2;
  228. text-decoration: none;
  229. border-bottom: 1px solid rgba(42, 124, 223, 0.5);
  230. &:hover {
  231. color: black !important;
  232. }
  233. }
  234. h1, h2, h3 {
  235. font-weight: 600;
  236. }
  237. h2 {
  238. font-size: 45px;
  239. line-height: 45px;
  240. letter-spacing: -2px;
  241. color: $gray-4;
  242. }
  243. h3 {
  244. font-size: 30px;
  245. letter-spacing: -1px;
  246. line-height: 2;
  247. font-weight: inherit;
  248. color: $gray-3;
  249. }
  250. ul {
  251. margin-bottom: 1.2em;
  252. margin-left: 1.2em;
  253. position: relative;
  254. li {
  255. ul {
  256. margin-left: 2em;
  257. margin-bottom: 1.2em;
  258. }
  259. }
  260. }
  261. ol {
  262. margin-bottom: 1.2em;
  263. margin-left: 1.2em;
  264. position: relative;
  265. li {
  266. ol {
  267. margin-left: 2em;
  268. margin-bottom: 1.2em;
  269. }
  270. }
  271. }
  272. // Code highlighting only effects the current slide.
  273. .highlight-code slide.current {
  274. pre > * {
  275. opacity: 0.25;
  276. @include transition(opacity 0.5s ease-in);
  277. }
  278. b {
  279. opacity: 1;
  280. }
  281. }
  282. pre {
  283. font-family: 'Source Code Pro', 'Courier New', monospace;
  284. font-size: 20px;
  285. line-height: 28px;
  286. padding: 10px 0 10px $slide-left-right-padding;
  287. letter-spacing: -1px;
  288. margin-bottom: 20px;
  289. width: 106%;
  290. background-color: $gray-1;
  291. left: -$slide-left-right-padding;
  292. position: relative;
  293. @include box-sizing(border-box);
  294. /*overflow: hidden;*/
  295. &[data-lang]:after {
  296. content: attr(data-lang);
  297. background-color: $gray-2;
  298. right: 0;
  299. top: 0;
  300. position: absolute;
  301. font-size: 16pt;
  302. color: white;
  303. padding: 2px 25px;
  304. text-transform: uppercase;
  305. }
  306. }
  307. pre[data-lang="go"] {
  308. color: #333;
  309. }
  310. code {
  311. font-size: 95%;
  312. font-family: 'Source Code Pro', 'Courier New', monospace;
  313. color: $gray-4;
  314. background-color: $gray-1;
  315. padding:0 0.25em;
  316. border-radius:0.1em;
  317. }
  318. iframe {
  319. width: 100%;
  320. height: $slide-height - ($slide-top-bottom-padding * 2) - ($article-content-top-padding * 2);
  321. background: white;
  322. border: 1px solid $gray-1;
  323. @include box-sizing(border-box);
  324. }
  325. dt {
  326. font-weight: bold;
  327. }
  328. button {
  329. display: inline-block;
  330. @include background(linear-gradient(#F9F9F9 40%, #E3E3E3 70%));
  331. border: 1px solid $gray-2;
  332. @include border-radius(3px);
  333. padding: 5px 8px;
  334. outline: none;
  335. white-space: nowrap;
  336. @include user-select(none);
  337. cursor: pointer;
  338. @include text-shadow(1px 1px #fff);
  339. font-size: 10pt;
  340. }
  341. button:not(:disabled):hover {
  342. border-color: $gray-4;
  343. }
  344. button:not(:disabled):active {
  345. @include background(linear-gradient(#E3E3E3 40%, #F9F9F9 70%));
  346. }
  347. :disabled {
  348. color: $gray-2;
  349. }
  350. .blue {
  351. color: $brand-blue;
  352. }
  353. .blue2 {
  354. color: $brand-blue-secondary;
  355. }
  356. .blue3 {
  357. color: $brand-blue-secondary2;
  358. }
  359. .yellow {
  360. color: $brand-yellow;
  361. }
  362. .yellow2 {
  363. color: $brand-yellow-secondary;
  364. }
  365. .yellow3 {
  366. color: $brand-yellow-secondary2;
  367. }
  368. .green {
  369. color: $brand-green;
  370. }
  371. .green2 {
  372. color: $brand-green-secondary;
  373. }
  374. .green3 {
  375. color: $brand-green-secondary2;
  376. }
  377. .red {
  378. color: $brand-red;
  379. }
  380. .red2 {
  381. color: $brand-red-secondary;
  382. }
  383. .red3 {
  384. color: $brand-red-secondary2;
  385. }
  386. .gray {
  387. color: $gray-1;
  388. }
  389. .gray2 {
  390. color: $gray-2;
  391. }
  392. .gray3 {
  393. color: $gray-3;
  394. }
  395. .gray4 {
  396. color: $gray-4;
  397. }
  398. .white {
  399. color: white !important;
  400. }
  401. .black {
  402. color: black !important;
  403. }
  404. .columns-2 {
  405. @include column-count(2);
  406. }
  407. table {
  408. width: 100%;
  409. border-collapse: -moz-initial;
  410. border-collapse: initial;
  411. border-spacing: 2px;
  412. border-bottom: none;
  413. border-top: none;
  414. tr > td:first-child, th {
  415. font-weight: 600;
  416. color: $gray-4;
  417. }
  418. tr:nth-child(odd) {
  419. background-color: $hiroko-table-odd;
  420. }
  421. th {
  422. color: white;
  423. font-size: 0.8px;
  424. background: $hiroko-table-header;
  425. }
  426. td, th {
  427. font-size: 0.8em;
  428. padding: 0.5em 0.5em;
  429. }
  430. td.highlight {
  431. color: $gray-4;
  432. background-color: $hiroko-highlight;
  433. }
  434. &.rows {
  435. border-bottom: none;
  436. border-right: 1px solid $gray-3;
  437. }
  438. }
  439. q {
  440. font-size: 45px;
  441. line-height: 72px;
  442. &:before {
  443. content: '“';
  444. position: absolute;
  445. margin-left: -0.5em;
  446. }
  447. &:after {
  448. content: '”';
  449. position: absolute;
  450. margin-left: 0.1em;
  451. }
  452. }
  453. .footpara {
  454. margin: 0;
  455. }
  456. slide.fill {
  457. background-repeat: no-repeat;
  458. @include border-radius($slide-border-radius);
  459. @include background-size(cover);
  460. }
  461. /* Size variants */
  462. article.smaller {
  463. p, ul, li {
  464. font-size: 20px;
  465. line-height: 24px;
  466. letter-spacing: 0;
  467. }
  468. table {
  469. td, th {
  470. font-size: 14px;
  471. }
  472. }
  473. pre {
  474. font-size: 15px;
  475. line-height: 20px;
  476. letter-spacing: 0;
  477. }
  478. q {
  479. font-size: 40px;
  480. line-height: 48px;
  481. &:before, &:after {
  482. font-size: 60px;
  483. }
  484. }
  485. }
  486. article.larger {
  487. p, ul, li {
  488. font-size: 36px;
  489. line-height: 42px;
  490. letter-spacing: 0;
  491. }
  492. table {
  493. td, th {
  494. font-size: 20px;
  495. }
  496. }
  497. pre {
  498. font-size: 32px;
  499. line-height: 36px;
  500. letter-spacing: 0;
  501. }
  502. q {
  503. font-size: 54px;
  504. line-height: 60px;
  505. &:before, &:after {
  506. font-size: 72px;
  507. }
  508. }
  509. }
  510. article.large {
  511. p, ul, li {
  512. font-size: 42px;
  513. line-height: 52px;
  514. letter-spacing: 0;
  515. }
  516. table {
  517. td, th {
  518. font-size: 26px;
  519. }
  520. }
  521. pre {
  522. font-size: 42px;
  523. line-height: 52px;
  524. letter-spacing: 0;
  525. }
  526. q {
  527. font-size: 42px;
  528. line-height: 52px;
  529. &:before, &:after {
  530. font-size: 52px;
  531. }
  532. }
  533. }
  534. /* Builds */
  535. .build {
  536. > * {
  537. @include transition(opacity 0.5s ease-in-out 0.2s);
  538. }
  539. .to-build {
  540. opacity: 0;
  541. }
  542. .build-fade {
  543. opacity: 0.3;
  544. &:hover {
  545. opacity: 1.0;
  546. }
  547. }
  548. }
  549. .popup .next .build {
  550. .to-build {
  551. opacity: 1;
  552. }
  553. .build-fade {
  554. opacity: 1;
  555. }
  556. }
  557. /* Pretty print */
  558. .prettyprint .str, /* string content */
  559. .prettyprint .atv { /* a markup attribute value */
  560. color: $brand-green-secondary2; //rgb(0, 138, 53);
  561. }
  562. .prettyprint .kwd, /* a keyword */
  563. .prettyprint .tag { /* a markup tag name */
  564. color: rgb(0, 102, 204);
  565. }
  566. .prettyprint .com { /* a comment */
  567. color: $gray-3; //rgb(127, 127, 127);
  568. font-style: italic;
  569. }
  570. .prettyprint .lit { /* a literal value */
  571. color: rgb(127, 0, 0);
  572. }
  573. .prettyprint .pun, /* punctuation, lisp open bracket, lisp close bracket */
  574. .prettyprint .opn,
  575. .prettyprint .clo {
  576. color: $gray-4; //rgb(127, 127, 127);
  577. }
  578. .prettyprint .typ, /* a type name */
  579. .prettyprint .atn, /* a markup attribute name */
  580. .prettyprint .dec,
  581. .prettyprint .var { /* a declaration; a variable name */
  582. color: $brand-red-secondary2; //rgb(127, 0, 127);
  583. }
  584. .prettyprint .pln {
  585. color: $gray-4;
  586. }
  587. .note {
  588. position: absolute;
  589. z-index: 100;
  590. width: 100%;
  591. height: 100%;
  592. top: 0;
  593. left: 0;
  594. padding: 1em;
  595. background: rgba(0, 0, 0, 0.3);
  596. opacity: 0;
  597. pointer-events: none;
  598. @include flexbox;
  599. @include flex-center-center;
  600. @include border-radius($slide-border-radius);
  601. @include box-sizing(border-box);
  602. @include transform(translateY($slide-height / 2));@include transition(all 0.4s ease-in-out);
  603. > section {
  604. background: #fff;
  605. @include border-radius($slide-border-radius);
  606. @include box-shadow(0 0 10px $gray-3);
  607. width: 60%;
  608. padding: 2em;
  609. }
  610. }
  611. // Speaker notes only show the current slide.
  612. .with-notes {
  613. &.popup {
  614. slides.layout-widescreen,
  615. slides.layout-faux-widescreen {
  616. slide {
  617. &.next {
  618. @include transform(translate3d($slide-width-widescreen / 2 + 140, 80px, 0) scale(0.35));
  619. }
  620. .note {
  621. @include transform(translate3d(300px, $slide-height + 100, 0) scale(1.5));
  622. }
  623. }
  624. }
  625. slide {
  626. overflow: visible;
  627. background: white;
  628. @include transition(none); // No slide transition goodies when in presenter mode.
  629. pointer-events: none;
  630. @include transform-origin(0, 0); // For speaker note transition.
  631. &:not(.backdrop) {
  632. @include transform(scale(0.6) translate3d(0.5em, 0.5em, 0));
  633. @include box-shadow(0 0 10px $gray-3);
  634. }
  635. &.backdrop {
  636. //@include background(linear-gradient($gray-1, white 30%, white 60%, $gray-1));
  637. @include background-image(radial-gradient(50% 50%, #b1dfff 0%,
  638. $brand-blue 600px));
  639. }
  640. &.next {
  641. @include transform(translate3d($slide-width / 2 + 120, 80px, 0) scale(0.35));
  642. opacity: 1 !important;
  643. .note {
  644. display: none !important; // Prevents seeing notes if we go to previous slide.
  645. }
  646. }
  647. }
  648. .note {
  649. width: 109%;
  650. height: $slide-height / 2 - 90;
  651. background: $gray-1;
  652. padding: 0;
  653. @include box-shadow(0 0 10px $gray-3);
  654. @include transform(translate3d(250px, $slide-height + 100, 0) scale(1.5));
  655. @include transition(opacity 400ms ease-in-out);
  656. > section {
  657. background: #fff;
  658. @include border-radius($slide-border-radius);
  659. height: 100%;
  660. width: 100%;
  661. @include box-sizing(border-box);
  662. @include box-shadow(none);
  663. overflow: auto;
  664. padding: 1em;
  665. }
  666. }
  667. }
  668. .note {
  669. opacity: 1;
  670. @include transform(translateY(0));
  671. pointer-events: auto; // Allow people to do things like open links embedded in the speaker notes.
  672. }
  673. }
  674. .source {
  675. font-size: 14px;
  676. color: $gray-2;
  677. position: absolute;
  678. bottom: $slide-top-bottom-padding + 30px;
  679. left: $slide-left-right-padding;
  680. }
  681. .centered {
  682. text-align: center;
  683. }
  684. .float-right {
  685. float: right;
  686. }
  687. .float-left {
  688. float: left;
  689. }
  690. .z-index-999 {
  691. position: relative;
  692. z-index: 999;
  693. }
  694. blockquote, p.verse {
  695. font-style: italic;
  696. font-family: 'Times New Roman', Times, serif !important;
  697. padding: 1em 1em;
  698. background-color: #FCF7E8;
  699. border-left: 0.2em solid #C6BB9F;
  700. color: #616161;
  701. quotes: '\201C''\201D''\2018''\2019';
  702. p {
  703. margin-top: 0;
  704. margin-bottom: 0 !important;
  705. }
  706. }
  707. .reflect {
  708. -webkit-box-reflect: below 3px -webkit-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
  709. -moz-box-reflect: below 3px -moz-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
  710. -o-box-reflect: below 3px -o-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
  711. -ms-box-reflect: below 3px -ms-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
  712. box-reflect: below 3px linear-gradient(rgba(255,255,255,0) 85%, white 150%);
  713. }
  714. .flexbox {
  715. @include flexbox;
  716. }
  717. .flexbox.vcenter {
  718. @include flex-center-center;
  719. height: 100%;
  720. width: 100%;
  721. }
  722. .flexbox.vleft {
  723. @include flex-left-center;
  724. height: 100%;
  725. width: 100%;
  726. }
  727. .flexbox.vright {
  728. @include flex-right-center;
  729. height: 100%;
  730. width: 100%;
  731. }
  732. .auto-fadein {
  733. @include transition(opacity 0.6s ease-in 1s);
  734. opacity: 0;
  735. }
  736. /* Clickable/tappable areas */
  737. .slide-area {
  738. z-index: 1000;
  739. position: absolute;
  740. left: 0;
  741. top: 0;
  742. width: $slide-tap-area-width;
  743. height: $slide-height;
  744. left: 50%;
  745. top: 50%;
  746. cursor: pointer;
  747. margin-top: -$slide-height / 2;
  748. //@include highlight-color(rgba(51, 51, 51, 0.5));
  749. }
  750. #prev-slide-area {
  751. margin-left: -$slide-width-widescreen / 2;
  752. //@include border-radius(10px 0 0 10px);
  753. //@include box-shadow(-5px 0 10px #222 inset);
  754. }
  755. #next-slide-area {
  756. margin-left: $slide-width / 2;
  757. //@include border-radius(0 10px 10px 0);
  758. //@include box-shadow(5px 0 10px #222 inset);
  759. }
  760. /* ===== SLIDE CONTENT ===== */
  761. .logoslide {
  762. img {
  763. width: 383px;
  764. height: 92px;
  765. }
  766. }
  767. .segue {
  768. padding: $slide-left-right-padding $slide-left-right-padding * 2;
  769. h2 {
  770. color: $gray-1;
  771. font-size: 60px;
  772. }
  773. h3 {
  774. color: $gray-1;
  775. line-height: 2.8;
  776. }
  777. hgroup {
  778. position: absolute;
  779. bottom: 225px;
  780. }
  781. }
  782. .thank-you-slide {
  783. background: $brand-blue !important;
  784. color: white;
  785. h2 {
  786. font-size: 60px;
  787. color: inherit;
  788. }
  789. article > p {
  790. margin-top: 2em;
  791. font-size: 20pt;
  792. }
  793. > p {
  794. position: absolute;
  795. bottom: $slide-top-bottom-padding * 2;
  796. font-size: 24pt;
  797. line-height: 1.3;
  798. }
  799. }
  800. aside.gdbar {
  801. height: 97px;
  802. width: 215px;
  803. position: absolute;
  804. left: -1px;
  805. top: 125px;
  806. @include border-radius(0 10px 10px 0);
  807. @include background(linear-gradient(left, $gray-1, $gray-1) no-repeat);
  808. @include background-size(0% 100%);
  809. @include transition(all 0.5s ease-out 0.5s); /* Better to transition only on background-size, but not sure how to do that with the mixin. */
  810. &.right {
  811. right: 0;
  812. left: -moz-initial;
  813. left: initial;
  814. top: ($slide-height / 2) - 96; /* 96 is height of gray icon bar */
  815. @include transform(rotateZ(180deg));
  816. img {
  817. @include transform(rotateZ(180deg));
  818. }
  819. }
  820. &.bottom {
  821. top: -moz-initial;
  822. top: initial;
  823. bottom: $slide-left-right-padding;
  824. }
  825. img {
  826. width: 85px;
  827. height: 85px;
  828. position: absolute;
  829. right: 0;
  830. margin: 8px 15px;
  831. }
  832. }
  833. .title-slide {
  834. hgroup {
  835. bottom: 100px;
  836. h1 {
  837. font-size: 65px;
  838. line-height: 1.4;
  839. letter-spacing: -3px;
  840. color: $gray-4;
  841. }
  842. h2 {
  843. font-size: 34px;
  844. color: $gray-2;
  845. font-weight: inherit;
  846. }
  847. p {
  848. font-size: 20px;
  849. color: $gray-3;
  850. line-height: 1.3;
  851. margin-top: 2em;
  852. }
  853. }
  854. }
  855. .quote {
  856. color: $gray-1;
  857. .author {
  858. font-size: 24px;
  859. position: absolute;
  860. bottom: 80px;
  861. line-height: 1.4;
  862. }
  863. }
  864. [data-config-contact] {
  865. a {
  866. color: rgb(255, 255, 255);
  867. border-bottom: none;
  868. }
  869. span {
  870. width: 115px;
  871. display: inline-block;
  872. }
  873. }
  874. .overview {
  875. &.popup {
  876. .note {
  877. display: none !important;
  878. }
  879. }
  880. slides {
  881. slide {
  882. &.backdrop {
  883. display: none !important;
  884. }
  885. display: block;
  886. cursor: pointer;
  887. opacity: 0.5;
  888. pointer-events: auto !important;
  889. @include backdrop();
  890. &.far-past,
  891. &.past,
  892. &.next,
  893. &.far-next,
  894. &.far-past {
  895. opacity: 0.5;
  896. display: block;
  897. }
  898. &.current {
  899. opacity: 1;
  900. }
  901. }
  902. }
  903. .slide-area {
  904. display: none;
  905. }
  906. }
  907. @media print {
  908. slides {
  909. slide {
  910. display: block !important;
  911. position: relative;
  912. @include backdrop();
  913. @include transform(none !important);
  914. width: 100%;
  915. height: 100%;
  916. page-break-after:always;
  917. top: auto !important;
  918. left: auto !important;
  919. margin-top: 0 !important;
  920. margin-left: 0 !important;
  921. opacity: 1 !important;
  922. color: #555;
  923. &.far-past,
  924. &.past,
  925. &.next,
  926. &.far-next,
  927. &.far-past,
  928. &.current {
  929. opacity: 1 !important;
  930. display: block !important;
  931. }
  932. .build {
  933. > * {
  934. @include transition(none);
  935. }
  936. .to-build,
  937. .build-fade {
  938. opacity: 1;
  939. }
  940. }
  941. .auto-fadein {
  942. opacity: 1 !important;
  943. }
  944. &.backdrop {
  945. display: none !important;
  946. }
  947. table.rows {
  948. border-right: 0;
  949. }
  950. }
  951. slide[hidden] {
  952. display: none !important;
  953. }
  954. }
  955. .slide-area {
  956. display: none;
  957. }
  958. .reflect {
  959. -webkit-box-reflect: none;
  960. -moz-box-reflect: none;
  961. -o-box-reflect: none;
  962. -ms-box-reflect: none;
  963. box-reflect: none;
  964. }
  965. pre, code {
  966. font-family: monospace !important;
  967. }
  968. }