From d8cb2f9460da3ca6248d9aed429e8e94b7f29e99 Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sat, 21 Apr 2012 17:06:54 -0700 Subject: sass dir to scss --- theme/css/default.css | 306 ++++++++-------- theme/css/phone.css | 2 +- theme/sass/_base.scss | 128 ------- theme/sass/default.scss | 937 ------------------------------------------------ theme/sass/phone.scss | 35 -- theme/scss/_base.scss | 128 +++++++ theme/scss/default.scss | 937 ++++++++++++++++++++++++++++++++++++++++++++++++ theme/scss/phone.scss | 35 ++ 8 files changed, 1254 insertions(+), 1254 deletions(-) delete mode 100644 theme/sass/_base.scss delete mode 100644 theme/sass/default.scss delete mode 100644 theme/sass/phone.scss create mode 100644 theme/scss/_base.scss create mode 100644 theme/scss/default.scss create mode 100644 theme/scss/phone.scss (limited to 'theme') diff --git a/theme/css/default.css b/theme/css/default.css index deff045..722620f 100644 --- a/theme/css/default.css +++ b/theme/css/default.css @@ -66,13 +66,13 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, /** * Base SlideDeck Styles */ -/* line 42, ../sass/_base.scss */ +/* line 42, ../scss/_base.scss */ html { height: 100%; overflow: hidden; } -/* line 47, ../sass/_base.scss */ +/* line 47, ../scss/_base.scss */ body { margin: 0; padding: 0; @@ -92,22 +92,22 @@ body { -o-transition: opacity 800ms ease-in 100ms; transition: opacity 800ms ease-in 100ms; } -/* line 63, ../sass/_base.scss */ +/* line 63, ../scss/_base.scss */ body.loaded { opacity: 1; } -/* line 68, ../sass/_base.scss */ +/* line 68, ../scss/_base.scss */ input, button { vertical-align: middle; } -/* line 72, ../sass/_base.scss */ +/* line 72, ../scss/_base.scss */ slides > slide[hidden] { display: none !important; } -/* line 76, ../sass/_base.scss */ +/* line 76, ../scss/_base.scss */ slides { width: 100%; height: 100%; @@ -125,7 +125,7 @@ slides { transform-style: preserve-3d; } -/* line 87, ../sass/_base.scss */ +/* line 87, ../scss/_base.scss */ slides > slide { display: block; position: absolute; @@ -171,21 +171,21 @@ slide.fill img { /** * Theme Styles */ -/* line 51, ../sass/default.scss */ +/* line 51, ../scss/default.scss */ ::selection { color: white; background-color: #ffd14d; text-shadow: none; } -/* line 57, ../sass/default.scss */ +/* line 57, ../scss/default.scss */ ::-webkit-scrollbar { height: 16px; overflow: visible; width: 16px; } -/* line 62, ../sass/default.scss */ +/* line 62, ../scss/default.scss */ ::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.1); background-clip: padding-box; @@ -198,35 +198,35 @@ slide.fill img { border-width: 1px 1px 1px 6px; } -/* line 71, ../sass/default.scss */ +/* line 71, ../scss/default.scss */ ::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.5); } -/* line 74, ../sass/default.scss */ +/* line 74, ../scss/default.scss */ ::-webkit-scrollbar-button { height: 0; width: 0; } -/* line 78, ../sass/default.scss */ +/* line 78, ../scss/default.scss */ ::-webkit-scrollbar-track { background-clip: padding-box; border: solid transparent; border-width: 0 0 0 4px; } -/* line 83, ../sass/default.scss */ +/* line 83, ../scss/default.scss */ ::-webkit-scrollbar-corner { background: transparent; } -/* line 87, ../sass/default.scss */ +/* line 87, ../scss/default.scss */ body { background: black; } -/* line 91, ../sass/default.scss */ +/* line 91, ../scss/default.scss */ slides > slide { display: none; font-family: 'Open Sans', Arial, sans-serif; @@ -248,46 +248,46 @@ slides > slide { -o-transition: all 0.6s ease-in-out; transition: all 0.6s ease-in-out; } -/* line 112, ../sass/default.scss */ +/* line 112, ../scss/default.scss */ slides > slide.far-past { display: none; } -/* line 119, ../sass/default.scss */ +/* line 119, ../scss/default.scss */ slides > slide.past { display: block; opacity: 0; } -/* line 126, ../sass/default.scss */ +/* line 126, ../scss/default.scss */ slides > slide.current { display: block; opacity: 1; } -/* line 132, ../sass/default.scss */ +/* line 132, ../scss/default.scss */ slides > slide.current .auto-fadein { opacity: 1; } -/* line 136, ../sass/default.scss */ +/* line 136, ../scss/default.scss */ slides > slide.current .gdbar { -webkit-background-size: 100% 100%; -moz-background-size: 100% 100%; -o-background-size: 100% 100%; background-size: 100% 100%; } -/* line 141, ../sass/default.scss */ +/* line 141, ../scss/default.scss */ slides > slide.next { display: block; opacity: 0; pointer-events: none; } -/* line 149, ../sass/default.scss */ +/* line 149, ../scss/default.scss */ slides > slide.far-next { display: none; } -/* line 156, ../sass/default.scss */ +/* line 156, ../scss/default.scss */ slides > slide.dark { background: #515151 !important; } -/* line 164, ../sass/default.scss */ +/* line 164, ../scss/default.scss */ slides > slide:not(.nobackground):before { font-size: 12pt; content: "#io2012"; @@ -303,7 +303,7 @@ slides > slide:not(.nobackground):before { height: 30px; line-height: 1.9; } -/* line 176, ../sass/default.scss */ +/* line 176, ../scss/default.scss */ slides > slide:not(.nobackground):after { font-size: 12pt; content: attr(data-slide-num) "/" attr(data-total-slides); @@ -312,7 +312,7 @@ slides > slide:not(.nobackground):after { right: 60px; line-height: 1.9; } -/* line 187, ../sass/default.scss */ +/* line 187, ../scss/default.scss */ slides > slide.title-slide:after { content: ''; background: url(../../images/io2012_logo.png) no-repeat 100% 50%; @@ -326,7 +326,7 @@ slides > slide.title-slide:after { width: 100%; height: 60px; } -/* line 199, ../sass/default.scss */ +/* line 199, ../scss/default.scss */ slides > slide.backdrop { z-index: -10; display: block !important; @@ -338,39 +338,39 @@ slides > slide.backdrop { background: linear-gradient(#ffffff, #ffffff 85%, #e6e6e6); background-color: white; } -/* line 205, ../sass/default.scss */ +/* line 205, ../scss/default.scss */ slides > slide.backdrop:after, slides > slide.backdrop:before { display: none; } -/* line 210, ../sass/default.scss */ +/* line 210, ../scss/default.scss */ slides > slide > hgroup + article { margin-top: 45px; } -/* line 213, ../sass/default.scss */ +/* line 213, ../scss/default.scss */ slides > slide > hgroup + article p { margin-bottom: 1em; } -/* line 218, ../sass/default.scss */ +/* line 218, ../scss/default.scss */ slides > slide > article:only-child { height: 100%; } -/* line 221, ../sass/default.scss */ +/* line 221, ../scss/default.scss */ slides > slide > article:only-child > iframe { height: 100%; } -/* line 227, ../sass/default.scss */ +/* line 227, ../scss/default.scss */ slides.layout-faux-widescreen > slide { padding: 40px 160px; } -/* line 236, ../sass/default.scss */ +/* line 236, ../scss/default.scss */ slides.layout-widescreen > slide, slides.layout-faux-widescreen > slide { margin-left: -550px; width: 1100px; } -/* line 241, ../sass/default.scss */ +/* line 241, ../scss/default.scss */ slides.layout-widescreen > slide.far-past, slides.layout-faux-widescreen > slide.far-past { display: block; @@ -386,26 +386,26 @@ slides.layout-faux-widescreen > slide.far-past { -o-transform: translate3d(-2260px, 0, 0); transform: translate3d(-2260px, 0, 0); } -/* line 248, ../sass/default.scss */ +/* line 248, ../scss/default.scss */ slides.layout-widescreen > slide.past, slides.layout-faux-widescreen > slide.past { display: block; opacity: 0; } -/* line 255, ../sass/default.scss */ +/* line 255, ../scss/default.scss */ slides.layout-widescreen > slide.current, slides.layout-faux-widescreen > slide.current { display: block; opacity: 1; } -/* line 262, ../sass/default.scss */ +/* line 262, ../scss/default.scss */ slides.layout-widescreen > slide.next, slides.layout-faux-widescreen > slide.next { display: block; opacity: 0; pointer-events: none; } -/* line 270, ../sass/default.scss */ +/* line 270, ../scss/default.scss */ slides.layout-widescreen > slide.far-next, slides.layout-faux-widescreen > slide.far-next { display: block; @@ -421,39 +421,39 @@ slides.layout-faux-widescreen > slide.far-next { -o-transform: translate3d(2260px, 0, 0); transform: translate3d(2260px, 0, 0); } -/* line 277, ../sass/default.scss */ +/* line 277, ../scss/default.scss */ slides.layout-widescreen #prev-slide-area, slides.layout-faux-widescreen #prev-slide-area { margin-left: -650px; } -/* line 281, ../sass/default.scss */ +/* line 281, ../scss/default.scss */ slides.layout-widescreen #next-slide-area, slides.layout-faux-widescreen #next-slide-area { margin-left: 550px; } -/* line 286, ../sass/default.scss */ +/* line 286, ../scss/default.scss */ b { font-weight: 600; } -/* line 290, ../sass/default.scss */ +/* line 290, ../scss/default.scss */ a { color: #2a7cdf; text-decoration: none; border-bottom: 1px solid rgba(42, 124, 223, 0.5); } -/* line 295, ../sass/default.scss */ +/* line 295, ../scss/default.scss */ a:hover { color: black !important; } -/* line 300, ../sass/default.scss */ +/* line 300, ../scss/default.scss */ h1, h2, h3 { font-weight: 600; } -/* line 304, ../sass/default.scss */ +/* line 304, ../scss/default.scss */ h2 { font-size: 45px; line-height: 45px; @@ -461,7 +461,7 @@ h2 { color: #515151; } -/* line 311, ../sass/default.scss */ +/* line 311, ../scss/default.scss */ h3 { font-size: 30px; letter-spacing: -1px; @@ -470,39 +470,39 @@ h3 { color: #797979; } -/* line 319, ../sass/default.scss */ +/* line 319, ../scss/default.scss */ ul { margin-left: 1.2em; margin-bottom: 1em; position: relative; } -/* line 324, ../sass/default.scss */ +/* line 324, ../scss/default.scss */ ul li { margin-bottom: 0.5em; } -/* line 327, ../sass/default.scss */ +/* line 327, ../scss/default.scss */ ul li ul { margin-left: 2em; margin-bottom: 0; } -/* line 331, ../sass/default.scss */ +/* line 331, ../scss/default.scss */ ul li ul li:before { content: '-'; font-weight: 600; } -/* line 338, ../sass/default.scss */ +/* line 338, ../scss/default.scss */ ul > li:before { content: '·'; margin-left: -1em; position: absolute; font-weight: 600; } -/* line 345, ../sass/default.scss */ +/* line 345, ../scss/default.scss */ ul ul { margin-top: .5em; } -/* line 352, ../sass/default.scss */ +/* line 352, ../scss/default.scss */ .highlight-code slide.current pre > * { opacity: 0.25; -webkit-transition: opacity 0.5s ease-in; @@ -511,12 +511,12 @@ ul ul { -o-transition: opacity 0.5s ease-in; transition: opacity 0.5s ease-in; } -/* line 356, ../sass/default.scss */ +/* line 356, ../scss/default.scss */ .highlight-code slide.current b { opacity: 1; } -/* line 361, ../sass/default.scss */ +/* line 361, ../scss/default.scss */ pre { font-family: 'Inconsolata', 'Courier New', monospace; font-size: 20px; @@ -533,7 +533,7 @@ pre { box-sizing: border-box; /*overflow: hidden;*/ } -/* line 375, ../sass/default.scss */ +/* line 375, ../scss/default.scss */ pre:after { content: attr(data-lang); background-color: #a9a9a9; @@ -546,14 +546,14 @@ pre:after { text-transform: uppercase; } -/* line 388, ../sass/default.scss */ +/* line 388, ../scss/default.scss */ code { font-size: 95%; font-family: 'Inconsolata', 'Courier New', monospace; color: black; } -/* line 394, ../sass/default.scss */ +/* line 394, ../scss/default.scss */ iframe { width: 100%; height: 530px; @@ -564,12 +564,12 @@ iframe { box-sizing: border-box; } -/* line 402, ../sass/default.scss */ +/* line 402, ../scss/default.scss */ dt { font-weight: bold; } -/* line 406, ../sass/default.scss */ +/* line 406, ../scss/default.scss */ button { display: inline-block; background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(40%, #f9f9f9), color-stop(70%, #e3e3e3)); @@ -595,12 +595,12 @@ button { font-size: 10pt; } -/* line 420, ../sass/default.scss */ +/* line 420, ../scss/default.scss */ button:not(:disabled):hover { border-color: #515151; } -/* line 424, ../sass/default.scss */ +/* line 424, ../scss/default.scss */ button:not(:disabled):active { background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(40%, #e3e3e3), color-stop(70%, #f9f9f9)); background: -webkit-linear-gradient(#e3e3e3 40%, #f9f9f9 70%); @@ -610,102 +610,102 @@ button:not(:disabled):active { background: linear-gradient(#e3e3e3 40%, #f9f9f9 70%); } -/* line 428, ../sass/default.scss */ +/* line 428, ../scss/default.scss */ :disabled { color: #a9a9a9; } -/* line 432, ../sass/default.scss */ +/* line 432, ../scss/default.scss */ .blue { color: #4387fd; } -/* line 435, ../sass/default.scss */ +/* line 435, ../scss/default.scss */ .blue2 { color: #3c8ef3; } -/* line 438, ../sass/default.scss */ +/* line 438, ../scss/default.scss */ .blue3 { color: #2a7cdf; } -/* line 441, ../sass/default.scss */ +/* line 441, ../scss/default.scss */ .yellow { color: #ffd14d; } -/* line 444, ../sass/default.scss */ +/* line 444, ../scss/default.scss */ .yellow2 { color: #f9cc46; } -/* line 447, ../sass/default.scss */ +/* line 447, ../scss/default.scss */ .yellow3 { color: #f6c000; } -/* line 450, ../sass/default.scss */ +/* line 450, ../scss/default.scss */ .green { color: #0da861; } -/* line 453, ../sass/default.scss */ +/* line 453, ../scss/default.scss */ .green2 { color: #00a86d; } -/* line 456, ../sass/default.scss */ +/* line 456, ../scss/default.scss */ .green3 { color: #009f5d; } -/* line 459, ../sass/default.scss */ +/* line 459, ../scss/default.scss */ .red { color: #f44a3f; } -/* line 462, ../sass/default.scss */ +/* line 462, ../scss/default.scss */ .red2 { color: #e0543e; } -/* line 465, ../sass/default.scss */ +/* line 465, ../scss/default.scss */ .red3 { color: #d94d3a; } -/* line 468, ../sass/default.scss */ +/* line 468, ../scss/default.scss */ .gray { color: #e6e6e6; } -/* line 471, ../sass/default.scss */ +/* line 471, ../scss/default.scss */ .gray2 { color: #a9a9a9; } -/* line 474, ../sass/default.scss */ +/* line 474, ../scss/default.scss */ .gray3 { color: #797979; } -/* line 477, ../sass/default.scss */ +/* line 477, ../scss/default.scss */ .gray4 { color: #515151; } -/* line 481, ../sass/default.scss */ +/* line 481, ../scss/default.scss */ .white { color: white !important; } -/* line 484, ../sass/default.scss */ +/* line 484, ../scss/default.scss */ .black { color: black !important; } -/* line 488, ../sass/default.scss */ +/* line 488, ../scss/default.scss */ .columns-2 { -webkit-column-count: 2; -moz-column-count: 2; @@ -713,7 +713,7 @@ button:not(:disabled):active { column-count: 2; } -/* line 492, ../sass/default.scss */ +/* line 492, ../scss/default.scss */ table { width: 100%; border-collapse: -moz-initial; @@ -721,16 +721,16 @@ table { border-spacing: 2px; border-bottom: 1px solid #797979; } -/* line 499, ../sass/default.scss */ +/* line 499, ../scss/default.scss */ table tr > td:first-child, table th { font-weight: 600; color: #515151; } -/* line 504, ../sass/default.scss */ +/* line 504, ../scss/default.scss */ table tr:nth-child(odd) { background-color: #e6e6e6; } -/* line 508, ../sass/default.scss */ +/* line 508, ../scss/default.scss */ table th { color: white; font-size: 18px; @@ -741,12 +741,12 @@ table th { background: -ms-linear-gradient(top, #4387fd 40%, #2a7cdf 80%) no-repeat; background: linear-gradient(top, #4387fd 40%, #2a7cdf 80%) no-repeat; } -/* line 514, ../sass/default.scss */ +/* line 514, ../scss/default.scss */ table td, table th { font-size: 18px; padding: 1em 0.5em; } -/* line 519, ../sass/default.scss */ +/* line 519, ../scss/default.scss */ table td.highlight { color: #515151; background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(40%, #ffd14d), color-stop(80%, #f6c000)) no-repeat; @@ -756,31 +756,31 @@ table td.highlight { background: -ms-linear-gradient(top, #ffd14d 40%, #f6c000 80%) no-repeat; background: linear-gradient(top, #ffd14d 40%, #f6c000 80%) no-repeat; } -/* line 524, ../sass/default.scss */ +/* line 524, ../scss/default.scss */ table.rows { border-bottom: none; border-right: 1px solid #797979; } -/* line 530, ../sass/default.scss */ +/* line 530, ../scss/default.scss */ q { font-size: 45px; line-height: 72px; } -/* line 534, ../sass/default.scss */ +/* line 534, ../scss/default.scss */ q:before { content: '“'; position: absolute; margin-left: -0.5em; } -/* line 539, ../sass/default.scss */ +/* line 539, ../scss/default.scss */ q:after { content: '”'; position: absolute; margin-left: 0.1em; } -/* line 546, ../sass/default.scss */ +/* line 546, ../scss/default.scss */ slide.fill { background-repeat: no-repeat; -webkit-border-radius: 5px; @@ -795,34 +795,34 @@ slide.fill { } /* Size variants */ -/* line 555, ../sass/default.scss */ +/* line 555, ../scss/default.scss */ article.smaller p, article.smaller ul { font-size: 20px; line-height: 24px; letter-spacing: 0; } -/* line 561, ../sass/default.scss */ +/* line 561, ../scss/default.scss */ article.smaller table td, article.smaller table th { font-size: 14px; } -/* line 565, ../sass/default.scss */ +/* line 565, ../scss/default.scss */ article.smaller pre { font-size: 15px; line-height: 20px; letter-spacing: 0; } -/* line 570, ../sass/default.scss */ +/* line 570, ../scss/default.scss */ article.smaller q { font-size: 40px; line-height: 48px; } -/* line 574, ../sass/default.scss */ +/* line 574, ../scss/default.scss */ article.smaller q:before, article.smaller q:after { font-size: 60px; } /* Builds */ -/* line 583, ../sass/default.scss */ +/* line 583, ../scss/default.scss */ .build > * { -webkit-transition: opacity 0.5s ease-in-out 0.2s; -moz-transition: opacity 0.5s ease-in-out 0.2s; @@ -830,55 +830,55 @@ article.smaller q:before, article.smaller q:after { -o-transition: opacity 0.5s ease-in-out 0.2s; transition: opacity 0.5s ease-in-out 0.2s; } -/* line 587, ../sass/default.scss */ +/* line 587, ../scss/default.scss */ .build .to-build { opacity: 0; } -/* line 591, ../sass/default.scss */ +/* line 591, ../scss/default.scss */ .build .build-fade { opacity: 0.3; } -/* line 594, ../sass/default.scss */ +/* line 594, ../scss/default.scss */ .build .build-fade:hover { opacity: 1.0; } /* Pretty print */ -/* line 603, ../sass/default.scss */ +/* line 603, ../scss/default.scss */ .prettyprint .str, .prettyprint .atv { /* a markup attribute value */ color: #009f5d; } -/* line 607, ../sass/default.scss */ +/* line 607, ../scss/default.scss */ .prettyprint .kwd, .prettyprint .tag { /* a markup tag name */ color: #0066cc; } -/* line 610, ../sass/default.scss */ +/* line 610, ../scss/default.scss */ .prettyprint .com { /* a comment */ color: #797979; font-style: italic; } -/* line 614, ../sass/default.scss */ +/* line 614, ../scss/default.scss */ .prettyprint .lit { /* a literal value */ color: #7f0000; } -/* line 619, ../sass/default.scss */ +/* line 619, ../scss/default.scss */ .prettyprint .pun, .prettyprint .opn, .prettyprint .clo { color: #515151; } -/* line 625, ../sass/default.scss */ +/* line 625, ../scss/default.scss */ .prettyprint .typ, .prettyprint .atn, .prettyprint .dec, @@ -887,12 +887,12 @@ article.smaller q:before, article.smaller q:after { color: #d94d3a; } -/* line 628, ../sass/default.scss */ +/* line 628, ../scss/default.scss */ .prettyprint .pln { color: #515151; } -/* line 632, ../sass/default.scss */ +/* line 632, ../scss/default.scss */ .note { position: absolute; z-index: 100; @@ -940,7 +940,7 @@ article.smaller q:before, article.smaller q:after { -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } -/* line 650, ../sass/default.scss */ +/* line 650, ../scss/default.scss */ .note > section { background: #fff; -webkit-border-radius: 5px; @@ -955,7 +955,7 @@ article.smaller q:before, article.smaller q:after { padding: 2em; } -/* line 667, ../sass/default.scss */ +/* line 667, ../scss/default.scss */ .with-notes.popup slides.layout-widescreen slide.next, .with-notes.popup slides.layout-faux-widescreen slide.next { -webkit-transform: translate3d(690px, 80px, 0) scale(0.35); @@ -964,7 +964,7 @@ article.smaller q:before, article.smaller q:after { -o-transform: translate3d(690px, 80px, 0) scale(0.35); transform: translate3d(690px, 80px, 0) scale(0.35); } -/* line 670, ../sass/default.scss */ +/* line 670, ../scss/default.scss */ .with-notes.popup slides.layout-widescreen slide .note, .with-notes.popup slides.layout-faux-widescreen slide .note { -webkit-transform: translate3d(300px, 800px, 0) scale(1.5); @@ -973,7 +973,7 @@ article.smaller q:before, article.smaller q:after { -o-transform: translate3d(300px, 800px, 0) scale(1.5); transform: translate3d(300px, 800px, 0) scale(1.5); } -/* line 676, ../sass/default.scss */ +/* line 676, ../scss/default.scss */ .with-notes.popup slide { overflow: visible; background: white; @@ -989,7 +989,7 @@ article.smaller q:before, article.smaller q:after { -o-transform-origin: 0 0; transform-origin: 0 0; } -/* line 683, ../sass/default.scss */ +/* line 683, ../scss/default.scss */ .with-notes.popup slide:not(.backdrop) { -webkit-transform: scale(0.6) translate3d(0.5em, 0.5em, 0); -moz-transform: scale(0.6) translate3d(0.5em, 0.5em, 0); @@ -1000,7 +1000,7 @@ article.smaller q:before, article.smaller q:after { -moz-box-shadow: 0 0 10px #797979; box-shadow: 0 0 10px #797979; } -/* line 688, ../sass/default.scss */ +/* line 688, ../scss/default.scss */ .with-notes.popup slide.backdrop { background-image: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 600, color-stop(0%, #b1dfff), color-stop(100%, #4387fd)); background-image: -webkit-radial-gradient(50% 50%, #b1dfff 0%, #4387fd 600px); @@ -1009,7 +1009,7 @@ article.smaller q:before, article.smaller q:after { background-image: -ms-radial-gradient(50% 50%, #b1dfff 0%, #4387fd 600px); background-image: radial-gradient(50% 50%, #b1dfff 0%, #4387fd 600px); } -/* line 694, ../sass/default.scss */ +/* line 694, ../scss/default.scss */ .with-notes.popup slide.next { -webkit-transform: translate3d(570px, 80px, 0) scale(0.35); -moz-transform: translate3d(570px, 80px, 0) scale(0.35); @@ -1018,11 +1018,11 @@ article.smaller q:before, article.smaller q:after { transform: translate3d(570px, 80px, 0) scale(0.35); opacity: 1 !important; } -/* line 698, ../sass/default.scss */ +/* line 698, ../scss/default.scss */ .with-notes.popup slide.next .note { display: none !important; } -/* line 704, ../sass/default.scss */ +/* line 704, ../scss/default.scss */ .with-notes.popup .note { width: 109%; height: 260px; @@ -1042,7 +1042,7 @@ article.smaller q:before, article.smaller q:after { -o-transition: opacity 400ms ease-in-out; transition: opacity 400ms ease-in-out; } -/* line 715, ../sass/default.scss */ +/* line 715, ../scss/default.scss */ .with-notes.popup .note > section { background: #fff; -webkit-border-radius: 5px; @@ -1061,7 +1061,7 @@ article.smaller q:before, article.smaller q:after { overflow: auto; padding: 1em; } -/* line 728, ../sass/default.scss */ +/* line 728, ../scss/default.scss */ .with-notes .note { opacity: 1; -webkit-transform: translateY(0); @@ -1072,7 +1072,7 @@ article.smaller q:before, article.smaller q:after { pointer-events: auto; } -/* line 735, ../sass/default.scss */ +/* line 735, ../scss/default.scss */ .source { font-size: 14px; color: #a9a9a9; @@ -1092,7 +1092,7 @@ article.smaller q:before, article.smaller q:after { -ms-box-reflect: below 3px -ms-linear-gradient(rgba(255,255,255,0) 85%, white 150%); box-reflect: below 3px linear-gradient(rgba(255,255,255,0) 85%, white 150%); }*/ -/* line 755, ../sass/default.scss */ +/* line 755, ../scss/default.scss */ .flexbox { display: -webkit-box !important; display: -moz-box !important; @@ -1101,7 +1101,7 @@ article.smaller q:before, article.smaller q:after { display: box !important; } -/* line 759, ../sass/default.scss */ +/* line 759, ../scss/default.scss */ .flexbox.vcenter { -webkit-box-orient: vertical; -moz-box-orient: vertical; @@ -1119,7 +1119,7 @@ article.smaller q:before, article.smaller q:after { width: 100%; } -/* line 765, ../sass/default.scss */ +/* line 765, ../scss/default.scss */ .flexbox.vleft { -webkit-box-orient: vertical; -moz-box-orient: vertical; @@ -1137,7 +1137,7 @@ article.smaller q:before, article.smaller q:after { width: 100%; } -/* line 771, ../sass/default.scss */ +/* line 771, ../scss/default.scss */ .auto-fadein { -webkit-transition: opacity 0.6s ease-in 1s; -moz-transition: opacity 0.6s ease-in 1s; @@ -1148,7 +1148,7 @@ article.smaller q:before, article.smaller q:after { } /* Clickable/tappable areas */ -/* line 777, ../sass/default.scss */ +/* line 777, ../scss/default.scss */ .slide-area { z-index: 1000; position: absolute; @@ -1162,59 +1162,59 @@ article.smaller q:before, article.smaller q:after { margin-top: -350px; } -/* line 794, ../sass/default.scss */ +/* line 794, ../scss/default.scss */ #prev-slide-area { margin-left: -550px; } -/* line 799, ../sass/default.scss */ +/* line 799, ../scss/default.scss */ #next-slide-area { margin-left: 450px; } /* ===== SLIDE CONTENT ===== */ -/* line 807, ../sass/default.scss */ +/* line 807, ../scss/default.scss */ .logoslide img { width: 383px; height: 92px; } -/* line 813, ../sass/default.scss */ +/* line 813, ../scss/default.scss */ .segue { padding: 60px 120px; } -/* line 816, ../sass/default.scss */ +/* line 816, ../scss/default.scss */ .segue h2 { color: #e6e6e6; font-size: 60px; } -/* line 820, ../sass/default.scss */ +/* line 820, ../scss/default.scss */ .segue h3 { color: #e6e6e6; line-height: 2.8; } -/* line 824, ../sass/default.scss */ +/* line 824, ../scss/default.scss */ .segue hgroup { position: absolute; bottom: 225px; } -/* line 830, ../sass/default.scss */ +/* line 830, ../scss/default.scss */ .thank-you-slide { background: #4387fd !important; color: white; } -/* line 834, ../sass/default.scss */ +/* line 834, ../scss/default.scss */ .thank-you-slide h2 { font-size: 60px; color: inherit; } -/* line 839, ../sass/default.scss */ +/* line 839, ../scss/default.scss */ .thank-you-slide article > p { margin-top: 2em; font-size: 20pt; } -/* line 844, ../sass/default.scss */ +/* line 844, ../scss/default.scss */ .thank-you-slide > p { position: absolute; bottom: 80px; @@ -1222,7 +1222,7 @@ article.smaller q:before, article.smaller q:after { line-height: 1.3; } -/* line 852, ../sass/default.scss */ +/* line 852, ../scss/default.scss */ aside.gdbar { height: 97px; width: 215px; @@ -1251,7 +1251,7 @@ aside.gdbar { 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. */ } -/* line 863, ../sass/default.scss */ +/* line 863, ../scss/default.scss */ aside.gdbar.right { right: 0; left: -moz-initial; @@ -1264,7 +1264,7 @@ aside.gdbar.right { -o-transform: rotateZ(180deg); transform: rotateZ(180deg); } -/* line 870, ../sass/default.scss */ +/* line 870, ../scss/default.scss */ aside.gdbar.right img { -webkit-transform: rotateZ(180deg); -moz-transform: rotateZ(180deg); @@ -1272,13 +1272,13 @@ aside.gdbar.right img { -o-transform: rotateZ(180deg); transform: rotateZ(180deg); } -/* line 875, ../sass/default.scss */ +/* line 875, ../scss/default.scss */ aside.gdbar.bottom { top: -moz-initial; top: initial; bottom: 60px; } -/* line 881, ../sass/default.scss */ +/* line 881, ../scss/default.scss */ aside.gdbar img { width: 85px; height: 85px; @@ -1287,24 +1287,24 @@ aside.gdbar img { margin: 8px 15px; } -/* line 892, ../sass/default.scss */ +/* line 892, ../scss/default.scss */ .title-slide hgroup { bottom: 100px; } -/* line 895, ../sass/default.scss */ +/* line 895, ../scss/default.scss */ .title-slide hgroup h1 { font-size: 65px; line-height: 1.4; letter-spacing: -3px; color: #515151; } -/* line 902, ../sass/default.scss */ +/* line 902, ../scss/default.scss */ .title-slide hgroup h2 { font-size: 34px; color: #a9a9a9; font-weight: inherit; } -/* line 908, ../sass/default.scss */ +/* line 908, ../scss/default.scss */ .title-slide hgroup p { font-size: 20px; color: #797979; @@ -1312,11 +1312,11 @@ aside.gdbar img { margin-top: 2em; } -/* line 917, ../sass/default.scss */ +/* line 917, ../scss/default.scss */ .quote { color: #e6e6e6; } -/* line 920, ../sass/default.scss */ +/* line 920, ../scss/default.scss */ .quote .author { font-size: 24px; position: absolute; @@ -1324,12 +1324,12 @@ aside.gdbar img { line-height: 1.4; } -/* line 929, ../sass/default.scss */ +/* line 929, ../scss/default.scss */ [data-config-contact] a { color: white; border-bottom: none; } -/* line 933, ../sass/default.scss */ +/* line 933, ../scss/default.scss */ [data-config-contact] span { width: 115px; display: inline-block; diff --git a/theme/css/phone.css b/theme/css/phone.css index 51a43c7..6025436 100644 --- a/theme/css/phone.css +++ b/theme/css/phone.css @@ -6,7 +6,7 @@ and (max-width : 480px) { }*/ /* Smartphones (portrait) ----------- */ /* Styles */ -/* line 17, ../sass/phone.scss */ +/* line 17, ../scss/phone.scss */ slides > slide { /* width: $slide-width !important; height: $slide-height !important; diff --git a/theme/sass/_base.scss b/theme/sass/_base.scss deleted file mode 100644 index a3b00a8..0000000 --- a/theme/sass/_base.scss +++ /dev/null @@ -1,128 +0,0 @@ -@import "compass/reset"; -@import "compass/css3/border-radius"; -@import "compass/css3/box"; -@import "compass/css3/box-shadow"; -@import "compass/css3/box-sizing"; -@import "compass/css3/images"; -@import "compass/css3/text-shadow"; -@import "compass/css3/background-size"; -@import "compass/css3/transform"; -@import "compass/css3/transition"; - -@mixin font-smoothing($val: antialiased) { - -webkit-font-smoothing: $val; - -moz-font-smoothing: $val; - -ms-font-smoothing: $val; - -o-font-smoothing: $val; -} - -@mixin flexbox { - display: -webkit-box !important; - display: -moz-box !important; - display: -ms-box !important; - display: -o-box !important; - display: box !important; -} - -@mixin flex-center-center { - @include box-orient(vertical); - @include box-align(center); - @include box-pack(center); -} - -@mixin flex-left-center { - @include box-orient(vertical); - @include box-align(left); - @include box-pack(center); -} - -/** - * Base SlideDeck Styles - */ -html { - height: 100%; - overflow: hidden; -} - -body { - margin: 0; - padding: 0; - - opacity: 0; - - height: 100%; - min-height: 740px; - width: 100%; - - overflow: hidden; - - color: #fff; - @include font-smoothing(antialiased); - @include transition(opacity 800ms ease-in 100ms); // Add small delay to prevent jank. - - &.loaded { - opacity: 1; - } -} - -input, button { - vertical-align: middle; -} - -slides > slide[hidden] { - display: none !important; -} - -slides { - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - @include transform(translate3d(0, 0, 0)); - @include perspective(1000); - @include transform-style(preserve-3d); -} - -slides > slide { - display: block; - position: absolute; - overflow: hidden; - left: 50%; - top: 50%; - @include box-sizing(border-box); -} - -/* Slide styles */ - - -/*article.fill iframe { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - - border: 0; - margin: 0; - - @include border-radius(10px); - - z-index: -1; -} - -slide.fill { - background-repeat: no-repeat; - @include background-size(cover); -} - -slide.fill img { - position: absolute; - left: 0; - top: 0; - min-width: 100%; - min-height: 100%; - - z-index: -1; -} -*/ \ No newline at end of file diff --git a/theme/sass/default.scss b/theme/sass/default.scss deleted file mode 100644 index 0cc6e47..0000000 --- a/theme/sass/default.scss +++ /dev/null @@ -1,937 +0,0 @@ -@import "base"; -@import "compass/css3/columns"; -@import "compass/css3/user-interface"; - -$social-tags: '#io2012'; -$brand-small-icon-size: 30px; - -$gray-1: #e6e6e6; -$gray-2: #a9a9a9; -$gray-3: #797979; -$gray-4: #515151; - -$brand-blue: rgb(67, 135, 253); -$brand-blue-secondary: #3c8ef3; -$brand-blue-secondary2: #2a7cdf; - -$brand-red: rgb(244, 74, 63); -$brand-red-secondary: #e0543e; -$brand-red-secondary2: #d94d3a; - -$brand-yellow: rgb(255, 209, 77); -$brand-yellow-secondary: #f9cc46; -$brand-yellow-secondary2: #f6c000; - -$brand-green: rgb(13, 168, 97); -$brand-green-secondary: #00a86d; -$brand-green-secondary2: #009f5d; - -$slide-width: 900px; -$slide-height: 700px; -$slide-width-widescreen: 1100px; -$slide-top-bottom-padding: 40px; -$slide-left-right-padding: 60px; -$slide-border-radius: 5px; - -$slide-tap-area-width: 100px; - -$article-content-top-padding: 45px; - -@mixin highlight-color($color: $brand-yellow) { - -webkit-tap-highlight-color: $color; - -moz-tap-highlight-color: $color; - -ms-tap-highlight-color: $color; - -o-tap-highlight-color: $color; - tap-highlight-color: $color; -} - -/** - * Theme Styles - */ -::selection { - color: white; - background-color: $brand-yellow; - @include text-shadow(none); -} - -::-webkit-scrollbar { - height: 16px; - overflow: visible; - width: 16px; -} -::-webkit-scrollbar-thumb { - background-color: rgba(0, 0, 0, .1); - background-clip: padding-box; - border: solid transparent; - min-height: 28px; - padding: 100px 0 0; - @include box-shadow(inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07)); - border-width: 1px 1px 1px 6px; -} -::-webkit-scrollbar-thumb:hover { - background-color: rgba(0, 0, 0, 0.5); -} -::-webkit-scrollbar-button { - height: 0; - width: 0; -} -::-webkit-scrollbar-track { - background-clip: padding-box; - border: solid transparent; - border-width: 0 0 0 4px; -} -::-webkit-scrollbar-corner { - background: transparent; -} - -body { - background: black; -} - -slides > slide { - display: none; - font-family: 'Open Sans', Arial, sans-serif; - font-size: 26px; - color: $gray-3; - //@include background(linear-gradient(white, white 85%, $gray-1)); - //background-color: white; - width: $slide-width; - height: $slide-height; - margin-left: -$slide-width / 2; - margin-top: -$slide-height / 2; - padding: $slide-top-bottom-padding $slide-left-right-padding; - - @include border-radius($slide-border-radius); - //@include box-shadow(5px 5px 20px $gray-4); - @include transition(all 0.6s ease-in-out); - - //$translateX: 1020px; - //$rotateY: 30deg; - //$rotateX: 45deg; - - &.far-past { - //display: block; - display: none; - //@include transform(translate(-$translateX * 2)); - //@include transform(translate3d(-$translateX * 2, 0, 0)); - } - - &.past { - display: block; - //@include transform(translate(-$translateX) rotateY($rotateY) rotateX($rotateX)); - //@include transform(translate3d(-$translateX, 0, 0) rotateY($rotateY) rotateX($rotateX)); - opacity: 0; - } - - &.current { - display: block; - //@include transform(translate(0)); - //@include transform(translate3d(0, 0, 0)); - opacity: 1; - - .auto-fadein { - opacity: 1; - } - - .gdbar { - @include background-size(100% 100%); - } - } - - &.next { - display: block; - //@include transform(translate($translateX) rotateY(-$rotateY) rotateX($rotateX)); - //@include transform(translate3d($translateX, 0, 0) rotateY(-$rotateY) rotateX($rotateX)); - opacity: 0; - pointer-events: none; - } - - &.far-next { - //display: block; - display: none; - //@include transform(translate($translateX * 2)); - //@include transform(translate3d($translateX * 2, 0, 0)); - } - - &.dark { - background: $gray-4 !important; - } - - &:not(.nobackground) { - //background: white url(../../images/google_developers_icon_128.png) ($brand-small-icon-size * 2) 98% no-repeat; - //@include background-size($brand-small-icon-size $brand-small-icon-size); - - &:before { - font-size: 12pt; - content: $social-tags; - position: absolute; - bottom: $slide-top-bottom-padding / 2; - left: $slide-left-right-padding; - background: url(../../images/google_developers_icon_128.png) no-repeat 0 50%; - @include background-size($brand-small-icon-size $brand-small-icon-size); - padding-left: $brand-small-icon-size + 10; - height: $brand-small-icon-size; - line-height: 1.9; - } - &:after { - font-size: 12pt; - content: attr(data-slide-num) '/' attr(data-total-slides); - position: absolute; - bottom: $slide-top-bottom-padding / 2; - right: $slide-left-right-padding; - line-height: 1.9; - } - } - - &.title-slide { - &:after { - content: ''; - background: url(../../images/io2012_logo.png) no-repeat 100% 50%; - @include background-size(contain); - position: absolute; - bottom: $slide-top-bottom-padding; - right: $slide-top-bottom-padding; - width: 100%; - height: 60px; - } - } - - &.backdrop { - z-index: -10; - display: block !important; - @include background(linear-gradient(white, white 85%, $gray-1)); - background-color: white; - - &:after, &:before { - display: none; - } - } - - > hgroup + article { - margin-top: $article-content-top-padding; - - p { - margin-bottom: 1em; - } - } - - > article:only-child { - height: 100%; - - > iframe { - height: 100%; - } - } -} - -slides.layout-faux-widescreen > slide { - padding: $slide-top-bottom-padding 160px; -} - -slides.layout-widescreen, -slides.layout-faux-widescreen { - - $translateX: 1130px; - - > slide { - margin-left: -$slide-width-widescreen / 2; - width: $slide-width-widescreen; - } - - > slide.far-past { - display: block; - display: none; - @include transform(translate(-$translateX * 2)); - @include transform(translate3d(-$translateX * 2, 0, 0)); - } - - > slide.past { - display: block; - //@include transform(translate(-$translateX)); - //@include transform(translate3d(-$translateX, 0, 0)); - opacity: 0; - } - - > slide.current { - display: block; - //@include transform(translate(0)); - //@include transform(translate3d(0, 0, 0)); - opacity: 1; - } - - > slide.next { - display: block; - //@include transform(translate($translateX)); - //@include transform(translate3d($translateX, 0, 0)); - opacity: 0; - pointer-events: none; - } - - > slide.far-next { - display: block; - display: none; - @include transform(translate($translateX * 2)); - @include transform(translate3d($translateX * 2, 0, 0)); - } - - #prev-slide-area { - margin-left: -$slide-width-widescreen / 2 - $slide-tap-area-width; - } - - #next-slide-area { - margin-left: $slide-width-widescreen / 2; - } -} - -b { - font-weight: 600; -} - -a { - color: $brand-blue-secondary2; - text-decoration: none; - border-bottom: 1px solid rgba(42, 124, 223, 0.5); - - &:hover { - color: black !important; - } -} - -h1, h2, h3 { - font-weight: 600; -} - -h2 { - font-size: 45px; - line-height: 45px; - letter-spacing: -2px; - color: $gray-4; -} - -h3 { - font-size: 30px; - letter-spacing: -1px; - line-height: 2; - font-weight: inherit; - color: $gray-3; -} - -ul { - margin-left: 1.2em; - margin-bottom: 1em; - position: relative; - - li { - margin-bottom: 0.5em; - - ul { - margin-left: 2em; - margin-bottom: 0; - - li:before { - content: '-'; - font-weight: 600; - } - } - } - - > li:before { - content: '·'; - margin-left: -1em; - position: absolute; - font-weight: 600; - } - - ul { - margin-top: .5em; - } -} - -// Code highlighting only effects the current slide. -.highlight-code slide.current { - pre > * { - opacity: 0.25; - @include transition(opacity 0.5s ease-in); - } - b { - opacity: 1; - } -} - -pre { - font-family: 'Inconsolata', 'Courier New', monospace; - font-size: 20px; - line-height: 28px; - padding: 10px 0 10px $slide-left-right-padding; - letter-spacing: -1px; - margin-bottom: 20px; - width: 106%; - background-color: $gray-1; - left: -$slide-left-right-padding; - position: relative; - @include box-sizing(border-box); - /*overflow: hidden;*/ - - &:after { - content: attr(data-lang); - background-color: $gray-2; - right: 0; - top: 0; - position: absolute; - font-size: 16pt; - color: white; - padding: 2px 25px; - text-transform: uppercase; - } -} - -code { - font-size: 95%; - font-family: 'Inconsolata', 'Courier New', monospace; - color: black; -} - -iframe { - width: 100%; - height: $slide-height - ($slide-top-bottom-padding * 2) - ($article-content-top-padding * 2); - background: white; - border: 1px solid $gray-1; - @include box-sizing(border-box); -} - -dt { - font-weight: bold; -} - -button { - display: inline-block; - @include background(linear-gradient(#F9F9F9 40%, #E3E3E3 70%)); - border: 1px solid $gray-2; - @include border-radius(3px); - padding: 5px 8px; - outline: none; - white-space: nowrap; - @include user-select(none); - cursor: pointer; - @include text-shadow(1px 1px #fff); - font-size: 10pt; -} - -button:not(:disabled):hover { - border-color: $gray-4; -} - -button:not(:disabled):active { - @include background(linear-gradient(#E3E3E3 40%, #F9F9F9 70%)); -} - -:disabled { - color: $gray-2; -} - -.blue { - color: $brand-blue; -} -.blue2 { - color: $brand-blue-secondary; -} -.blue3 { - color: $brand-blue-secondary2; -} -.yellow { - color: $brand-yellow; -} -.yellow2 { - color: $brand-yellow-secondary; -} -.yellow3 { - color: $brand-yellow-secondary2; -} -.green { - color: $brand-green; -} -.green2 { - color: $brand-green-secondary; -} -.green3 { - color: $brand-green-secondary2; -} -.red { - color: $brand-red; -} -.red2 { - color: $brand-red-secondary; -} -.red3 { - color: $brand-red-secondary2; -} -.gray { - color: $gray-1; -} -.gray2 { - color: $gray-2; -} -.gray3 { - color: $gray-3; -} -.gray4 { - color: $gray-4; -} - -.white { - color: white !important; -} -.black { - color: black !important; -} - -.columns-2 { - @include column-count(2); -} - -table { - width: 100%; - border-collapse: -moz-initial; - border-collapse: initial; - border-spacing: 2px; - border-bottom: 1px solid $gray-3; - - tr > td:first-child, th { - font-weight: 600; - color: $gray-4; - } - - tr:nth-child(odd) { - background-color: $gray-1; - } - - th { - color: white; - font-size: 18px; - @include background(linear-gradient(top, $brand-blue 40%, $brand-blue-secondary2 80%) no-repeat); - } - - td, th { - font-size: 18px; - padding: 1em 0.5em; - } - - td.highlight { - color: $gray-4; - @include background(linear-gradient(top, $brand-yellow 40%, $brand-yellow-secondary2 80%) no-repeat); - } - - &.rows { - border-bottom: none; - border-right: 1px solid $gray-3; - } -} - -q { - font-size: 45px; - line-height: 72px; - - &:before { - content: '“'; - position: absolute; - margin-left: -0.5em; - } - &:after { - content: '”'; - position: absolute; - margin-left: 0.1em; - } -} - -slide.fill { - background-repeat: no-repeat; - @include border-radius($slide-border-radius); - @include background-size(cover); -} - -/* Size variants */ - -article.smaller { - p, ul { - font-size: 20px; - line-height: 24px; - letter-spacing: 0; - } - table { - td, th { - font-size: 14px; - } - } - pre { - font-size: 15px; - line-height: 20px; - letter-spacing: 0; - } - q { - font-size: 40px; - line-height: 48px; - - &:before, &:after { - font-size: 60px; - } - } -} - -/* Builds */ - -.build { - > * { - @include transition(opacity 0.5s ease-in-out 0.2s); - } - - .to-build { - opacity: 0; - } - - .build-fade { - opacity: 0.3; - - &:hover { - opacity: 1.0; - } - } -} - -/* Pretty print */ - -.prettyprint .str, /* string content */ -.prettyprint .atv { /* a markup attribute value */ - color: $brand-green-secondary2; //rgb(0, 138, 53); -} -.prettyprint .kwd, /* a keyword */ -.prettyprint .tag { /* a markup tag name */ - color: rgb(0, 102, 204); -} -.prettyprint .com { /* a comment */ - color: $gray-3; //rgb(127, 127, 127); - font-style: italic; -} -.prettyprint .lit { /* a literal value */ - color: rgb(127, 0, 0); -} -.prettyprint .pun, /* punctuation, lisp open bracket, lisp close bracket */ -.prettyprint .opn, -.prettyprint .clo { - color: $gray-4; //rgb(127, 127, 127); -} -.prettyprint .typ, /* a type name */ -.prettyprint .atn, /* a markup attribute name */ -.prettyprint .dec, -.prettyprint .var { /* a declaration; a variable name */ - color: $brand-red-secondary2; //rgb(127, 0, 127); -} -.prettyprint .pln { - color: $gray-4; -} - -.note { - position: absolute; - z-index: 100; - width: 100%; - height: 100%; - top: 0; - left: 0; - padding: 1em; - background: rgba(0, 0, 0, 0.3); - opacity: 0; - pointer-events: none; - @include flexbox; - @include flex-center-center; - @include border-radius($slide-border-radius); - - @include box-sizing(border-box); - @include transform(translateY($slide-height / 2));@include transition(all 0.4s ease-in-out); - - > section { - background: #fff; - @include border-radius($slide-border-radius); - @include box-shadow(0 0 10px $gray-3); - width: 60%; - padding: 2em; - } -} - -// Speaker notes only show the current slide. -.with-notes { - - &.popup { - - slides.layout-widescreen, - slides.layout-faux-widescreen { - slide { - &.next { - @include transform(translate3d($slide-width-widescreen / 2 + 140, 80px, 0) scale(0.35)); - } - .note { - @include transform(translate3d(300px, $slide-height + 100, 0) scale(1.5)); - } - } - } - - slide { - overflow: visible; - background: white; - @include transition(none); // No slide transition goodies when in presenter mode. - pointer-events: none; - @include transform-origin(0, 0); // For speaker note transition. - - &:not(.backdrop) { - @include transform(scale(0.6) translate3d(0.5em, 0.5em, 0)); - @include box-shadow(0 0 10px $gray-3); - } - - &.backdrop { - //@include background(linear-gradient($gray-1, white 30%, white 60%, $gray-1)); - @include background-image(radial-gradient(50% 50%, #b1dfff 0%, - $brand-blue 600px)); - } - - &.next { - @include transform(translate3d($slide-width / 2 + 120, 80px, 0) scale(0.35)); - opacity: 1 !important; - - .note { - display: none !important; // Prevents seeing notes if we go to previous slide. - } - } - } - - .note { - width: 109%; - height: $slide-height / 2 - 90; - background: $gray-1; - padding: 0; - - @include box-shadow(0 0 10px $gray-3); - - @include transform(translate3d(250px, $slide-height + 100, 0) scale(1.5)); - @include transition(opacity 400ms ease-in-out); - - > section { - background: #fff; - @include border-radius($slide-border-radius); - height: 100%; - width: 100%; - @include box-sizing(border-box); - @include box-shadow(none); - overflow: auto; - padding: 1em; - } - } - } - - .note { - opacity: 1; - @include transform(translateY(0)); - pointer-events: auto; // Allow people to do things like open links embedded in the speaker notes. - } -} - -.source { - font-size: 14px; - color: $gray-2; - position: absolute; - bottom: $slide-top-bottom-padding + 30px; - left: $slide-left-right-padding; -} - -/*.centered { - text-align: center; -} - -.reflect { - -webkit-box-reflect: below 3px -webkit-linear-gradient(rgba(255,255,255,0) 85%, white 150%); - -moz-box-reflect: below 3px -moz-linear-gradient(rgba(255,255,255,0) 85%, white 150%); - -o-box-reflect: below 3px -o-linear-gradient(rgba(255,255,255,0) 85%, white 150%); - -ms-box-reflect: below 3px -ms-linear-gradient(rgba(255,255,255,0) 85%, white 150%); - box-reflect: below 3px linear-gradient(rgba(255,255,255,0) 85%, white 150%); -}*/ - -.flexbox { - @include flexbox; -} - -.flexbox.vcenter { - @include flex-center-center; - height: 100%; - width: 100%; -} - -.flexbox.vleft { - @include flex-left-center; - height: 100%; - width: 100%; -} - -.auto-fadein { - @include transition(opacity 0.6s ease-in 1s); - opacity: 0; -} - -/* Clickable/tappable areas */ -.slide-area { - z-index: 1000; - - position: absolute; - left: 0; - top: 0; - width: $slide-tap-area-width; - height: $slide-height; - - left: 50%; - top: 50%; - - cursor: pointer; - margin-top: -$slide-height / 2; - - //@include highlight-color(rgba(51, 51, 51, 0.5)); -} -#prev-slide-area { - margin-left: -$slide-width-widescreen / 2; - //@include border-radius(10px 0 0 10px); - //@include box-shadow(-5px 0 10px #222 inset); -} -#next-slide-area { - margin-left: $slide-width / 2; - //@include border-radius(0 10px 10px 0); - //@include box-shadow(5px 0 10px #222 inset); -} - -/* ===== SLIDE CONTENT ===== */ -.logoslide { - img { - width: 383px; - height: 92px; - } -} - -.segue { - padding: $slide-left-right-padding $slide-left-right-padding * 2; - - h2 { - color: $gray-1; - font-size: 60px; - } - h3 { - color: $gray-1; - line-height: 2.8; - } - hgroup { - position: absolute; - bottom: 225px; - } -} - -.thank-you-slide { - background: $brand-blue !important; - color: white; - - h2 { - font-size: 60px; - color: inherit; - } - - article > p { - margin-top: 2em; - font-size: 20pt; - } - - > p { - position: absolute; - bottom: $slide-top-bottom-padding * 2; - font-size: 24pt; - line-height: 1.3; - } -} - -aside.gdbar { - height: 97px; - width: 215px; - position: absolute; - left: 0; - top: 125px; - @include border-radius(0 10px 10px 0); - @include background(linear-gradient(left, $gray-1, $gray-1) no-repeat); - @include background-size(0% 100%); - @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. */ - - &.right { - right: 0; - left: -moz-initial; - left: initial; - top: ($slide-height / 2) - 96; /* 96 is height of gray icon bar */ - @include transform(rotateZ(180deg)); - - img { - @include transform(rotateZ(180deg)); - } - } - - &.bottom { - top: -moz-initial; - top: initial; - bottom: $slide-left-right-padding; - } - - img { - width: 85px; - height: 85px; - position: absolute; - right: 0; - margin: 8px 15px; - } -} - -.title-slide { - - hgroup { - bottom: 100px; - - h1 { - font-size: 65px; - line-height: 1.4; - letter-spacing: -3px; - color: $gray-4; - } - - h2 { - font-size: 34px; - color: $gray-2; - font-weight: inherit; - } - - p { - font-size: 20px; - color: $gray-3; - line-height: 1.3; - margin-top: 2em; - } - } -} - -.quote { - color: $gray-1; - - .author { - font-size: 24px; - position: absolute; - bottom: 80px; - line-height: 1.4; - } -} - -[data-config-contact] { - a { - color: rgb(255, 255, 255); - border-bottom: none; - } - span { - width: 115px; - display: inline-block; - } -} \ No newline at end of file diff --git a/theme/sass/phone.scss b/theme/sass/phone.scss deleted file mode 100644 index c6a4043..0000000 --- a/theme/sass/phone.scss +++ /dev/null @@ -1,35 +0,0 @@ -@import "compass/css3/transition"; - - -/*Smartphones (portrait and landscape) ----------- */ -/*@media only screen -and (min-width : 320px) -and (max-width : 480px) { - -}*/ - -/* Smartphones (portrait) ----------- */ -//@media only screen and (max-device-width: 480px) { -/* Styles */ -//$slide-width: 350px; -//$slide-height: 500px; - -slides > slide { -/* width: $slide-width !important; - height: $slide-height !important; - margin-left: -$slide-width / 2 !important; - margin-top: -$slide-height / 2 !important; -*/ - // Don't do full slide transitions on mobile. - -webkit-transition: none !important; // Bug in compass? Not sure why the below is not working - @include transition(none !important); -} - -//} - -/* iPhone 4 ----------- */ -@media -only screen and (-webkit-min-device-pixel-ratio : 1.5), -only screen and (min-device-pixel-ratio : 1.5) { -/* Styles */ -} \ No newline at end of file diff --git a/theme/scss/_base.scss b/theme/scss/_base.scss new file mode 100644 index 0000000..a3b00a8 --- /dev/null +++ b/theme/scss/_base.scss @@ -0,0 +1,128 @@ +@import "compass/reset"; +@import "compass/css3/border-radius"; +@import "compass/css3/box"; +@import "compass/css3/box-shadow"; +@import "compass/css3/box-sizing"; +@import "compass/css3/images"; +@import "compass/css3/text-shadow"; +@import "compass/css3/background-size"; +@import "compass/css3/transform"; +@import "compass/css3/transition"; + +@mixin font-smoothing($val: antialiased) { + -webkit-font-smoothing: $val; + -moz-font-smoothing: $val; + -ms-font-smoothing: $val; + -o-font-smoothing: $val; +} + +@mixin flexbox { + display: -webkit-box !important; + display: -moz-box !important; + display: -ms-box !important; + display: -o-box !important; + display: box !important; +} + +@mixin flex-center-center { + @include box-orient(vertical); + @include box-align(center); + @include box-pack(center); +} + +@mixin flex-left-center { + @include box-orient(vertical); + @include box-align(left); + @include box-pack(center); +} + +/** + * Base SlideDeck Styles + */ +html { + height: 100%; + overflow: hidden; +} + +body { + margin: 0; + padding: 0; + + opacity: 0; + + height: 100%; + min-height: 740px; + width: 100%; + + overflow: hidden; + + color: #fff; + @include font-smoothing(antialiased); + @include transition(opacity 800ms ease-in 100ms); // Add small delay to prevent jank. + + &.loaded { + opacity: 1; + } +} + +input, button { + vertical-align: middle; +} + +slides > slide[hidden] { + display: none !important; +} + +slides { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + @include transform(translate3d(0, 0, 0)); + @include perspective(1000); + @include transform-style(preserve-3d); +} + +slides > slide { + display: block; + position: absolute; + overflow: hidden; + left: 50%; + top: 50%; + @include box-sizing(border-box); +} + +/* Slide styles */ + + +/*article.fill iframe { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + + border: 0; + margin: 0; + + @include border-radius(10px); + + z-index: -1; +} + +slide.fill { + background-repeat: no-repeat; + @include background-size(cover); +} + +slide.fill img { + position: absolute; + left: 0; + top: 0; + min-width: 100%; + min-height: 100%; + + z-index: -1; +} +*/ \ No newline at end of file diff --git a/theme/scss/default.scss b/theme/scss/default.scss new file mode 100644 index 0000000..0cc6e47 --- /dev/null +++ b/theme/scss/default.scss @@ -0,0 +1,937 @@ +@import "base"; +@import "compass/css3/columns"; +@import "compass/css3/user-interface"; + +$social-tags: '#io2012'; +$brand-small-icon-size: 30px; + +$gray-1: #e6e6e6; +$gray-2: #a9a9a9; +$gray-3: #797979; +$gray-4: #515151; + +$brand-blue: rgb(67, 135, 253); +$brand-blue-secondary: #3c8ef3; +$brand-blue-secondary2: #2a7cdf; + +$brand-red: rgb(244, 74, 63); +$brand-red-secondary: #e0543e; +$brand-red-secondary2: #d94d3a; + +$brand-yellow: rgb(255, 209, 77); +$brand-yellow-secondary: #f9cc46; +$brand-yellow-secondary2: #f6c000; + +$brand-green: rgb(13, 168, 97); +$brand-green-secondary: #00a86d; +$brand-green-secondary2: #009f5d; + +$slide-width: 900px; +$slide-height: 700px; +$slide-width-widescreen: 1100px; +$slide-top-bottom-padding: 40px; +$slide-left-right-padding: 60px; +$slide-border-radius: 5px; + +$slide-tap-area-width: 100px; + +$article-content-top-padding: 45px; + +@mixin highlight-color($color: $brand-yellow) { + -webkit-tap-highlight-color: $color; + -moz-tap-highlight-color: $color; + -ms-tap-highlight-color: $color; + -o-tap-highlight-color: $color; + tap-highlight-color: $color; +} + +/** + * Theme Styles + */ +::selection { + color: white; + background-color: $brand-yellow; + @include text-shadow(none); +} + +::-webkit-scrollbar { + height: 16px; + overflow: visible; + width: 16px; +} +::-webkit-scrollbar-thumb { + background-color: rgba(0, 0, 0, .1); + background-clip: padding-box; + border: solid transparent; + min-height: 28px; + padding: 100px 0 0; + @include box-shadow(inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07)); + border-width: 1px 1px 1px 6px; +} +::-webkit-scrollbar-thumb:hover { + background-color: rgba(0, 0, 0, 0.5); +} +::-webkit-scrollbar-button { + height: 0; + width: 0; +} +::-webkit-scrollbar-track { + background-clip: padding-box; + border: solid transparent; + border-width: 0 0 0 4px; +} +::-webkit-scrollbar-corner { + background: transparent; +} + +body { + background: black; +} + +slides > slide { + display: none; + font-family: 'Open Sans', Arial, sans-serif; + font-size: 26px; + color: $gray-3; + //@include background(linear-gradient(white, white 85%, $gray-1)); + //background-color: white; + width: $slide-width; + height: $slide-height; + margin-left: -$slide-width / 2; + margin-top: -$slide-height / 2; + padding: $slide-top-bottom-padding $slide-left-right-padding; + + @include border-radius($slide-border-radius); + //@include box-shadow(5px 5px 20px $gray-4); + @include transition(all 0.6s ease-in-out); + + //$translateX: 1020px; + //$rotateY: 30deg; + //$rotateX: 45deg; + + &.far-past { + //display: block; + display: none; + //@include transform(translate(-$translateX * 2)); + //@include transform(translate3d(-$translateX * 2, 0, 0)); + } + + &.past { + display: block; + //@include transform(translate(-$translateX) rotateY($rotateY) rotateX($rotateX)); + //@include transform(translate3d(-$translateX, 0, 0) rotateY($rotateY) rotateX($rotateX)); + opacity: 0; + } + + &.current { + display: block; + //@include transform(translate(0)); + //@include transform(translate3d(0, 0, 0)); + opacity: 1; + + .auto-fadein { + opacity: 1; + } + + .gdbar { + @include background-size(100% 100%); + } + } + + &.next { + display: block; + //@include transform(translate($translateX) rotateY(-$rotateY) rotateX($rotateX)); + //@include transform(translate3d($translateX, 0, 0) rotateY(-$rotateY) rotateX($rotateX)); + opacity: 0; + pointer-events: none; + } + + &.far-next { + //display: block; + display: none; + //@include transform(translate($translateX * 2)); + //@include transform(translate3d($translateX * 2, 0, 0)); + } + + &.dark { + background: $gray-4 !important; + } + + &:not(.nobackground) { + //background: white url(../../images/google_developers_icon_128.png) ($brand-small-icon-size * 2) 98% no-repeat; + //@include background-size($brand-small-icon-size $brand-small-icon-size); + + &:before { + font-size: 12pt; + content: $social-tags; + position: absolute; + bottom: $slide-top-bottom-padding / 2; + left: $slide-left-right-padding; + background: url(../../images/google_developers_icon_128.png) no-repeat 0 50%; + @include background-size($brand-small-icon-size $brand-small-icon-size); + padding-left: $brand-small-icon-size + 10; + height: $brand-small-icon-size; + line-height: 1.9; + } + &:after { + font-size: 12pt; + content: attr(data-slide-num) '/' attr(data-total-slides); + position: absolute; + bottom: $slide-top-bottom-padding / 2; + right: $slide-left-right-padding; + line-height: 1.9; + } + } + + &.title-slide { + &:after { + content: ''; + background: url(../../images/io2012_logo.png) no-repeat 100% 50%; + @include background-size(contain); + position: absolute; + bottom: $slide-top-bottom-padding; + right: $slide-top-bottom-padding; + width: 100%; + height: 60px; + } + } + + &.backdrop { + z-index: -10; + display: block !important; + @include background(linear-gradient(white, white 85%, $gray-1)); + background-color: white; + + &:after, &:before { + display: none; + } + } + + > hgroup + article { + margin-top: $article-content-top-padding; + + p { + margin-bottom: 1em; + } + } + + > article:only-child { + height: 100%; + + > iframe { + height: 100%; + } + } +} + +slides.layout-faux-widescreen > slide { + padding: $slide-top-bottom-padding 160px; +} + +slides.layout-widescreen, +slides.layout-faux-widescreen { + + $translateX: 1130px; + + > slide { + margin-left: -$slide-width-widescreen / 2; + width: $slide-width-widescreen; + } + + > slide.far-past { + display: block; + display: none; + @include transform(translate(-$translateX * 2)); + @include transform(translate3d(-$translateX * 2, 0, 0)); + } + + > slide.past { + display: block; + //@include transform(translate(-$translateX)); + //@include transform(translate3d(-$translateX, 0, 0)); + opacity: 0; + } + + > slide.current { + display: block; + //@include transform(translate(0)); + //@include transform(translate3d(0, 0, 0)); + opacity: 1; + } + + > slide.next { + display: block; + //@include transform(translate($translateX)); + //@include transform(translate3d($translateX, 0, 0)); + opacity: 0; + pointer-events: none; + } + + > slide.far-next { + display: block; + display: none; + @include transform(translate($translateX * 2)); + @include transform(translate3d($translateX * 2, 0, 0)); + } + + #prev-slide-area { + margin-left: -$slide-width-widescreen / 2 - $slide-tap-area-width; + } + + #next-slide-area { + margin-left: $slide-width-widescreen / 2; + } +} + +b { + font-weight: 600; +} + +a { + color: $brand-blue-secondary2; + text-decoration: none; + border-bottom: 1px solid rgba(42, 124, 223, 0.5); + + &:hover { + color: black !important; + } +} + +h1, h2, h3 { + font-weight: 600; +} + +h2 { + font-size: 45px; + line-height: 45px; + letter-spacing: -2px; + color: $gray-4; +} + +h3 { + font-size: 30px; + letter-spacing: -1px; + line-height: 2; + font-weight: inherit; + color: $gray-3; +} + +ul { + margin-left: 1.2em; + margin-bottom: 1em; + position: relative; + + li { + margin-bottom: 0.5em; + + ul { + margin-left: 2em; + margin-bottom: 0; + + li:before { + content: '-'; + font-weight: 600; + } + } + } + + > li:before { + content: '·'; + margin-left: -1em; + position: absolute; + font-weight: 600; + } + + ul { + margin-top: .5em; + } +} + +// Code highlighting only effects the current slide. +.highlight-code slide.current { + pre > * { + opacity: 0.25; + @include transition(opacity 0.5s ease-in); + } + b { + opacity: 1; + } +} + +pre { + font-family: 'Inconsolata', 'Courier New', monospace; + font-size: 20px; + line-height: 28px; + padding: 10px 0 10px $slide-left-right-padding; + letter-spacing: -1px; + margin-bottom: 20px; + width: 106%; + background-color: $gray-1; + left: -$slide-left-right-padding; + position: relative; + @include box-sizing(border-box); + /*overflow: hidden;*/ + + &:after { + content: attr(data-lang); + background-color: $gray-2; + right: 0; + top: 0; + position: absolute; + font-size: 16pt; + color: white; + padding: 2px 25px; + text-transform: uppercase; + } +} + +code { + font-size: 95%; + font-family: 'Inconsolata', 'Courier New', monospace; + color: black; +} + +iframe { + width: 100%; + height: $slide-height - ($slide-top-bottom-padding * 2) - ($article-content-top-padding * 2); + background: white; + border: 1px solid $gray-1; + @include box-sizing(border-box); +} + +dt { + font-weight: bold; +} + +button { + displa