Permalink
Browse files

MDL-38874 theme_bootstrap: added back CSS rules to fix advanced eleme…

…nts show/hide toggle in admin forms.

While doing this I got a compile error so not sure but I am guessing the changes to fix that error will show up in the commit diff.
  • Loading branch information...
1 parent 3a8c438 commit 232affc96a50a1c3b3947f5d297e93543a36010b @lazydaisy lazydaisy committed Apr 21, 2013
Showing with 14,378 additions and 5 deletions.
  1. +10 −3 theme/bootstrap/less/moodle/forms.less
  2. +14,368 −2 theme/bootstrap/style/generated.css
View
13 theme/bootstrap/less/moodle/forms.less
@@ -11,6 +11,12 @@ form {
.mform fieldset .advancedbutton {
text-align: right;
}
+.jsenabled .mform .containsadvancedelements .advanced {
+ display: none;
+}
+.mform .containsadvancedelements .advanced.show {
+ display: block;
+}
.mform fieldset.group {
margin-bottom: 0
}
@@ -169,9 +175,8 @@ div.backup-section + form,
padding-left: 0;
}
.path-admin .buttons,
-.form-buttons {
+.form-buttons { // Add back the padding it would usually get from being inside a .form-horizontal.
padding-left: @horizontalComponentOffset;
- // Add back the padding it would usually get from being inside a .form-horizontal.
}
.form-item .form-setting .form-checkbox.defaultsnext {
@@ -317,5 +322,7 @@ input[type="checkbox"] {
margin-top: 5px;
}
div#dateselector-calendar-panel {
- z-index: 3100; /* Set higher than the z-index of the filemanager - see MDL-39047. */
+ z-index: 3100; /* Set higher than the z-index of the filemanager - see MDL-39047.
+ */
}
+
View
14,370 theme/bootstrap/style/generated.css
14,368 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 232affc

Please sign in to comment.