session.lifetime = 31536000 ;1 year
session.adapter = cache
-session.cookieDomain = fluidbook.com
database.adapter = pdo_mysql
database.params.host = localhost
compat_ie = 9
+;weinre = https://6114024f.ngrok.io/target/target-script-min.js#anonymous
+
[testing : production]
dev = true
\r
var mainHeight = wh;\r
$("footer").each(function () {\r
- mainHeight -= $(this).outerHeight()*zoom;\r
+ mainHeight -= $(this).outerHeight();\r
});\r
\r
- $('main').css('min-height', mainHeight/zoom);\r
+ $('main').css('min-height', mainHeight);\r
\r
// Handle divs with background images that must have a proportional min-height\r
$('body:not(.home) [data-bg-ratio]').each(function () {\r
}\r
\r
$('#z,header').css('transform', transform);\r
- if (Modernizr.ie10 || Modernizr.ie11) {\r
- if (zoom > 1) {\r
+ if(Modernizr.ie10 || Modernizr.ie11){\r
+ if(zoom>1) {\r
$("#mm-0").css('height', h + 60);\r
}\r
- $("#footerHolder").css('transform', transform);\r
+ $("#footerHolder").css('transform',transform);\r
}\r
}\r
\r
function setHeaderAnimation() {\r
var h = $('#h');\r
home = $('body').hasClass('home');\r
- var error = $('#error').length > 0;\r
var fullPages = $('body').hasClass('fullpages'); // Are we in full page mode?\r
\r
if (htl !== undefined) {\r
// Background-color & height\r
htl.add(TweenMax.fromTo(h, 1.5, {height: 90}, {height: 75}), 0);\r
\r
- if ((home || error) && (isMobile() || !fullPages)) {\r
- var c;\r
- if (home) {\r
- c = $("main section:first").data('headerstyle');\r
- } else if (error) {\r
- c = 'light';\r
- }\r
- htl.add(TweenMax.fromTo($("#h,#nav-icon"), 1, {className: c}, {className: "-=light"}), 1);\r
+ if (home && (isMobile() || !fullPages)) {\r
+ htl.add(TweenMax.fromTo($("#h,#nav-icon"), 1, {className: $("main section:first").data('headerstyle')}, {className: "-=light"}), 1);\r
}\r
if (fullPages && !isMobile()) {\r
htl.add(TweenMax.fromTo(h, 0.75, {backgroundColor: 'transparent', boxShadow: '0 0 0 rgba(0,0,0,0)'}, {backgroundColor: 'transparent', boxShadow: '0 0 0 rgba(0,0,0,0)'}), 0);\r
initFancySelect();
- $(window).on('cubeitopenpopup', function() {
+ $(window).on('cubeitopenpopup', function () {
initFancySelect();
});
}
function initFancySelect() {
- $('#requestQuote select, #requestQuotePopup select').fancySelect();
+ if ((!$('html').hasClass('ie11') && !$('html').hasClass('ie10')) || !isMobile()) {
+ $('#requestQuote select, #requestQuotePopup select').fancySelect();
+ }
}
function displayErrors(formID) {
$('#' + formID + ' .errormessage').each(function () {
errors.push($(this).text());
- $('.validation-messages').html(errors.join('<br>')).fadeIn(500, function() {
- setTimeout(function() {
+ $('.validation-messages').html(errors.join('<br>')).fadeIn(500, function () {
+ setTimeout(function () {
$('.validation-messages').fadeOut(500);
}, 3000);
});
});
// Hide on any click/touch after messages are displayed
- $(document).one('click touchend', function() {
+ $(document).one('click touchend', function () {
$('.validation-messages').hide();
});
-registerLoader(load_e404, true);\r
-function load_e404() {\r
- resize_e404();\r
- $(window).on('fluidbookresize', resize_e404);\r
-}\r
-\r
-function resize_e404() {\r
- var wh = getWindowHeight() / zoom;\r
- $('#error').css('height', wh);\r
-\r
- var c = $("#error .dotclear");\r
- $(c).css({paddingTop: $("#h").height() + (wh - $("#h").height() - $(c).outerHeight()) / 2})\r
-}
\ No newline at end of file
padding: 0 14px; // To create a 28px gap between cells
@media @wrapForm {
- flex-basis: 100%;
+ flex-basis: 100% !important;
}
}
}