MDL-41919 Forms: Add a class to form elements with an empty label
This means they can be styled properly when the form is folded with the labels above the form fields.
This commit is contained in:
@@ -397,6 +397,15 @@ fieldset.coursesearchbox label {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
#region-main .mform .femptylabel .fitemtitle {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.dir-rtl #region-main .mform .femptylabel .fitemtitle {
|
||||
margin-right: 0px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.dir-rtl #region-main .mform .fitem .fitemtitle {
|
||||
text-align: right;
|
||||
}
|
||||
@@ -408,6 +417,15 @@ fieldset.coursesearchbox label {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
#region-main .mform .fitem .fstatic:empty {
|
||||
display: none;
|
||||
}
|
||||
#region-main .mform .femptylabel .felement {
|
||||
display: inline-block;
|
||||
margin-top: 4px;
|
||||
padding-top: 5px;
|
||||
width: auto;
|
||||
}
|
||||
.dir-rtl #region-main .mform .fitem .felement {
|
||||
margin-right: 0;
|
||||
float: right;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user