Commit fde35b8f authored by Dan Poltawski's avatar Dan Poltawski
Browse files

MDL-55071 theme_boost: fix 0px and colour shorthand

Part of MDL-55071
parent f4143537
......@@ -636,7 +636,7 @@
.status {
.actionbutton {
margin: 5px 0px;
margin: 5px 0;
padding: 0;
input {
......
......@@ -427,7 +427,7 @@ $calendarEventUserColor: #dce7ec; // Pale blue.
font-size: 10px;
font-weight: bold;
background-color: #f60;
padding: 0px 5px;
padding: 0 5px;
color: #fff;
border-top: 1px solid #f93;
border-left: 1px solid #f93;
......
......@@ -162,7 +162,7 @@ a.autolink.glossary:hover {
background-color: #ffee69;
border: 1px solid #a6982b;
border-top-color: #d4c237;
color: #000000;
color: #000;
left: 0;
padding: 2px 5px;
position: relative;
......@@ -629,12 +629,12 @@ img.user-image {
.path-tag .tag-index-items .tagarea h3 {
display: block;
padding: 3px 0 10px 0;
margin: 0px;
margin: 0;
font-size: 1.1em;
font-weight: bold;
line-height: 20px;
color: #999;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-transform: uppercase;
word-wrap: break-word;
border-bottom: solid 1px #e3e3e3;
......@@ -768,7 +768,7 @@ tr.flagged-tag a {
}
.tag_cloud .inline-list li {
padding: 0px 0.2em;
padding: 0 0.2em;
}
.tag_cloud .tag_overflow {
......@@ -1270,9 +1270,9 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
}
.moodle-dialogue-base .moodle-dialogue-fullscreen {
left: 0px;
top: 0px;
right: 0px;
left: 0;
top: 0;
right: 0;
bottom: -50px;
position: fixed;
}
......@@ -1339,12 +1339,12 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
overflow: auto;
position: absolute;
top: 0px;
top: 0;
bottom: 50px;
left: 0px;
right: 0px;
margin: 0px;
border: 0px;
left: 0;
right: 0;
margin: 0;
border: 0;
}
.moodle-dialogue-confirm .confirmation-dialogue {
......@@ -1517,7 +1517,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
/* Various settings for the options area */
.choosercontainer #chooseform .options {
position: relative;
border-bottom: 1px solid #bbbbbb;
border-bottom: 1px solid #bbb;
}
/* Only set these options if we're showing the js container */
.jschooser .choosercontainer #chooseform .alloptions {
......@@ -1568,7 +1568,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
display: block;
margin: 0;
padding: ($spacer / 2) 0;
border-bottom: 1px solid #ffffff;
border-bottom: 1px solid #fff;
}
.choosercontainer #chooseform .option .icon {
......@@ -1748,13 +1748,13 @@ table.collection .actions {
}
a.criteria-action {
padding: 0px 3px;
padding: 0 3px;
float: right;
}
div.criteria-description {
padding: 10px 15px;
margin: 5px 0px;
margin: 5px 0;
background: none repeat scroll 0 0 #f9f9f9;
border: 1px solid #eee;
}
......@@ -1786,7 +1786,7 @@ ul.badges {
width: 100px;
height: 100px;
left: 10px;
top: 0px;
top: 0;
z-index: 1;
}
......@@ -1798,7 +1798,7 @@ ul.badges {
width: 100px;
height: 100px;
left: 25px;
top: 0px;
top: 0;
position: absolute;
z-index: 10;
opacity: 0.85;
......@@ -1817,8 +1817,8 @@ ul.badges {
.expireimage {
width: 100px;
height: 100px;
left: 0px;
top: 0px;
left: 0;
top: 0;
opacity: 0.85;
position: absolute;
z-index: 10;
......@@ -1828,7 +1828,7 @@ ul.badges {
padding-top: 5px;
input {
margin-left: 0px;
margin-left: 0;
}
}
}
......@@ -1920,7 +1920,7 @@ ul.badges {
}
.activatebadge {
margin: 0px;
margin: 0;
text-align: left;
vertical-align: middle;
}
......
......@@ -21,20 +21,20 @@ body.behat-site {
.phpinfo .e,
.phpinfo .v,
.phpinfo .h {
border: 1px solid #000000;
border: 1px solid #000;
font-size: 0.8em;
vertical-align: baseline;
color: #000000;
background-color: #cccccc;
color: #000;
background-color: #ccc;
}
.phpinfo .e {
background-color: #ccccff;
background-color: #ccf;
font-weight: bold;
}
.phpinfo .h {
background-color: #9999cc;
background-color: #99c;
font-weight: bold;
}
......
......@@ -39,7 +39,7 @@
.file-picker .fp-content {
border-top: 0;
background: #ffffff;
background: #fff;
clear: none;
overflow: auto;
height: 452px;
......@@ -152,7 +152,7 @@
min-height: 110px;
line-height: 110px;
text-align: center;
border: 1px solid #ffffff;
border: 1px solid #fff;
display: block;
}
......@@ -168,7 +168,7 @@
background: #fff;
border: 1px solid #ddd;
@include box-shadow(inset 0 0 10px 0px #ccc);
@include box-shadow(inset 0 0 10px0 #ccc);
}
.fp-iconview .fp-filename-field {
......@@ -184,14 +184,14 @@
}
.fp-iconview .fp-filename-field .fp-filename {
background: #ffffff;
background: #fff;
padding-top: 5px;
padding-bottom: 12px;
min-width: 112px;
}
// Table view (File Picker only)
.file-picker .yui3-datatable table {
border: 0 solid #bbbbbb;
border: 0 solid #bbb;
width: 100%;
}
// Tree view (File Manager only)
......@@ -351,7 +351,7 @@ a.ygtvspacer:hover {
.file-picker .ygtvfocus,
.filemanager .ygtvfocus {
background-color: #eeeeee;
background-color: #eee;
}
.fp-filename-icon {
......@@ -474,7 +474,7 @@ a.ygtvspacer:hover {
}
.fp-select .fp-thumbnail img {
border: 1px solid #dddddd;
border: 1px solid #ddd;
padding: 3px;
vertical-align: middle;
margin: 10px;
......@@ -647,15 +647,15 @@ a.ygtvspacer:hover {
}
// Table view (File Manager only)
.filemanager .yui3-datatable table {
border: 0 solid #bbbbbb;
border: 0 solid #bbb;
width: 100%;
}
.filemanager .yui3-datatable-header {
background: #ffffff !important;
border-bottom: 1px solid #cccccc !important;
border-left: 0 solid #ffffff !important;
color: #555555 !important;
background: #fff !important;
border-bottom: 1px solid #ccc !important;
border-left: 0 solid #fff !important;
color: #555 !important;
}
.filemanager .yui3-datatable-odd .yui3-datatable-cell {
......@@ -664,8 +664,8 @@ a.ygtvspacer:hover {
}
.filemanager .yui3-datatable-even .yui3-datatable-cell {
background-color: #ffffff !important;
border-left: 0 solid #ffffff;
background-color: #fff !important;
border-left: 0 solid #fff;
}
.filemanager .fp-filename-icon.fp-hasreferences .fp-reficons1 {
......@@ -716,14 +716,14 @@ a.ygtvspacer:hover {
bottom: 10px;
left: 10px;
right: 10px;
border: 2px dashed #bbbbbb;
border: 2px dashed #bbb;
padding-top: 85px;
text-align: center;
}
.filepicker-filelist .dndupload-target,
.filemanager-container .dndupload-target {
background: #ffffff;
background: #fff;
position: absolute;
top: 10px;
bottom: 10px;
......@@ -733,12 +733,12 @@ a.ygtvspacer:hover {
padding-top: 85px;
text-align: center;
@include box-shadow(0px 0 0 10px #fff);
@include box-shadow(0 0 0 10px #fff);
}
.filepicker-filelist.dndupload-over .dndupload-target,
.filemanager-container.dndupload-over .dndupload-target {
background: #ffffff;
background: #fff;
position: absolute;
top: 10px;
bottom: 10px;
......@@ -883,7 +883,7 @@ a.ygtvspacer:hover {
.filemanager.fp-select .fp-reflist .fp-value {
background: #f9f9f9;
border: 1px solid #bbbbbb;
border: 1px solid #bbb;
padding: 8px 7px;
margin: 0;
max-height: 75px;
......
......@@ -239,7 +239,7 @@ fieldset.coursesearchbox label {
}
.availability-plugincontrols {
padding: 2px 0px 0px 4px;
padding: 2px 0 0 4px;
border: 1px solid $gray-lighter;
border-radius: 4px;
display: inline-block;
......@@ -349,8 +349,8 @@ fieldset.coursesearchbox label {
min-width: 206px;
max-height: 20em;
overflow: auto;
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
margin-top: 0.4em;
z-index: 1;
}
......
......@@ -94,7 +94,7 @@
padding: $rubricPadding;
textarea {
margin-bottom: 0px;
margin-bottom: 0;
height: 115px;
}
}
......@@ -102,7 +102,7 @@
.definition {
textarea {
width: 80%;
margin-bottom: 0px;
margin-bottom: 0;
}
}
......@@ -112,7 +112,7 @@
margin-right: 28px;
input {
margin-bottom: 0px;
margin-bottom: 0;
}
}
......@@ -135,7 +135,7 @@
bottom: 0;
height: 24px;
width: 24px;
margin: 0px;
margin: 0;
&:hover {
background-color: #ddd;
......@@ -164,7 +164,7 @@
input {
@extend .btn;
background-position: 0px 0px;
background-position: 0 0;
height: 30px;
margin-right: 5px;
}
......@@ -181,7 +181,7 @@
margin: 0;
color: inherit;
text-shadow: inherit;
border: 0px none;
border: 0 none;
line-height: inherit;
background: transparent url([[pix:t/add]]) no-repeat 7px 8px;
padding-left: 26px;
......
......@@ -21,7 +21,7 @@ a:first-of-type > .icon {
// Fix the first item in a drop down menu (it's a list of links and icons, but has been made vertical.
.dropdown .dropdown-item .icon {
margin-left: 0px;
margin-left: 0;
}
// YUI 2 Tree View icons must not have a margin left.
......
......@@ -401,7 +401,7 @@ div#dock {
> .menubar {
display: block;
margin: 0px;
margin: 0;
}
> .menu {
......@@ -568,7 +568,7 @@ div#dock {
}
.qnbutton.flagged .thispageholder {
background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0px no-repeat;
background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
}
.qnbutton .trafficlight {
......
......@@ -123,7 +123,7 @@
#chooseqtype .selected {
background-color: #fff;
@include box-shadow(0px 0 10px 0 #ccc);
@include box-shadow(0 0 10px 0 #ccc);
}
#chooseqtype .instruction,
......@@ -165,7 +165,7 @@
}
.checkbox input[type="checkbox"] {
margin-left: 0px;
margin-left: 0;
float: none;
}
......@@ -522,7 +522,7 @@ body.path-question-type .fitem_fgroup .accesshide {
#page-mod-quiz-edit div.question div.content div.points {
margin-top: -0.5em;
padding-bottom: 0em;
padding-bottom: 0;
border: none;
background-color: $body-bg;
position: static;
......
......@@ -10,5 +10,5 @@
}
#page-report-participation-index .participationselectform div label[for=menuinstanceid] {
margin-left: 0px; // No left margin for LTR.
margin-left: 0; // No left margin for LTR.
}
......@@ -46,7 +46,7 @@
max-height: 220px;
y-scroll: auto;
float: none;
border: 0px;
border: 0;
}
.file-picker .fp-repo-items {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment