Assets precompiled

This commit is contained in:
echarp 2019-11-05 22:42:37 +01:00
parent 5d55bafae4
commit 4a247cdd51
83 changed files with 117245 additions and 1 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
body.agendadescommuns{font-family:georgia, serif}body.agendadescommuns header.top{padding-left:120px;padding-right:120px;background-image:url(agendadescommuns.png);background-repeat:no-repeat;background-position:20px top}body.agendadescommuns header.top img.logo{display:none}body.agendadescommuns ul.countries,body.agendadescommuns form#orga_search,body.agendadescommuns a#banner{display:none}body.agendadescommuns .city{text-transform:uppercase}body.agendadescommuns.events.index table tr .day_number{color:#727070}body.agendadescommuns.events.index table tr td.current-month.past,body.agendadescommuns.events.index table tr td.current-month.past .day_number{color:#FFFAEB;background-color:#7494B5}body.agendadescommuns.events.index table tr td.current-month.today{border-color:#FFFAEB;background-color:#DBEDFF}body.agendadescommuns.events.index table tr td.current-month.future{color:#444;border-color:#EAE4D3;background-color:#F0E8D1}

View File

@ -0,0 +1 @@
*{height:auto;padding:0;max-width:inherit;box-sizing:inherit;margin-left:auto;margin-right:auto}html{height:100%;max-width:100%;box-sizing:border-box;background-color:transparent}html.iframe body>header,html.iframe body>footer,html.iframe body h2,html.iframe body nav,html.iframe body .orga_search,html.iframe body #banner{display:none}body{font-size:calc(6px + 0.8vw);min-height:100%;text-align:center;font-family:sans-serif;background-color:transparent}body header *,body main *,body footer *{transition-duration:0.5s}img:-moz-broken{opacity:0}a:link,a:visited{color:#258;text-decoration:none}a:hover,a:active,a:focus{color:#2E97FF}#flash-messages .flash{color:white;border:solid 1px #007ba0;margin:1em auto;padding:0.5em 1.1em;max-width:50em;font-size:larger;text-align:justify;box-shadow:0 0 0.3em gray;border-radius:3px;background-color:#008cba}#flash-messages .flash.notice{border-color:#3a945b;background-color:#43ac6a}#flash-messages .flash.alert{border-color:#de2b0f;background-color:#f04124}h3.warning{color:white;margin:0;padding:1em;display:inline-block;text-align:center;box-shadow:0 0 0.3em gray;border-radius:1em;background-color:orange}header.top{text-align:left}header.top img.logo{float:left;max-width:12vw;margin-right:1%}header.top h1{margin:0;padding:0}header.top h2{font-size:inherit;font-style:italic;font-weight:normal;margin-top:0.2em}main,body.mce-content-body{clear:both;position:relative}main h3,body.mce-content-body h3{text-align:left}main ul,main ol,body.mce-content-body ul,body.mce-content-body ol{text-align:left;padding-left:1em;list-style-position:inside}main p,body.mce-content-body p{text-align:left}main p.label,body.mce-content-body p.label{text-align:center}main p span.label:after,body.mce-content-body p span.label:after{content:':'}main hr,body.mce-content-body hr{margin:10px 20px}aside{float:right;border:1px solid #96CFFF;margin:0 1.2em;z-index:10;padding:5px;position:relative;max-width:20em;box-shadow:4px 4px 1em gray;margin-right:-4em;border-radius:1em;background-color:#D6ECFF}aside h2{border-bottom:1px black solid;padding-bottom:0.3em}aside ul a{padding:0.5em 1em 0.5em 0;display:block}main{width:60em}body.index main{width:initial}fieldset{border:none;margin:1em auto;padding:2%;box-shadow:1px 1px 5px #9CC5EE;border-radius:0.4em}fieldset legend{color:#666;padding:0 1em;font-size:larger;background-color:white}fieldset h2{margin-top:0}footer.bottom nav{clear:both}footer.bottom nav a{padding:1.8%;display:inline-block;font-weight:bolder}footer.bottom nav a:hover{text-shadow:0 0 1em lightgray}#loading{top:45%;left:45%;color:gray;display:none;position:fixed;font-size:10vw;text-shadow:0 0 4px gray;vertical-align:baseline}.pagination span{display:none}.pagination span.next{display:block}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
body.digests main{padding:1em;max-width:60em;box-shadow:1px 1px 5px gray;border-radius:0.4em}body.digests main h2{margin:0;padding:0;font-size:larger;text-align:left}body.digests main .description p,body.digests main .second-part p{white-space:pre-line}body.digests main textarea{width:40em;height:20em}

