MDL-42684 Forms: Display text editors and file pickers with the label above the field.

This includes the front page description admin field.
This commit is contained in:
Damyon Wiese 2013-11-13 00:23:46 +08:00
parent 1d2a7ef54f
commit db7092b076
3 changed files with 67 additions and 1 deletions

View File

@ -328,6 +328,39 @@ a.skip:active {position: static;display: block;}
input#id_externalurl {direction:ltr;}
#portfolio-add-button {display:inline;}
/**
* Show the labels above text editors and file managers.
*/
#adminsettings #admin-summary .form-label,
.mform .fcontainer .fitem_ffilemanager .fitemtitle,
.mform .fcontainer .fitem_feditor .fitemtitle {
display: block;
margin-top: 4px;
margin-bottom: 4px;
text-align: left;
width: 100%;
}
.dir-rtl #adminsettings #admin-summary .form-label,
.dir-rtl .mform .fcontainer .fitem_ffilemanager .fitemtitle,
.dir-rtl .mform .fcontainer .fitem_feditor .fitemtitle {
text-align: right;
}
#adminsettings #admin-summary .form-setting,
#adminsettings #admin-summary .form-description,
.mform .fcontainer .fitem_ffilemanager .ffilemanager,
.mform .fcontainer .fitem_feditor .feditor {
margin-left: 0%;
width: 100%;
float: left;
}
.dir-rtl #adminsettings #admin-summary .form-setting,
.dir-rtl #adminsettings #admin-summary .form-description,
.dir-rtl .mform .fcontainer .fitem_ffilemanager .ffilemanager,
.dir-rtl .mform .fcontainer .fitem_feditor .feditor {
margin-right: 0%;
}
/**
* phpinfo styles
*/

View File

@ -382,3 +382,36 @@ div#dateselector-calendar-panel {
fieldset.coursesearchbox label {
display: inline;
}
/**
* Show the labels above text editors and file managers.
*/
#adminsettings #admin-summary .form-label,
.mform .fitem_ffilemanager div.fitemtitle,
.mform .fitem_feditor div.fitemtitle {
display: block;
margin-top: 4px;
margin-bottom: 4px;
text-align: left;
width: 100%;
}
.dir-rtl #adminsettings #admin-summary .form-label,
.dir-rtl .mform .fitem_ffilemanager div.fitemtitle,
.dir-rtl .mform .fitem_feditor div.fitemtitle {
text-align: right;
}
#adminsettings #admin-summary .form-setting,
#adminsettings #admin-summary .form-description,
.mform .fitem_ffilemanager .ffilemanager,
.mform .fitem_feditor .feditor {
margin-left: 0%;
width: 100%;
}
.dir-rtl #adminsettings #admin-summary .form-setting,
.dir-rtl #adminsettings #admin-summary .form-description,
.dir-rtl .mform .fitem_ffilemanager .ffilemanager,
.dir-rtl .mform .fitem_feditor .feditor {
margin-right: 0%;
}

File diff suppressed because one or more lines are too long