Hello,
1)The problem:
I'm trying to duplicate the Laure CHARLEUX's excellent idea of a map of progression in order to gamify my moodle courses (http://open.lib.umn.edu/innovativeteaching/chapter/using-game-dynamics-to-teach-applied-statistics-lessons-learned/): briefly I've sliced my svg map in horizontal slices, each slice appears in a different moodle label which will be shown or hidden accordingly to the students' completion of the course's activities.
Everything works fine except that my moodle theme does interpose a very wide white space between two successive labels in my front page layout - so that the slices of the map are obvious instead of giving the impression of one continuous picture.
Hence my question : how to remove this white space between two labels ?
****************************************
2)What I've already found is this quite old thread:
https://moodle.org/mod/forum/discuss.php?d=189183#p823440
But I'm a teacher with editing permissions and no administration permissions so I can't change anything as needed in the css files.
****************************************
3) What I've tried is to override the correct css parameter through a jquery script : but something like this didn't work:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#page-course-view-topics .content .section .label p").css({
{ "margin" : "0" ; "line-height" : "1"}
});
});
</script>
Then I've tried to localise with FIREBUG where the script should do something: I've found this
<li id="module-1986" class="activity label modtype_label ">
and so I tried to put to 0 all the "padding" in the FIREBUG console...but a wide blank space is still displayed between successive labels.
Thanks for any help on this,
D.B.
(the theme on this moodle webiste seems to be: " /theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.css" ?).