MDL-42919 Renest bootstrap folding forms CSS in less

This commit is contained in:
Damyon Wiese
2013-11-29 14:16:16 +08:00
parent 3a5c3b3cbf
commit 6d55d0f5f0
2 changed files with 63 additions and 52 deletions
+62 -51
View File
@@ -390,57 +390,68 @@ fieldset.coursesearchbox label {
font-weight: bold;
}
@media (max-width: 1199px) {
#region-main .mform .fitem .fitemtitle {
display: block;
margin-top: 4px;
margin-bottom: 4px;
text-align: left;
width: 100%;
#region-main .mform {
.fitem {
.fitemtitle {
display: block;
margin-top: 4px;
margin-bottom: 4px;
text-align: left;
width: 100%;
}
.felement {
margin-left: 0;
width: 100%;
float: left;
padding-left: 0;
padding-right: 0;
}
.fstatic:empty {
display: none;
}
}
.femptylabel {
.fitemtitle {
display: inline-block;
width: auto;
margin-right: 8px;
}
.felement {
display: inline-block;
margin-top: 4px;
padding-top: 5px;
width: auto;
}
}
.fitem_fcheckbox{
.fitemtitle,
.felement {
display: inline-block;
width: auto;
}
.felement {
padding: 6px;
}
}
}
#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;
}
#region-main .mform .fitem .felement {
margin-left: 0;
width: 100%;
float: left;
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;
padding-right: 0;
padding-left: 0;
}
#region-main .mform .fitem_fcheckbox .fitemtitle,
#region-main .mform .fitem_fcheckbox .felement {
display: inline-block;
width: auto;
}
.dir-rtl #region-main .mform .fitem_fcheckbox .felement {
float: right;
}
#region-main .mform .fitem_fcheckbox .felement {
padding: 6px;
.dir-rtl #region-main .mform {
.femptylabel .fitemtitle {
margin-right: 0px;
margin-left: 8px;
}
.fitem {
.fitemtitle {
text-align: right;
}
.felement {
margin-right: 0;
float: right;
padding-right: 0;
padding-left: 0;
}
}
.fitem_fcheckbox .felement {
float: right;
}
}
}
File diff suppressed because one or more lines are too long