Merge lp:~tomasgroth/openlp/reveal-css into lp:openlp
- reveal-css
- Merge into trunk
Proposed by
Tomas Groth
Status: | Merged |
---|---|
Merged at revision: | 2903 |
Proposed branch: | lp:~tomasgroth/openlp/reveal-css |
Merge into: | lp:openlp |
Diff against target: |
428 lines (+92/-85) 1 file modified
openlp/core/display/html/reveal.css (+92/-85) |
To merge this branch: | bzr merge lp:~tomasgroth/openlp/reveal-css |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Bentley | Approve | ||
Review via email: mp+372798@code.launchpad.net |
Commit message
Forgot to update to latest CSS when updating RevealJS to 3.8.0.
Description of the change
To post a comment you must log in.
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : | # |
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : | # |
Linux tests passed!
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : | # |
macOS tests passed!
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : | # |
Linting passed!
Revision history for this message
Tim Bentley (trb143) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'openlp/core/display/html/reveal.css' | |||
2 | --- openlp/core/display/html/reveal.css 2019-02-11 20:34:20 +0000 | |||
3 | +++ openlp/core/display/html/reveal.css 2019-09-15 12:54:31 +0000 | |||
4 | @@ -3,47 +3,24 @@ | |||
5 | 3 | * http://revealjs.com | 3 | * http://revealjs.com |
6 | 4 | * MIT licensed | 4 | * MIT licensed |
7 | 5 | * | 5 | * |
9 | 6 | * Copyright (C) 2018 Hakim El Hattab, http://hakim.se | 6 | * Copyright (C) 2019 Hakim El Hattab, http://hakim.se |
10 | 7 | */ | 7 | */ |
11 | 8 | /********************************************* | 8 | /********************************************* |
12 | 9 | * RESET STYLES | ||
13 | 10 | *********************************************/ | ||
14 | 11 | html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal iframe, | ||
15 | 12 | .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6, .reveal p, .reveal blockquote, .reveal pre, | ||
16 | 13 | .reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code, | ||
17 | 14 | .reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp, | ||
18 | 15 | .reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var, | ||
19 | 16 | .reveal b, .reveal u, .reveal center, | ||
20 | 17 | .reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li, | ||
21 | 18 | .reveal fieldset, .reveal form, .reveal label, .reveal legend, | ||
22 | 19 | .reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td, | ||
23 | 20 | .reveal article, .reveal aside, .reveal canvas, .reveal details, .reveal embed, | ||
24 | 21 | .reveal figure, .reveal figcaption, .reveal footer, .reveal header, .reveal hgroup, | ||
25 | 22 | .reveal menu, .reveal nav, .reveal output, .reveal ruby, .reveal section, .reveal summary, | ||
26 | 23 | .reveal time, .reveal mark, .reveal audio, .reveal video { | ||
27 | 24 | margin: 0; | ||
28 | 25 | padding: 0; | ||
29 | 26 | border: 0; | ||
30 | 27 | font-size: 100%; | ||
31 | 28 | font: inherit; | ||
32 | 29 | vertical-align: baseline; } | ||
33 | 30 | |||
34 | 31 | .reveal article, .reveal aside, .reveal details, .reveal figcaption, .reveal figure, | ||
35 | 32 | .reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section { | ||
36 | 33 | display: block; } | ||
37 | 34 | |||
38 | 35 | /********************************************* | ||
39 | 36 | * GLOBAL STYLES | 9 | * GLOBAL STYLES |
40 | 37 | *********************************************/ | 10 | *********************************************/ |
43 | 38 | html, | 11 | html { |
42 | 39 | body { | ||
44 | 40 | width: 100%; | 12 | width: 100%; |
45 | 41 | height: 100%; | 13 | height: 100%; |
46 | 14 | height: 100vh; | ||
47 | 15 | height: calc( var(--vh, 1vh) * 100); | ||
48 | 42 | overflow: hidden; } | 16 | overflow: hidden; } |
49 | 43 | 17 | ||
50 | 44 | body { | 18 | body { |
51 | 19 | height: 100%; | ||
52 | 20 | overflow: hidden; | ||
53 | 45 | position: relative; | 21 | position: relative; |
54 | 46 | line-height: 1; | 22 | line-height: 1; |
55 | 23 | margin: 0; | ||
56 | 47 | background-color: #fff; | 24 | background-color: #fff; |
57 | 48 | color: #000; } | 25 | color: #000; } |
58 | 49 | 26 | ||
59 | @@ -272,7 +249,7 @@ | |||
60 | 272 | visibility: hidden; | 249 | visibility: hidden; |
61 | 273 | opacity: 0; | 250 | opacity: 0; |
62 | 274 | -webkit-appearance: none; | 251 | -webkit-appearance: none; |
64 | 275 | -webkit-tap-highlight-color: transparent; } | 252 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } |
65 | 276 | .reveal .controls .controls-arrow:before, | 253 | .reveal .controls .controls-arrow:before, |
66 | 277 | .reveal .controls .controls-arrow:after { | 254 | .reveal .controls .controls-arrow:after { |
67 | 278 | content: ''; | 255 | content: ''; |
68 | @@ -366,10 +343,16 @@ | |||
69 | 366 | .reveal .controls .enabled.fragmented:hover { | 343 | .reveal .controls .enabled.fragmented:hover { |
70 | 367 | opacity: 1; } | 344 | opacity: 1; } |
71 | 368 | 345 | ||
72 | 346 | .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-up, | ||
73 | 347 | .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-down { | ||
74 | 348 | display: none; } | ||
75 | 349 | |||
76 | 350 | .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-left, | ||
77 | 369 | .reveal:not(.has-vertical-slides) .controls .navigate-left { | 351 | .reveal:not(.has-vertical-slides) .controls .navigate-left { |
78 | 370 | bottom: 1.4em; | 352 | bottom: 1.4em; |
79 | 371 | right: 5.5em; } | 353 | right: 5.5em; } |
80 | 372 | 354 | ||
81 | 355 | .reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-right, | ||
82 | 373 | .reveal:not(.has-vertical-slides) .controls .navigate-right { | 356 | .reveal:not(.has-vertical-slides) .controls .navigate-right { |
83 | 374 | bottom: 1.4em; | 357 | bottom: 1.4em; |
84 | 375 | right: 0.5em; } | 358 | right: 0.5em; } |
85 | @@ -486,12 +469,8 @@ | |||
86 | 486 | width: 100%; | 469 | width: 100%; |
87 | 487 | height: 100%; | 470 | height: 100%; |
88 | 488 | overflow: hidden; | 471 | overflow: hidden; |
95 | 489 | -ms-touch-action: none; | 472 | -ms-touch-action: pinch-zoom; |
96 | 490 | touch-action: none; } | 473 | touch-action: pinch-zoom; } |
91 | 491 | |||
92 | 492 | @media only screen and (orientation: landscape) { | ||
93 | 493 | .reveal.ua-iphone { | ||
94 | 494 | position: fixed; } } | ||
97 | 495 | 474 | ||
98 | 496 | .reveal .slides { | 475 | .reveal .slides { |
99 | 497 | position: absolute; | 476 | position: absolute; |
100 | @@ -512,7 +491,8 @@ | |||
101 | 512 | perspective-origin: 50% 40%; } | 491 | perspective-origin: 50% 40%; } |
102 | 513 | 492 | ||
103 | 514 | .reveal .slides > section { | 493 | .reveal .slides > section { |
105 | 515 | -ms-perspective: 600px; } | 494 | -webkit-perspective: 600px; |
106 | 495 | perspective: 600px; } | ||
107 | 516 | 496 | ||
108 | 517 | .reveal .slides > section, | 497 | .reveal .slides > section, |
109 | 518 | .reveal .slides > section > section { | 498 | .reveal .slides > section > section { |
110 | @@ -544,7 +524,8 @@ | |||
111 | 544 | .reveal .slides > section.stack { | 524 | .reveal .slides > section.stack { |
112 | 545 | padding-top: 0; | 525 | padding-top: 0; |
113 | 546 | padding-bottom: 0; | 526 | padding-bottom: 0; |
115 | 547 | pointer-events: none; } | 527 | pointer-events: none; |
116 | 528 | height: 100%; } | ||
117 | 548 | 529 | ||
118 | 549 | .reveal .slides > section.present, | 530 | .reveal .slides > section.present, |
119 | 550 | .reveal .slides > section > section.present { | 531 | .reveal .slides > section > section.present { |
120 | @@ -761,14 +742,14 @@ | |||
121 | 761 | .reveal .slides > section > section[data-transition=zoom].past, | 742 | .reveal .slides > section > section[data-transition=zoom].past, |
122 | 762 | .reveal .slides > section > section[data-transition~=zoom-out].past, | 743 | .reveal .slides > section > section[data-transition~=zoom-out].past, |
123 | 763 | .reveal.zoom .slides > section > section:not([data-transition]).past { | 744 | .reveal.zoom .slides > section > section:not([data-transition]).past { |
126 | 764 | -webkit-transform: translate(0, -150%); | 745 | -webkit-transform: scale(16); |
127 | 765 | transform: translate(0, -150%); } | 746 | transform: scale(16); } |
128 | 766 | 747 | ||
129 | 767 | .reveal .slides > section > section[data-transition=zoom].future, | 748 | .reveal .slides > section > section[data-transition=zoom].future, |
130 | 768 | .reveal .slides > section > section[data-transition~=zoom-in].future, | 749 | .reveal .slides > section > section[data-transition~=zoom-in].future, |
131 | 769 | .reveal.zoom .slides > section > section:not([data-transition]).future { | 750 | .reveal.zoom .slides > section > section:not([data-transition]).future { |
134 | 770 | -webkit-transform: translate(0, 150%); | 751 | -webkit-transform: scale(0.2); |
135 | 771 | transform: translate(0, 150%); } | 752 | transform: scale(0.2); } |
136 | 772 | 753 | ||
137 | 773 | /********************************************* | 754 | /********************************************* |
138 | 774 | * CUBE TRANSITION | 755 | * CUBE TRANSITION |
139 | @@ -989,34 +970,35 @@ | |||
140 | 989 | .no-transforms { | 970 | .no-transforms { |
141 | 990 | overflow-y: auto; } | 971 | overflow-y: auto; } |
142 | 991 | 972 | ||
143 | 973 | .no-transforms .reveal { | ||
144 | 974 | overflow: visible; } | ||
145 | 975 | |||
146 | 992 | .no-transforms .reveal .slides { | 976 | .no-transforms .reveal .slides { |
147 | 993 | position: relative; | 977 | position: relative; |
148 | 994 | width: 80%; | 978 | width: 80%; |
150 | 995 | height: auto !important; | 979 | max-width: 1280px; |
151 | 980 | height: auto; | ||
152 | 996 | top: 0; | 981 | top: 0; |
155 | 997 | left: 50%; | 982 | margin: 0 auto; |
154 | 998 | margin: 0; | ||
156 | 999 | text-align: center; } | 983 | text-align: center; } |
157 | 1000 | 984 | ||
158 | 1001 | .no-transforms .reveal .controls, | 985 | .no-transforms .reveal .controls, |
159 | 1002 | .no-transforms .reveal .progress { | 986 | .no-transforms .reveal .progress { |
161 | 1003 | display: none !important; } | 987 | display: none; } |
162 | 1004 | 988 | ||
163 | 1005 | .no-transforms .reveal .slides section { | 989 | .no-transforms .reveal .slides section { |
167 | 1006 | display: block !important; | 990 | display: block; |
168 | 1007 | opacity: 1 !important; | 991 | opacity: 1; |
169 | 1008 | position: relative !important; | 992 | position: relative; |
170 | 1009 | height: auto; | 993 | height: auto; |
171 | 1010 | min-height: 0; | 994 | min-height: 0; |
172 | 1011 | top: 0; | 995 | top: 0; |
174 | 1012 | left: -50%; | 996 | left: 0; |
175 | 997 | margin: 10vh 0; | ||
176 | 1013 | margin: 70px 0; | 998 | margin: 70px 0; |
177 | 1014 | -webkit-transform: none; | 999 | -webkit-transform: none; |
178 | 1015 | transform: none; } | 1000 | transform: none; } |
179 | 1016 | 1001 | ||
180 | 1017 | .no-transforms .reveal .slides section section { | ||
181 | 1018 | left: 0; } | ||
182 | 1019 | |||
183 | 1020 | .reveal .no-transition, | 1002 | .reveal .no-transition, |
184 | 1021 | .reveal .no-transition * { | 1003 | .reveal .no-transition * { |
185 | 1022 | transition: none !important; } | 1004 | transition: none !important; } |
186 | @@ -1041,7 +1023,7 @@ | |||
187 | 1041 | opacity: 0; | 1023 | opacity: 0; |
188 | 1042 | visibility: hidden; | 1024 | visibility: hidden; |
189 | 1043 | overflow: hidden; | 1025 | overflow: hidden; |
191 | 1044 | background-color: transparent; | 1026 | background-color: rgba(0, 0, 0, 0); |
192 | 1045 | transition: all 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } | 1027 | transition: all 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } |
193 | 1046 | 1028 | ||
194 | 1047 | .reveal .slide-background-content { | 1029 | .reveal .slide-background-content { |
195 | @@ -1294,9 +1276,9 @@ | |||
196 | 1294 | transition-duration: 1200ms; } | 1276 | transition-duration: 1200ms; } |
197 | 1295 | 1277 | ||
198 | 1296 | /********************************************* | 1278 | /********************************************* |
200 | 1297 | * LINK PREVIEW OVERLAY | 1279 | * OVERLAY FOR LINK PREVIEWS AND HELP |
201 | 1298 | *********************************************/ | 1280 | *********************************************/ |
203 | 1299 | .reveal .overlay { | 1281 | .reveal > .overlay { |
204 | 1300 | position: absolute; | 1282 | position: absolute; |
205 | 1301 | top: 0; | 1283 | top: 0; |
206 | 1302 | left: 0; | 1284 | left: 0; |
207 | @@ -1308,11 +1290,11 @@ | |||
208 | 1308 | visibility: hidden; | 1290 | visibility: hidden; |
209 | 1309 | transition: all 0.3s ease; } | 1291 | transition: all 0.3s ease; } |
210 | 1310 | 1292 | ||
212 | 1311 | .reveal .overlay.visible { | 1293 | .reveal > .overlay.visible { |
213 | 1312 | opacity: 1; | 1294 | opacity: 1; |
214 | 1313 | visibility: visible; } | 1295 | visibility: visible; } |
215 | 1314 | 1296 | ||
217 | 1315 | .reveal .overlay .spinner { | 1297 | .reveal > .overlay .spinner { |
218 | 1316 | position: absolute; | 1298 | position: absolute; |
219 | 1317 | display: block; | 1299 | display: block; |
220 | 1318 | top: 50%; | 1300 | top: 50%; |
221 | @@ -1326,7 +1308,7 @@ | |||
222 | 1326 | opacity: 0.6; | 1308 | opacity: 0.6; |
223 | 1327 | transition: all 0.3s ease; } | 1309 | transition: all 0.3s ease; } |
224 | 1328 | 1310 | ||
226 | 1329 | .reveal .overlay header { | 1311 | .reveal > .overlay header { |
227 | 1330 | position: absolute; | 1312 | position: absolute; |
228 | 1331 | left: 0; | 1313 | left: 0; |
229 | 1332 | top: 0; | 1314 | top: 0; |
230 | @@ -1335,7 +1317,7 @@ | |||
231 | 1335 | z-index: 2; | 1317 | z-index: 2; |
232 | 1336 | border-bottom: 1px solid #222; } | 1318 | border-bottom: 1px solid #222; } |
233 | 1337 | 1319 | ||
235 | 1338 | .reveal .overlay header a { | 1320 | .reveal > .overlay header a { |
236 | 1339 | display: inline-block; | 1321 | display: inline-block; |
237 | 1340 | width: 40px; | 1322 | width: 40px; |
238 | 1341 | height: 40px; | 1323 | height: 40px; |
239 | @@ -1345,10 +1327,10 @@ | |||
240 | 1345 | opacity: 0.6; | 1327 | opacity: 0.6; |
241 | 1346 | box-sizing: border-box; } | 1328 | box-sizing: border-box; } |
242 | 1347 | 1329 | ||
244 | 1348 | .reveal .overlay header a:hover { | 1330 | .reveal > .overlay header a:hover { |
245 | 1349 | opacity: 1; } | 1331 | opacity: 1; } |
246 | 1350 | 1332 | ||
248 | 1351 | .reveal .overlay header a .icon { | 1333 | .reveal > .overlay header a .icon { |
249 | 1352 | display: inline-block; | 1334 | display: inline-block; |
250 | 1353 | width: 20px; | 1335 | width: 20px; |
251 | 1354 | height: 20px; | 1336 | height: 20px; |
252 | @@ -1356,13 +1338,13 @@ | |||
253 | 1356 | background-size: 100%; | 1338 | background-size: 100%; |
254 | 1357 | background-repeat: no-repeat; } | 1339 | background-repeat: no-repeat; } |
255 | 1358 | 1340 | ||
257 | 1359 | .reveal .overlay header a.close .icon { | 1341 | .reveal > .overlay header a.close .icon { |
258 | 1360 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC); } | 1342 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC); } |
259 | 1361 | 1343 | ||
261 | 1362 | .reveal .overlay header a.external .icon { | 1344 | .reveal > .overlay header a.external .icon { |
262 | 1363 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==); } | 1345 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==); } |
263 | 1364 | 1346 | ||
265 | 1365 | .reveal .overlay .viewport { | 1347 | .reveal > .overlay .viewport { |
266 | 1366 | position: absolute; | 1348 | position: absolute; |
267 | 1367 | display: -webkit-box; | 1349 | display: -webkit-box; |
268 | 1368 | display: -ms-flexbox; | 1350 | display: -ms-flexbox; |
269 | @@ -1372,7 +1354,7 @@ | |||
270 | 1372 | bottom: 0; | 1354 | bottom: 0; |
271 | 1373 | left: 0; } | 1355 | left: 0; } |
272 | 1374 | 1356 | ||
274 | 1375 | .reveal .overlay.overlay-preview .viewport iframe { | 1357 | .reveal > .overlay.overlay-preview .viewport iframe { |
275 | 1376 | width: 100%; | 1358 | width: 100%; |
276 | 1377 | height: 100%; | 1359 | height: 100%; |
277 | 1378 | max-width: 100%; | 1360 | max-width: 100%; |
278 | @@ -1382,11 +1364,11 @@ | |||
279 | 1382 | visibility: hidden; | 1364 | visibility: hidden; |
280 | 1383 | transition: all 0.3s ease; } | 1365 | transition: all 0.3s ease; } |
281 | 1384 | 1366 | ||
283 | 1385 | .reveal .overlay.overlay-preview.loaded .viewport iframe { | 1367 | .reveal > .overlay.overlay-preview.loaded .viewport iframe { |
284 | 1386 | opacity: 1; | 1368 | opacity: 1; |
285 | 1387 | visibility: visible; } | 1369 | visibility: visible; } |
286 | 1388 | 1370 | ||
288 | 1389 | .reveal .overlay.overlay-preview.loaded .viewport-inner { | 1371 | .reveal > .overlay.overlay-preview.loaded .viewport-inner { |
289 | 1390 | position: absolute; | 1372 | position: absolute; |
290 | 1391 | z-index: -1; | 1373 | z-index: -1; |
291 | 1392 | left: 0; | 1374 | left: 0; |
292 | @@ -1395,46 +1377,46 @@ | |||
293 | 1395 | text-align: center; | 1377 | text-align: center; |
294 | 1396 | letter-spacing: normal; } | 1378 | letter-spacing: normal; } |
295 | 1397 | 1379 | ||
297 | 1398 | .reveal .overlay.overlay-preview .x-frame-error { | 1380 | .reveal > .overlay.overlay-preview .x-frame-error { |
298 | 1399 | opacity: 0; | 1381 | opacity: 0; |
299 | 1400 | transition: opacity 0.3s ease 0.3s; } | 1382 | transition: opacity 0.3s ease 0.3s; } |
300 | 1401 | 1383 | ||
302 | 1402 | .reveal .overlay.overlay-preview.loaded .x-frame-error { | 1384 | .reveal > .overlay.overlay-preview.loaded .x-frame-error { |
303 | 1403 | opacity: 1; } | 1385 | opacity: 1; } |
304 | 1404 | 1386 | ||
306 | 1405 | .reveal .overlay.overlay-preview.loaded .spinner { | 1387 | .reveal > .overlay.overlay-preview.loaded .spinner { |
307 | 1406 | opacity: 0; | 1388 | opacity: 0; |
308 | 1407 | visibility: hidden; | 1389 | visibility: hidden; |
309 | 1408 | -webkit-transform: scale(0.2); | 1390 | -webkit-transform: scale(0.2); |
310 | 1409 | transform: scale(0.2); } | 1391 | transform: scale(0.2); } |
311 | 1410 | 1392 | ||
313 | 1411 | .reveal .overlay.overlay-help .viewport { | 1393 | .reveal > .overlay.overlay-help .viewport { |
314 | 1412 | overflow: auto; | 1394 | overflow: auto; |
315 | 1413 | color: #fff; } | 1395 | color: #fff; } |
316 | 1414 | 1396 | ||
318 | 1415 | .reveal .overlay.overlay-help .viewport .viewport-inner { | 1397 | .reveal > .overlay.overlay-help .viewport .viewport-inner { |
319 | 1416 | width: 600px; | 1398 | width: 600px; |
320 | 1417 | margin: auto; | 1399 | margin: auto; |
321 | 1418 | padding: 20px 20px 80px 20px; | 1400 | padding: 20px 20px 80px 20px; |
322 | 1419 | text-align: center; | 1401 | text-align: center; |
323 | 1420 | letter-spacing: normal; } | 1402 | letter-spacing: normal; } |
324 | 1421 | 1403 | ||
326 | 1422 | .reveal .overlay.overlay-help .viewport .viewport-inner .title { | 1404 | .reveal > .overlay.overlay-help .viewport .viewport-inner .title { |
327 | 1423 | font-size: 20px; } | 1405 | font-size: 20px; } |
328 | 1424 | 1406 | ||
330 | 1425 | .reveal .overlay.overlay-help .viewport .viewport-inner table { | 1407 | .reveal > .overlay.overlay-help .viewport .viewport-inner table { |
331 | 1426 | border: 1px solid #fff; | 1408 | border: 1px solid #fff; |
332 | 1427 | border-collapse: collapse; | 1409 | border-collapse: collapse; |
333 | 1428 | font-size: 16px; } | 1410 | font-size: 16px; } |
334 | 1429 | 1411 | ||
337 | 1430 | .reveal .overlay.overlay-help .viewport .viewport-inner table th, | 1412 | .reveal > .overlay.overlay-help .viewport .viewport-inner table th, |
338 | 1431 | .reveal .overlay.overlay-help .viewport .viewport-inner table td { | 1413 | .reveal > .overlay.overlay-help .viewport .viewport-inner table td { |
339 | 1432 | width: 200px; | 1414 | width: 200px; |
340 | 1433 | padding: 14px; | 1415 | padding: 14px; |
341 | 1434 | border: 1px solid #fff; | 1416 | border: 1px solid #fff; |
342 | 1435 | vertical-align: middle; } | 1417 | vertical-align: middle; } |
343 | 1436 | 1418 | ||
345 | 1437 | .reveal .overlay.overlay-help .viewport .viewport-inner table th { | 1419 | .reveal > .overlay.overlay-help .viewport .viewport-inner table th { |
346 | 1438 | padding-top: 20px; | 1420 | padding-top: 20px; |
347 | 1439 | padding-bottom: 20px; } | 1421 | padding-bottom: 20px; } |
348 | 1440 | 1422 | ||
349 | @@ -1448,13 +1430,33 @@ | |||
350 | 1448 | z-index: 30; | 1430 | z-index: 30; |
351 | 1449 | cursor: pointer; | 1431 | cursor: pointer; |
352 | 1450 | transition: all 400ms ease; | 1432 | transition: all 400ms ease; |
354 | 1451 | -webkit-tap-highlight-color: transparent; } | 1433 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } |
355 | 1452 | 1434 | ||
356 | 1453 | .reveal.overview .playback { | 1435 | .reveal.overview .playback { |
357 | 1454 | opacity: 0; | 1436 | opacity: 0; |
358 | 1455 | visibility: hidden; } | 1437 | visibility: hidden; } |
359 | 1456 | 1438 | ||
360 | 1457 | /********************************************* | 1439 | /********************************************* |
361 | 1440 | * CODE HIGHLGIHTING | ||
362 | 1441 | *********************************************/ | ||
363 | 1442 | .reveal .hljs table { | ||
364 | 1443 | margin: initial; } | ||
365 | 1444 | |||
366 | 1445 | .reveal .hljs-ln-code, | ||
367 | 1446 | .reveal .hljs-ln-numbers { | ||
368 | 1447 | padding: 0; | ||
369 | 1448 | border: 0; } | ||
370 | 1449 | |||
371 | 1450 | .reveal .hljs-ln-numbers { | ||
372 | 1451 | opacity: 0.6; | ||
373 | 1452 | padding-right: 0.75em; | ||
374 | 1453 | text-align: right; | ||
375 | 1454 | vertical-align: top; } | ||
376 | 1455 | |||
377 | 1456 | .reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) { | ||
378 | 1457 | opacity: 0.4; } | ||
379 | 1458 | |||
380 | 1459 | /********************************************* | ||
381 | 1458 | * ROLLING LINKS | 1460 | * ROLLING LINKS |
382 | 1459 | *********************************************/ | 1461 | *********************************************/ |
383 | 1460 | .reveal .roll { | 1462 | .reveal .roll { |
384 | @@ -1512,7 +1514,7 @@ | |||
385 | 1512 | .reveal .speaker-notes { | 1514 | .reveal .speaker-notes { |
386 | 1513 | display: none; | 1515 | display: none; |
387 | 1514 | position: absolute; | 1516 | position: absolute; |
389 | 1515 | width: 25vw; | 1517 | width: 33.3333333333%; |
390 | 1516 | height: 100%; | 1518 | height: 100%; |
391 | 1517 | top: 0; | 1519 | top: 0; |
392 | 1518 | left: 100%; | 1520 | left: 100%; |
393 | @@ -1540,7 +1542,7 @@ | |||
394 | 1540 | opacity: 0.5; } | 1542 | opacity: 0.5; } |
395 | 1541 | 1543 | ||
396 | 1542 | .reveal.show-notes { | 1544 | .reveal.show-notes { |
398 | 1543 | max-width: 75vw; | 1545 | max-width: 75%; |
399 | 1544 | overflow: visible; } | 1546 | overflow: visible; } |
400 | 1545 | 1547 | ||
401 | 1546 | .reveal.show-notes .speaker-notes { | 1548 | .reveal.show-notes .speaker-notes { |
402 | @@ -1555,19 +1557,24 @@ | |||
403 | 1555 | border-left: 0; | 1557 | border-left: 0; |
404 | 1556 | max-width: none; | 1558 | max-width: none; |
405 | 1557 | max-height: 70%; | 1559 | max-height: 70%; |
406 | 1560 | max-height: 70vh; | ||
407 | 1558 | overflow: visible; } | 1561 | overflow: visible; } |
408 | 1559 | .reveal.show-notes .speaker-notes { | 1562 | .reveal.show-notes .speaker-notes { |
409 | 1560 | top: 100%; | 1563 | top: 100%; |
410 | 1561 | left: 0; | 1564 | left: 0; |
411 | 1562 | width: 100%; | 1565 | width: 100%; |
413 | 1563 | height: 42.8571428571%; } } | 1566 | height: 42.8571428571%; |
414 | 1567 | height: 30vh; | ||
415 | 1568 | border: 0; } } | ||
416 | 1564 | 1569 | ||
417 | 1565 | @media screen and (max-width: 600px) { | 1570 | @media screen and (max-width: 600px) { |
418 | 1566 | .reveal.show-notes { | 1571 | .reveal.show-notes { |
420 | 1567 | max-height: 60%; } | 1572 | max-height: 60%; |
421 | 1573 | max-height: 60vh; } | ||
422 | 1568 | .reveal.show-notes .speaker-notes { | 1574 | .reveal.show-notes .speaker-notes { |
423 | 1569 | top: 100%; | 1575 | top: 100%; |
425 | 1570 | height: 66.6666666667%; } | 1576 | height: 66.6666666667%; |
426 | 1577 | height: 40vh; } | ||
427 | 1571 | .reveal .speaker-notes { | 1578 | .reveal .speaker-notes { |
428 | 1572 | font-size: 14px; } } | 1579 | font-size: 14px; } } |
429 | 1573 | 1580 |
JavaScript tests passed!