From dd9dd095870d5244fb25db9e71afdca79cdbb7a2 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 22 Sep 2016 11:38:40 +0100 Subject: [PATCH] MDL-55071 less: fix some lint issues we touched (These will all be gone soon!) --- theme/bootstrapbase/less/moodle/modules.less | 16 ++++++++-------- theme/bootstrapbase/less/moodle/reports.less | 2 +- theme/bootstrapbase/style/moodle.css | 18 +++++++++--------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/theme/bootstrapbase/less/moodle/modules.less b/theme/bootstrapbase/less/moodle/modules.less index 1406a802a7c..345e3583d89 100644 --- a/theme/bootstrapbase/less/moodle/modules.less +++ b/theme/bootstrapbase/less/moodle/modules.less @@ -64,7 +64,7 @@ body.path-mod-feedback #region-main .mform.feedback_form .feedback-item-pagebrea } .path-mod-feedback .mform.feedback_form#feedback_viewresponse_form .fitem.feedback_hasvalue:not(.feedback-item-captcha) .felement { - background: #FBFBF1; + background: #fbfbf1; min-height: 1em; box-sizing: border-box; padding: 3px; @@ -356,8 +356,8 @@ div#dock { .path-mod-lesson .menu ul { list-style: none; - padding: 5px 0px 0px 5px; - margin: 0px; + padding: 5px 0 0 5px; + margin: 0; } .path-mod-lesson .menu ul li { padding-bottom: 5px; @@ -396,7 +396,7 @@ div#dock { background-color: green; text-align: right; vertical-align: middle; - color: #FFF; + color: #fff; } .path-mod-lesson .resourcecontent { @@ -417,7 +417,7 @@ div#dock { .path-mod-lesson .answeroptiongroup input { position: absolute; top: 2px; - margin-top: 0px; + margin-top: 0; left: 0; } @@ -429,7 +429,7 @@ div#dock { .path-mod-lesson .answeroption .felement label p:last-child, .path-mod-lesson .answeroptiongroup .felement label p:last-child { - margin-bottom: 0px; + margin-bottom: 0; } /** @@ -440,8 +440,8 @@ div#dock { } .path-mod-lesson .reviewessay { width: 40%; - border: 1px solid #DDDDDD; - background-color: #EEEEEE; + border: 1px solid #ddd; + background-color: #eee; } /* Countdown timer. */ diff --git a/theme/bootstrapbase/less/moodle/reports.less b/theme/bootstrapbase/less/moodle/reports.less index e3b9a708ea4..b27a058406b 100644 --- a/theme/bootstrapbase/less/moodle/reports.less +++ b/theme/bootstrapbase/less/moodle/reports.less @@ -10,5 +10,5 @@ } #page-report-participation-index .participationselectform div label[for=menuinstanceid] { - margin-left: 0px; + margin-left: 0; } diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 69e636ec4db..9d1f6fad9fb 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -13504,7 +13504,7 @@ body.path-mod-feedback #region-main .mform.feedback_form .feedback-item-pagebrea padding: 6px; } .path-mod-feedback .mform.feedback_form#feedback_viewresponse_form .fitem.feedback_hasvalue:not(.feedback-item-captcha) .felement { - background: #FBFBF1; + background: #fbfbf1; min-height: 1em; box-sizing: border-box; padding: 3px; @@ -13747,8 +13747,8 @@ div#dock { } .path-mod-lesson .menu ul { list-style: none; - padding: 5px 0px 0px 5px; - margin: 0px; + padding: 5px 0 0 5px; + margin: 0; } .path-mod-lesson .menu ul li { padding-bottom: 5px; @@ -13787,7 +13787,7 @@ div#dock { background-color: green; text-align: right; vertical-align: middle; - color: #FFF; + color: #fff; } .path-mod-lesson .resourcecontent { text-align: center; @@ -13804,7 +13804,7 @@ div#dock { .path-mod-lesson .answeroptiongroup input { position: absolute; top: 2px; - margin-top: 0px; + margin-top: 0; left: 0; } .path-mod-lesson .answeroption .fcheckbox label, @@ -13814,7 +13814,7 @@ div#dock { } .path-mod-lesson .answeroption .felement label p:last-child, .path-mod-lesson .answeroptiongroup .felement label p:last-child { - margin-bottom: 0px; + margin-bottom: 0; } /** * Style for view.php @@ -13824,8 +13824,8 @@ div#dock { } .path-mod-lesson .reviewessay { width: 40%; - border: 1px solid #DDDDDD; - background-color: #EEEEEE; + border: 1px solid #ddd; + background-color: #eee; } /* Countdown timer. */ #lesson-timer { @@ -14327,7 +14327,7 @@ div#dock { margin: 0 5px; } #page-report-participation-index .participationselectform div label[for=menuinstanceid] { - margin-left: 0px; + margin-left: 0; } .path-backup .mform .grouped_settings.section_level { min-height: 20px;