View File

@ -0,0 +1 @@
header.calendar-header{font-size:larger}header.calendar-header a:first-child,header.calendar-header a:last-child{padding:0 0.3em}em.locality.fa{color:gray}strong.city:after,em.city:after{content:':';margin-left:0.25em}p.full_address span:after{content:','}p.full_address span:last-child:after{content:''}.calendar-header,.month{text-transform:capitalize}body.events.index table{width:100%;table-layout:fixed}body.events.index table tr th{text-transform:capitalize}body.events.index table tr td{height:4.8em;border:1px solid #89B7E5;padding:1px;position:relative;vertical-align:top;background-color:#A1C3E7}body.events.index table tr td.past .event{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body.events.index table tr td.past .event:hover{white-space:initial}body.events.index table tr td.today{border:1px solid #FFB578;background-color:#FFE0C7}body.events.index table tr td.today .day_number{color:#531}body.events.index table tr td.today .event a:link,body.events.index table tr td.today .event a:visited{color:#730}body.events.index table tr td.future{border-color:#96cfff;background-color:#C6E5FF}body.events.index table tr td.prev-month,body.events.index table tr td.next-month{border:none;background-color:#ededed}body.events.index table tr td.prev-month li,body.events.index table tr td.next-month li{color:#555}body.events.index table tr td.prev-month .event a:link,body.events.index table tr td.prev-month .event a:visited,body.events.index table tr td.next-month .event a:link,body.events.index table tr td.next-month .event a:visited{color:#444}body.events.index table tr td .day_number{float:left;color:#111;font-size:0.6em;font-weight:bolder;letter-spacing:2px}body.events.index table tr td:hover .day_number{color:black}body.events.index table tr td ul{clear:left;margin:0;padding:0}body.events.index table tr td ul li{color:#444;margin:0;padding:0}body.events.index table tr td ul li em.fa.fa-globe{color:red;font-size:smaller}body.events.index table tr td ul .event{padding-left:0.2em}body.events.index table tr td ul .event img{vertical-align:middle}body.events.index table tr td ul .event a:link,body.events.index table tr td ul .event a:visited{color:#111;font-size:smaller}body.events.index table tr td ul .event a:link:hover,body.events.index table tr td ul .event a:visited:hover{color:black;text-decoration:underline}.links{float:right}.fa-rss{color:darkorange}a#banner{float:left}body.events.show main,body.orgas.show main,body.tags.show main,body.pages main{width:60em;padding:1em;box-shadow:1px 1px 5px #9CC5EE;border-radius:0.4em}body.events.show main h2,body.orgas.show main h2,body.tags.show main h2,body.pages main h2{margin-top:1em}html.iframe main{box-shadow:none !important}#advises{width:60em;border:1px solid #FFB578;border-radius:0.2em;padding-left:10px;padding-right:10px;background-color:#ffe0c7}#advises>*:first-child{font-size:1.9em;font-weight:normal}#advises>*:first-child:before{content:'🛈 '}#advises a{color:#8F4900}.description img,body.mce-content-body img{margin-left:1%;margin-right:1%}article.event{box-shadow:-1em 1em 1em -1em #9CC5EE;margin-left:1em;padding-left:1em;padding-bottom:0.4em;border-bottom-left-radius:1em}

View File

@ -0,0 +1,41 @@
(function() {
$(document).on('turbolinks:load', function() {
$('#event_start_time').change(function() {
if ($('#event_start_time').val() >= $('#event_end_time').val()) {
return $('#event_end_time').val($('#event_start_time').val());
}
});
$('#event_end_time').change(function() {
if ($('#event_start_time').val() >= $('#event_end_time').val()) {
return $('#event_start_time').val($('#event_end_time').val());
}
});
$('#event_repeat').each(function() {
if ($(this).val() === '0') {
$('.field.rule').hide();
}
return $(this).change(function() {
if ($(this).val() > 0) {
$('.field.rule').show();
return $('.field.rule input').attr('required', 'required');
} else {
$('.field.rule').hide();
return $('.field.rule input').removeAttr('required');
}
});
});
return $('#event_tags').each(function() {
var elt;
elt = $(this);
return $.ajax({
url: '/tags.json'
}).done(function(data) {
var tags;
return tags = jQuery.map(data, function(n) {
return n[0];
});
});
});
});
}).call(this);

View File

@ -0,0 +1,10 @@
(function() {
$(document).on('turbolinks:load', function() {
$('body.pages form :input').prop('disabled', false);
return $('form').submit(function() {
$('input[name=utf8]').prop('disabled', true);
return $('button').prop('disabled', true);
});
});
}).call(this);

View File

@ -0,0 +1,4 @@
(function() {
$(document).on('turbolinks:load', function() {});
}).call(this);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.finePre,span.label:after{margin-left:0.25em}.finePost{margin-right:0.25em}

View File

@ -0,0 +1,50 @@
/*
@licstart The following is the entire license notice for the JavaScript code in this page.
frTypo, la typographie française simplifiée
Copyright (C) 2013 acoeuro
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@licend The above is the entire license notice for the JavaScript code in this page.
*/
(function() {
var regexp, regexpPost;
regexp = /(^|[\wàéèêç])\s*([!?:;»%€¢]+)(\s|[^\w\/]|$)/g;
regexpPost = /([«])\s*([\w])/g;
$(document).on('turbolinks:load', function() {
if ($('html').attr('lang') === 'fr') {
return $('body *').contents().filter(function() {
return this.nodeType === Node.TEXT_NODE;
}).filter(function() {
return 0 > ['CODE', 'PRE', 'STYLE', 'TEXTAREA'].indexOf(this.parentNode.tagName);
}).filter(function() {
return !$(this).parent().hasClass('finePre') && !$(this).parent().hasClass('start_time') && !$(this).parent().hasClass('end_time');
}).filter(function() {
return (this.nodeValue.match(regexp) != null) || (this.nodeValue.match(regexpPost) != null);
}).each(function() {
return $(this).replaceWith(function() {
return this.nodeValue.replace(regexp, '$1<span class="finePre">$2</span>$3').replace(regexpPost, '<span class="finePost">$1</span>$2');
});
});
}
});
}).call(this);

View File

@ -0,0 +1 @@
.quantity{text-align:right !important;white-space:nowrap}table{clear:both;border-spacing:2px}table th{font-weight:normal}table th a:link,table th a:visited{color:#003;padding:0 0.6em}table.list tbody tr:nth-child(odd){background-color:#def}table.list tbody tr:nth-child(even){background-color:#eee}table.list td{padding:0.2em;text-align:left}table.list td.kind,table.list td.updated_at{text-align:center}dl{width:40em;margin:1em auto}dl dt{clear:left;float:left;padding:0.2em 1em;min-width:50%;text-align:right}dl dd{padding:0.2em 1em;text-align:left}dl dd.quantity{padding-right:16em}dl dd h3{display:inline}dl dt+dd+dt+dd{border-top:1px solid #999}ul.counters{text-align:center}ul.counters li{display:inline}ul.counters li a:link,ul.counters li a:visited{color:white;padding:0.4em 1em;display:inline-block;box-shadow:0 0 2px black;border-radius:0.4em;background-color:#258}.edit_link:link,.delete_link:link{display:none}

View File

@ -0,0 +1,4 @@
(function() {
$(document).on('turbolinks:load', function() {});
}).call(this);

View File

@ -0,0 +1 @@
#map{height:22em;transition:none}#map *{max-width:initial}#map ul.feeds li a{display:inline-block}#map ul.feeds li .awesome-marker{display:inline-block !important;position:relative !important}#map .leaflet-top{margin-top:3em;text-align:left}#map section.leaflet-control-layers-list label .awesome-marker{height:auto !important;display:inline-block !important;position:relative !important}body.maps #map{height:60em}html.iframe,html.iframe body.maps,html.iframe body.maps main,html.iframe body.maps #map{width:100%;height:100%;margin:0}

View File

@ -0,0 +1,108 @@
(function() {
var modulo = function(a, b) { return (+a % (b = +b) + b) % b; };
$(document).on('turbolinks:load', function() {
var idx, markerColors;
markerColors = ['blue', 'red', 'darkred', 'orange', 'green', 'darkgreen', 'purple', 'darkpuple', 'cadetblue'];
idx = 0;
$('#map.list').each(function() {
var controls, map;
map = L.map('map');
map.fitBounds([[60, -20], [30, 30]]);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://osm.org/copyright">OpenStreetMap</a>'
}).addTo(map);
controls = L.control.layers(null, null, {
collapsed: false
}).addTo(map);
return $('li a', this).each(function() {
var markerColor, text, url;
url = $(this).attr('href');
text = $(this).html();
markerColor = markerColors[modulo(idx++, markerColors.length)];
if (location.search && url.indexOf('?') >= 0) {
url += '&' + location.search.substr(1);
} else {
url += location.search;
}
return $.getJSON(url, function(json) {
var layer;
if (!(json != null ? json.length : void 0)) {
return;
}
layer = L.markerClusterGroup({
maxClusterRadius: 30
}).addLayer(L.geoJson(json, {
pointToLayer: function(feature, latlng) {
var marker;
marker = L.AwesomeMarkers.icon({
prefix: 'fa',
icon: feature.properties.icon || 'calendar',
markerColor: markerColor
});
return L.marker(latlng, {
icon: marker
});
},
onEachFeature: function(feature, layer) {
if (feature.properties && feature.properties.popupContent) {
return layer.bindPopup(feature.properties.popupContent);
}
}
}));
map.addLayer(layer);
controls.addOverlay(layer, text + ' - ' + json.length);
if ((/maps\//.test(location.href) || /maps.json/.test(url)) && layer.getBounds()._northEast && layer.getBounds()._southWest) {
return map.fitBounds(layer.getBounds());
}
});
});
});
return $('#map.event, #map.orga').each(function() {
var coord, map, marker, markerColor, url;
coord = [$(this).data('latitude'), $(this).data('longitude')];
map = L.map('map').setView([coord[0], coord[1]], 16);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://osm.org/copyright">OpenStreetMap</a>'
}).addTo(map);
url = $(this).data('url');
markerColor = markerColors[modulo(idx++, markerColors.length)];
if (location.search && url.indexOf('?') >= 0) {
url += '&' + location.search.substr(1);
} else {
url += location.search;
}
marker = L.AwesomeMarkers.icon({
prefix: 'fa',
icon: 'calendar'
});
L.marker([coord[0], coord[1]], {
icon: marker
}).addTo(map);
return $.getJSON(url, function(json) {
var layer;
layer = L.markerClusterGroup({
maxClusterRadius: 30
}).addLayer(L.geoJson(json, {
pointToLayer: function(feature, latlng) {
marker = L.AwesomeMarkers.icon({
prefix: 'fa',
icon: feature.properties.icon || 'calendar',
markerColor: markerColor
});
return L.marker(latlng, {
icon: marker
});
},
onEachFeature: function(feature, layer) {
if (feature.properties && feature.properties.popupContent) {
return layer.bindPopup(feature.properties.popupContent);
}
}
}));
return map.addLayer(layer);
});
});
});
}).call(this);

