Event calendar better displayed on small screens: past events only visible when hovering over the current month

This commit is contained in:
echarp 2016-10-20 23:46:54 +02:00
parent ce956fcd11
commit bc81a2fb9c
9 changed files with 75879 additions and 5 deletions

View File

@ -70,12 +70,18 @@
margin: 1px
display: block
font-size: larger
min-height: 0.8em
min-height: 1em
border-width: 1px !important
&.prev-month, &.next-month
&.prev-month, &.next-month, &.current-month.past
display: none
.day_number
float: right
font-size: initial
.event a
padding: 0.4em 1em
header
&:active, &:hover
& + table tr td.current-month.past
display: block
&.versions, &.orgas
table tbody

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,21 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-b9b99ff20b9d59898b90e2588c9c2dcdbd5d469360d5ed4e7009177b89f183da.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);