MDL-55167 less: fix spacing on properties
authorDan Poltawski <dan@moodle.com>
Tue, 5 Jul 2016 20:18:36 +0000 (21:18 +0100)
committerDan Poltawski <dan@moodle.com>
Sat, 30 Jul 2016 12:07:52 +0000 (13:07 +0100)
Detected by stylelint rules:
http://stylelint.io/user-guide/rules/declaration-colon-space-after/
http://stylelint.io/user-guide/rules/declaration-colon-space-before/
http://stylelint.io/user-guide/rules/function-comma-space-after/
http://stylelint.io/user-guide/rules/declaration-bang-space-before/

15 files changed:
theme/bootstrapbase/less/moodle/admin.less
theme/bootstrapbase/less/moodle/blocks.less
theme/bootstrapbase/less/moodle/chat.less
theme/bootstrapbase/less/moodle/core.less
theme/bootstrapbase/less/moodle/course.less
theme/bootstrapbase/less/moodle/dock.less
theme/bootstrapbase/less/moodle/expendable.less
theme/bootstrapbase/less/moodle/filemanager.less
theme/bootstrapbase/less/moodle/forms.less
theme/bootstrapbase/less/moodle/grade.less
theme/bootstrapbase/less/moodle/message.less
theme/bootstrapbase/less/moodle/modules.less
theme/bootstrapbase/less/moodle/question.less
theme/bootstrapbase/less/moodle/responsive.less
theme/bootstrapbase/less/moodle/user.less

index 1f2aad0..f837aaa 100644 (file)
@@ -20,7 +20,7 @@
 
 .environmenttable {
     p.warn {
-        background-color : @warningBackground;
+        background-color: @warningBackground;
         color: @warningText;
     }
     .error,
         .label;
     }
     .error {
-        background-color : @errorText;
+        background-color: @errorText;
     }
     span.warn {
-        background-color : @orange;
+        background-color: @orange;
     }
     .ok {
         background-color: @successText;
index 7dc05dd..fbf8673 100644 (file)
@@ -14,7 +14,7 @@
             padding: 3px 15px;
             float: right;
             > * {
-                margin-left:3px;
+                margin-left: 3px;
             }
             .block-hider-show,
             .block-hider-hide {
         padding-bottom: 10px;
     }
     ul li {
-        border-top: 1px rgba(0,0,0,0.05) solid;
+        border-top: 1px rgba(0, 0, 0, 0.05) solid;
         padding: 2px;
         display: table;
         width: 100%;
index e87a860..ba292b8 100644 (file)
@@ -72,7 +72,7 @@
             }
         }
         .mdl-chat-my-entry .chat-message.course-theme {
-            background-color:#f6f6f6;
+            background-color: #f6f6f6;
             .user {
                 font-weight: bold;
             }
index 8f0324c..9015d1a 100644 (file)
@@ -6,14 +6,14 @@
 .layout-option-nofooter #page-footer,
 .layout-option-nocourseheader .course-content-header,
 .layout-option-nocoursefooter .course-content-footer {
-    display:none;
+    display: none;
 }
 
 .empty-region-side-pre #block-region-side-pre, // Pre region is empty.
 .empty-region-side-post #block-region-side-post, // Post region is empty.
 .jsenabled.docked-region-side-post #block-region-side-post, // All post blocks are docked.
 .jsenabled.docked-region-side-pre #block-region-side-pre { // All pre blocks are docked.
-    display:none;
+    display: none;
 }
 
 /** Start Legacy styles. Deprecated since Moodle 2.9. See MDL-48160 for further information. **/
@@ -530,7 +530,7 @@ a.skip:active {
     margin: 0;
     padding: 0;
     margin-bottom: 5px;
-    margin-top:15px;
+    margin-top: 15px;
 }
 .loginbox .signuppanel .subcontent {
     text-align: left;
@@ -591,7 +591,7 @@ a.skip:active {
 .dir-rtl {
     .loginbox.twocolumns .loginpanel,
     .loginbox.twocolumns .signuppanel {
-        float:right;
+        float: right;
     }
 }
 
@@ -975,16 +975,16 @@ tr.flagged-tag a {
     display: inline;
 }
 .tag_list.hideoverlimit .overlimit {
-    display:none;
+    display: none;
 }
 .tag_list .tagmorelink {
-    display:none;
+    display: none;
 }
 .tag_list.hideoverlimit .tagmorelink {
-    display:inline;
+    display: inline;
 }
 .tag_list.hideoverlimit .taglesslink {
-    display:none;
+    display: none;
 }
 
 /**
@@ -1091,7 +1091,7 @@ tr.flagged-tag a {
     border-collapse: collapse;
 }
 .userenrolment tr {
-    vertical-align:top;
+    vertical-align: top;
 }
 .userenrolment td {
     padding: 0;
@@ -1135,7 +1135,7 @@ tr.flagged-tag a {
     padding: 3px;
     margin: 3px;
     > a:hover {
-        border-bottom:1px solid #666;
+        border-bottom: 1px solid #666;
     }
 }
 .userenrolment .col_role .addrole img,
@@ -1249,10 +1249,10 @@ tr.flagged-tag a {
         }
         .user-enroller-panel .uep-search-results .user {
             .count, .picture, .details {
-                float:right;
+                float: right;
             }
             .options .enrol {
-                float:left;
+                float: left;
             }
         }
     }
@@ -1310,8 +1310,8 @@ tr.flagged-tag a {
     display: table-cell;
 }
 .label .mod-indent {
-    float:left;
-    padding-top:20px
+    float: left;
+    padding-top: 20px
 }
 
 /* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
@@ -2027,7 +2027,7 @@ ul.badges {
         top: 0px;
         .opacity(85);
         position: absolute;
-        z-index:10;
+        z-index: 10;
     }
 
     .singlebutton {
@@ -2247,7 +2247,7 @@ img#persona_signin {
     .moodle-actionmenu[data-enhance] {
         display: block;
         .menu {
-            display:none;
+            display: none;
         }
         .toggle-display {
             display: inline; /** JS is enabled, we'll be using it so return display to normal **/
@@ -2282,7 +2282,7 @@ img#persona_signin {
             .opacity(100);
         }
         .menu-action-text  {
-            display:inline;
+            display: inline;
         }
     }
 
