mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-55165 less: fix various errors in less
Detected by stylelint rules: http://stylelint.io/user-guide/rules/declaration-block-no-ignored-properties/ http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/ http://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides/ http://stylelint.io/user-guide/rules/value-keyword-case/ http://stylelint.io/user-guide/rules/selector-type-no-unknown/ http://stylelint.io/user-guide/rules/selector-type-no-unknown/
This commit is contained in:
parent
ddd8dc0d1b
commit
62ce522cde
@ -185,11 +185,6 @@ module.exports = function(grunt) {
|
||||
configOverrides: {
|
||||
rules: {
|
||||
// TODO: MDL-55165 -Enable these rules once we make output-changing changes to less.
|
||||
"declaration-block-no-ignored-properties": null,
|
||||
"value-keyword-case": null,
|
||||
"declaration-block-no-duplicate-properties": null,
|
||||
"declaration-block-no-shorthand-property-overrides": null,
|
||||
"selector-type-no-unknown": null,
|
||||
"length-zero-no-unit": null,
|
||||
"color-hex-case": null,
|
||||
"color-hex-length": null,
|
||||
|
@ -406,7 +406,6 @@ img.iconsmall {
|
||||
}
|
||||
|
||||
.form-item .form-setting .form-htmlarea {
|
||||
width: 640px;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
@ -1132,8 +1132,6 @@ tr.flagged-tag a {
|
||||
display: inline;
|
||||
float: none;
|
||||
clear: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
select,
|
||||
.ftext input {
|
||||
@ -1409,7 +1407,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
|
||||
filter: 0;
|
||||
}
|
||||
.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline;
|
||||
font-size: 100%;
|
||||
@ -1422,7 +1419,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
|
||||
width: 25px;
|
||||
height: 15px;
|
||||
float: right;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
@ -1725,7 +1721,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
|
||||
padding: 3px 7px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
background-color: whiteSmoke;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #ddd;
|
||||
color: #9DA0A4;
|
||||
.border-radius(4px 0 4px 0);
|
||||
@ -1955,7 +1951,6 @@ img#persona_signin {
|
||||
}
|
||||
.invisiblefieldset {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
|
@ -51,7 +51,6 @@
|
||||
.spinner {
|
||||
left: 100%;
|
||||
position: absolute;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.editing_move {
|
||||
@ -862,7 +861,6 @@ span.editinstructions {
|
||||
|
||||
.item-actions {
|
||||
margin-right: 1em;
|
||||
display: inline-block;
|
||||
display: initial;
|
||||
> a img,
|
||||
.menubar img {
|
||||
@ -1081,7 +1079,6 @@ span.editinstructions {
|
||||
float: right;
|
||||
line-height: 40px;
|
||||
> div {
|
||||
margin-left: 1em;
|
||||
margin: 10px 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -195,7 +195,7 @@
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
}
|
||||
.fp-repo-items fp-viewbar {
|
||||
.fp-repo-items .fp-viewbar {
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
|
@ -101,7 +101,6 @@ form {
|
||||
.mform fieldset.fdate_selector label {
|
||||
display: inline;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
.mform .ftags label.accesshide {
|
||||
display: block;
|
||||
|
@ -116,7 +116,6 @@
|
||||
overflow-y: auto;
|
||||
padding: 1.5em 1.6em;
|
||||
background-color: #fff;
|
||||
overflow-y: auto;
|
||||
}
|
||||
#chooseqtype .instruction,
|
||||
#chooseqtype .selected .qtypesummary {
|
||||
@ -179,7 +178,6 @@
|
||||
}
|
||||
body.path-question-type .fitem_fgroup .accesshide {
|
||||
font: inherit;
|
||||
left: 0;
|
||||
position: static;
|
||||
padding-right: .3em;
|
||||
}
|
||||
@ -379,7 +377,6 @@ body.path-question-type .fitem_fgroup .accesshide {
|
||||
#page-mod-quiz-edit .questionbankwindow div.header {
|
||||
color: #444;
|
||||
text-shadow: none;
|
||||
padding: 3px;
|
||||
.border-top-radius(4px);
|
||||
margin: 0 -10px 0 -10px;
|
||||
padding: 2px 10px 2px 10px;
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and replace it completely.
|
||||
|
||||
#page-report-participation-index .participationselectform div label { // Using 'div' here to override the report styles.css
|
||||
display: inline;
|
||||
display: inline-block;
|
||||
margin: 0 5px; // No top and bottom margin with a 5px left and right for LTR and RTL.
|
||||
}
|
||||
|
||||
|
@ -226,7 +226,6 @@
|
||||
}
|
||||
.fp-content-center {
|
||||
display: block;
|
||||
vertical-align: top;
|
||||
}
|
||||
.course-content ul.topics li.section,
|
||||
.course-content ul.topics li.section .content,
|
||||
|
@ -121,7 +121,6 @@ div.c1.btn {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
text-align: inherit;
|
||||
vertical-align: inherit;
|
||||
cursor: default;
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user