View File

@ -0,0 +1 @@
@media all and (min-width: 1024px){header.top,header.calendar-header+table.table-striped{width:calc(100% - 2em)}header.top{margin-top:1em}#banner{margin-left:3%}.links{margin-right:3%}}@media all and (max-width: 1024px){.links,a#banner{margin:0.6em auto}table,table.list,table.dates,table.list.dates{border-spacing:1px}table tbody th,table.list tbody th,table.dates tbody th,table.list.dates tbody th{overflow:hidden;max-width:3em}}@media all and (max-width: 900px){body main ul{margin-left:0}table.list.dates th,table.list.dates th a,table.list.dates td,table.list.dates td a{padding:0 !important;font-size:inherit}}@media all and (max-width: 34em){p{padding-left:0.4em;padding-right:0.4em}header.top nav{display:none}body.index table thead{display:none}body.index.events table tr td{clear:both;width:auto;height:auto;margin:1px;display:block;min-height:1em;border-width:1px !important}body.index.events table tr td.prev-month,body.index.events table tr td.next-month,body.index.events table tr td.current-month.past{display:none}body.index.events table tr td .event a{padding:0.4em 1em}body.index header:active+table tr td.current-month.past,body.index header:hover+table tr td.current-month.past{display:block}body.index.versions table tbody tr td,body.index.orgas table tbody tr td{width:auto;padding:0 0.2em;display:block}body.index.versions table tbody tr td:first-child,body.index.orgas table tbody tr td:first-child{float:left}body.index.versions table tbody td+td+td,body.index.orgas table tbody td+td+td{display:inline-block}body.index.versions table tbody td:first-child+td,body.index.orgas table tbody td:first-child+td{width:100%;display:block}dl dt{min-width:auto;text-align:left}dl dd,dl dd.quantity{padding-right:1em}#advises>*{display:none}#advises>:first-child:after{content:'... ↴'}#advises>:first-child,#advises:hover>*{display:block}aside{display:none}.links,a#banner{float:none;padding:0.4em 0}fieldset{padding-left:0;padding-right:0}.field>label{width:100%;display:block;text-align:left;margin-left:1%}.field.region label,.field.locality label,.field.repeat label,.field.active label{width:auto}.field input{width:100%;display:block}.field input#event_repeat,.field input#orga_active{width:auto}.field .radios{margin-left:auto}#map section input,#map section .awesome-marker{display:none !important}body.mce-content-body{padding:1px 0}.mce-btn-group .mce-btn{margin-left:0 !important}}

View File

@ -0,0 +1,11 @@
(function() {
$(document).on('turbolinks:load', function() {
$('body.moderations .radios label').click(function() {
return $('body.moderations #event_reason').parent().slideUp();
});
return $('body.moderations .radios label:last-child').click(function() {
return $('body.moderations #event_reason').parent().slideDown();
});
});
}).call(this);

View File

@ -0,0 +1 @@
h2.warning{color:red}.moderations table.list,.notes table.list{min-width:90%;margin-top:15px}.moderations table.list td,.notes table.list td{padding-top:0.5em;padding-bottom:0.5em}.moderations table.list td.empty,.notes table.list td.empty{background-color:white}.moderations table.list td.note,.notes table.list td.note{text-align:left}.moderations table.list td pre,.notes table.list td pre{width:70%;margin:auto;padding:5px;overflow:auto;text-align:left;background-color:#eee}.moderations table.list td em.author,.notes table.list td em.author{display:block;font-size:smaller;text-align:right;font-style:italic;margin-top:15px}.moderations table.list th.actions,.notes table.list th.actions{padding:0}.moderations table.list th.actions a,.notes table.list th.actions a{padding:0.2em;display:inline-block;font-weight:normal}.fa.fa-check,.fa.fa-thumbs-up{color:green}.fa.fa-thumbs-down{color:red}

View File

@ -0,0 +1,4 @@
(function() {
}).call(this);

View File

@ -0,0 +1 @@
.notes form label:after{content:':'}

View File

@ -0,0 +1,4 @@
(function() {
}).call(this);

View File

@ -0,0 +1 @@
img.favicon{max-height:2em;border-radius:3px;vertical-align:middle}form#orga_search{display:inline}form#orga_search label{display:none}form#orga_search em.fa{color:#258}form#orga_search input{width:14em;border:solid thin #258;padding:0;margin-left:-1.8em;margin-right:-1.6em;padding-left:1.5em;padding-right:1.2em;border-radius:0.4em}form#orga_search button.search{color:#258;border:none;padding:0;font-size:large;box-shadow:none;margin-top:-0.1em;margin-left:0;margin-right:1em;vertical-align:middle;background-color:transparent}form#orga_search button.search:hover em.fa{color:#2E97FF}form#orga_search button.search span.label{display:none}table tr.inactive{color:gray}

View File

@ -0,0 +1 @@
body.pages main h3,body.pages main h4{text-align:left}.digest{float:right}

View File

@ -0,0 +1,24 @@
(function() {
var showPosition;
$(document).on('turbolinks:load', function() {
if (!navigator.geolocation) {
return;
}
return $('a.near-me').click(function(event) {
event.preventDefault();
window.goto = event.target.href;
return navigator.geolocation.getCurrentPosition(showPosition, function(error) {
switch (error.code) {
case error.PERMISSION_DENIED:
return $('ul.regions li#near-me').remove();
}
});
});
});
showPosition = function(position) {
return location.replace(window.goto.replace('[me]', "[" + position.coords.latitude + ", " + position.coords.longitude + "]"));
};
}).call(this);

View File

@ -0,0 +1,23 @@
(function() {
$(document).on('turbolinks:load', function() {
return $('.pagination .next a').attr('data-remote', true).each(function() {
return $(document).scroll((function(_this) {
return function() {
if ($(_this).visible(true, true)) {
return $(_this).click().parents('.pagination').hide();
}
};
})(this));
});
});
$(document).on('ajax:success', '.pagination .next a', function(event, data) {
var next;
$(this).parents('tfoot').prev().append($('tbody tr', data));
next = $('.pagination .next a', data).attr('href');
if (next != null) {
return $(this).attr('href', next).parents('.pagination').show();
}
});
}).call(this);

View File

@ -0,0 +1 @@
ul.regions{width:100%;margin:0;padding:0;z-index:1500;display:flex;position:absolute;flex-wrap:wrap;font-size:normal;list-style:none;justify-content:space-around;background-image:linear-gradient(white, transparent)}ul.regions li.selected{border:solid 6px lightgray;display:inline-block}ul.regions li a{padding:0.3em;display:block;white-space:nowrap}ul.regions li:hover li,ul.regions li li.selected{display:block}ul.regions ul{padding:0;position:absolute;box-shadow:0 4px 4px gray}ul.regions ul li{border:solid thin #eee;display:none;background-color:white}ul.regions em.fa.fa-times{float:right;font-size:larger;margin-left:0.3em}html.no-js ul.regions li#near-me{display:none}html.iframe main>ul.regions{display:none}.field.region .radios{z-index:100;flex-grow:0;text-align:left;background-color:white}.field.region .radios .radios{display:inline;min-width:12em}.field.region .radios label{display:none;min-width:100%}.field.region:hover>.radios,.field.region label:hover+.radios,.field.region .radios:hover{z-index:1000;position:absolute;box-shadow:0 0 0.1em black}.field.region:hover>.radios>.region>label,.field.region:hover>.radios>label,.field.region label:hover+.radios>.region>label,.field.region label:hover+.radios>label,.field.region .radios:hover>.region>label,.field.region .radios:hover>label{display:inline-block}.field.region:hover>.radios .radios,.field.region label:hover+.radios .radios,.field.region .radios:hover .radios{position:absolute}.field.region:hover>.radios,.field.region>label:hover+.radios,.field.region>.radios:hover{margin-left:10em;transition-duration:unset}.field.region input:checked+label{display:inline-block}.flag-icon-ca-qc{background-image:url(/assets/regions/CA-QC-70699e6a6e25c69040a3f1548b0afd829c4903ccca2760b6c10f49cc87d5d174.png)}body.stats h3{text-align:center}table.list.dates th,table.list.dates td{padding:0 0.6em}table.list.dates .sparkline{padding:0}

View File

@ -0,0 +1 @@
div.field,div.actions{margin-bottom:10px}#notice{color:green}#error_explanation{width:450px;border:2px solid red;padding-bottom:0;margin-bottom:20px;background-color:#f0f0f0}#error_explanation h2{text-align:left;font-weight:bold;padding:15px;font-size:12px;background-color:#c00;color:#fff}#error_explanation p,#error_explanation ul{padding:0 1em}#error_explanation p li,#error_explanation ul li{font-size:12px;list-style:square}

View File

@ -0,0 +1,24 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
width: '100%',
height: '40em',
menubar: false,
branding: false,
language: 'fr_FR',
selector: 'input.description',
content_css: '/assets/application-057b12d80186388517367b4186b1d91bd32e59da43c21a96b37022c082527ec5.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
style_formats_autohide: true,
toolbar: [' cut copy paste | undo redo | link image media charmap table | code visualblocks searchreplace', ' removeformat bold italic strikethrough superscript subscript | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify alignnone'],
plugins: 'lists advlist autolink link image charmap paste print preview table fullscreen searchreplace media insertdatetime visualblocks wordcount code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);

View File

@ -0,0 +1,33 @@
(function() {
$(document).on('turbolinks:load', function() {
$('table.list.dates tbody tr').each(function() {
var vals;
vals = $(this).find('td.quantity').map(function() {
var val;
val = $(this).find('a').html().replace(' ', '').trim();
if (val && val !== '') {
return parseInt(val);
} else {
return 0;
}
});
return $(this).find('.sparkline').sparkline(vals, {
width: '5em'
});
});
return $('table.list.dates tfoot').each(function() {
var vals;
vals = $(this).find('th.quantity').map(function() {
return parseInt($(this).html().replace(' ', ''));
});
return $(this).find('.sparkline').sparkline(vals, {
type: 'bar',
height: '3em',
barWidth: '100%',
barColor: '#9CC5EE',
barSpacing: 2
});
});
});
}).call(this);

View File

@ -0,0 +1 @@
table.list.dates{width:100%}table.list.dates thead th{height:3em;padding:0 !important;font-size:initial;transform:rotate(-45deg)}table.list.dates tbody th:first-child{font-size:large;text-align:right}table.list.dates tbody td{padding:0}table.list.dates tbody td a{padding:0 1em;display:block}table.list.dates tfoot td canvas{width:100% !important;background-color:white}

View File

@ -0,0 +1 @@
p.tags a:after{color:black;content:','}p.tags a:last-child:after{content:''}.css1{font-size:0.8em}.css2{font-size:1.0em}.css3{font-size:1.4em}.css4{font-size:1.8em}div.tagsinput{height:auto !important;border:none;margin:0;padding:0;display:inline-block;min-height:auto !important;vertical-align:middle}div.tagsinput span.tag{margin:0;padding:0.75em;font-size:inherit;font-family:inherit}div.tagsinput #event_tag_list_addTag,div.tagsinput #tag_addTag{float:none;text-align:left}div.tagsinput #event_tag_list_addTag:first-child #event_tag_list_tag,div.tagsinput #event_tag_list_addTag:first-child #tag_tag,div.tagsinput #tag_addTag:first-child #event_tag_list_tag,div.tagsinput #tag_addTag:first-child #tag_tag{width:100% !important}div.tagsinput input,div.tagsinput .ui-autocomplete-input{width:8em !important;border:solid 0.25em transparent !important;padding:0.6em;font-size:inherit;margin-right:0;margin-bottom:0}div.tagsinput input:focus,div.tagsinput .ui-autocomplete-input:focus{border-color:#F0F8FF !important}ul.ui-autocomplete li{text-align:left;box-shadow:0 0 2px #a5d24a;background-color:white}ul.ui-autocomplete li .ui-state-active{margin:0;background-color:#F0F8FF}body.tags .event[class*='libre-en-fete-'] em.city:before{content:url(/assets/lef-small-93285d531af463f877951d63fe844a6e9600b782c2c81f78723b730072fa942e.png);margin-right:0.5em}body.tags .info{float:right;margin-right:10%}

View File

@ -0,0 +1 @@
body.versions td.changes{white-space:pre-wrap}