@@ -2307,19 +2307,19 @@ img#persona_signin {
 
     .menu {
 
-        display:block;
+        display: block;
         position: absolute;
         text-align: left;
         background-color: @dropdownBackground;
         border: 1px solid @dropdownBorder;
-        z-index:1000;
+        z-index: 1000;
         .border-radius(5px);
         .box-shadow(5px 5px 20px 0 #666);
 
         a {
             display: block;
             color: @dropdownLinkColor;
-            padding:2px 1em 2px 28px;
+            padding: 2px 1em 2px 28px;
             &:hover {
                 color: @dropdownLinkColorHover;
                 background-color: @dropdownLinkBackgroundHover;
@@ -2332,7 +2332,7 @@ img#persona_signin {
             }
         }
         a.hidden {
-            display:none;
+            display: none;
         }
         img {
             vertical-align: middle;
@@ -2343,28 +2343,28 @@ img#persona_signin {
             padding: 4px;
         }
         > li {
-            display:block;
+            display: block;
         }
 
         /** bottom left of button **/
-        &.align-tl-bl {top: 100%;left:0;margin-top: 4px;}
+        &.align-tl-bl {top: 100%;left: 0;margin-top: 4px;}
         &.align-tr-bl {top: 100%;right: 100%;}
-        &.align-bl-bl {bottom: 100%;left:0;}
+        &.align-bl-bl {bottom: 100%;left: 0;}
         &.align-br-bl {bottom: 100%;right: 100%;}
         /** bottom right of button **/
-        &.align-tl-br {top: 100%;left:100%;}
+        &.align-tl-br {top: 100%;left: 100%;}
         &.align-tr-br {top: 100%;right: 0;margin-top: 4px;}
-        &.align-bl-br {bottom: 100%;left:100%;}
+        &.align-bl-br {bottom: 100%;left: 100%;}
         &.align-br-br {bottom: 100%;right: 0;}
         /** top left of button **/
-        &.align-tl-tl {top: 0;left:0;}
+        &.align-tl-tl {top: 0;left: 0;}
         &.align-tr-tl {top: 0;right: 100%;margin-right: 4px;}
-        &.align-bl-tl {bottom: 100%;left:0;margin-bottom: 4px;}
+        &.align-bl-tl {bottom: 100%;left: 0;margin-bottom: 4px;}
         &.align-br-tl {bottom: 100%;right: 100%;}
         /** top right of button **/
-        &.align-tl-tr {top: 0;left:100%;margin-left: 4px;}
+        &.align-tl-tr {top: 0;left: 100%;margin-left: 4px;}
         &.align-tr-tr {top: 0;right: 0;}
-        &.align-bl-tr {bottom: 100%;left:100%;}
+        &.align-bl-tr {bottom: 100%;left: 100%;}
         &.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;}
     }
     /** no wrap is set - prevent menu items from wrapping **/
