Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from mudrd8mz/MDL-42711-lmnet-clean-theme-backport

MDL-42711 LMNET clean theme backport
  • Loading branch information...
commit 95b2934b23521cc738069d428e6c912b71e3e610 2 parents 73c4e33 + ead1f5b
@nebgor nebgor authored
View
14 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
}
}
View
7 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 {
View
3  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 {
View
53 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;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.