From c2d3fe21ef0e7f922a4a164a5d40b2be6746735d Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 5 Jul 2016 22:59:19 +0100 Subject: [PATCH] MDL-55167 less: add missing linebreak seperators Detected by http://stylelint.io/user-guide/rules/at-rule-empty-line-before/ --- theme/bootstrapbase/less/editor.less | 1 + theme/bootstrapbase/less/moodle.less | 1 - theme/bootstrapbase/less/moodle/forms.less | 1 + theme/bootstrapbase/less/moodle/message.less | 2 ++ theme/bootstrapbase/less/moodle/responsive.less | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/theme/bootstrapbase/less/editor.less b/theme/bootstrapbase/less/editor.less index c66aebdf2f4..8306c2dfe92 100644 --- a/theme/bootstrapbase/less/editor.less +++ b/theme/bootstrapbase/less/editor.less @@ -17,6 +17,7 @@ @import "bootstrap/sprites.less"; @iconSpritePath: ~"[[pix:theme|glyphicons-halflings]]"; @iconWhiteSpritePath: ~"[[pix:theme|glyphicons-halflings-white]]"; + @import "bootstrap/wells.less"; // Components: Buttons & Alerts. diff --git a/theme/bootstrapbase/less/moodle.less b/theme/bootstrapbase/less/moodle.less index 2556c3843e8..a331d862fa2 100644 --- a/theme/bootstrapbase/less/moodle.less +++ b/theme/bootstrapbase/less/moodle.less @@ -76,6 +76,5 @@ body { @import "bootstrap/responsive-767px-max.less"; @import "bootstrap/responsive-navbar.less"; @import "moodle/responsive"; - @import "moodle/debug"; @import "moodle/expendable"; diff --git a/theme/bootstrapbase/less/moodle/forms.less b/theme/bootstrapbase/less/moodle/forms.less index 3fe305abc8a..5764ac7e5c3 100644 --- a/theme/bootstrapbase/less/moodle/forms.less +++ b/theme/bootstrapbase/less/moodle/forms.less @@ -492,6 +492,7 @@ fieldset.coursesearchbox label { * @maxWidthForVerticalForms: 1199px * (unit(((@fluidGridColumnWidth1200 * 3) + (@fluidGridGutterWidth * (3 - 1)))) / 100) + 1199px; */ @maxWidthForVerticalForms: 1474px; + @media (max-width: @maxWidthForVerticalForms) { .used-region-side-pre.used-region-side-post { .makeFormsVertical; diff --git a/theme/bootstrapbase/less/moodle/message.less b/theme/bootstrapbase/less/moodle/message.less index 6aa867d804c..52a11cfda54 100644 --- a/theme/bootstrapbase/less/moodle/message.less +++ b/theme/bootstrapbase/less/moodle/message.less @@ -163,6 +163,7 @@ table.message .searchresults td { border-left: 1px solid @tableBorder; padding: 0 8px; } + @media screen and (max-width: 1000px) { width: 100%; } @@ -226,6 +227,7 @@ table.message .searchresults td { width: 32%; } } + @media screen and (min-width: 1200px) { .message .messagearea .messagehistory .user { width: 25%; diff --git a/theme/bootstrapbase/less/moodle/responsive.less b/theme/bootstrapbase/less/moodle/responsive.less index 7c43ae9a16c..4b13615e3b8 100644 --- a/theme/bootstrapbase/less/moodle/responsive.less +++ b/theme/bootstrapbase/less/moodle/responsive.less @@ -349,6 +349,7 @@ display: inline; } } + @media (max-width: 767px) { .row-fluid .desktop-first-column { clear: both;