Skip to content

Commit

Permalink
MDL-55168 css: remove 0-length units
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Sep 30, 2016
1 parent aea8eae commit 99fe296
Show file tree
Hide file tree
Showing 25 changed files with 129 additions and 129 deletions.
2 changes: 1 addition & 1 deletion admin/tool/behat/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

.steps-definitions .step {
margin: 10px 0px 10px 0px;
margin: 10px 0 10px 0;
}

.steps-definitions .stepdescription {
Expand Down
6 changes: 3 additions & 3 deletions admin/tool/health/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/lp/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
26 changes: 13 additions & 13 deletions blocks/community/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -278,7 +278,7 @@
position: relative;
cursor: pointer;
background-color: #8b8989;
margin-left: 0px;
margin-left: 0;
font-size: 80%;
margin-top: 15px;
}
Expand Down Expand Up @@ -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;
}
Expand All @@ -349,7 +349,7 @@
}

#page-blocks-community-communitycourse .moodle-dialogue-base .moodle-dialogue-bd {
padding: 0px;
padding: 0;
margin-bottom: -5px;
}

Expand Down
2 changes: 1 addition & 1 deletion blocks/settings/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions grade/import/direct/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.gradeimport_data_area {
margin: 0px 0px 10px;
margin: 0 0 10px;
width: 475px;
height: 209px;
}
}
2 changes: 1 addition & 1 deletion grade/report/singleview/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/atto/plugins/equation/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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" */
}
2 changes: 1 addition & 1 deletion lib/editor/atto/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/tinymce/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
.moodleSkin .mceLayout .mceToolbar .mceNoWrap {
clear: none;
width: 0px;
width: 0;
}

.o2k7Skin tr.mceLast .mceToolbar tr td.mceWrap,
Expand Down
4 changes: 2 additions & 2 deletions message/output/airnotifier/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@

ul#airnotifierdevices {
list-style: none;
margin: 0em;
}
margin: 0;
}
4 changes: 2 additions & 2 deletions mnet/service/enrol/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
46 changes: 23 additions & 23 deletions mod/assign/feedback/editpdf/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
left: 1em;
right: 1em;
top: 52px;
bottom: 0px;
bottom: 0;
position: absolute;
overflow: auto;
background-color: #ccc;
Expand All @@ -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;
Expand All @@ -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 {
Expand Down Expand Up @@ -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;
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -136,7 +136,7 @@
background-color: white;
height: 30px;
line-height: 30px;
padding: 0px;
padding: 0;
}

.assignfeedback_editpdf_commentsearch ul {
Expand All @@ -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;
}

Expand All @@ -186,7 +186,7 @@
}

.assignfeedback_editpdf_colourpicker ul {
margin: 0px;
margin: 0;
}

.assignfeedback_editpdf_commentmenu li.quicklist_comment {
Expand All @@ -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,
Expand All @@ -237,7 +237,7 @@
}

.assignfeedback_editpdf_menu li hr {
margin: 0px;
margin: 0;
}

.assignfeedback_editpdf_menu li a {
Expand All @@ -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;
}

Expand All @@ -268,7 +268,7 @@ ul.assignfeedback_editpdf_menu {
}

.assignfeedback_editpdf_menu li button {
margin: 0px;
margin: 0;
background: none;
}

Expand Down
Loading

0 comments on commit 99fe296

Please sign in to comment.