index c990bb5..897594c 100644 (file)
@@ -519,7 +519,7 @@ span.editinstructions {
 /* Course drag and drop upload styles */
 #dndupload-status {
     position: fixed;
-    left:0;
+    left: 0;
     width: 40%;
     margin: 0 30%;
     padding: 6px;
@@ -594,7 +594,7 @@ span.editinstructions {
 
 .coursebox > .info > .coursename a {
     display: block;
-    background-image:url([[pix:moodle|i/course]]);
+    background-image: url([[pix:moodle|i/course]]);
     background-repeat: no-repeat;
     padding-left: 21px;
     background-position: left 0.2em;
@@ -632,41 +632,41 @@ span.editinstructions {
     padding: 0;
 }
 .coursebox .content .teachers li {
-    list-style-type:none;
-    padding:0;
-    margin:0;
+    list-style-type: none;
+    padding: 0;
+    margin: 0;
 }
 .coursebox .enrolmenticons {
-    padding:3px 0;
-    float:right;
+    padding: 3px 0;
+    float: right;
 }
 .coursebox .moreinfo {
-    padding:3px 0;
-    float:right;
+    padding: 3px 0;
+    float: right;
 }
 .coursebox .enrolmenticons img,
 .coursebox .moreinfo img {
-    margin:0 .2em;
+    margin: 0 .2em;
 }
 .coursebox .content {
-    clear:both;
+    clear: both;
 }
 .coursebox .content .summary,
 .coursebox .content .coursecat {
-    float:right;
+    float: right;
     width: 55%;
 }
 .coursebox .content .coursecat {
-    text-align:right;
-    clear:right;
+    text-align: right;
+    clear: right;
 }
 .coursebox.remotecoursebox .remotecourseinfo {
-    float:left;
+    float: left;
     width: 40%;
 }
 .coursebox .content .courseimage img {
-    max-width:100px;
-    max-height:100px;
+    max-width: 100px;
+    max-height: 100px;
 }
 .coursebox .content .coursecat,
 .coursebox .content .summary,
@@ -674,44 +674,44 @@ span.editinstructions {
 .coursebox .content .coursefile,
 .coursebox .content .teachers,
 .coursebox.remotecoursebox .remotecourseinfo {
-    margin:3px 5px;
-    padding:0;
+    margin: 3px 5px;
+    padding: 0;
 }
 
 .coursebox.remotehost > .info > .categoryname a {
-    background-image:url([[pix:moodle|i/mnethost]]);
+    background-image: url([[pix:moodle|i/mnethost]]);
 }
 
 .dir-rtl .coursebox > .info > .categoryname a {
-    padding-left:0;
-    padding-right:21px;
+    padding-left: 0;
+    padding-right: 21px;
     background-position: center right;
 }
 .dir-rtl .coursebox > .info > .categoryname,
 .dir-rtl .coursebox .teachers,
 .dir-rtl .coursebox .content .courseimage,
 .dir-rtl .coursebox .content .coursefile {
-    float:right;
-    clear:right;
+    float: right;
+    clear: right;
 }
 .dir-rtl .coursebox .enrolmenticons,
 .dir-rtl .coursebox .moreinfo {
-    float:left;
+    float: left;
 }
 .dir-rtl .coursebox .summary,
 .dir-rtl .coursebox .coursecat {
-    float:left;
+    float: left;
 }
 .dir-rtl .coursebox .coursecat {
-    text-align:left;
-    clear:left;
+    text-align: left;
+    clear: left;
 }
 
 .coursebox.collapsed {
-    margin-bottom:0;
+    margin-bottom: 0;
 }
 .coursebox.collapsed > .content {
-    display:none;
+    display: none;
 }
 .courses .coursebox.collapsed {
     border: 1px solid @tableBorder;
@@ -734,79 +734,79 @@ span.editinstructions {
     visibility: hidden;
 }
 .course_category_tree .controls div {
-    display:inline;
-    cursor:pointer;
+    display: inline;
+    cursor: pointer;
 }
 .jsenabled .course_category_tree .controls {
     visibility: visible;
 }
 .course_category_tree .controls {
-    margin-bottom:5px;
-    text-align:right;
-    float:right;
+    margin-bottom: 5px;
+    text-align: right;
+    float: right;
 }
 .course_category_tree .controls div {
-    padding-right:2em;
-    font-size:75%;
+    padding-right: 2em;
+    font-size: 75%;
 }
 
 .course_category_tree .category > .info > .categoryname{
-    background-image:url([[pix:moodle|t/collapsed_empty]]);
+    background-image: url([[pix:moodle|t/collapsed_empty]]);
     background-repeat: no-repeat;
-    padding:2px 18px;
-    margin:3px;
-    background-position:center left;
+    padding: 2px 18px;
+    margin: 3px;
+    background-position: center left;
 }
 .dir-rtl .course_category_tree .category > .info > .categoryname {
-    background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
-    background-position:center right;
+    background-image: url([[pix:moodle|t/collapsed_empty_rtl]]);
+    background-position: center right;
 }
 .course_category_tree .category.with_children > .info > .categoryname {
-    background-image:url([[pix:moodle|t/expanded]]);
+    background-image: url([[pix:moodle|t/expanded]]);
     cursor: pointer;
 }
 .course_category_tree .category.with_children.collapsed >.info > .categoryname {
-    background-image:url([[pix:moodle|t/collapsed]]);
+    background-image: url([[pix:moodle|t/collapsed]]);
 }
 .dir-rtl .course_category_tree .category.with_children.collapsed > .info > .categoryname {
-    background-image:url([[pix:moodle|t/collapsed_rtl]]);
+    background-image: url([[pix:moodle|t/collapsed_rtl]]);
 }
 .course_category_tree .category.collapsed>.content {
-    display:none;
+    display: none;
 }
 
 .course_category_tree .category >.info {
     .well;
-    min-height:0;
-    padding:0;
-    margin:3px 0;
-    margin-bottom:3px;
+    min-height: 0;
+    padding: 0;
+    margin: 3px 0;
+    margin-bottom: 3px;
     clear: both;
 }
 .course_category_tree.frontpage-category-names .category >.info {
-    background:none;
-    border:none;
-    margin:0;
+    background: none;
+    border: none;
+    margin: 0;
 }
 .course_category_tree .category > .content {
-    padding-left:16px;
+    padding-left: 16px;
 }
 
 .dir-rtl .course_category_tree .category > .content {
-    padding-left:0;
-    padding-right:16px;
+    padding-left: 0;
+    padding-right: 16px;
 }
 
 .course_category_tree .subcategories > .paging,
 .courses > .paging {
-    margin:0;
-    padding:5px;
-    text-align:center;
+    margin: 0;
+    padding: 5px;
+    text-align: center;
 }
 
 .courses > .paging.paging-morelink,
 .course_category_tree .subcategories > .paging.paging-morelink {
-    text-align:left;
+    text-align: left;
 }
 
 .course_category_tree .paging.paging-morelink a {
@@ -814,7 +814,7 @@ span.editinstructions {
 }
 .dir-rtl .courses > .paging.paging-morelink,
 .dir-rtl .course_category_tree .paging.paging-morelink {
-    text-align:right;
+    text-align: right;
 }
 
 #page-course-index-category .generalbox.info {
@@ -849,8 +849,8 @@ span.editinstructions {
     .moodle-actionmenu {
         .iconsmall {
             max-width: none !important; /** reset sets 100% !important which breaks on IE8 without this !important */
-            width:16px;
-            height:16px;
+            width: 16px;
+            height: 16px;
             padding: 4px;
             vertical-align: text-bottom;
         }
@@ -885,36 +885,36 @@ span.editinstructions {
  */
 #course-category-listings {
     background-color: @tableBackground;
-    margin-bottom:200px;
+    margin-bottom: 200px;
 
     /** Two column layout */
     &.columns-2 {
         > #course-listing > div {
-            position:relative;
-            left:-1px;
+            position: relative;
+            left: -1px;
         }
     }
     /** Three column layout */
     &.columns-3 > #course-listing > div {
-        height:100%;
+        height: 100%;
     }
 
     > div > div {
-        min-height:300px;
+        min-height: 300px;
         > ul.ml > li:first-child > div {
-            border-top:0;
+            border-top: 0;
         }
     }
     h3 {
-        margin:0;
-        padding:0.4rem 0.6rem 0.3rem;
+        margin: 0;
+        padding: 0.4rem 0.6rem 0.3rem;
     }
     h4 {
-        margin:1rem 0 0;
-        padding:0.6rem 1rem 0.5rem;
+        margin: 1rem 0 0;
+        padding: 0.6rem 1rem 0.5rem;
     }
     .moodle-actionmenu {
-        white-space:nowrap;
+        white-space: nowrap;
     }
 
     .moodle-actionmenu[data-enhance] {
@@ -933,42 +933,42 @@ span.editinstructions {
     }
 
     .listing-actions {
-        text-align:center;
-        padding:0.4rem 0.3rem 0.3rem;
-        line-height:2.2em;
+        text-align: center;
+        padding: 0.4rem 0.3rem 0.3rem;
+        line-height: 2.2em;
         > a,
         > .moodle-actionmenu {
-            display:inline-block;
+            display: inline-block;
         }
         > .moodle-actionmenu .menu a {
-            padding-left:1rem;
+            padding-left: 1rem;
         }
         .moodle-actionmenu:not([data-enhanced]) {
-            li {line-height:normal;}
+            li {line-height: normal;}
             > .menubar a {
-                color:inherit;
-                display:inline-block;
+                color: inherit;
+                display: inline-block;
                 > img {
-                    display:none;
+                    display: none;
                 }
                 .caret {
                     display: none;
                 }
             }
             > .menu .menu-action-text {
-                display:inline-block;
+                display: inline-block;
             }
         }
     }
     ul.ml {
         list-style: none;
-        margin:1rem 0;
+        margin: 1rem 0;
         ul.ml {
-            margin:0;
+            margin: 0;
         }
     }
     li {
-        line-height:2.2em;
+        line-height: 2.2em;
         > div {
             &:hover {
                 background-color: @tableBackgroundHover;
@@ -976,8 +976,8 @@ span.editinstructions {
         }
         .tree-icon {
             margin: 2px 6px 0 0;
-            width:12px;
-            vertical-align:inherit;
+            width: 12px;
+            vertical-align: inherit;
         }
         &[data-selected='1'] {
             > div {
@@ -989,24 +989,24 @@ span.editinstructions {
         }
 
         // Tree item indenting to represent depth.
-        .tree-icon {margin-left:0;}
-        li .tree-icon {margin-left:1em;}
-        li li .tree-icon {margin-left:2em;}
-        li li li .tree-icon {margin-left:3em;}
-        li li li li .tree-icon {margin-left:4em;}
-        li li li li li .tree-icon {margin-left:4.5em;}
-        li li li li li li .tree-icon {margin-left:5em;}
-        li li li li li li li .tree-icon {margin-left:5.5em;}
+        .tree-icon {margin-left: 0;}
+        li .tree-icon {margin-left: 1em;}
+        li li .tree-icon {margin-left: 2em;}
+        li li li .tree-icon {margin-left: 3em;}
+        li li li li .tree-icon {margin-left: 4em;}
+        li li li li li .tree-icon {margin-left: 4.5em;}
+        li li li li li li .tree-icon {margin-left: 5em;}
+        li li li li li li li .tree-icon {margin-left: 5.5em;}
     }
 
     .item-actions {
-        margin-right:1em;
-        display:inline-block;
-        display:initial;
+        margin-right: 1em;
+        display: inline-block;
+        display: initial;
         > a img,
         .menubar img {
             margin: 0 4px;
-            height:12px;
+            height: 12px;
             padding: 0;
             vertical-align: inherit;
         }
@@ -1016,7 +1016,7 @@ span.editinstructions {
             }
             img {
                 width: 12px;
-                max-width:none;
+                max-width: none;
             }
         }
         .menu-action-text {
@@ -1027,26 +1027,26 @@ span.editinstructions {
     .listitem {
         > div {
             > .float-left {
-                float:left;
+                float: left;
             }
             > .float-right {
-                float:right;
-                text-align:right;
+                float: right;
+                text-align: right;
             }
             .item-actions {
                 .action-show {
-                    display:none;
+                    display: none;
                 }
                 .action-hide {
-                    display:inline;
+                    display: inline;
                 }
             }
             .without-actions {
                 color: #333;
             }
             .idnumber {
-                color:#a1a1a8;
-                margin-right:2em;
+                color: #a1a1a8;
+                margin-right: 2em;
             }
         }
         // The category or course is hidden.
@@ -1058,10 +1058,10 @@ span.editinstructions {
                 }
                 .item-actions {
                     .action-show {
-                        display:inline;
+                        display: inline;
                     }
                     .action-hide {
-                        display:none;
+                        display: none;
                     }
                 }
             }
@@ -1079,15 +1079,15 @@ span.editinstructions {
     #course-listing {
         .listitem {
             .categoryname {
-                display:inline-block;
-                margin-left:1em;
-                color:#a1a1a8;
+                display: inline-block;
+                margin-left: 1em;
+                color: #a1a1a8;
             }
             .coursename {
-                display:inline-block;
+                display: inline-block;
             }
             > div {
-                padding-left:1rem;
+                padding-left: 1rem;
             }
         }
         > .firstpage .listitem:first-child > div .item-actions .action-moveup,
@@ -1095,7 +1095,7 @@ span.editinstructions {
             display: none;
         }
         .bulk-action-checkbox {
-            margin:-2px 6px 0 0;
+            margin: -2px 6px 0 0;
         }
     }
     #category-listing {
@@ -1105,18 +1105,18 @@ span.editinstructions {
         .listitem {
             > div {
                 > .ba-checkbox {
-                    width:2.2em;
-                    text-align:center;
-                    margin:-1px 0.5em 0 0;
-                    padding-top:2px;
+                    width: 2.2em;
+                    text-align: center;
+                    margin: -1px 0.5em 0 0;
+                    padding-top: 2px;
                 }
             }
             &.highlight > div > .ba-checkbox {
                 background-color: @tableBackgroundHover;
             }
             &[data-selected='1'] > div > .ba-checkbox {
-                margin:0 0.5em 0 0;
-                padding:0;
+                margin: 0 0.5em 0 0;
+                padding: 0;
                 background-color: inherit;
             }
             &:first-child > div .item-actions .action-moveup,
@@ -1125,13 +1125,13 @@ span.editinstructions {
             }
         }
         .course-count {
-            color:#a1a1a8;
-            margin-right:2rem;
-            min-width:3.5em;
-            display:inline-block;
+            color: #a1a1a8;
+            margin-right: 2rem;
+            min-width: 3.5em;
+            display: inline-block;
             .smallicon {
-                width:12px;
-                margin-left:4px;
+                width: 12px;
+                margin-left: 4px;
                 vertical-align: inherit;
             }
         }
@@ -1139,58 +1139,58 @@ span.editinstructions {
             margin-right: -3px;
         }
         .category-listing > ul > .listitem:first-child {
-            position:relative;
+            position: relative;
         }
         .category-bulk-actions {
             margin: 0 0.5em 0.5em;
-            position:relative;
+            position: relative;
         }
     }
 
     .detail-pair {
-        border-bottom:1px solid @tableBorder;
-        margin:0 1rem;
+        border-bottom: 1px solid @tableBorder;
+        margin: 0 1rem;
         > * {
-            display:inline-block;
-            line-height:2.2rem;
+            display: inline-block;
+            line-height: 2.2rem;
         }
         .pair-key {
-            font-weight:bold;
+            font-weight: bold;
             vertical-align: top;
             span {
                 margin-right: 1rem;
-                display:block;
+                display: block;
             }
         }
         .pair-value select {
-            max-width:100%;
+            max-width: 100%;
         }
     }
 
     .bulk-actions .detail-pair {
         > * {
-            display:block;
-            width:100%;
+            display: block;
+            width: 100%;
         }
     }
 
     .listing-pagination {
-        text-align:center;
+        text-align: center;
         .yui3-button {
             background-color: @btnBackground;
-            border:0;
-            margin:0.4rem 0.2rem 0.45rem;
-            font-size:10.4px;
+            border: 0;
+            margin: 0.4rem 0.2rem 0.45rem;
+            font-size: 10.4px;
             &.active-page {
                 background-color: @btnBackgroundHighlight;
             }
         }
     }
     .listing-pagination-totals {
-        text-align:center;
+        text-align: center;
         &.dimmed {
             .muted;
-            margin:0.4rem 1rem 0.45rem;
+            margin: 0.4rem 1rem 0.45rem;
         }
     }
     .select-a-category .notifymessage,
@@ -1203,9 +1203,9 @@ span.editinstructions {
     display: none;
 }
 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
-    display:inline-block;
+    display: inline-block;
     margin: 0 6px 0 0;
-    cursor:pointer;
+    cursor: pointer;
 }
 
 .dir-rtl #course-category-listings {
@@ -1218,11 +1218,11 @@ span.editinstructions {
     .listitem {
         > div {
             > .float-left {
-                float:right;
+                float: right;
             }
             > .float-right {
-                float:left;
-                text-align:left;
+                float: left;
+                text-align: left;
             }
         }
     }
@@ -1232,31 +1232,31 @@ span.editinstructions {
         }
 
         // Tree item indenting to represent depth.
-        .tree-icon {margin-right:0;}
-        li .tree-icon {margin-right:1em;}
-        li li .tree-icon {margin-right:2em;}
-        li li li .tree-icon {margin-right:3em;}
-        li li li li .tree-icon {margin-right:4em;}
-        li li li li li .tree-icon {margin-right:4.5em;}
-        li li li li li li .tree-icon {margin-right:5em;}
-        li li li li li li li .tree-icon {margin-right:5.5em;}
+        .tree-icon {margin-right: 0;}
+        li .tree-icon {margin-right: 1em;}
+        li li .tree-icon {margin-right: 2em;}
+        li li li .tree-icon {margin-right: 3em;}
+        li li li li .tree-icon {margin-right: 4em;}
+        li li li li li .tree-icon {margin-right: 4.5em;}
+        li li li li li li .tree-icon {margin-right: 5em;}
+        li li li li li li li .tree-icon {margin-right: 5.5em;}
     }
     #category-listing {
         .listitem {
             > div {
-                margin-right:0.5em;
+                margin-right: 0.5em;
                 margin-left: 0;
                 > .ba-checkbox {
-                    margin:-1px 0 0 0.5em;
+                    margin: -1px 0 0 0.5em;
                 }
             }
 
             &[data-selected='1'] > div > .ba-checkbox {
-                margin:0 0 0 0.5em;
+                margin: 0 0 0 0.5em;
             }
         }
         .course-count {
-            margin-left:2rem;
+            margin-left: 2rem;
 
             .smallicon {
                 margin-left: 0px;
@@ -1272,24 +1272,24 @@ span.editinstructions {
         padding-right: 24px;
         .listitem {
             .idnumber {
-                color:#a1a1a8;
-                padding-right:2em;
+                color: #a1a1a8;
+                padding-right: 2em;
             }
             .categoryname {
-                display:inline-block;
-                margin-right:1em;
-                margin-left:0;
+                display: inline-block;
+                margin-right: 1em;
+                margin-left: 0;
             }
             .drag-handle {
                 margin: 0 6px 0 6px;
             }
             > div {
-                padding-left:1rem;
+                padding-left: 1rem;
             }
         }
         .bulk-action-checkbox {
-            vertical-align:middle;
-            margin:-2px 0 0 6px;
+            vertical-align: middle;
+            margin: -2px 0 0 6px;
         }
     }
     .detail-pair {
@@ -1299,7 +1299,7 @@ span.editinstructions {
         }
         .pair-key {
             span {
-                margin-right:0;
+                margin-right: 0;
                 margin-left: 0;
             }
         }
@@ -1311,19 +1311,19 @@ span.editinstructions {
 
 /** Management header styling **/
 .coursecat-management-header {
-    vertical-align:middle;
+    vertical-align: middle;
     h2 {
-        display:inline-block;
-        text-align:left;
+        display: inline-block;
+        text-align: left;
     }
     > div {
-        display:inline-block;
-        float:right;
-        line-height:40px;
+        display: inline-block;
+        float: right;
+        line-height: 40px;
         > div {
-            margin-left:1em;
+            margin-left: 1em;
             margin: 10px 0;
-            display:inline-block;
+            display: inline-block;
         }
     }
     select {
@@ -1335,28 +1335,28 @@ span.editinstructions {
     }
     .view-mode-selector {
         .moodle-actionmenu {
-            white-space:nowrap;
-            display:inline-block;
+            white-space: nowrap;
+            display: inline-block;
         }
         .moodle-actionmenu[data-enhanced].show .menu a {
-            padding-left:1em;
+            padding-left: 1em;
         }
     }
 }
 .dir-rtl .coursecat-management-header {
     h2 {
-        text-align:right;
+        text-align: right;
     }
     > div {
-        float:left;
-        margin-right:1em;
+        float: left;
+        margin-right: 1em;
         margin-left: 0;
     }
 }
 .course-being-dragged-proxy {
     border: 0;
     color: @linkColor;
-    vertical-align:middle;
+    vertical-align: middle;
     padding: 0 0 0 4em;
 }
 .course-being-dragged {
@@ -1374,11 +1374,11 @@ span.editinstructions {
 @media (min-width: 1200px) and (max-width: 1600px) {
     #course-category-listings.columns-3 {
         background-color: @tableBackground;
-        border:0;
+        border: 0;
 
         #category-listing,
         #course-listing {
-            width:50%;
+            width: 50%;
         }
         #category-listing > div,
         #course-listing > div,
@@ -1386,8 +1386,8 @@ span.editinstructions {
             background-color: @tableBackground;
         }
         #course-detail {
-            width:100%;
-            margin-top:1em;
+            width: 100%;
+            margin-top: 1em;
         }
     }
 
@@ -1397,12 +1397,12 @@ span.editinstructions {
     #course-category-listings.columns-2,
     #course-category-listings.columns-3 {
         background-color: @tableBackground;
-        border:0;
+        border: 0;
         #category-listing,
         #course-listing,
         #course-detail {
-            width:100%;
-            margin:0 0 1em;
+            width: 100%;
+            margin: 0 0 1em;
         }
         #category-listing > div,
         #course-listing > div,
index 29c4368..802a201 100644 (file)
@@ -51,7 +51,7 @@ body.has_dock {
         display: block;
         width: @dockWidth;
         margin: @dockTitleMargin;
-        padding:0;
+        padding: 0;
         cursor: pointer;
         h2 {
             .transform-test-heading;
@@ -108,7 +108,7 @@ body.has_dock {
         h2 {
             .nav-header;
             font-size: 1.1em;
-            padding:0;
+            padding: 0;
             margin: 0;
         }
         .commands {
index c8a0aef..fa30492 100644 (file)
@@ -35,7 +35,7 @@ table {
     .generaltable,
     .generaltable thead:first-child tr:first-child {
         td , th {
-            text-align:right;
+            text-align: right;
         }
     }
     table {
@@ -47,7 +47,7 @@ table {
 
 #page-admin-course-index.dir-rtl .editcourse {
     td , th {
-        text-align:right;
+        text-align: right;
     }
 }
 
@@ -89,7 +89,7 @@ div[id^="progress_pbar_"] {
     float: left !important;
     font-size: 12px !important;
     text-align: center !important;
-    text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
+    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25) !important;
     #gradient > .vertical(#149bdf, #0480be) !important;
     .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15)) !important;
     .box-sizing(border-box) !important;
index 38e4c76..3509fd2 100644 (file)
 .file-picker .fp-repo-items {
     float: none;
     width: auto;
-    margin-left:181px;
+    margin-left: 181px;
 }
 .moodle-dialogue-fullscreen .file-picker .fp-repo-items {
     margin-left: 0px;
-    margin-right:0px;
+    margin-right: 0px;
     float: left;
 }
 .dir-rtl .file-picker .fp-repo-items {
     margin-left: 0px;
-    margin-right:181px;
+    margin-right: 181px;
 }
 .dir-rtl .moodle-dialogue-fullscreen .file-picker .fp-repo-items {
     margin-left: 0px;
-    margin-right:0px;
+    margin-right: 0px;
     float: right;
 }
 .file-picker .fp-navbar {
     height: 30px;
     border-right: 1px solid #CCC;
     display: block;
-    float:left;
+    float: left;
 }
 .fp-viewbar a.checked:hover,
 .fp-viewbar a:hover {
-    background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%);
+    background-image: radial-gradient(ellipse at center, #ffffff 60%, #dfdfdf 100%);
     background-color: #ebebeb;
 }
 
 .fp-viewbar a.checked,
 .fp-viewbar a:active {
-    background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%);
+    background-image: radial-gradient(ellipse at center, #ffffff 40%, #dfdfdf 100%);
     background-color: #dfdfdf;
 }
 
@@ -844,12 +844,12 @@ a.ygtvspacer:hover {
 }
 
 .fp-toolbar a:hover {
-    background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%);
+    background-image: radial-gradient(ellipse at center, #ffffff 60%, #dfdfdf 100%);
     background-color: #ebebeb;
 }
 
 .fp-toolbar a:active {
-    background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%);
+    background-image: radial-gradient(ellipse at center, #ffffff 40%, #dfdfdf 100%);
     background-color: #dfdfdf;
 }
 
@@ -944,17 +944,17 @@ a.ygtvspacer:hover {
     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: #FFFFFF !important;
+    border-bottom: 1px solid #CCCCCC !important;
+    border-left: 0 solid #FFFFFF !important;
+    color: #555555 !important;
 }
 .filemanager .yui3-datatable-odd .yui3-datatable-cell {
-    background-color: #F6F6F6!important;
+    background-color: #F6F6F6 !important;
     border-left: 0 solid #F6F6F6;
 }
 .filemanager .yui3-datatable-even .yui3-datatable-cell {
-    background-color: #FFFFFF!important;
+    background-color: #FFFFFF !important;
     border-left: 0 solid #FFFFFF;
 }
 .filemanager .fp-filename-icon.fp-hasreferences .fp-reficons1{
@@ -1222,7 +1222,7 @@ a.ygtvspacer:hover {
         }
         div {
             float: right;
-            margin-left:4px;
+            margin-left: 4px;
         }
     }
 }
index fbf70e4..8de062a 100644 (file)
@@ -155,7 +155,7 @@ input#id_externalurl {
 .dir-rtl {
     .form-item .form-label,
     .mform .fitem div.fitemtitle {
-        float:right;
+        float: right;
         text-align: left;
     }
 }
@@ -329,7 +329,7 @@ div.backup-section + form,
     width: 100%;
 }
 #page-grade-edit-outcome-course .courseoutcomes td {
-    text-align:center;
+    text-align: center;
 }
 /* Install Process' text fields Forms, should always be justified to the left */
 #installform #id_wwwroot,
@@ -380,7 +380,7 @@ input[type="checkbox"] {
     margin-bottom: 0;
 }
 .dir-rtl .form-item .form-label label {
-    text-align:left;
+    text-align: left;
 }
 .felement.ffilepicker {
     margin-top: 5px;
@@ -506,7 +506,7 @@ fieldset.coursesearchbox label {
     }
     select,
     input[type=text] {
-        position:relative;
+        position: relative;
         top: 4px;
     }
     label {
index ccd6b6c..00773fb 100644 (file)
                 background: transparent url([[pix:t/add]]) no-repeat 7px 8px;
                 padding-left: 26px;
             }
-            margin-bottom:1em;
+            margin-bottom: 1em;
         }
         .options {
             clear: both;
index de18fd7..c0ee71f 100644 (file)
@@ -360,12 +360,12 @@ table.message .searchresults td {
 }
 /* Widen the plain text editor on the bulk message screen */
 #page-user-action_redir #edit-messagebody {
-    width:auto;
+    width: auto;
 }
 
 /** Messenger send message dialog */
 .core_message-messenger-sendmessage-hidden {
-    display:none;
+    display: none;
 }
 .core_message-messenger-sendmessage {
     .message-actions {
index 8acd263..3cfe1ad 100644 (file)
@@ -304,7 +304,7 @@ div#dock {
         .rblock label {text-align: center;}
     }
     .resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
-        text-align:center;
+        text-align: center;
     }
 }
 // rtl overrides
@@ -563,8 +563,8 @@ div#dock {
                     &:before {
                         content: '';
                         display: inline-block;
-                        border-left:   7px solid transparent;
-                        border-right:  7px solid transparent;
+                        border-left: 7px solid transparent;
+                        border-right: 7px solid transparent;
                         border-bottom: 7px solid #ccc;
                         border-bottom-color: @dropdownBorder;
                         position: absolute;
@@ -573,8 +573,8 @@ div#dock {
                     &:after {
                         content: '';
                         display: inline-block;
-                        border-left:   6px solid transparent;
-                        border-right:  6px solid transparent;
+                        border-left: 6px solid transparent;
+                        border-right: 6px solid transparent;
                         border-bottom: 6px solid @dropdownBackground;
                         position: absolute;
                         top: -6px;
@@ -678,7 +678,7 @@ div#dock {
             margin-bottom: -34px;
             border: 1px solid #fff;
             border-radius: 50%;
-            box-shadow: -2px -2px 16px rgba(0,0,0,0.25);
+            box-shadow: -2px -2px 16px rgba(0, 0, 0, 0.25);
         }
         img {
             width: inherit;
index 55f7934..c1f9a45 100644 (file)
@@ -294,7 +294,7 @@ body.path-question-type .fitem_fgroup .accesshide {
     .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
     &:focus {
         border-color: darken(@borderColor, 10%);
-        @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
+        @shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px lighten(@borderColor, 20%);
         .box-shadow(@shadow);
     }
 }
index 570b0f3..96b8dbe 100644 (file)
     }
     .jsenabled .choosercontainer #chooseform .instruction,
     .jsenabled .choosercontainer #chooseform .typesummary {
-        position:static;
+        position: static;
     }
     .que .info {
         float: none;
 
 .dir-rtl {
     .dropdown-menu {
-        right:0;
-        left:auto;
+        right: 0;
+        left: auto;
         margin-right: 0px;
     }
     .navbar .nav > li > .dropdown-menu:before {
-        right:9px;
-        left:auto;
+        right: 9px;
+        left: auto;
     }
     .navbar .nav > li > .dropdown-menu:after {
         right: 10px;
-        left:auto;
+        left: auto;
     }
     .dropdown-submenu > a:after {
         margin-right: 0;
         border-width: 5px 5px 5px 0px;
     }
     .dropdown-submenu > .dropdown-menu {
-        right:100%;
-        left:auto;
+        right: 100%;
+        left: auto;
     }
 }
 
     // CSS for the course management pages.
     #course-category-listings.columns-3 {
         background-color: @tableBackground;
-        border:0;
+        border: 0;
 
         #category-listing,
         #course-listing {
     // CSS for the course management pages.
     #course-category-listings.columns-3 {
         background-color: @tableBackground;
-        border:0;
+        border: 0;
         #category-listing,
         #course-listing,
         #course-detail {
index c5c241b..a69076d 100644 (file)
@@ -55,7 +55,7 @@
 
 .dir-rtl {
     .user-box {
-        float:right;
+        float: right;
     }
     .userprofile .node_category {
         .editprofile,
@@ -64,7 +64,7 @@
         }
     }
     .userprofile dl dd {
-        margin-left:0;
+        margin-left: 0;
         margin-right: 10px;
     }
 }