diff --git a/theme/bootstrapbase/less/moodle/blocks.less b/theme/bootstrapbase/less/moodle/blocks.less index 537a3534732..943f99dc9cc 100644 --- a/theme/bootstrapbase/less/moodle/blocks.less +++ b/theme/bootstrapbase/less/moodle/blocks.less @@ -121,11 +121,17 @@ width: auto; } .block_rss_client { - .content li .link { - font-weight: inherit; + .content li { + margin-bottom: 10px; + padding: 5px; + border: 1px solid #ddd; + .border-radius(@baseBorderRadius); + .link { + font-weight: inherit; + } } - .list li { - border-top-color: darken(@wellBackground, 7%); + .list li:first-child { + border-top-width: 1px; // undo the style provided by the block's styles.css } } diff --git a/theme/bootstrapbase/less/moodle/core.less b/theme/bootstrapbase/less/moodle/core.less index c696d7e19fd..fb5d56d01e4 100644 --- a/theme/bootstrapbase/less/moodle/core.less +++ b/theme/bootstrapbase/less/moodle/core.less @@ -1400,8 +1400,11 @@ audio.mediaplugin_html5audio { white-space: nowrap; text-align: center; } -.initialbar a { - padding-right: 2px; +.initialbar { + a, strong { + padding-left: 3px; + padding-right: 3px; + } } /* Moodle Dialogue Settings (moodle-core-dialogue) */ .moodle-dialogue-base .moodle-dialogue-lightbox { diff --git a/theme/bootstrapbase/less/moodle/course.less b/theme/bootstrapbase/less/moodle/course.less index 62a22cf71ad..264709507e0 100644 --- a/theme/bootstrapbase/less/moodle/course.less +++ b/theme/bootstrapbase/less/moodle/course.less @@ -399,12 +399,11 @@ span.editinstructions { background-image:url([[pix:moodle|i/course]]); background-repeat: no-repeat; padding-left:21px; - background-position: center left; + background-position: left 0.5em; } .coursebox.remotehost > .info > .categoryname a { background-image:url([[pix:moodle|i/mnethost]]); } -.coursebox > .info > .coursename, .coursebox .content .teachers, .coursebox .content .courseimage, .coursebox .content .coursefile { diff --git a/theme/bootstrapbase/less/moodle/modules.less b/theme/bootstrapbase/less/moodle/modules.less index 8f059c1b077..0a1e1c15ee2 100644 --- a/theme/bootstrapbase/less/moodle/modules.less +++ b/theme/bootstrapbase/less/moodle/modules.less @@ -9,11 +9,51 @@ select { width: auto; } +// Forum + .path-mod-forum .forumheaderlist, .path-mod-forum .forumheaderlist td { border: none; } +.path-mod-forum .forumheaderlist { + thead .header { + white-space: normal; + vertical-align: top; + } + thead .header.lastpost { + text-align: right; + } + .discussion { + .author, .replies, .lastpost { + white-space: normal; + } + .replies { + text-align: center; + } + .topic, .topic.starter, .picture, .author, .replies, .lastpost { + vertical-align: top; + } + } +} + +@media (max-width: 979px) { + .path-mod-forum .forumheaderlist { + thead .header { + font-weight: normal; + font-size: round(@fontSizeSmall); + } + .discussion { + .author, .replies, .lastpost { + font-size: round(@fontSizeSmall); + } + .replies .unread a { + padding: 0; + } + } + } +} + .forumpost { .well; padding: 6px; @@ -167,3 +207,16 @@ div#dock { .path-mod-wiki .wiki_contentbox { width: 100%; } + +// Survey module + +.path-mod-survey { + .surveytable { + .r0 {background-color: #eee;} + .r1 {background-color: #ddd;} + .rblock label {text-align: center;} + } + .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara { + text-align:center; + } +}