summaryrefslogtreecommitdiff
path: root/slides/intermediaire/theme/scss
diff options
context:
space:
mode:
Diffstat (limited to 'slides/intermediaire/theme/scss')
-rw-r--r--slides/intermediaire/theme/scss/_base.scss139
-rw-r--r--slides/intermediaire/theme/scss/_variables.scss34
-rw-r--r--slides/intermediaire/theme/scss/default.scss1047
-rw-r--r--slides/intermediaire/theme/scss/io2013.scss51
-rw-r--r--slides/intermediaire/theme/scss/phone.scss35
5 files changed, 1306 insertions, 0 deletions
diff --git a/slides/intermediaire/theme/scss/_base.scss b/slides/intermediaire/theme/scss/_base.scss
new file mode 100644
index 0000000..50504db
--- /dev/null
+++ b/slides/intermediaire/theme/scss/_base.scss
@@ -0,0 +1,139 @@
1@charset "UTF-8";
2
3@import "compass/reset";
4@import "compass/css3/border-radius";
5@import "compass/css3/box";
6@import "compass/css3/box-shadow";
7@import "compass/css3/box-sizing";
8@import "compass/css3/images";
9@import "compass/css3/text-shadow";
10@import "compass/css3/background-size";
11@import "compass/css3/transform";
12@import "compass/css3/transition";
13
14@import "variables";
15
16@mixin font-smoothing($val: antialiased) {
17 -webkit-font-smoothing: $val;
18 -moz-font-smoothing: $val;
19 -ms-font-smoothing: $val;
20 -o-font-smoothing: $val;
21}
22
23@mixin flexbox {
24 display: -webkit-box !important;
25 display: -moz-box !important;
26 display: -ms-box !important;
27 display: -o-box !important;
28 display: box !important;
29}
30
31@mixin flex-center-center {
32 @include box-orient(vertical);
33 @include box-align(center);
34 @include box-pack(center);
35}
36
37@mixin flex-left-center {
38 @include box-orient(vertical);
39 @include box-align(left);
40 @include box-pack(center);
41}
42
43@mixin flex-right-center {
44 @include box-orient(vertical);
45 @include box-align(end);
46 @include box-pack(center);
47}
48
49/**
50 * Base SlideDeck Styles
51 */
52html {
53 height: 100%;
54 overflow: hidden;
55}
56
57body {
58 margin: 0;
59 padding: 0;
60
61 opacity: 0;
62
63 height: 100%;
64 min-height: 740px;
65 width: 100%;
66
67 overflow: hidden;
68
69 color: #fff;
70 @include font-smoothing(antialiased);
71 @include transition(opacity 800ms ease-in 100ms); // Add small delay to prevent jank.
72
73 &.loaded {
74 opacity: 1 !important;
75 }
76}
77
78input, button {
79 vertical-align: middle;
80}
81
82slides > slide[hidden] {
83 display: none !important;
84}
85
86slides {
87 width: 100%;
88 height: 100%;
89 position: absolute;
90 left: 0;
91 top: 0;
92 @include transform(translate3d(0, 0, 0));
93 @include perspective(1000);
94 @include transform-style(preserve-3d);
95 @include transition(opacity 800ms ease-in 100ms); // Add small delay to prevent jank.
96}
97
98slides > slide {
99 display: block;
100 position: absolute;
101 overflow: hidden;
102 left: 50%;
103 top: 50%;
104 @include box-sizing(border-box);
105}
106
107/* Slide styles */
108
109
110/*article.fill iframe {
111 position: absolute;
112 left: 0;
113 top: 0;
114 width: 100%;
115 height: 100%;
116
117 border: 0;
118 margin: 0;
119
120 @include border-radius(10px);
121
122 z-index: -1;
123}
124
125slide.fill {
126 background-repeat: no-repeat;
127 @include background-size(cover);
128}
129
130slide.fill img {
131 position: absolute;
132 left: 0;
133 top: 0;
134 min-width: 100%;
135 min-height: 100%;
136
137 z-index: -1;
138}
139*/
diff --git a/slides/intermediaire/theme/scss/_variables.scss b/slides/intermediaire/theme/scss/_variables.scss
new file mode 100644
index 0000000..d07f907
--- /dev/null
+++ b/slides/intermediaire/theme/scss/_variables.scss
@@ -0,0 +1,34 @@
1$social-tags: '';
2$brand-small-icon-size: 30px;
3
4$gray-1: #e6e6e6;
5$gray-2: #a9a9a9;
6$gray-3: #797979;
7$gray-4: #515151;
8
9$brand-blue: rgb(67, 135, 253);
10$brand-blue-secondary: #3c8ef3;
11$brand-blue-secondary2: #2a7cdf;
12
13$brand-red: rgb(244, 74, 63);
14$brand-red-secondary: #e0543e;
15$brand-red-secondary2: #d94d3a;
16
17$brand-yellow: rgb(255, 209, 77);
18$brand-yellow-secondary: #f9cc46;
19$brand-yellow-secondary2: #f6c000;
20
21$brand-green: rgb(13, 168, 97);
22$brand-green-secondary: #00a86d;
23$brand-green-secondary2: #009f5d;
24
25$slide-width: 900px;
26$slide-height: 700px;
27$slide-width-widescreen: 1100px;
28$slide-top-bottom-padding: 40px;
29$slide-left-right-padding: 60px;
30$slide-border-radius: 5px;
31
32$slide-tap-area-width: 100px;
33
34$article-content-top-padding: 45px;
diff --git a/slides/intermediaire/theme/scss/default.scss b/slides/intermediaire/theme/scss/default.scss
new file mode 100644
index 0000000..b8d11b0
--- /dev/null
+++ b/slides/intermediaire/theme/scss/default.scss
@@ -0,0 +1,1047 @@
1@import "base";
2@import "compass/css3/columns";
3@import "compass/css3/user-interface";
4
5@mixin highlight-color($color: $brand-yellow) {
6 -webkit-tap-highlight-color: $color;
7 -moz-tap-highlight-color: $color;
8 -ms-tap-highlight-color: $color;
9 -o-tap-highlight-color: $color;
10 tap-highlight-color: $color;
11}
12
13@mixin backdrop {
14 @include background(linear-gradient(white, white 85%, $gray-1));
15 background-color: white;
16}
17
18
19/**
20 * Theme Styles
21 */
22::selection {
23 color: white;
24 background-color: $brand-yellow;
25 @include text-shadow(none);
26}
27
28::-webkit-scrollbar {
29 height: 16px;
30 overflow: visible;
31 width: 16px;
32}
33::-webkit-scrollbar-thumb {
34 background-color: rgba(0, 0, 0, .1);
35 background-clip: padding-box;
36 border: solid transparent;
37 min-height: 28px;
38 padding: 100px 0 0;
39 @include box-shadow(inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07));
40 border-width: 1px 1px 1px 6px;
41}
42::-webkit-scrollbar-thumb:hover {
43 background-color: rgba(0, 0, 0, 0.5);
44}
45::-webkit-scrollbar-button {
46 height: 0;
47 width: 0;
48}
49::-webkit-scrollbar-track {
50 background-clip: padding-box;
51 border: solid transparent;
52 border-width: 0 0 0 4px;