session.lifetime = 31536000 ;1 year
session.adapter = cache
+session.domain = physioassist.fr
webhost = www.
navigation.containers[] = -2;
navigation.containers[] = -3;
-locales.fr =
-;locales.en =
+locales.fr = simeox.dev.cubedesigners.com
+locales.en = en.simeox.dev.cubedesigners.com
acl.perpage = true
dev = true
+session.domain = simeox.dev.cubedesigners.com
+
minify.js = false
seo.universalAnalytics =
$this->headScript()->addWebFont($fonts);
// Set viewport width for mobile devices
-$this->headMeta()->setName('viewport', 'width=960');
+$this->headMeta()->setName('viewport', 'width=1100');
profile(__FILE__, __LINE__, 'Before rendering body');
$res = $this->htmlPage($this->render('common/body.phtml'));
foreach($logos as $l) {
$attribs = !empty($l['description']) ? array('data-tooltip' => $l['description']) : array();
- $res .= $this->link(
- $this->imageProcess($l['logo'], $l['name'], $maxWidth, $maxHeight, $attribs, 'R', 'C', 'M', false, 'auto', 'transparent'),
- $l['link']);
+ $img = $this->imageProcess($l['logo'], $l['name'], $maxWidth, $maxHeight, $attribs, 'R', 'C', 'M', false, 'auto', 'transparent');
+ $res .= !empty($l['link']) ? $this->link($img, $l['link']) : $img;
$res .= ' '; // space needed for justify elements spacing
}
-<footer>
+<footer class="group">
<div class="content">
<nav class="locales">
<ul>
<?php
$locales = Bootstrap::getInstance()->getOpt('locales');
+ fb($locales, 'locales');
foreach ($locales as $locale => $url) {
// Check which locale URL we are on
$attr = ($_SERVER['HTTP_HOST'] == $url) ? array('class' => 'active') : array();
+ $attr['target'] = '_self';
echo '<li>'. $this->link($locale, 'http://'.$url, $attr) .'</li>';
}
//$address .= ' - ';
//$address .= $this->microdataProp(Zend_Locale::getTranslation($c['pays'], 'territory'), 'addressCountry', array('class' => 'country'));
+// Link to Google Maps
+$address = $this->link($address, 'https://www.google.com/maps/place/'. urlencode("{$c['adresse']}, {$c['code_postal']} {$c['ville']}"));
+
$postalAddress = $this->microdataPostalAddress($address, array('class' => 'address'), 'address');
?>
// Handle cookie banner
cookieBanner();
- $('a').click(function() {
- if(!localScrollInitialised) { // Only initalise localscroll after first click
- $.localScroll({
+ //$('a').click(function() {
+ // if(!localScrollInitialised) { // Only initalise localscroll after first click
+ $('header.site').localScroll({
axis: 'y',
- //onBefore: onStartAutoScroll,
- //onAfter: onEndAutoScroll,
duration: 1000,
- hash: true,
+ //hash: true,
offset: -65 // For fixed header height
});
-
- localScrollInitialised = true;
- }
- });
+ //
+ // localScrollInitialised = true;
+ // }
+ //});
// Shrinking fixed header
$(window).scroll(function() {
- if ($(this).scrollTop() > 100) {
- $('header.site').addClass("small");
- } else {
- $('header.site').removeClass("small");
- }
+ shrinkHeader();
});
+ shrinkHeader(); // Trigger even when no scroll (eg. page refresh)
+
$('.partners .logos').imagefit(); // Make sure logos fit onto one line
}
+function shrinkHeader() {
+ if ($(this).scrollTop() > 100) {
+ $('header.site').addClass("small");
+ } else {
+ $('header.site').removeClass("small");
+ }
+}
+
function cookieBanner() {
if($('#cookieBanner').length) {
}
img {
- padding-top: 2em;
+ padding-top: 1.5em;
}
}
}
p {
- padding-bottom: 1em;
+ padding: 0.5em 0 1em 0;
+ line-height: 1.5;
}
.content {
background-repeat: no-repeat;
background-position: 0 5px;
line-height: 1.5;
- margin-bottom: 10px;
+ margin-bottom: 13px;
}
ul li ul {
margin-top: 10px;
width: 100%;
background-color: #fff;
z-index: 10;
- transition: all 0.3s ease;
+ transition: height 0.3s ease;
.content {
position: relative;
//font-size: 16px;
margin-top: 20px;
}
- nav.locales {
- //top: 6px; // or hide completely?
- opacity: 0;
- }
}
}
main {
padding-top: @header-height; // offset space for fixed header
+ overflow: hidden;
+ max-width: 100%;
}
.hero {
}
}
+#cookieBanner {
+ font-size: 12px !important;
+}
+
#adminBar {
position: absolute;
width: 100%;
display: inline-block;
vertical-align: middle;
font-size: 16px; // needed to reset .jgroup font-size
+ margin-right: 20px; // Small margin for browsers that don't support justify spacing trick
}
}
\ No newline at end of file
+header.site {
+ position: absolute;
+
+ &.small {
+ height: auto;
+
+ .logo {
+ height: inherit;
+ margin-top: inherit;
+ }
+ }
+}
\ No newline at end of file
.dotclear {
max-width: 425px;
- margin-top: 120px;
+ margin-top: 90px;
}
.video {