mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-37749_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
cb7da8e091
2 changed files with 2 additions and 57 deletions
|
@ -250,19 +250,6 @@ $(document).ready(function() {
|
||||||
$('.path-mod-hotpot button').attr("data-role", "none");
|
$('.path-mod-hotpot button').attr("data-role", "none");
|
||||||
});
|
});
|
||||||
|
|
||||||
//collapsed topic only stuff
|
|
||||||
$('div#page-course-view-topcollPAGE').live('pagebeforecreate',function(event, ui){
|
|
||||||
$('#page-course-view-topcollPAGE ul.section').attr("data-role", "none");
|
|
||||||
$('.section li img').removeClass("ui-li-icon");
|
|
||||||
$.getScript('../course/format/topcoll/module.js');
|
|
||||||
$('#page-course-view-topcollPAGE tr.cps a').attr("data-role", "button").attr("data-icon", "arrow-r");
|
|
||||||
$('#page-course-view-topcollPAGE #thetopics').attr("data-role", "controlgroup");
|
|
||||||
$('#page-course-view-topcollPAGE td.cps_centre').each(function(index) {
|
|
||||||
var cpsc = $(this).text().replace('<br>','').replace(')','');
|
|
||||||
$(this).prev('td').find('a').append('<span class="ui-li-count ui-btn-up-a ui-btn-corner-all">' + cpsc + '</span>');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
///// functions below does stuff after creating page for some cleaning...
|
///// functions below does stuff after creating page for some cleaning...
|
||||||
$('div').live('pageinit',function(event, ui){
|
$('div').live('pageinit',function(event, ui){
|
||||||
$('.path-calendar div.ui-radio label:first-child, .path-mod-lesson div.ui-radio label:first-child, #page-mod-wiki-createPAGE div.ui-radio label:first-child').addClass("afirst");
|
$('.path-calendar div.ui-radio label:first-child, .path-mod-lesson div.ui-radio label:first-child, #page-mod-wiki-createPAGE div.ui-radio label:first-child').addClass("afirst");
|
||||||
|
|
|
@ -1345,49 +1345,7 @@ a.comment-link, .block_comments a.showcommentsnonjs, .block_comments .comment-ar
|
||||||
.block_comments .comment-ctrl {
|
.block_comments .comment-ctrl {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/*collapsed topic format*/
|
|
||||||
#thetopics {
|
|
||||||
table-layout: inherit !important;
|
|
||||||
width: 100%;
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE .section td.content, col.content {
|
|
||||||
text-align: left;
|
|
||||||
width: 100% !important;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE .section td.content {
|
|
||||||
padding: .5em;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE td.left.side, #page-course-view-topcollPAGE td.right.side {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE tr.cps td a {
|
|
||||||
background: none !important;
|
|
||||||
color: inherit !important;
|
|
||||||
padding: 7px 0 7px 0px !important;
|
|
||||||
}
|
|
||||||
tr.cps td span {
|
|
||||||
font-style: inherit !important;
|
|
||||||
font-size: 1.12em !important;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE .section.separator, td.cps_centre {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
tr.cps {
|
|
||||||
background-color: inherit !important;
|
|
||||||
color: inherit !important;
|
|
||||||
}
|
|
||||||
.opencps .ui-btn-inner .ui-icon-arrow-r {
|
|
||||||
background-position: -216px 50%;
|
|
||||||
}
|
|
||||||
tr.cps td span.ui-li-count {
|
|
||||||
font-size: .6em !important;
|
|
||||||
right: 12px;
|
|
||||||
}
|
|
||||||
#page-course-view-topcollPAGE .cps .ui-btn-inner {
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
/*filemanager fixes and other button fixes and adds */
|
/*filemanager fixes and other button fixes and adds */
|
||||||
#page-mod-quiz-reportPAGE #commands input[type="submit"], #newmessagelinks a, .que input.submit {
|
#page-mod-quiz-reportPAGE #commands input[type="submit"], #newmessagelinks a, .que input.submit {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
@ -1454,7 +1412,7 @@ overflow:auto !important;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
/*current highlight */
|
/*current highlight */
|
||||||
.weeks .current .headingwrap, .topics .current div.headingwrap, .current .ui-bar-b, .current .left.side, .tabtree ul.tabrow0 li.selected a, .ui-btn-active, #page-course-view-topcollPAGE .current {
|
.weeks .current .headingwrap, .topics .current div.headingwrap, .current .ui-bar-b, .current .left.side, .tabtree ul.tabrow0 li.selected a, .ui-btn-active {
|
||||||
border: 1px solid #F7C942;
|
border: 1px solid #F7C942;
|
||||||
background: #fadb4e;
|
background: #fadb4e;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue