hyla 1.0.7.pre.6 → 1.0.7.pre.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Rakefile +23 -7
- data/hyla.gemspec +3 -0
- data/lib/hyla/project.rb +1 -1
- data/lib/hyla.rb +0 -2
- data/lib/resources/assets/revealjs/css/theme/old-gpe.css +196 -0
- data/lib/resources/assets/revealjs/lib/css/font-awesome-4.3.0.css +1098 -2886
- data/lib/resources/assets/revealjs-redhat/lib/css/font-awesome-4.3.0.css +1098 -2886
- data/lib/resources/assets/revealjs-redhat/lib/css/gpe.css +180 -656
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-output.css +395 -1509
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-liberation.css +1366 -4332
- data/lib/resources/assets/revealjs-redhat/lib/css/theme-v2-overpass.css +1364 -4320
- data/lib/resources/assets/revealjs-redhat/lib/js/{gpe.js → debug/gpe.js} +0 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/debug/reveal.js +12 -2
- data/lib/resources/assets/revealjs-redhat/lib/js/gpe.min.js +1 -0
- data/lib/resources/assets/revealjs-redhat/lib/js/head.min.js +16 -1
- data/lib/resources/assets/revealjs-redhat/lib/js/reveal.min.js +337 -2
- data/lib/resources/assets/sass/{gpe2.scss → new-gpe.scss} +1 -2
- data/lib/resources/assets/sass/{gpe.scss → old-gpe.scss} +0 -0
- data/lib/resources/backends/slim/revealjs-redhat/document.html.slim +3 -0
- data/lib/templates/_config.yaml +4 -2
- metadata +21 -5
File without changes
|
@@ -41,6 +41,10 @@
|
|
41
41
|
// Factor of the display size that should remain empty around the content
|
42
42
|
margin: 0.1,
|
43
43
|
|
44
|
+
// Top and Left margins to reposition the slides
|
45
|
+
marginTop: '',
|
46
|
+
marginLeft: '',
|
47
|
+
|
44
48
|
// Bounds for smallest/largest possible scale to apply to content
|
45
49
|
minScale: 0.2,
|
46
50
|
maxScale: 1.5,
|
@@ -1529,15 +1533,21 @@
|
|
1529
1533
|
// Prefer zooming in desktop Chrome so that content remains crisp
|
1530
1534
|
if( !isMobileDevice && /chrome/i.test( navigator.userAgent ) && typeof dom.slides.style.zoom !== 'undefined' ) {
|
1531
1535
|
dom.slides.style.zoom = scale;
|
1536
|
+
dom.slides.style.marginTop = config.marginTop;
|
1537
|
+
dom.slides.style.marginLeft = config.marginLeft;
|
1532
1538
|
transformSlides( { layout: '' } );
|
1533
1539
|
}
|
1534
1540
|
// Apply scale transform as a fallback
|
1535
1541
|
else {
|
1536
1542
|
// dom.slides.style.left = '50%';
|
1537
|
-
// dom.slides.style.top = '
|
1543
|
+
// dom.slides.style.top = '44%';
|
1538
1544
|
// dom.slides.style.bottom = 'auto';
|
1539
1545
|
// dom.slides.style.right = 'auto';
|
1540
|
-
|
1546
|
+
dom.slides.style.marginTop = config.marginTop;
|
1547
|
+
dom.slides.style.marginLeft = config.marginLeft;
|
1548
|
+
dom.slides.style.marginBottom = 'auto';
|
1549
|
+
dom.slides.style.marginRight = 'auto';
|
1550
|
+
transformSlides( { layout: 'translate(-50%, -50%) scale('+ scale +') translate(50%, 50%)' } );
|
1541
1551
|
}
|
1542
1552
|
}
|
1543
1553
|
|
@@ -0,0 +1 @@
|
|
1
|
+
var $sections=$('section');$sections.each(function(){var $this=$(this);var $audio=$this.find('.audioblock');var $audioHtml=$audio.html();if($audioHtml!=null){$this.removeData($audioHtml);$audio.prependTo($this);}});
|
@@ -1 +1,16 @@
|
|
1
|
-
|
1
|
+
(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}
|
2
|
+
function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}
|
3
|
+
function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}
|
4
|
+
function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}
|
5
|
+
function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}
|
6
|
+
function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}
|
7
|
+
return b}
|
8
|
+
function t(a){return Object.prototype.toString.call(a)=="[object Function]"}
|
9
|
+
function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c<a.length;c++)b.call(a,a[c],c)}}
|
10
|
+
function r(a){var b;if(typeof a=="object")for(var c in a)a[c]&&(b={name:c,url:a[c]});else b={name:q(a),url:a};var d=h[b.name];if(d&&d.url===b.url)return d;h[b.name]=b;return b}
|
11
|
+
function q(a){var b=a.split("/"),c=b[b.length-1],d=c.indexOf("?");return d!=-1?c.substring(0,d):c}
|
12
|
+
function p(a){a._done||(a(),a._done=1)}
|
13
|
+
var b=a.documentElement,c,d,e=[],f=[],g={},h={},i=a.createElement("script").async===!0||"MozAppearance"in a.documentElement.style||window.opera,j=window.head_conf&&head_conf.head||"head",k=window[j]=window[j]||function(){k.ready.apply(null,arguments)},l=1,m=2,n=3,o=4;i?k.js=function(){var a=arguments,b=a[a.length-1],c={};t(b)||(b=null),s(a,function(d,e){d!=b&&(d=r(d),c[d.name]=d,x(d,b&&e==a.length-2?function(){u(c)&&p(b)}:null))});return k}:k.js=function(){var a=arguments,b=[].slice.call(a,1),d=b[0];if(!c){f.push(function(){k.js.apply(null,a)});return k}
|
14
|
+
d?(s(b,function(a){t(a)||w(r(a))}),x(r(a[0]),t(d)?d:function(){k.js.apply(null,b)})):x(r(a[0]));return k},k.ready=function(b,c){if(b==a){d?p(c):e.push(c);return k}
|
15
|
+
t(b)&&(c=b,b="ALL");if(typeof b!="string"||!t(c))return k;var f=h[b];if(f&&f.state==o||b=="ALL"&&u()&&d){p(c);return k}
|
16
|
+
var i=g[b];i?i.push(c):i=g[b]=[c];return k},k.ready(a,function(){u()&&s(g.ALL,function(a){p(a)}),k.feature&&k.feature("domloaded",!0)});if(window.addEventListener)a.addEventListener("DOMContentLoaded",z,!1),window.addEventListener("load",z,!1);else if(window.attachEvent){a.attachEvent("onreadystatechange",function(){a.readyState==="complete"&&z()});var A=1;try{A=window.frameElement}catch(B){}!A&&b.doScroll&&function(){try{b.doScroll("left"),z()}catch(a){setTimeout(arguments.callee,1);return}}(),window.attachEvent("onload",z)}!a.readyState&&a.addEventListener&&(a.readyState="loading",a.addEventListener("DOMContentLoaded",handler=function(){a.removeEventListener("DOMContentLoaded",handler,!1),a.readyState="complete"},!1)),setTimeout(function(){c=!0,s(f,function(a){a()})},300)})(document)
|