MDL-52167 admin: format dependencies in search results
authorSara Arjona <sara@moodle.com>
Tue, 26 Feb 2019 14:44:34 +0000 (15:44 +0100)
committerSara Arjona <sara@moodle.com>
Tue, 26 Feb 2019 14:46:05 +0000 (15:46 +0100)
admin/templates/setting.mustache
theme/bootstrapbase/less/moodle/admin.less
theme/bootstrapbase/less/moodle/forms.less
theme/bootstrapbase/less/moodle/responsive.less
theme/bootstrapbase/style/moodle.css

index dbe89e2..af78e7e 100644 (file)
@@ -69,6 +69,6 @@
             <div class="form-defaultinfo text-muted {{#forceltr}}text-ltr{{/forceltr}}">{{{default}}}</div>
         {{/default}}
         <div class="form-description mt-3">{{{description}}}</div>
-        {{#dependenton}}<div class="form-dependenton mt-3 text-muted">{{{.}}}</div>{{/dependenton}}
+        {{#dependenton}}<div class="form-dependenton mb-4 text-muted">{{{.}}}</div>{{/dependenton}}
     </div>
 </div>
index 26f41d8..b4f3feb 100644 (file)
@@ -405,11 +405,13 @@ img.iconsmall {
     margin-right: 7px;
 }
 
-.form-description {
+.form-description,
+.form-dependenton {
     clear: right;
 }
 
 .form-description,
+.form-dependenton,
 .formsettingheading {
     pre {
         /* Code examples should be left aligned. */
index fbca741..84aa42a 100644 (file)
@@ -172,6 +172,7 @@ form {
 }
 .form-item .form-setting,
 .form-item .form-description,
+.form-item .form-dependenton,
 .mform .fitem .felement,
 #page-mod-forum-search .c1 {
     .form-horizontal .controls
@@ -188,11 +189,13 @@ form {
 // uneditable looks ugly, styling both as form help is fairly
 // subtle in it's impact. Going for the latter as the best option.
 .form-item .form-description,
+.form-item .form-dependenton,
 .felement.fstatic {
     .help-block;
     padding-top: 5px;
 }
-.form-item .form-description {
+.form-item .form-description,
+.form-item .form-dependenton {
     padding-top: 0;
 }
 .fitem .fstaticlabel {
index c2b7ad5..13d5daf 100644 (file)
@@ -30,6 +30,7 @@
     }
     .form-item .form-setting,
     .form-item .form-description,
+    .form-item .form-dependenton,
     .mform .fitem .felement,
     #page-mod-forum-search .c1,
     .mform .fdescription.required,
     }
     .form-item .form-setting,
     .form-item .form-description,
+    .form-item .form-dependenton,
     .mform .fitem .felement,
     #page-mod-forum-search .c1,
     .mform .fdescription.required,
     .mform .fitem .felement,
     .path-backup .mform .fitem .felement,
     .mform .fdescription.required,
-    .form-item .form-description {
+    .form-item .form-description,
+    .form-item .form-dependenton {
         margin-left: 0;
     }
     table#form td.submit,
index 7b59b14..7cc16e8 100644 (file)
@@ -5244,10 +5244,12 @@ img.iconsmall {
 .adminsettingsflags label {
   margin-right: 7px;
 }
-.form-description {
+.form-description,
+.form-dependenton {
   clear: right;
 }
 .form-description pre,
+.form-dependenton pre,
 .formsettingheading pre {
   /* Code examples should be left aligned. */
   /*rtl:ignore*/
@@ -16715,6 +16717,7 @@ form {
 }
 .form-item .form-setting,
 .form-item .form-description,
+.form-item .form-dependenton,
 .mform .fitem .felement,
 #page-mod-forum-search .c1 {
   *display: inline-block;
@@ -16724,6 +16727,7 @@ form {
 }
 .form-item .form-setting:first-child,
 .form-item .form-description:first-child,
+.form-item .form-dependenton:first-child,
 .mform .fitem .felement:first-child,
 #page-mod-forum-search .c1:first-child {
   *padding-left: 200px;
@@ -16735,13 +16739,15 @@ form {
   margin-bottom: 0;
 }
 .form-item .form-description,
+.form-item .form-dependenton,
 .felement.fstatic {
   color: #595959;
   display: block;
   margin-bottom: 10px;
   padding-top: 5px;
 }
-.form-item .form-description {
+.form-item .form-description,
+.form-item .form-dependenton {
   padding-top: 0;
 }
 .fitem .fstaticlabel {
@@ -20779,6 +20785,7 @@ span[data-flexitour="container"][x-placement="right-start"] div[data-role="arrow
   }
   .form-item .form-setting,
   .form-item .form-description,
+  .form-item .form-dependenton,
   .mform .fitem .felement,
   #page-mod-forum-search .c1,
   .mform .fdescription.required,
@@ -20845,6 +20852,7 @@ span[data-flexitour="container"][x-placement="right-start"] div[data-role="arrow
   }
   .form-item .form-setting,
   .form-item .form-description,
+  .form-item .form-dependenton,
   .mform .fitem .felement,
   #page-mod-forum-search .c1,
   .mform .fdescription.required,
@@ -21056,7 +21064,8 @@ span[data-flexitour="container"][x-placement="right-start"] div[data-role="arrow
   .mform .fitem .felement,
   .path-backup .mform .fitem .felement,
   .mform .fdescription.required,
-  .form-item .form-description {
+  .form-item .form-description,
+  .form-item .form-dependenton {
     margin-left: 0;
   }
   table#form td.submit,