Index: lams_central/conf/scss/_lams_variables.scss =================================================================== diff -u -r81a68a722a832bb9c94d9a73e66d27ad0c3d48bb -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_central/conf/scss/_lams_variables.scss (.../_lams_variables.scss) (revision 81a68a722a832bb9c94d9a73e66d27ad0c3d48bb) +++ lams_central/conf/scss/_lams_variables.scss (.../_lams_variables.scss) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -28,7 +28,7 @@ // Borders in various colours // Grey or black $border-thin-black: thin solid black; -$border-thin-dotted: thin dotted #AAAAAA; // admin, central, monitoring +$border-thin-dotted: thin dotted rgb(218, 213, 213); // admin, central, monitoring $border-thin-dashed: thin dashed #AAAAAA; // only used in admin $border-thin-solid: thin solid #AAAAAA; // adming and monitoring $border-thin-body-bg: thin solid $body-bg; // white line Index: lams_central/web/css/_authoring_base.scss =================================================================== diff -u -r321f3561d9195aed42293fa705c325028686c7fd -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_central/web/css/_authoring_base.scss (.../_authoring_base.scss) (revision 321f3561d9195aed42293fa705c325028686c7fd) +++ lams_central/web/css/_authoring_base.scss (.../_authoring_base.scss) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -571,11 +571,11 @@ color: $brand-primary; } - .panel-title .required { + .card-title .required { font-weight: 500; } - .panel-title-button { + .card-title-button { margin-top: -5px; margin-right: 4px; width: 100px; // Make a similar size to the Add Option question above on the AppEx screen Index: lams_central/web/css/_main_base.scss =================================================================== diff -u -rda4e5570d9720a4cb67c6d2b8a81e1e1bf35e1e5 -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_central/web/css/_main_base.scss (.../_main_base.scss) (revision da4e5570d9720a4cb67c6d2b8a81e1e1bf35e1e5) +++ lams_central/web/css/_main_base.scss (.../_main_base.scss) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -347,7 +347,7 @@ .course-header { padding-bottom: 5px; margin-bottom: 12px; - border-bottom: 1px solid #d2d1d1; + border-bottom: 1px solid #e6e6e6; } a.subcourse-title { @@ -363,17 +363,14 @@ max-width: initial !important; } -@media (max-width: 810px) { - .cards tbody { - text-align: center; - } +.cards tbody { + text-align: center; } .cards tbody tr { display: inline-block; width: 23rem; height: auto; - margin: 0.7rem; - border-radius: .3rem; + margin: 1rem; box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25); } @@ -410,8 +407,6 @@ } .cards .lesson-image { min-height: 170px; - border-top-left-radius: .3rem; - border-top-right-radius: .3em; } table:not(.cards) .lesson-image { background-image: none; @@ -498,6 +493,9 @@ } .cards .learners-count { display: block; + padding: .75rem; + margin-top: .25rem; + opacity: .8; } .lesson-name { @@ -506,10 +504,6 @@ overflow: hidden; } -.cards .learners-count { - padding: .75rem; -} - .cards td.row-reorder, .cards .auxiliary-links { display: none; } @@ -576,3 +570,22 @@ font-size: 80%; font-weight: 400; } + +/********** RENAME LESSON FEATURE **********/ + +/* when item is editable - show pencil icon on hover */ +#lesson-name-strong:hover +span+ i { /* when link is hovered select i */ + visibility: visible; +} +#lesson-name-strong +span+ i { /* in all other case hide it */ + visibility: hidden; +} + +[id^="dialogMonitorLesson"] .modal-title { + cursor: auto; +} + +/********** MONITOR MODAL **********/ +[id^="dialogMonitorLesson"] .modal-header { + border-bottom: none; +} \ No newline at end of file Index: lams_central/web/includes/javascript/dialog.js =================================================================== diff -u -re2956cb8a072cc5ac9ceabaa9dac30c5750bf10b -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision e2956cb8a072cc5ac9ceabaa9dac30c5750bf10b) +++ lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -91,6 +91,9 @@ if (initParams.resizable) { modalContent.resizable(); } + if (initParams.top) { + modalDialog.css("top", initParams.top); + } // disable draggable for Android and iPhone as it breaks the close buttons var draggable = initParams.draggable && ! /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); Index: lams_central/web/includes/javascript/main.js =================================================================== diff -u -r6e03312f31e3651711bc99047d26d9e51bac4933 -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_central/web/includes/javascript/main.js (.../main.js) (revision 6e03312f31e3651711bc99047d26d9e51bac4933) +++ lams_central/web/includes/javascript/main.js (.../main.js) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -414,32 +414,36 @@ function showMonitorLessonDialog(lessonID) { - - var id = "dialogMonitorLesson" + lessonID, - dialog = showDialog(id, { + var dialog = showDialog( + "dialogMonitorLesson", + { 'data' : { 'isMonitorDialog' : true, 'lessonID' : lessonID }, 'autoOpen' : false, - 'height': Math.max(380, Math.min(800, $(window).height() - 30)), - 'width' : Math.max(380, Math.min(1024, $(window).width() - 60)), - 'title' : LABELS.MONITORING_TITLE, + 'height': $(window).height(), + 'width' : "99.6%", + "top" : "-26px", + 'title' : "", + 'modal': true, 'open' : function() { // load contents after opening the dialog - $('iframe', this).attr('src', LAMS_URL - + 'home/monitorLesson.do?lessonID=' - + $(this).data('lessonID')); + $('iframe', this).attr('src', LAMS_URL + 'home/monitorLesson.do?lessonID=' + $(this).data('lessonID')); }, - - }, true, true); + }, + true, + true + ); // if it was just created if (dialog) { // tell the dialog contents that it was resized $('.modal-content', dialog).on('resizestop', resizeSequenceCanvas); // initial resize $('iframe', dialog).on('load', resizeSequenceCanvas); + //remove maximize button + $('.dialogMaximise', dialog).remove(); dialog.modal('show'); } Index: lams_gradebook/web/gradebookMonitor.jsp =================================================================== diff -u -re2956cb8a072cc5ac9ceabaa9dac30c5750bf10b -r2e6fc7e8ac72d08478858a62c4f84b9818c8c633 --- lams_gradebook/web/gradebookMonitor.jsp (.../gradebookMonitor.jsp) (revision e2956cb8a072cc5ac9ceabaa9dac30c5750bf10b) +++ lams_gradebook/web/gradebookMonitor.jsp (.../gradebookMonitor.jsp) (revision 2e6fc7e8ac72d08478858a62c4f84b9818c8c633) @@ -729,10 +729,10 @@ - + - + @@ -795,55 +795,55 @@ - - - <%-- replacement for Page type admin --%> -
-
-
- -
-
- -

+
+ + + <%-- replacement for Page type admin --%> +
+
+
+ +
+
+ +

+ -

- -
- ${chartButtonCode} - ${weightButtonCode} - - -
- -

- - -
- ${padlockCode} -
+
+ ${chartButtonCode} + ${weightButtonCode} + + +
+ +