From 99fe296eb2d5461b42ad07f5923e4f5677cd54a3 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 30 Sep 2016 09:22:02 +0100 Subject: [PATCH] MDL-55168 css: remove 0-length units --- admin/tool/behat/styles.css | 2 +- admin/tool/health/styles.css | 6 +-- admin/tool/lp/styles.css | 2 +- blocks/community/styles.css | 26 +++++------ blocks/settings/styles.css | 2 +- grade/import/direct/styles.css | 4 +- grade/report/singleview/styles.css | 2 +- lib/editor/atto/plugins/equation/styles.css | 2 +- lib/editor/atto/styles.css | 2 +- lib/editor/tinymce/styles.css | 2 +- message/output/airnotifier/style.css | 4 +- mnet/service/enrol/styles.css | 4 +- mod/assign/feedback/editpdf/styles.css | 46 ++++++++++---------- mod/assign/styles.css | 26 +++++------ mod/book/tool/print/print.css | 30 ++++++------- mod/chat/gui_ajax/theme/bubble/chat.css | 2 +- mod/data/styles.css | 2 +- mod/forum/styles.css | 2 +- mod/glossary/styles.css | 14 +++--- mod/scorm/styles.css | 16 +++---- mod/wiki/styles.css | 2 +- mod/workshop/allocation/manual/styles.css | 4 +- mod/workshop/allocation/random/styles.css | 2 +- mod/workshop/styles.css | 48 ++++++++++----------- question/type/multichoice/styles.css | 6 +-- 25 files changed, 129 insertions(+), 129 deletions(-) diff --git a/admin/tool/behat/styles.css b/admin/tool/behat/styles.css index 8300294de3606..8c5634ad757c0 100644 --- a/admin/tool/behat/styles.css +++ b/admin/tool/behat/styles.css @@ -8,7 +8,7 @@ } .steps-definitions .step { - margin: 10px 0px 10px 0px; + margin: 10px 0 10px 0; } .steps-definitions .stepdescription { diff --git a/admin/tool/health/styles.css b/admin/tool/health/styles.css index df34febb0fd57..ec486afdf188d 100644 --- a/admin/tool/health/styles.css +++ b/admin/tool/health/styles.css @@ -39,7 +39,7 @@ .path-admin-tool-health dl.healthissues dt, .path-admin-tool-health dl.healthissues dd { - margin: 0px; + margin: 0; padding: 1em; border: 1px solid black; } @@ -67,8 +67,8 @@ } .path-admin-tool-health dd.solution p { - padding: 0px; - margin: 1em 0px; + padding: 0; + margin: 1em 0; } .path-admin-tool-health dd.solution li { diff --git a/admin/tool/lp/styles.css b/admin/tool/lp/styles.css index 96d5bd8877900..e811b9a66d0d0 100644 --- a/admin/tool/lp/styles.css +++ b/admin/tool/lp/styles.css @@ -196,7 +196,7 @@ /** check box and radio button on configure scale dialogue */ input[type="radio"].tool_lp_scale_default, input[type="checkbox"].tool_lp_scale_proficient { - margin-top: 0px; + margin-top: 0; } /** User evidence */ diff --git a/blocks/community/styles.css b/blocks/community/styles.css index 5145f34ae6aaa..c6704e6cc49ec 100644 --- a/blocks/community/styles.css +++ b/blocks/community/styles.css @@ -152,16 +152,16 @@ } #page-blocks-community-communitycourse .hubcoursetitle { - -webkit-box-shadow: rgba(0, 0, 0, 0.546875) 0px 0px 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.546875) 0px 0px 4px; + -webkit-box-shadow: rgba(0, 0, 0, 0.546875) 0 0 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.546875) 0 0 4px; background: #8b8989; left: -15px; position: relative; z-index: 0; - border: 0px; - margin: 0px; - outline: 0px; - padding: 0px; + border: 0; + margin: 0; + outline: 0; + padding: 0; vertical-align: baseline; color: #fff; padding-top: 6px; @@ -210,7 +210,7 @@ #page-blocks-community-communitycourse .star-rating { list-style: none; margin: 4px 0 4px; - padding: 0px; + padding: 0; width: 100px; height: 20px; position: relative; @@ -219,8 +219,8 @@ } #page-blocks-community-communitycourse .star-rating li { - padding: 0px; - margin: 0px; + padding: 0; + margin: 0; height: 20px; width: 20px; float: left; @@ -278,7 +278,7 @@ position: relative; cursor: pointer; background-color: #8b8989; - margin-left: 0px; + margin-left: 0; font-size: 80%; margin-top: 15px; } @@ -333,8 +333,8 @@ } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-wrap { - -moz-border-radius: 12px 12px 0px 0px; - -webkit-border-radius: 12px 12px 0px 0px; + -moz-border-radius: 12px 12px 0 0; + -webkit-border-radius: 12px 12px 0 0; background-color: #fff; border: 1px solid #555; } @@ -349,7 +349,7 @@ } #page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-bd { - padding: 0px; + padding: 0; margin-bottom: -5px; } diff --git a/blocks/settings/styles.css b/blocks/settings/styles.css index d3432ac3a0d44..e0c94b2bad631 100644 --- a/blocks/settings/styles.css +++ b/blocks/settings/styles.css @@ -25,7 +25,7 @@ .block_settings .block_tree .tree_item { cursor: pointer; - margin: 3px 0px; + margin: 3px 0; background-position: 0 50%; background-repeat: no-repeat; } diff --git a/grade/import/direct/styles.css b/grade/import/direct/styles.css index a5b5a5550da3a..fb1e634f978c3 100644 --- a/grade/import/direct/styles.css +++ b/grade/import/direct/styles.css @@ -1,5 +1,5 @@ .gradeimport_data_area { - margin: 0px 0px 10px; + margin: 0 0 10px; width: 475px; height: 209px; -} \ No newline at end of file +} diff --git a/grade/report/singleview/styles.css b/grade/report/singleview/styles.css index 7fecfb6f35f4d..80cab39c614fc 100644 --- a/grade/report/singleview/styles.css +++ b/grade/report/singleview/styles.css @@ -12,7 +12,7 @@ .path-grade-report-singleview div.singleselect + div.singleselect select, .path-grade-report-singleview div.groupselector select { - margin-right: 0px; + margin-right: 0; } .path-grade-report-singleview div.reporttable div.singleselect form div { diff --git a/lib/editor/atto/plugins/equation/styles.css b/lib/editor/atto/plugins/equation/styles.css index 932f203f77fde..f6081a05239dc 100644 --- a/lib/editor/atto/plugins/equation/styles.css +++ b/lib/editor/atto/plugins/equation/styles.css @@ -24,5 +24,5 @@ } .atto_form .atto_equation_preview { - margin-bottom: 0px; /* Turn off the margin-bottom from the class "well" */ + margin-bottom: 0; /* Turn off the margin-bottom from the class "well" */ } diff --git a/lib/editor/atto/styles.css b/lib/editor/atto/styles.css index 74c49f82333f4..8133d93660920 100644 --- a/lib/editor/atto/styles.css +++ b/lib/editor/atto/styles.css @@ -69,7 +69,7 @@ div.editor_atto_toolbar button::-moz-focus-inner { } div.editor_atto_toolbar button img.icon { - padding: 0px; + padding: 0; margin: 2px 0; /* The following is dedicated to the beloved IE8, clashing with Bootstrap. God bless you IE. */ vertical-align: text-bottom; diff --git a/lib/editor/tinymce/styles.css b/lib/editor/tinymce/styles.css index b432486941d86..b588250f2f19b 100644 --- a/lib/editor/tinymce/styles.css +++ b/lib/editor/tinymce/styles.css @@ -10,7 +10,7 @@ } .moodleSkin .mceLayout .mceToolbar .mceNoWrap { clear: none; - width: 0px; + width: 0; } .o2k7Skin tr.mceLast .mceToolbar tr td.mceWrap, diff --git a/message/output/airnotifier/style.css b/message/output/airnotifier/style.css index 46b41d16a3355..840f4dc8377ae 100644 --- a/message/output/airnotifier/style.css +++ b/message/output/airnotifier/style.css @@ -25,5 +25,5 @@ ul#airnotifierdevices { list-style: none; - margin: 0em; -} \ No newline at end of file + margin: 0; +} diff --git a/mnet/service/enrol/styles.css b/mnet/service/enrol/styles.css index d81c85c1d3a30..5ff373dc93d89 100644 --- a/mnet/service/enrol/styles.css +++ b/mnet/service/enrol/styles.css @@ -4,7 +4,7 @@ .path-admin-mnet-service-enrol table.remotehosts, .path-admin-mnet-service-enrol table.otherenrolledusers, .path-admin-mnet-service-enrol table.remotecourses { - margin: 0px auto 1em auto; + margin: 0 auto 1em auto; } .path-admin-mnet-service-enrol table.remotecourses th.categoryname { text-align: left; @@ -26,7 +26,7 @@ padding: 1em; } .path-admin-mnet-service-enrol .collapsibleregion.remotecourse.summary { - margin: 0px 10em; + margin: 0 10em; } .path-admin-mnet-service-enrol .roleassigntable { margin: 1em auto; diff --git a/mod/assign/feedback/editpdf/styles.css b/mod/assign/feedback/editpdf/styles.css index 86efb49da14ab..94d5c68ffce62 100644 --- a/mod/assign/feedback/editpdf/styles.css +++ b/mod/assign/feedback/editpdf/styles.css @@ -35,7 +35,7 @@ left: 1em; right: 1em; top: 52px; - bottom: 0px; + bottom: 0; position: absolute; overflow: auto; background-color: #ccc; @@ -51,7 +51,7 @@ .assignfeedback_editpdf_widget .pageheader { background-color: #ebebeb; border-bottom: 1px solid #ccc; - padding: 0px; + padding: 0; padding-left: 20px; padding-right: 20px; min-height: 50px; @@ -60,7 +60,7 @@ } .moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_widget .moodle-dialogue-bd { - padding: 0px; + padding: 0; } .assignfeedback_editpdf_widget .assignfeedback_editpdf_unsavedchanges.haschanges { @@ -93,9 +93,9 @@ .assignfeedback_editpdf_widget .pageheader button { background: none; padding: 4px 7px; - border: 0px; - border-radius: 0px; - margin: 0px; + border: 0; + border-radius: 0; + margin: 0; height: 30px; line-height: 30px; vertical-align: top; @@ -107,7 +107,7 @@ -webkit-appearance: none; -moz-appearance: menulist-text; background-color: #fff; - padding: 0px 10px; + padding: 0 10px; } .assignfeedback_editpdf_widget .pageheader select::-ms-expand { @@ -119,7 +119,7 @@ .assignfeedback_editpdf_widget .pageheader .navigation select + button, .assignfeedback_editpdf_widget .pageheader .toolbar select + button { border-left: 1px solid #ccc; - border-right: 0px; + border-right: 0; } .assignfeedback_editpdf_widget .pageheader .navigation button { @@ -136,7 +136,7 @@ background-color: white; height: 30px; line-height: 30px; - padding: 0px; + padding: 0; } .assignfeedback_editpdf_commentsearch ul { @@ -154,13 +154,13 @@ } .assignfeedback_editpdf_commentsearch ul li { - line-height: 0px; + line-height: 0; margin: 2px; } .assignfeedback_editpdf_commentsearch a pre { font-family: helvetica; - margin: 0px; + margin: 0; padding: 4px; } @@ -186,7 +186,7 @@ } .assignfeedback_editpdf_colourpicker ul { - margin: 0px; + margin: 0; } .assignfeedback_editpdf_commentmenu li.quicklist_comment { @@ -206,29 +206,29 @@ } .assignfeedback_editpdf_dropdown button { - border: 0px; + border: 0; background: none; padding: 6px 7px; - border-radius: 0px; + border-radius: 0; border-top: 1px solid #ccc; } .assignfeedback_editpdf_dropdown li:first-child button { - border-top: 0px; + border-top: 0; } .moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-wrap { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; - margin-left: 0px; - margin-right: 0px; - margin-top: 0px; + margin-left: 0; + margin-right: 0; + margin-top: 0; border-radius: 4px; } .moodle-dialogue-base .moodle-dialogue.assignfeedback_editpdf_dropdown .moodle-dialogue-bd { - padding: 0px; + padding: 0; } .assignfeedback_editpdf_dropdown .moodle-dialogue-hd, @@ -237,7 +237,7 @@ } .assignfeedback_editpdf_menu li hr { - margin: 0px; + margin: 0; } .assignfeedback_editpdf_menu li a { @@ -254,12 +254,12 @@ } ul.assignfeedback_editpdf_menu { - margin: 0px; + margin: 0; } .assignfeedback_editpdf_menu li { list-style-type: none; - margin: 0px; + margin: 0; border-radius: 4px; } @@ -268,7 +268,7 @@ ul.assignfeedback_editpdf_menu { } .assignfeedback_editpdf_menu li button { - margin: 0px; + margin: 0; background: none; } diff --git a/mod/assign/styles.css b/mod/assign/styles.css index 2189a4090f845..0d1ec65b77d0d 100644 --- a/mod/assign/styles.css +++ b/mod/assign/styles.css @@ -24,7 +24,7 @@ } .path-mod-assign table.generaltable table td { - border: 0px none; + border: 0 none; } .path-mod-assign .gradingsummarytable, @@ -52,13 +52,13 @@ } .path-mod-assign .quickgradingform .mform fieldset { - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } .path-mod-assign .gradingbatchoperationsform .mform fieldset { - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } .path-mod-assign td.submissionstatus, @@ -148,11 +148,11 @@ } .path-mod-assign .gradingtable .yui3-menu ul { - margin: 0px; + margin: 0; } .path-mod-assign .gradingtable .yui3-menu-label { - padding-left: 0px; + padding-left: 0; line-height: 12px; } @@ -169,7 +169,7 @@ } .path-mod-assign .gradingtable .yui3-menu .yui3-menu-content { - border: 0px; + border: 0; padding-top: 0; } @@ -299,11 +299,11 @@ } .path-mod-assign.layout-option-nonavbar { - padding-top: 0px; + padding-top: 0; } .path-mod-assign [data-region="user-selector"] select { - margin-bottom: 0px; + margin-bottom: 0; } .path-mod-assign [data-region="user-selector"] .alignment { @@ -573,7 +573,7 @@ box-sizing: border-box; background-color: #f5f5f5; padding: 15px; - padding-top: 0px; + padding-top: 0; -webkit-transition: width 0.5s, right 0.5s, left 0.5s; -moz-transition: width 0.5s, right 0.5s, left 0.5s; transition: width 0.5s, right 0.5s, left 0.5s; @@ -975,11 +975,11 @@ display: none; z-index: 100; position: absolute; - top: 0em; + top: 0; left: 0; width: 100%; overflow: auto; - bottom: 0em; + bottom: 0; background-color: #ddd; opacity: 0.4; padding-top: 4em; diff --git a/mod/book/tool/print/print.css b/mod/book/tool/print/print.css index 244867ef2ffea..7b733c0c8848e 100644 --- a/mod/book/tool/print/print.css +++ b/mod/book/tool/print/print.css @@ -20,7 +20,7 @@ #page-mod-book-print h6 { page-break-after: avoid; page-break-inside: avoid; - margin-left: 0px; + margin-left: 0; } /* just some hack - ignore user defined */ @@ -52,8 +52,8 @@ #page-mod-book-print .book_toc_none ul, #page-mod-book-print .book_toc_none ul ul { - margin-left: 0px; - padding-left: 0px; + margin-left: 0; + padding-left: 0; } #page-mod-book-print .book_toc_none li { @@ -62,7 +62,7 @@ } #page-mod-book-print .book_toc_none li li { - margin-top: 0px; + margin-top: 0; list-style: none; } /* numbering == NUMBERED */ @@ -76,14 +76,14 @@ } #page-mod-book-print .book_toc_numbered li li { - margin-top: 0px; + margin-top: 0; list-style: none; } #page-mod-book-print .book_toc_numbered ul, #page-mod-book-print .book_toc_numbered ul ul { - margin-left: 0px; - padding-left: 0px; + margin-left: 0; + padding-left: 0; } /* numbering == BULLETS */ @@ -97,18 +97,18 @@ } #page-mod-book-print .book_toc_bullets li li { - margin-top: 0px; + margin-top: 0; list-style: circle; } #page-mod-book-print .book_toc_bullets ul { - margin-left: 0px; - padding-left: 0px; + margin-left: 0; + padding-left: 0; } #page-mod-book-print .book_toc_bullets ul ul { margin-left: 20px; - padding-left: 0px; + padding-left: 0; } /* numbering == INDENTED */ @@ -122,18 +122,18 @@ } #page-mod-book-print .book_toc_indented li li { - margin-top: 0px; + margin-top: 0; list-style: none; } #page-mod-book-print .book_toc_indented ul { - margin-left: 0px; - padding-left: 0px; + margin-left: 0; + padding-left: 0; } #page-mod-book-print .book_toc_indented ul ul { margin-left: 20px; - padding-left: 0px; + padding-left: 0; } diff --git a/mod/chat/gui_ajax/theme/bubble/chat.css b/mod/chat/gui_ajax/theme/bubble/chat.css index 6d73a8cda060e..035eb9303173d 100644 --- a/mod/chat/gui_ajax/theme/bubble/chat.css +++ b/mod/chat/gui_ajax/theme/bubble/chat.css @@ -127,7 +127,7 @@ Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher border-radius: 10px; /* moodle specific */ - margin-top: 0px; + margin-top: 0; /* end moodle specific */ } diff --git a/mod/data/styles.css b/mod/data/styles.css index b65d459a9132c..aab9ad28f7140 100644 --- a/mod/data/styles.css +++ b/mod/data/styles.css @@ -17,7 +17,7 @@ } #page-mod-data-view img.list_picture { - border: 0px; + border: 0; } #page-mod-data-view div.search_none { diff --git a/mod/forum/styles.css b/mod/forum/styles.css index 6ab6f897ae751..4a23b38d80d0b 100644 --- a/mod/forum/styles.css +++ b/mod/forum/styles.css @@ -114,7 +114,7 @@ } .path-mod-forum .forumheaderlist td { - border-width: 1px 0px 0px 1px; + border-width: 1px 0 0 1px; border-style: solid; } diff --git a/mod/glossary/styles.css b/mod/glossary/styles.css index 4a2e711f8f256..f4d92eb5cd837 100644 --- a/mod/glossary/styles.css +++ b/mod/glossary/styles.css @@ -2,12 +2,12 @@ .path-mod-glossary .glossarypost { width: 95%; border-collapse: separate; - margin: 0px auto; + margin: 0 auto; text-align: left; } .path-mod-glossary .glossarypost.entrylist { - border-width: 0px; + border-width: 0; } .path-mod-glossary .glossarypost.continuous .concept { @@ -49,12 +49,12 @@ .path-mod-glossary .glossarydisplay .tabs { width: 100%; - margin-bottom: 0px; + margin-bottom: 0; } .path-mod-glossary .glossarydisplay .tabs .side { border-style: none; - border-width: 0px; + border-width: 0; width: auto; } @@ -70,7 +70,7 @@ .path-mod-glossary table.glossaryapproval, .path-mod-glossary .glossarypost .entrylowersection table { width: 100%; - margin-bottom: 0em; + margin-bottom: 0; } .glossary-activity-picture { @@ -96,11 +96,11 @@ } #page-mod-glossary-view table.glossarycategoryheader { - margin-bottom: 0em; + margin-bottom: 0; } #page-mod-glossary-view table.glossarycategoryheader th { - padding: 0px; + padding: 0; } #page-mod-glossary-view td.glossarysearchbox label { diff --git a/mod/scorm/styles.css b/mod/scorm/styles.css index e93864023d0fc..ca3cd6d67d382 100644 --- a/mod/scorm/styles.css +++ b/mod/scorm/styles.css @@ -34,7 +34,7 @@ #page-mod-scorm-player #scormbrowse { position: absolute; left: 5px; - top: 0px; + top: 0; } #page-mod-scorm-player #scormnav { @@ -49,8 +49,8 @@ width: 74%; height: 100%; position: absolute; - right: 0px; - top: 0px; + right: 0; + top: 0; } #page-mod-scorm-player #scormpage { @@ -66,7 +66,7 @@ #page-mod-scorm-player #tocbox { position: relative; - left: 0px; + left: 0; width: 100%; height: 100%; font-size: 0.8em; @@ -162,17 +162,17 @@ #page-mod-scorm-player #altfinishlink { font-size: 140%; - border: 0px; - padding: 0px; + border: 0; + padding: 0; } #page-mod-scorm-player #scormmode { float: left; - border: 0px; + border: 0; } #page-mod-scorm-player.pagelayout-popup #page-content .region-content { - padding: 0px; + padding: 0; } #page-mod-scorm-player.pagelayout-popup #page-wrapper { diff --git a/mod/wiki/styles.css b/mod/wiki/styles.css index a3ad556214297..27da7321db584 100644 --- a/mod/wiki/styles.css +++ b/mod/wiki/styles.css @@ -108,7 +108,7 @@ } .wiki-upload-table h3 { - margin: 4px 0px; + margin: 4px 0; text-align: center; } diff --git a/mod/workshop/allocation/manual/styles.css b/mod/workshop/allocation/manual/styles.css index ab938feb4c92c..be4cac1a20d57 100644 --- a/mod/workshop/allocation/manual/styles.css +++ b/mod/workshop/allocation/manual/styles.css @@ -3,7 +3,7 @@ */ .path-mod-workshop .manual-allocator .allocations { - margin: 0px auto; + margin: 0 auto; width: 100%; } @@ -38,7 +38,7 @@ } .path-mod-workshop .manual-allocator .allocations tr td ul { - margin: 0px; + margin: 0; } .path-mod-workshop .manual-allocator .allocations tr td ul li { diff --git a/mod/workshop/allocation/random/styles.css b/mod/workshop/allocation/random/styles.css index 2e33896e69184..b06b63b4f8958 100644 --- a/mod/workshop/allocation/random/styles.css +++ b/mod/workshop/allocation/random/styles.css @@ -1,4 +1,4 @@ .path-mod-workshop .random-allocator .warning { width: 100%; - margin: 0px auto 15px auto; + margin: 0 auto 15px auto; } diff --git a/mod/workshop/styles.css b/mod/workshop/styles.css index 713684b4b98a4..f9c44d55572e0 100644 --- a/mod/workshop/styles.css +++ b/mod/workshop/styles.css @@ -46,7 +46,7 @@ .path-mod-workshop .submission-summary .title, .path-mod-workshop .submission-summary .userdate, .path-mod-workshop .submission-summary .grade-status { - margin: 0px 0px 0px 40px; + margin: 0 0 0 40px; } .path-mod-workshop .submission-summary .author { @@ -57,7 +57,7 @@ .path-mod-workshop .submission-summary.anonymous .author, .path-mod-workshop .submission-summary.anonymous .userdate, .path-mod-workshop .submission-summary.anonymous .grade-status { - margin: 0px 0px 0px 5px; + margin: 0 0 0 5px; } .path-mod-workshop .submission-summary .userdate { @@ -71,8 +71,8 @@ .path-mod-workshop .submission-summary .author .picture { position: absolute; - top: 0px; - left: 0px; + top: 0; + left: 0; } /** @@ -80,7 +80,7 @@ */ .path-mod-workshop .submission-full { border: 1px solid #ddd; - margin: 0px 0px 1em 0px; + margin: 0 0 1em 0; } .path-mod-workshop .submission-full .header { @@ -93,13 +93,13 @@ .path-mod-workshop .submission-full .header .title, .path-mod-workshop .submission-full .header .author, .path-mod-workshop .submission-full .header .userdate { - margin: 0px 0px 0px 80px; + margin: 0 0 0 80px; } .path-mod-workshop .submission-full.anonymous .header .title, .path-mod-workshop .submission-full.anonymous .header .author, .path-mod-workshop .submission-full.anonymous .header .userdate { - margin: 0px 0px 0px 5px; + margin: 0 0 0 5px; } .path-mod-workshop .submission-full .header .userdate.created { @@ -108,7 +108,7 @@ .path-mod-workshop .submission-full .header .userdate.modified { padding-left: 10px; - margin-left: 0px; + margin-left: 0; border-left: 1px solid #000; } @@ -149,18 +149,18 @@ */ .path-mod-workshop .submission-summary.example .title, .path-mod-workshop .submission-summary.example .userdate { - margin: 0px 0px 0px 0px; + margin: 0 0 0 0; } /** * Example submission - full display */ .path-mod-workshop .submission-full.example .header { - min-height: 0px; + min-height: 0; } .path-mod-workshop .submission-full.example .header .title { - margin: 0px 0px 0px 0px; + margin: 0 0 0 0; } /** @@ -168,7 +168,7 @@ */ .path-mod-workshop .message { padding: 5px 5em 5px 15px; - margin: 0px auto 20px auto; + margin: 0 auto 20px auto; width: 100%; font-size: 80%; position: relative; @@ -176,7 +176,7 @@ .path-mod-workshop .message .singlebutton { text-align: left; - margin: 0px; + margin: 0; } .path-mod-workshop .message.ok { @@ -319,15 +319,15 @@ .path-mod-workshop .userplan tr.phasetasks .tasks { list-style: none; margin: 3px; - padding: 0px; + padding: 0; } .path-mod-workshop .userplan tr.phasetasks .title { - padding: 0px 10px 0px 20px; + padding: 0 10px 0 20px; } .path-mod-workshop .userplan tr.phasetasks .details { - padding: 0px 10px 0px 25px; + padding: 0 10px 0 25px; font-size: 80%; } @@ -336,7 +336,7 @@ */ .path-mod-workshop .assessment-full { border: 1px solid #ddd; - margin: 0px auto 1em auto; + margin: 0 auto 1em auto; } .path-mod-workshop .assessment-full .header { @@ -354,14 +354,14 @@ .path-mod-workshop .assessment-full .header .reviewer, .path-mod-workshop .assessment-full .header .grade, .path-mod-workshop .assessment-full .header .weight { - margin: 0px 0px 0px 40px; + margin: 0 0 0 40px; } .path-mod-workshop .assessment-full.anonymous .header .title, .path-mod-workshop .assessment-full.anonymous .header .reviewer, .path-mod-workshop .assessment-full.anonymous .header .grade, .path-mod-workshop .assessment-full.anonymous .header .weight { - margin: 0px 0px 0px 5px; + margin: 0 0 0 5px; } .path-mod-workshop .assessment-full .header .reviewer .picture { @@ -386,7 +386,7 @@ .path-mod-workshop .assessment-full .assessment-form-wrapper, .path-mod-workshop .assessment-full .overall-feedback-wrapper { margin-top: 0.5em; - padding: 0px 1em; + padding: 0 1em; } .path-mod-workshop .assessment-summary.graded .singlebutton input[type="submit"], @@ -422,7 +422,7 @@ * Assessment form */ .path-mod-workshop .assessmentform .description { - margin: 0px 1em; + margin: 0 1em; } /** @@ -436,7 +436,7 @@ } .path-mod-workshop .grading-report .userpicture { - margin: 0px 3px; + margin: 0 3px; vertical-align: middle; } @@ -534,7 +534,7 @@ */ .path-mod-workshop .feedback { border: 1px solid #ddd; - margin: 0px auto 1em auto; + margin: 0 auto 1em auto; width: 100%; } @@ -546,7 +546,7 @@ } .path-mod-workshop .feedback .header .title { - margin: 0px 0px 0px 40px; + margin: 0 0 0 40px; } .path-mod-workshop .feedback .header .picture { diff --git a/question/type/multichoice/styles.css b/question/type/multichoice/styles.css index c3de6bceb2fc2..5707361ec0be9 100644 --- a/question/type/multichoice/styles.css +++ b/question/type/multichoice/styles.css @@ -42,10 +42,10 @@ body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] .fitemtitle } body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle { - margin-left: 0px; - margin-right: 0px; + margin-left: 0; + margin-right: 0; padding-left: 6px; - padding-right: 0px; + padding-right: 0; } body#page-question-type-multichoice div[id^=fitem_id_][id*=fraction_] {