fixes for ie8
This commit is contained in:
parent
797ba68dfc
commit
e3534e3bae
|
@ -126,4 +126,9 @@ form {
|
|||
float: right;
|
||||
}
|
||||
|
||||
|
||||
.cont-logo {
|
||||
/*width: 375px;
|
||||
height: 120px;
|
||||
padding: 32px 0 50px 25px;*/
|
||||
background: url(../img/cont-bg.png) no-repeat 0 5px;
|
||||
}
|
||||
|
|
|
@ -10,22 +10,22 @@ body { -webkit-font-smoothing:antialiased; }
|
|||
.well.pull-right { width:35%; margin-left:3%; }
|
||||
q { font-style:italic; }
|
||||
.dropdown-menu>li>strong { display:block; padding:3px 20px; clear:both;}
|
||||
|
||||
@media (max-width: 767px) { .navbar-nav .open .dropdown-menu>li>strong, .navbar-nav .open .dropdown-menu>li>a { padding:8px 15px 8px 30px; } }
|
||||
.retour_chariot { clear:both; overflow:hidden; }
|
||||
a:focus , a:active { outline:0 none; outline-offset:0; }
|
||||
a:hover , a:focus { text-decoration:none; }
|
||||
.panel-group .panel + .panel .panel-heading a { border:0; }
|
||||
.panel-group .panel + .panel .panel-heading a:hover { border-top:0; }
|
||||
|
||||
/* -- ONGLETS -------------------------------- */
|
||||
.tab-pane { padding:10px; border:1px solid #DDD; border-top:0; }
|
||||
.tab-pane { padding:10px; border-top:0; }
|
||||
.nav-tabs > li > a:focus, .nav-tabs > li > a:active { outline:none; }
|
||||
/* ---------------------------------------------------------------------- Tableaux */
|
||||
table { /*margin:0 0 1.7em 0;*/ border:0; }
|
||||
th {text-align:center;}
|
||||
table td, table th { vertical-align:top; padding:.5em .7em; }
|
||||
/* ------------------------------------------------------------ Tableau de donn<6E>es */
|
||||
.tableau_donnees { border-top:.1em solid #ccc; border-right:.1em solid #ccc; }
|
||||
.tableau_donnees { border-top:.1em solid #ccc; border-right:.1em solid #ccc; margin-bottom: 1em;}
|
||||
.tableau_donnees p {margin-bottom:0;}
|
||||
.tableau_donnees p.accessiform {margin-bottom:1em;}
|
||||
.tableau_donnees caption { text-align:left; font-weight:bold; padding:0 0 .6em 0; }
|
||||
|
@ -89,7 +89,24 @@ a:hover , a:focus { text-decoration:none; }
|
|||
a.ms-excel {background-position:left top;}
|
||||
a.msword {background-position:left -50px;}
|
||||
a.document {background-position:left -50px;}
|
||||
a.pdf {background-position:left -100px;}
|
||||
a.pdf {background-position:left -95px;}
|
||||
a.fichier.pdf {
|
||||
background-image:none;
|
||||
padding: 0 0 0 3px;
|
||||
display: inline;
|
||||
}
|
||||
a.pdf:before {
|
||||
color: #333;
|
||||
margin-right: 5px;
|
||||
content: "\f1c1";
|
||||
display: inline-block;
|
||||
font-family: FontAwesome;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
a.plain {background-position:left -150px;}
|
||||
a.octet-stream {background-position:left -200px;}
|
||||
a.rtf {background-position:left -250px;}
|
||||
|
@ -108,9 +125,9 @@ a:hover , a:focus { text-decoration:none; }
|
|||
.alignement03 {text-align:center;}
|
||||
/* ---------------------------------------------------------------------- Espacements */
|
||||
.espacement01 {margin-bottom:0;}
|
||||
.espacement02 {margin-bottom:2.7em;}
|
||||
.espacement03 {margin-bottom:3.7em;}
|
||||
.espacement04 {margin-bottom:4.7em;}
|
||||
.espacement02 {margin-bottom:1em;}
|
||||
.espacement03 {margin-bottom:2em;}
|
||||
.espacement04 {margin-bottom:3em;}
|
||||
/* ---------------------------------------------------------------------- Extraits (view line) */
|
||||
.extraits { clear:both; margin:2em 0 1.7em 0; }
|
||||
.extrait > .pull-left { margin:0 10px 5px 0; }
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,5 @@
|
|||
/****** tests intégration IE8 Victor ************/
|
||||
|
||||
#events {
|
||||
display: none;
|
||||
}
|
|
@ -165,13 +165,13 @@ input[type="radio"], input[type="checkbox"] {
|
|||
div.dataview div.field span.label {
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
color: #333;
|
||||
min-width: 48%;
|
||||
max-width: 100%;
|
||||
float: left;
|
||||
font-size: 12px;
|
||||
text-align: left;
|
||||
padding-top: 8px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
div.dataview div.field .value {
|
||||
|
@ -188,3 +188,10 @@ div.dataview div.field .value {
|
|||
form, .right {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.cont-logo {
|
||||
/*width: 375px;
|
||||
height: 120px;
|
||||
padding: 32px 0 50px 25px;*/
|
||||
background: url(../img/cont-bg.png) no-repeat 0 5px;
|
||||
}
|
||||
|
|
|
@ -1,69 +1,100 @@
|
|||
// Change page's title
|
||||
if (typeof pageTitle != "undefined") {
|
||||
document.title = pageTitle;
|
||||
// French translation for the datepicker plugins
|
||||
$.fn.datepicker.dates['fr'] = {
|
||||
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
||||
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
|
||||
daysMin: ["Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa", "Di"],
|
||||
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
|
||||
monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"],
|
||||
today: "Aujourd'hui",
|
||||
clear: "Effacer",
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
}
|
||||
|
||||
// Change layout orders according to the device resolution
|
||||
function layouting() {
|
||||
if ( window.matchMedia('(min-width: 1200px)').matches ) {
|
||||
$("#access").detach().insertBefore('#actualites');
|
||||
$("#promo").detach().insertAfter('#agenda');
|
||||
$("#mairie24").detach().appendTo('#header');
|
||||
$("#aside").detach().insertAfter('#webtv');
|
||||
} else if ( window.matchMedia('(min-width: 992px)').matches && window.matchMedia('(max-width: 1199px)').matches ) {
|
||||
$("#access").detach().insertBefore('#actualites');
|
||||
$("#promo").detach().insertAfter('#agenda');
|
||||
$("#mairie24").detach().appendTo('#header');
|
||||
$("#aside").detach().insertAfter('#webtv');
|
||||
} else if ( window.matchMedia('(max-width: 991px)').matches ) {
|
||||
$("#access").detach().insertAfter('#webtv');
|
||||
$("#promo").detach().insertAfter('#aside');
|
||||
$("#mairie24").detach().insertAfter('#navigation');
|
||||
$("#aside").detach().insertAfter('#access');
|
||||
if ( window.matchMedia('(min-width: 481px)').matches ) {
|
||||
$("#promo").detach().insertAfter('#aside');
|
||||
|
||||
if ($('body').data('page') === 'homepage') {
|
||||
if (window.matchMedia('(min-width: 992px)').matches) {
|
||||
$("#access").detach().insertBefore('#news');
|
||||
$("#promo").detach().insertAfter('#events');
|
||||
$("#procedures").detach().appendTo('#header');
|
||||
/*$("#right_bar").detach().insertAfter('#webtv');*/
|
||||
} else if (window.matchMedia('(max-width: 991px)').matches) {
|
||||
$("#access").detach().insertAfter('#webtv');
|
||||
$("#procedures").detach().insertAfter('#navigation');
|
||||
$("#right_bar").detach().insertAfter('#access');
|
||||
$("#promo").detach().insertAfter('#right_bar');
|
||||
if (window.matchMedia('(min-width: 481px)').matches) {
|
||||
$("#promo").detach().insertAfter('#right_bar');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (window.matchMedia('(min-width: 992px)').matches) {
|
||||
$("#access").detach().insertBefore('#main');
|
||||
$("#events").detach().appendTo('#col-right > .row');
|
||||
$("#promo").detach().insertAfter('#events');
|
||||
$("#procedures").detach().appendTo('#header');
|
||||
if (!$('body').hasClass('theme_33212')) {
|
||||
$("#right_bar").detach().insertAfter('#promo');
|
||||
|
||||
}
|
||||
} else if (window.matchMedia('(max-width: 991px)').matches) {
|
||||
$("#procedures").detach().insertAfter('#navigation');
|
||||
|
||||
$("#events").detach().insertAfter('#main');
|
||||
$("#access").detach().insertAfter('#events');
|
||||
$("#right_bar").detach().insertAfter('#access');
|
||||
$("#promo").detach().insertAfter('#right_bar');
|
||||
if (window.matchMedia('(min-width: 481px)').matches) {
|
||||
$("#promo").detach().insertAfter('#right_bar');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$('[data-toggle="collapse"]').on('click', function () {
|
||||
if ( $(this).hasClass('active') ) {
|
||||
|
||||
/*var hauteurSite = (window.innerHeight);*/
|
||||
/*console.log(haut);*/
|
||||
|
||||
layouting();
|
||||
|
||||
$(window).resize(function(event) {
|
||||
layouting();
|
||||
});
|
||||
|
||||
// Add class "active" on collapse trigger when they are open
|
||||
$('[data-toggle="collapse"]').on('click', function() {
|
||||
if ($(this).hasClass('active')) {
|
||||
$(this).removeClass('active');
|
||||
} else {
|
||||
$(this).addClass('active');
|
||||
}
|
||||
});
|
||||
|
||||
if ( window.matchMedia('(min-width: 768px)').matches ) {
|
||||
//$(window).stellar();
|
||||
}
|
||||
// Background image parallax only if min-width > 768px
|
||||
// if ( window.matchMedia('(min-width: 768px)').matches ) {
|
||||
// $('body').stellar({
|
||||
// horizontalOffset: 50
|
||||
// });
|
||||
// }
|
||||
|
||||
|
||||
layouting();
|
||||
$(window).resize(function(event) {
|
||||
layouting();
|
||||
// Calendar datepicker on calendar page
|
||||
$('#js-calendar').datepicker({
|
||||
language: "fr",
|
||||
todayHighlight: true
|
||||
});
|
||||
|
||||
$("img.lazy").lazyload({
|
||||
skip_invisible : false
|
||||
});
|
||||
$('.yamm-content').find('.change-img').find('img').not(':first-child').css('top', '-5000px');
|
||||
|
||||
$('#navigation').find('[data-img]').hover( function () {
|
||||
// Change image visible when navigation dropdown items are hovered
|
||||
$('#navigation').find('[data-img]').hover(function() {
|
||||
var img = $(this).data('img');
|
||||
$(this).parents('.yamm-content').find('.img' + img).css('z-index', '1000').siblings('img').css('z-index', '1');
|
||||
});
|
||||
|
||||
$('.sondage').find('.bloc-title').on('click', function (event) {
|
||||
event.preventDefault();
|
||||
$('.newsletter').removeClass('open');
|
||||
$(this).parent('.sondage').toggleClass('open');
|
||||
});
|
||||
|
||||
$('.newsletter').find('.bloc-title').on('click', function (event) {
|
||||
event.preventDefault();
|
||||
$('.sondage').removeClass('open');
|
||||
$(this).parent('.newsletter').toggleClass('open');
|
||||
$(this).parents('.yamm-content').find('.img' + img).css('top', '0').siblings('img').css('top', '-5000px');
|
||||
});
|
||||
|
||||
// Detect if device has a touch interface
|
||||
if ("ontouchstart" in window || navigator.msMaxTouchPoints) {
|
||||
$('html').addClass('touchable');
|
||||
isTouch = true;
|
||||
|
@ -72,16 +103,406 @@ $(function() {
|
|||
isTouch = false;
|
||||
}
|
||||
|
||||
$(document).on('click', function () {
|
||||
if ($(event.target).parents('.sondage').length > 0) {
|
||||
|
||||
} else {
|
||||
$('.sondage').removeClass('open');
|
||||
}
|
||||
if ( $(event.target).parents('.newsletter').length > 0) {
|
||||
|
||||
} else {
|
||||
$('.newsletter').removeClass('open');
|
||||
/* Manipulation du DOM */
|
||||
$(".procedures--body ul li a").each(function(index) {
|
||||
$(this).parent('li').addClass('col-md-8');
|
||||
if (index > 0) {
|
||||
$(this).prepend('<i class="fa fa-caret-right"></i>');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// scroll vers l'ancre
|
||||
// $('a[href^="#"]').click(function(){ var the_id = $(this).attr("href"); $('html, body').animate({ scrollTop:$(the_id).offset().top }, 'slow'); return false; });
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
$(document).ready(function($) {
|
||||
|
||||
// delegate calls to data-toggle="lightbox"
|
||||
$(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
|
||||
event.preventDefault();
|
||||
return $(this).ekkoLightbox({
|
||||
always_show_close: true
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$(".container").fitVids();
|
||||
|
||||
$('ul.nav li.dropdown').hover(function() {
|
||||
$(this).addClass('open').find('.dropdown-menu').stop(true, true).delay(200).fadeIn();
|
||||
}, function() {
|
||||
$(this).removeClass('open').find('.dropdown-menu').stop(true, true).delay(200).fadeOut();
|
||||
});
|
||||
|
||||
/*$('.navigation--body .change-img').each(function() {
|
||||
console.log($(this).find('img').css('z-index'));
|
||||
});*/
|
||||
|
||||
/*$('#acces-menu i').each(function(e){
|
||||
|
||||
$(this).removeClass('fa-caret-square-o-down');
|
||||
/*console.log(e);*/
|
||||
|
||||
/*});*/
|
||||
/*$('.panel-heading a').on('click', function(){
|
||||
$(this).find('i').addClass('fa-caret-square-o-up').siblings().removeClass('fa-caret-square-o-down');
|
||||
});*/
|
||||
|
||||
|
||||
|
||||
$('#carousel-example-generic').touchwipe({
|
||||
wipeLeft: function() { $('#carousel-example-generic').carousel('next'); },
|
||||
wipeRight: function() { $('#carousel-example-generic').carousel('prev'); },
|
||||
min_move_x: 20,
|
||||
min_move_y: 20,
|
||||
preventDefaultEvents: false
|
||||
});
|
||||
|
||||
|
||||
$('.panel-heading a').on('click', function(e) {
|
||||
$(this).find('i').addClass('fa-caret-square-o-down');
|
||||
$(this).find('i').removeClass('fa-caret-square-o-up');
|
||||
var $this = $(this);
|
||||
var hash = $this.attr('href');
|
||||
var titre = $this.parent('h4');
|
||||
var titreParent = titre.parent('.panel-heading');
|
||||
var collapse = titreParent.next('div');
|
||||
/*console.log(collapse.attr('id')); */
|
||||
hashTraite = hash.substring(1, hash.length);
|
||||
/*console.log(collapse.attr('id'));*/
|
||||
if ($(collapse).hasClass('in')) {
|
||||
console.log('toto');
|
||||
var parent01 = $this.parent('.panel-heading');
|
||||
var enfant01 = parent01.children('h4');
|
||||
var enfant02 = enfant01.children('a');
|
||||
var enfant03 = enfant02.children('i');
|
||||
/*enfant03.removeClass('fa-caret-square-o-down');*/
|
||||
$(this).find('i').addClass('fa-caret-square-o-down');
|
||||
$(this).find('i').removeClass('fa-caret-square-o-up');
|
||||
} else {
|
||||
|
||||
|
||||
$(this).find('i').removeClass('fa-caret-square-o-down');
|
||||
$(this).find('i').addClass('fa-caret-square-o-up');
|
||||
}
|
||||
/*if(hashTraite == collapse.attr('id')) {
|
||||
console.log('ok');
|
||||
$this.find('i').toggleClass('fa-caret-square-o-up fa-caret-square-o-down');
|
||||
}
|
||||
else {
|
||||
|
||||
}*/
|
||||
/*if (!$this.hasClass('panel-collapsed')) {
|
||||
/*$this.parents('.panel').find('.panel-title').slideUp();*/
|
||||
/*$this.addClass('panel-collapse');
|
||||
|
||||
} else {
|
||||
$this.parents('.panel').find('.panel').slideDown();
|
||||
/*$this.removeClass('.panel-title');*/
|
||||
/*$this.find('i').toggleClass('fa-caret-square-o-up fa-caret-square-o-down');
|
||||
}*/
|
||||
|
||||
})
|
||||
// Lightbox (à conserver)
|
||||
/*$(function() {
|
||||
var lightbox1 = $(".singleLightbox").ariaLightbox({ altText: function() { return $(this).find("img").attr("alt"); }, descText: function() { return $(this).attr("rel"); }, useDimmer: false, closeText: i18n[lang].close, pos: "auto", em: false, imgClose: '/extension/iagutils/design/ezwebin/images/contenu/fermer01.gif' });
|
||||
var lightbox2 = $("#gallery , .tab-content").ariaLightbox({ imageArray: "a.seriesLightbox", altText: function() { return $(this).find("img").attr("alt"); }, descText: function() { return $(this).attr("rel"); }, useDimmer: true, closeText: i18n[lang].close, pictureText: i18n[lang].image, ofText:i18n[lang].of, prevText: i18n[lang].prevImage, nextText: i18n[lang].nextImage, pos: "auto", em: false, imgClose: '/extension/iagutils/design/ezwebin/images/contenu/fermer01.gif' });
|
||||
});*/
|
||||
// Onglets (à conserver : fiches et galeries carousel)
|
||||
/*$(".onglets").tabs({fx:{opacity:"toggle"}});
|
||||
$("ul.ui-tabs-nav").removeClass("masquer");
|
||||
// Accordéon (à conserver : moteur de recherche, FAQ)
|
||||
$(".accordeon").accordion({ autoHeight: false, navigation: true });
|
||||
// Placeholder (à conserver : moteur de recherche)
|
||||
$("[placeholder]").textPlaceholder();
|
||||
// Panneau latéral coulissant (à conserver : filtres agenda)
|
||||
rightMenuWidthControl();
|
||||
$("#filtre_agenda-showhide").removeClass("masquer");
|
||||
|
||||
// AnythingSlider (optionnel), liste des options dans V:\valerian440\extension\iagutils\design\ezwebin\javascript\jquery.anythingslider.js
|
||||
// $('#slider').addClass("avec-js");
|
||||
// $('#slider').anythingSlider({hashTags:false});
|
||||
|
||||
// EasySlider (optionnel) - Options http://cssglobe.com/easy-slider-17-numeric-navigation-jquery-slider/
|
||||
$("#slider02").easySlider({
|
||||
imgWidth: 35,
|
||||
imgHeight: 75,
|
||||
imgRight: '/extension/iagutils/design/ezwebin/images/contenu/slider_droite.png',
|
||||
imgLeft: '/extension/iagutils/design/ezwebin/images/contenu/slider_gauche.png'
|
||||
});
|
||||
|
||||
// ExtendAnchor (optionnel)
|
||||
// $("#carte").extendAnchor(); // Penser à ajouter .hover{cursor:pointer;} dans le CSS
|
||||
|
||||
// $('#pictos li').hover(function(){ $(this).siblings().stop().fadeTo("fast",0.5); }, function(){ $(this).siblings().stop().fadeTo("fast",1); });
|
||||
|
||||
// scroll vers l'ancre
|
||||
$('a[href^="#"]').click(function(){ var the_id = $(this).attr("href"); $('html, body').animate({ scrollTop:$(the_id).offset().top }, 'slow'); return false; });
|
||||
|
||||
// ouvrir les liens externes dans une nouvelle fenêtre (attention, nécessite de modifier le tpl de lightbox pour mettre URL en relatif).
|
||||
// $("a[href^='http']").click(function(){ window.open($(this).attr('href')); return false; });
|
||||
|
||||
// permet de garder les vidéos en arrière plan des menus et lightbox
|
||||
$('iframe').each(function(){
|
||||
var url = $(this).attr("src");
|
||||
var char = "?";
|
||||
if(url.indexOf("?") != -1){ var char = "&"; }
|
||||
$(this).attr("src",url+char+"wmode=transparent");
|
||||
});
|
||||
$(".onglets-fiche").tabs({ selected: 0, collapsible:true, fx:{opacity:"toggle"} });
|
||||
*/
|
||||
|
||||
});
|
||||
/**
|
||||
* Project: Bootstrap Hover Dropdown
|
||||
* Author: Cameron Spear
|
||||
* Contributors: Mattia Larentis
|
||||
*
|
||||
* Dependencies: Bootstrap's Dropdown plugin, jQuery
|
||||
*
|
||||
* A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience.
|
||||
*
|
||||
* License: MIT
|
||||
*
|
||||
* http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/
|
||||
*/
|
||||
/*;(function ($, window, undefined) {
|
||||
// outside the scope of the jQuery plugin to
|
||||
// keep track of all dropdowns
|
||||
var $allDropdowns = $();
|
||||
|
||||
// if instantlyCloseOthers is true, then it will instantly
|
||||
// shut other nav items when a new one is hovered over
|
||||
$.fn.dropdownHover = function (options) {
|
||||
// don't do anything if touch is supported
|
||||
// (plugin causes some issues on mobile)
|
||||
if('ontouchstart' in document) return this; // don't want to affect chaining
|
||||
|
||||
// the element we really care about
|
||||
// is the dropdown-toggle's parent
|
||||
$allDropdowns = $allDropdowns.add(this.parent());
|
||||
|
||||
return this.each(function () {
|
||||
var $this = $(this),
|
||||
$parent = $this.parent(),
|
||||
defaults = {
|
||||
delay: 500,
|
||||
instantlyCloseOthers: true
|
||||
},
|
||||
data = {
|
||||
delay: $(this).data('delay'),
|
||||
instantlyCloseOthers: $(this).data('close-others')
|
||||
},
|
||||
showEvent = 'show.bs.dropdown',
|
||||
hideEvent = 'hide.bs.dropdown',
|
||||
// shownEvent = 'shown.bs.dropdown',
|
||||
// hiddenEvent = 'hidden.bs.dropdown',
|
||||
settings = $.extend(true, {}, defaults, options, data),
|
||||
timeout;
|
||||
|
||||
$parent.hover(function (event) {
|
||||
// so a neighbor can't open the dropdown
|
||||
if(!$parent.hasClass('open') && !$this.is(event.target)) {
|
||||
// stop this event, stop executing any code
|
||||
// in this callback but continue to propagate
|
||||
return true;
|
||||
}
|
||||
|
||||
$allDropdowns.find(':focus').blur();
|
||||
|
||||
if(settings.instantlyCloseOthers === true)
|
||||
$allDropdowns.removeClass('open');
|
||||
|
||||
window.clearTimeout(timeout);
|
||||
$parent.addClass('open');
|
||||
$this.trigger(showEvent);
|
||||
}, function () {
|
||||
timeout = window.setTimeout(function () {
|
||||
$parent.removeClass('open');
|
||||
$this.trigger(hideEvent);
|
||||
}, settings.delay);
|
||||
});
|
||||
|
||||
// this helps with button groups!
|
||||
$this.hover(function () {
|
||||
$allDropdowns.find(':focus').blur();
|
||||
|
||||
if(settings.instantlyCloseOthers === true)
|
||||
$allDropdowns.removeClass('open');
|
||||
|
||||
window.clearTimeout(timeout);
|
||||
$parent.addClass('open');
|
||||
$this.trigger(showEvent);
|
||||
});
|
||||
|
||||
// handle submenus
|
||||
$parent.find('.dropdown-submenu').each(function (){
|
||||
var $this = $(this);
|
||||
var subTimeout;
|
||||
$this.hover(function () {
|
||||
window.clearTimeout(subTimeout);
|
||||
$this.children('.dropdown-menu').show();
|
||||
// always close submenu siblings instantly
|
||||
$this.siblings().children('.dropdown-menu').hide();
|
||||
}, function () {
|
||||
var $submenu = $this.children('.dropdown-menu');
|
||||
subTimeout = window.setTimeout(function () {
|
||||
$submenu.hide();
|
||||
}, settings.delay);
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
// apply dropdownHover to all elements with the data-hover="dropdown" attribute
|
||||
$('[data-hover="dropdown"]').dropdownHover();
|
||||
});
|
||||
})(jQuery, this);*/
|
||||
|
||||
|
||||
/* Script original de Julien Royer */
|
||||
if (document.getElementById && document.createTextNode) {
|
||||
|
||||
(function() {
|
||||
|
||||
function init() {
|
||||
if (!init.done) {
|
||||
init.done = true;
|
||||
var spans =
|
||||
document.getElementsByTagName("span"),
|
||||
m = [];
|
||||
for (var i = 0, span;
|
||||
(span = spans[i]); ++i) {
|
||||
if (belongsToClass(span, classNames.email)) {
|
||||
m[m.length] = span;
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0;
|
||||
(span = m[i]); ++i) {
|
||||
initSpan(span);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initSpan(span) {
|
||||
|
||||
var p, u, h, d;
|
||||
|
||||
var spans = span.getElementsByTagName("span");
|
||||
|
||||
for (var i = 0, s;
|
||||
(s = spans[i]); ++i) {
|
||||
|
||||
var str = s.firstChild && s.firstChild.nodeValue;
|
||||
|
||||
if (belongsToClass(s, classNames.user)) {
|
||||
|
||||
u = str;
|
||||
|
||||
} else if (belongsToClass(s, classNames.host)) {
|
||||
|
||||
h = str;
|
||||
|
||||
} else if (belongsToClass(s, classNames.domain)) {
|
||||
|
||||
d = str;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (u && h && d) {
|
||||
|
||||
chgSpan(span, u, h, d);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function chgSpan(span, u, h, d) {
|
||||
|
||||
var email = u + "@" + h + "." + d;
|
||||
|
||||
var a = createElement("a");
|
||||
|
||||
a.href = "mailto:" + email;
|
||||
|
||||
a.className = classNames.email;
|
||||
|
||||
a.appendChild(document.createTextNode(email));
|
||||
|
||||
span.parentNode.replaceChild(a, span);
|
||||
|
||||
}
|
||||
|
||||
// DOM
|
||||
|
||||
function createElement(nn) {
|
||||
|
||||
return document.createElementNS ? document.createElementNS("http://www.w3.org/1999/xhtml", nn) : document.createElement(nn);
|
||||
|
||||
}
|
||||
|
||||
function belongsToClass(n, cn) {
|
||||
|
||||
return new RegExp("(^| )" + cn + "( |$)").test(n.className);
|
||||
|
||||
}
|
||||
|
||||
// Events
|
||||
|
||||
function addLoadEvent(f) {
|
||||
|
||||
if (document.addEventListener) {
|
||||
|
||||
document.addEventListener("DOMContentLoaded", f, false);
|
||||
|
||||
}
|
||||
|
||||
if (window.addEventListener) {
|
||||
|
||||
window.addEventListener("load", f, false);
|
||||
|
||||
} else if (document.addEventListener) {
|
||||
|
||||
document.addEventListener("load", f, false);
|
||||
|
||||
} else if (window.attachEvent) {
|
||||
|
||||
window.attachEvent("onload", f);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var classNames = {
|
||||
|
||||
"email": "email",
|
||||
|
||||
"user": "u",
|
||||
|
||||
"host": "h",
|
||||
|
||||
"domain": "d"
|
||||
|
||||
};
|
||||
|
||||
addLoadEvent(init);
|
||||
|
||||
})();
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,87 @@
|
|||
// Change page's title
|
||||
if (typeof pageTitle != "undefined") {
|
||||
document.title = pageTitle;
|
||||
}
|
||||
|
||||
function layouting() {
|
||||
if ( window.matchMedia('(min-width: 1200px)').matches ) {
|
||||
$("#access").detach().insertBefore('#actualites');
|
||||
$("#promo").detach().insertAfter('#agenda');
|
||||
$("#mairie24").detach().appendTo('#header');
|
||||
$("#aside").detach().insertAfter('#webtv');
|
||||
} else if ( window.matchMedia('(min-width: 992px)').matches && window.matchMedia('(max-width: 1199px)').matches ) {
|
||||
$("#access").detach().insertBefore('#actualites');
|
||||
$("#promo").detach().insertAfter('#agenda');
|
||||
$("#mairie24").detach().appendTo('#header');
|
||||
$("#aside").detach().insertAfter('#webtv');
|
||||
} else if ( window.matchMedia('(max-width: 991px)').matches ) {
|
||||
$("#access").detach().insertAfter('#webtv');
|
||||
$("#promo").detach().insertAfter('#aside');
|
||||
$("#mairie24").detach().insertAfter('#navigation');
|
||||
$("#aside").detach().insertAfter('#access');
|
||||
if ( window.matchMedia('(min-width: 481px)').matches ) {
|
||||
$("#promo").detach().insertAfter('#aside');
|
||||
}
|
||||
}
|
||||
}
|
||||
$(function() {
|
||||
$('[data-toggle="collapse"]').on('click', function () {
|
||||
if ( $(this).hasClass('active') ) {
|
||||
$(this).removeClass('active');
|
||||
} else {
|
||||
$(this).addClass('active');
|
||||
}
|
||||
});
|
||||
|
||||
if ( window.matchMedia('(min-width: 768px)').matches ) {
|
||||
//$(window).stellar();
|
||||
}
|
||||
|
||||
|
||||
layouting();
|
||||
$(window).resize(function(event) {
|
||||
layouting();
|
||||
});
|
||||
|
||||
$("img.lazy").lazyload({
|
||||
skip_invisible : false
|
||||
});
|
||||
|
||||
$('#navigation').find('[data-img]').hover( function () {
|
||||
var img = $(this).data('img');
|
||||
$(this).parents('.yamm-content').find('.img' + img).css('z-index', '1000').siblings('img').css('z-index', '1');
|
||||
});
|
||||
|
||||
$('.sondage').find('.bloc-title').on('click', function (event) {
|
||||
event.preventDefault();
|
||||
$('.newsletter').removeClass('open');
|
||||
$(this).parent('.sondage').toggleClass('open');
|
||||
});
|
||||
|
||||
$('.newsletter').find('.bloc-title').on('click', function (event) {
|
||||
event.preventDefault();
|
||||
$('.sondage').removeClass('open');
|
||||
$(this).parent('.newsletter').toggleClass('open');
|
||||
});
|
||||
|
||||
if ("ontouchstart" in window || navigator.msMaxTouchPoints) {
|
||||
$('html').addClass('touchable');
|
||||
isTouch = true;
|
||||
} else {
|
||||
$('html').addClass('untouchable');
|
||||
isTouch = false;
|
||||
}
|
||||
|
||||
$(document).on('click', function () {
|
||||
if ($(event.target).parents('.sondage').length > 0) {
|
||||
|
||||
} else {
|
||||
$('.sondage').removeClass('open');
|
||||
}
|
||||
if ( $(event.target).parents('.newsletter').length > 0) {
|
||||
|
||||
} else {
|
||||
$('.newsletter').removeClass('open');
|
||||
}
|
||||
});
|
||||
});
|
|
@ -0,0 +1,352 @@
|
|||
/* Respond.js: min/max-width media query polyfill. (c) Scott Jehl. MIT Lic. j.mp/respondjs */
|
||||
(function( w ){
|
||||
|
||||
"use strict";
|
||||
|
||||
//exposed namespace
|
||||
var respond = {};
|
||||
w.respond = respond;
|
||||
|
||||
//define update even in native-mq-supporting browsers, to avoid errors
|
||||
respond.update = function(){};
|
||||
|
||||
//define ajax obj
|
||||
var requestQueue = [],
|
||||
xmlHttp = (function() {
|
||||
var xmlhttpmethod = false;
|
||||
try {
|
||||
xmlhttpmethod = new w.XMLHttpRequest();
|
||||
}
|
||||
catch( e ){
|
||||
xmlhttpmethod = new w.ActiveXObject( "Microsoft.XMLHTTP" );
|
||||
}
|
||||
return function(){
|
||||
return xmlhttpmethod;
|
||||
};
|
||||
})(),
|
||||
|
||||
//tweaked Ajax functions from Quirksmode
|
||||
ajax = function( url, callback ) {
|
||||
var req = xmlHttp();
|
||||
if (!req){
|
||||
return;
|
||||
}
|
||||
req.open( "GET", url, true );
|
||||
req.onreadystatechange = function () {
|
||||
if ( req.readyState !== 4 || req.status !== 200 && req.status !== 304 ){
|
||||
return;
|
||||
}
|
||||
callback( req.responseText );
|
||||
};
|
||||
if ( req.readyState === 4 ){
|
||||
return;
|
||||
}
|
||||
req.send( null );
|
||||
},
|
||||
isUnsupportedMediaQuery = function( query ) {
|
||||
return query.replace( respond.regex.minmaxwh, '' ).match( respond.regex.other );
|
||||
};
|
||||
|
||||
//expose for testing
|
||||
respond.ajax = ajax;
|
||||
respond.queue = requestQueue;
|
||||
respond.unsupportedmq = isUnsupportedMediaQuery;
|
||||
respond.regex = {
|
||||
media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,
|
||||
keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,
|
||||
comments: /\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,
|
||||
urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,
|
||||
findStyles: /@media *([^\{]+)\{([\S\s]+?)$/,
|
||||
only: /(only\s+)?([a-zA-Z]+)\s?/,
|
||||
minw: /\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,
|
||||
maxw: /\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,
|
||||
minmaxwh: /\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,
|
||||
other: /\([^\)]*\)/g
|
||||
};
|
||||
|
||||
//expose media query support flag for external use
|
||||
respond.mediaQueriesSupported = w.matchMedia && w.matchMedia( "only all" ) !== null && w.matchMedia( "only all" ).matches;
|
||||
|
||||
//if media queries are supported, exit here
|
||||
if( respond.mediaQueriesSupported ){
|
||||
return;
|
||||
}
|
||||
|
||||
//define vars
|
||||
var doc = w.document,
|
||||
docElem = doc.documentElement,
|
||||
mediastyles = [],
|
||||
rules = [],
|
||||
appendedEls = [],
|
||||
parsedSheets = {},
|
||||
resizeThrottle = 30,
|
||||
head = doc.getElementsByTagName( "head" )[0] || docElem,
|
||||
base = doc.getElementsByTagName( "base" )[0],
|
||||
links = head.getElementsByTagName( "link" ),
|
||||
|
||||
lastCall,
|
||||
resizeDefer,
|
||||
|
||||
//cached container for 1em value, populated the first time it's needed
|
||||
eminpx,
|
||||
|
||||
// returns the value of 1em in pixels
|
||||
getEmValue = function() {
|
||||
var ret,
|
||||
div = doc.createElement('div'),
|
||||
body = doc.body,
|
||||
originalHTMLFontSize = docElem.style.fontSize,
|
||||
originalBodyFontSize = body && body.style.fontSize,
|
||||
fakeUsed = false;
|
||||
|
||||
div.style.cssText = "position:absolute;font-size:1em;width:1em";
|
||||
|
||||
if( !body ){
|
||||
body = fakeUsed = doc.createElement( "body" );
|
||||
body.style.background = "none";
|
||||
}
|
||||
|
||||
// 1em in a media query is the value of the default font size of the browser
|
||||
// reset docElem and body to ensure the correct value is returned
|
||||
docElem.style.fontSize = "100%";
|
||||
body.style.fontSize = "100%";
|
||||
|
||||
body.appendChild( div );
|
||||
|
||||
if( fakeUsed ){
|
||||
docElem.insertBefore( body, docElem.firstChild );
|
||||
}
|
||||
|
||||
ret = div.offsetWidth;
|
||||
|
||||
if( fakeUsed ){
|
||||
docElem.removeChild( body );
|
||||
}
|
||||
else {
|
||||
body.removeChild( div );
|
||||
}
|
||||
|
||||
// restore the original values
|
||||
docElem.style.fontSize = originalHTMLFontSize;
|
||||
if( originalBodyFontSize ) {
|
||||
body.style.fontSize = originalBodyFontSize;
|
||||
}
|
||||
|
||||
|
||||
//also update eminpx before returning
|
||||
ret = eminpx = parseFloat(ret);
|
||||
|
||||
return ret;
|
||||
},
|
||||
|
||||
//enable/disable styles
|
||||
applyMedia = function( fromResize ){
|
||||
var name = "clientWidth",
|
||||
docElemProp = docElem[ name ],
|
||||
currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[ name ] || docElemProp,
|
||||
styleBlocks = {},
|
||||
lastLink = links[ links.length-1 ],
|
||||
now = (new Date()).getTime();
|
||||
|
||||
//throttle resize calls
|
||||
if( fromResize && lastCall && now - lastCall < resizeThrottle ){
|
||||
w.clearTimeout( resizeDefer );
|
||||
resizeDefer = w.setTimeout( applyMedia, resizeThrottle );
|
||||
return;
|
||||
}
|
||||
else {
|
||||
lastCall = now;
|
||||
}
|
||||
|
||||
for( var i in mediastyles ){
|
||||
if( mediastyles.hasOwnProperty( i ) ){
|
||||
var thisstyle = mediastyles[ i ],
|
||||
min = thisstyle.minw,
|
||||
max = thisstyle.maxw,
|
||||
minnull = min === null,
|
||||
maxnull = max === null,
|
||||
em = "em";
|
||||
|
||||
if( !!min ){
|
||||
min = parseFloat( min ) * ( min.indexOf( em ) > -1 ? ( eminpx || getEmValue() ) : 1 );
|
||||
}
|
||||
if( !!max ){
|
||||
max = parseFloat( max ) * ( max.indexOf( em ) > -1 ? ( eminpx || getEmValue() ) : 1 );
|
||||
}
|
||||
|
||||
// if there's no media query at all (the () part), or min or max is not null, and if either is present, they're true
|
||||
if( !thisstyle.hasquery || ( !minnull || !maxnull ) && ( minnull || currWidth >= min ) && ( maxnull || currWidth <= max ) ){
|
||||
if( !styleBlocks[ thisstyle.media ] ){
|
||||
styleBlocks[ thisstyle.media ] = [];
|
||||
}
|
||||
styleBlocks[ thisstyle.media ].push( rules[ thisstyle.rules ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//remove any existing respond style element(s)
|
||||
for( var j in appendedEls ){
|
||||
if( appendedEls.hasOwnProperty( j ) ){
|
||||
if( appendedEls[ j ] && appendedEls[ j ].parentNode === head ){
|
||||
head.removeChild( appendedEls[ j ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
appendedEls.length = 0;
|
||||
|
||||
//inject active styles, grouped by media type
|
||||
for( var k in styleBlocks ){
|
||||
if( styleBlocks.hasOwnProperty( k ) ){
|
||||
var ss = doc.createElement( "style" ),
|
||||
css = styleBlocks[ k ].join( "\n" );
|
||||
|
||||
ss.type = "text/css";
|
||||
ss.media = k;
|
||||
|
||||
//originally, ss was appended to a documentFragment and sheets were appended in bulk.
|
||||
//this caused crashes in IE in a number of circumstances, such as when the HTML element had a bg image set, so appending beforehand seems best. Thanks to @dvelyk for the initial research on this one!
|
||||
head.insertBefore( ss, lastLink.nextSibling );
|
||||
|
||||
if ( ss.styleSheet ){
|
||||
ss.styleSheet.cssText = css;
|
||||
}
|
||||
else {
|
||||
ss.appendChild( doc.createTextNode( css ) );
|
||||
}
|
||||
|
||||
//push to appendedEls to track for later removal
|
||||
appendedEls.push( ss );
|
||||
}
|
||||
}
|
||||
},
|
||||
//find media blocks in css text, convert to style blocks
|
||||
translate = function( styles, href, media ){
|
||||
var qs = styles.replace( respond.regex.comments, '' )
|
||||
.replace( respond.regex.keyframes, '' )
|
||||
.match( respond.regex.media ),
|
||||
ql = qs && qs.length || 0;
|
||||
|
||||
//try to get CSS path
|
||||
href = href.substring( 0, href.lastIndexOf( "/" ) );
|
||||
|
||||
var repUrls = function( css ){
|
||||
return css.replace( respond.regex.urls, "$1" + href + "$2$3" );
|
||||
},
|
||||
useMedia = !ql && media;
|
||||
|
||||
//if path exists, tack on trailing slash
|
||||
if( href.length ){ href += "/"; }
|
||||
|
||||
//if no internal queries exist, but media attr does, use that
|
||||
//note: this currently lacks support for situations where a media attr is specified on a link AND
|
||||
//its associated stylesheet has internal CSS media queries.
|
||||
//In those cases, the media attribute will currently be ignored.
|
||||
if( useMedia ){
|
||||
ql = 1;
|
||||
}
|
||||
|
||||
for( var i = 0; i < ql; i++ ){
|
||||
var fullq, thisq, eachq, eql;
|
||||
|
||||
//media attr
|
||||
if( useMedia ){
|
||||
fullq = media;
|
||||
rules.push( repUrls( styles ) );
|
||||
}
|
||||
//parse for styles
|
||||
else{
|
||||
fullq = qs[ i ].match( respond.regex.findStyles ) && RegExp.$1;
|
||||
rules.push( RegExp.$2 && repUrls( RegExp.$2 ) );
|
||||
}
|
||||
|
||||
eachq = fullq.split( "," );
|
||||
eql = eachq.length;
|
||||
|
||||
for( var j = 0; j < eql; j++ ){
|
||||
thisq = eachq[ j ];
|
||||
|
||||
if( isUnsupportedMediaQuery( thisq ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
mediastyles.push( {
|
||||
media : thisq.split( "(" )[ 0 ].match( respond.regex.only ) && RegExp.$2 || "all",
|
||||
rules : rules.length - 1,
|
||||
hasquery : thisq.indexOf("(") > -1,
|
||||
minw : thisq.match( respond.regex.minw ) && parseFloat( RegExp.$1 ) + ( RegExp.$2 || "" ),
|
||||
maxw : thisq.match( respond.regex.maxw ) && parseFloat( RegExp.$1 ) + ( RegExp.$2 || "" )
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
applyMedia();
|
||||
},
|
||||
|
||||
//recurse through request queue, get css text
|
||||
makeRequests = function(){
|
||||
if( requestQueue.length ){
|
||||
var thisRequest = requestQueue.shift();
|
||||
|
||||
ajax( thisRequest.href, function( styles ){
|
||||
translate( styles, thisRequest.href, thisRequest.media );
|
||||
parsedSheets[ thisRequest.href ] = true;
|
||||
|
||||
// by wrapping recursive function call in setTimeout
|
||||
// we prevent "Stack overflow" error in IE7
|
||||
w.setTimeout(function(){ makeRequests(); },0);
|
||||
} );
|
||||
}
|
||||
},
|
||||
|
||||
//loop stylesheets, send text content to translate
|
||||
ripCSS = function(){
|
||||
|
||||
for( var i = 0; i < links.length; i++ ){
|
||||
var sheet = links[ i ],
|
||||
href = sheet.href,
|
||||
media = sheet.media,
|
||||
isCSS = sheet.rel && sheet.rel.toLowerCase() === "stylesheet";
|
||||
//only links plz and prevent re-parsing
|
||||
if( !!href && isCSS && !parsedSheets[ href ] ){
|
||||
// selectivizr exposes css through the rawCssText expando
|
||||
if (sheet.styleSheet && sheet.styleSheet.rawCssText) {
|
||||
translate( sheet.styleSheet.rawCssText, href, media );
|
||||
parsedSheets[ href ] = true;
|
||||
} else {
|
||||
if( (!/^([a-zA-Z:]*\/\/)/.test( href ) && !base) ||
|
||||
href.replace( RegExp.$1, "" ).split( "/" )[0] === w.location.host ){
|
||||
// IE7 doesn't handle urls that start with '//' for ajax request
|
||||
// manually add in the protocol
|
||||
if ( href.substring(0,2) === "//" ) { href = w.location.protocol + href; }
|
||||
requestQueue.push( {
|
||||
href: href,
|
||||
media: media
|
||||
} );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
makeRequests();
|
||||
};
|
||||
|
||||
//translate CSS
|
||||
ripCSS();
|
||||
|
||||
//expose update for re-running respond later on
|
||||
respond.update = ripCSS;
|
||||
|
||||
//expose getEmValue
|
||||
respond.getEmValue = getEmValue;
|
||||
|
||||
//adjust on resize
|
||||
function callMedia(){
|
||||
applyMedia( true );
|
||||
}
|
||||
|
||||
if( w.addEventListener ){
|
||||
w.addEventListener( "resize", callMedia, false );
|
||||
}
|
||||
else if( w.attachEvent ){
|
||||
w.attachEvent( "onresize", callMedia );
|
||||
}
|
||||
})(this);
|
|
@ -13,19 +13,25 @@
|
|||
{% block awesome_css %}
|
||||
<link href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/font-awesome.css" rel="stylesheet">
|
||||
{% endblock %}
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/bootstrap.min.css">
|
||||
{% block extra_css %}{% endblock %}
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/bootstrap-theme.css">
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/slick.css">
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/app.css">
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/hack.css">
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/entrouvert.css">
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/surclass.css">
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' />
|
||||
{% block extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/bootstrap-theme.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/slick.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/app.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/hack.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/entrouvert.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/surclass.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<link rel="stylesheet" href="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/css/ie8.css" />
|
||||
<![endif]-->
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
|
||||
</head>
|
||||
<body {% block bodyargs %}{% endblock %} style="background: url({{ portal_url }}{{ STATIC_URL }}portail_citoyen/img/Background-par-defaut.jpg) no-repeat;background-size: 100% auto; background-position: center top;" >
|
||||
|
@ -130,6 +136,7 @@
|
|||
{% block extra_scripts %}{% endblock %}
|
||||
<script src="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/js/bootstrap.min.js"></script>
|
||||
<script src="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/js/jquery.stellar.min.js"></script>
|
||||
|
||||
<script>
|
||||
function layouting() {
|
||||
if ( window.matchMedia('(min-width: 992px)').matches) {
|
||||
|
@ -179,6 +186,7 @@
|
|||
|
||||
{% block dataview %}{% endblock %}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="box box-full nav-panel panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
Démarches et services publics
|
||||
Vos démarches
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
|
|
@ -13,7 +13,24 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/bootstrap-theme.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[css]" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/slick.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/app.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/hack.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/entrouvert.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[theme_url]/css/surclass.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" href="[theme_url]/css/ie8.css" />
|
||||
<![endif]-->
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyargs %}
|
||||
|
@ -49,7 +66,7 @@
|
|||
</div>
|
||||
</div>
|
||||
[else]
|
||||
<div class="col-sm-16">
|
||||
<div class="col-sm-16">
|
||||
<div class="box box-full account-panel panel panel-default">
|
||||
<div class="panel-heading" id="toplinks">
|
||||
<span class="logged-in">
|
||||
|
|
Reference in New Issue